Class ShadowPausedSystemClock

java.lang.Object
org.robolectric.shadows.ShadowSystemClock
org.robolectric.shadows.ShadowPausedSystemClock

@Implements(value=android.os.SystemClock.class,
            isInAndroidSdk=false,
            shadowPicker=Picker.class)
public class ShadowPausedSystemClock
extends ShadowSystemClock
A shadow SystemClock used when LooperMode.Mode.PAUSED is active.

In this variant, there is just one global system time controlled by this class. The current time is fixed in place, and manually advanced by calling SystemClock.setCurrentTimeMillis(long)

SystemClock.uptimeMillis() and SystemClock.currentThreadTimeMillis() are identical.

This class should not be referenced directly. Use ShadowSystemClock instead.