Home
last modified time | relevance | path

Searched refs:IdleState (Results 1 – 4 of 4) sorted by relevance

/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
DScheduler.java3 import static org.robolectric.util.Scheduler.IdleState.CONSTANT_IDLE;
4 import static org.robolectric.util.Scheduler.IdleState.PAUSED;
5 import static org.robolectric.util.Scheduler.IdleState.UNPAUSED;
35 public enum IdleState { enum in Scheduler
63 private volatile IdleState idleState = UNPAUSED;
71 public IdleState getIdleState() { in getIdleState()
84 public synchronized void setIdleState(IdleState idleState) { in setIdleState()
/external/rust/crates/rayon-core/src/sleep/
Dmod.rs38 pub(super) struct IdleState { struct
73 pub(super) fn start_looking(&self, worker_index: usize, latch: &CoreLatch) -> IdleState { in start_looking() argument
81 IdleState { in start_looking()
89 pub(super) fn work_found(&self, idle_state: IdleState) { in work_found() argument
104 idle_state: &mut IdleState, in no_work_found() argument
140 idle_state: &mut IdleState, in sleep() argument
382 impl IdleState { implementation
/external/robolectric-shadows/utils/src/test/java/org/robolectric/util/
DSchedulerTest.java5 import static org.robolectric.util.Scheduler.IdleState.CONSTANT_IDLE;
6 import static org.robolectric.util.Scheduler.IdleState.PAUSED;
7 import static org.robolectric.util.Scheduler.IdleState.UNPAUSED;
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAccountManager.java36 import org.robolectric.util.Scheduler.IdleState;