Home
last modified time | relevance | path

Searched refs:UNPAUSED (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
DScheduler.java5 import static org.robolectric.util.Scheduler.IdleState.UNPAUSED;
44 UNPAUSED, enumConstant
63 private volatile IdleState idleState = UNPAUSED;
87 case UNPAUSED: in setIdleState()
123 setIdleState(UNPAUSED); in unPause()
298 idleState = UNPAUSED; in reset()
324 setIdleState(shouldIdleConstantly ? CONSTANT_IDLE : UNPAUSED); in idleConstantly()
352 case UNPAUSED: in runOrQueueRunnable()
/external/robolectric-shadows/utils/src/test/java/org/robolectric/util/
DSchedulerTest.java7 import static org.robolectric.util.Scheduler.IdleState.UNPAUSED;
43 scheduler.setIdleState(UNPAUSED); in whenIdleStateIsUnPaused_isPausedReturnsFalse()
55 scheduler.setIdleState(UNPAUSED); in pause_setsIdleState()
63 scheduler.setIdleState(UNPAUSED); in idleConstantly_setsIdleState()
67 assertThat(scheduler.getIdleState()).isSameInstanceAs(UNPAUSED); in idleConstantly_setsIdleState()
74 assertThat(scheduler.getIdleState()).isSameInstanceAs(UNPAUSED); in unPause_setsIdleState()
84 scheduler.setIdleState(UNPAUSED); in setIdleStateToUnPause_shouldRunPendingTasks()