Home
last modified time | relevance | path

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

/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
DScheduler.java3 import static org.robolectric.util.Scheduler.IdleState.CONSTANT_IDLE;
49 CONSTANT_IDLE enumConstant
90 case CONSTANT_IDLE: in setIdleState()
159 …if ((idleState != CONSTANT_IDLE && (isPaused() || delayMillis > 0)) || Thread.currentThread() != a… in postDelayed()
324 setIdleState(shouldIdleConstantly ? CONSTANT_IDLE : UNPAUSED); in idleConstantly()
349 case CONSTANT_IDLE: in runOrQueueRunnable()
/external/robolectric-shadows/utils/src/test/java/org/robolectric/util/
DSchedulerTest.java4 import static org.robolectric.util.Scheduler.IdleState.CONSTANT_IDLE;
36 scheduler.setIdleState(CONSTANT_IDLE); in whenIdleStateIsConstantIdle_isPausedReturnsFalse()
64 assertThat(scheduler.getIdleState()).isSameAs(CONSTANT_IDLE); in idleConstantly_setsIdleState()
95 scheduler.setIdleState(CONSTANT_IDLE); in setIdleStateToConstantIdle_shouldRunAllTasks()
171 scheduler.setIdleState(CONSTANT_IDLE); in postDelayed_whileIdlingConstantly_executesImmediately()
179 scheduler.setIdleState(CONSTANT_IDLE); in postDelayed_whileIdlingConstantly_advancesTime()
419 scheduler.setIdleState(CONSTANT_IDLE); in nestedPostDelayed_whenIdlingConstantly_automaticallyExecutes3After()