Home
last modified time | relevance | path

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

/external/robolectric-shadows/utils/src/test/java/org/robolectric/util/
DSchedulerTest.java37 scheduler.setIdleState(CONSTANT_IDLE); in whenIdleStateIsConstantIdle_isPausedReturnsFalse()
43 scheduler.setIdleState(UNPAUSED); in whenIdleStateIsUnPaused_isPausedReturnsFalse()
49 scheduler.setIdleState(PAUSED); in whenIdleStateIsPaused_isPausedReturnsTrue()
55 scheduler.setIdleState(UNPAUSED); in pause_setsIdleState()
63 scheduler.setIdleState(UNPAUSED); in idleConstantly_setsIdleState()
72 scheduler.setIdleState(PAUSED); in unPause_setsIdleState()
84 scheduler.setIdleState(UNPAUSED); in setIdleStateToUnPause_shouldRunPendingTasks()
96 scheduler.setIdleState(CONSTANT_IDLE); in setIdleStateToConstantIdle_shouldRunAllTasks()
172 scheduler.setIdleState(CONSTANT_IDLE); in postDelayed_whileIdlingConstantly_executesImmediately()
180 scheduler.setIdleState(CONSTANT_IDLE); in postDelayed_whileIdlingConstantly_advancesTime()
[all …]
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
DScheduler.java84 public synchronized void setIdleState(IdleState idleState) { in setIdleState() method in Scheduler
113 setIdleState(PAUSED); in pause()
123 setIdleState(UNPAUSED); in unPause()
324 setIdleState(shouldIdleConstantly ? CONSTANT_IDLE : UNPAUSED); in idleConstantly()