Searched refs:setIdleState (Results 1 – 2 of 2) sorted by relevance
36 scheduler.setIdleState(CONSTANT_IDLE); in whenIdleStateIsConstantIdle_isPausedReturnsFalse()42 scheduler.setIdleState(UNPAUSED); in whenIdleStateIsUnPaused_isPausedReturnsFalse()48 scheduler.setIdleState(PAUSED); in whenIdleStateIsPaused_isPausedReturnsTrue()54 scheduler.setIdleState(UNPAUSED); in pause_setsIdleState()62 scheduler.setIdleState(UNPAUSED); in idleConstantly_setsIdleState()71 scheduler.setIdleState(PAUSED); in unPause_setsIdleState()83 scheduler.setIdleState(UNPAUSED); in setIdleStateToUnPause_shouldRunPendingTasks()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()[all …]
84 public synchronized void setIdleState(IdleState idleState) { in setIdleState() method in Scheduler113 setIdleState(PAUSED); in pause()123 setIdleState(UNPAUSED); in unPause()324 setIdleState(shouldIdleConstantly ? CONSTANT_IDLE : UNPAUSED); in idleConstantly()