Home
last modified time | relevance | path

Searched refs:getMasterScheduler (Results 1 – 8 of 8) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowWifiP2pManagerTest.java55 RuntimeEnvironment.getMasterScheduler().pause(); in createGroup_fail()
60 RuntimeEnvironment.getMasterScheduler().unPause(); in createGroup_fail()
96 RuntimeEnvironment.getMasterScheduler().pause(); in removeGroup_failure()
100 RuntimeEnvironment.getMasterScheduler().unPause(); in removeGroup_failure()
DShadowLooperTest.java304 assertThat(sLooper.getScheduler()).isNotSameAs(RuntimeEnvironment.getMasterScheduler()); in reset_setsNewScheduler_forNonMainLooper_byDefault()
382 …That(shadowOf(ht.getLooper()).getScheduler()).isNotSameAs(RuntimeEnvironment.getMasterScheduler()); in schedulerOnAnotherLooper_shouldNotBeMaster_byDefault()
389 …ertThat(shadowOf(ht.getLooper()).getScheduler()).isSameAs(RuntimeEnvironment.getMasterScheduler()); in schedulerOnAnotherLooper_shouldBeMaster_ifAdvancedSchedulingEnabled()
414 assertThat(s).isSameAs(RuntimeEnvironment.getMasterScheduler()); in withAdvancedScheduling_shouldDispatchMessagesOnBothLoopers_whenAdvancingForegroundThread()
DShadowApplicationTest.java580 …owApplication.getBackgroundThreadScheduler()).isNotSameAs(RuntimeEnvironment.getMasterScheduler()); in getBackgroundThreadScheduler_shouldDifferFromRuntimeEnvironment_byDefault()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/internal/
DParallelUniverseTest.java56 assertThat(RuntimeEnvironment.getMasterScheduler()) in setUpApplicationState_configuresGlobalScheduler()
58 assertThat(RuntimeEnvironment.getMasterScheduler()) in setUpApplicationState_configuresGlobalScheduler()
71 assertThat(RuntimeEnvironment.getMasterScheduler()) in setUpApplicationState_setsBackgroundScheduler_toBeSameAsForeground_whenAdvancedScheduling()
72 .isSameAs(RuntimeEnvironment.getMasterScheduler()); in setUpApplicationState_setsBackgroundScheduler_toBeSameAsForeground_whenAdvancedScheduling()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DRuntimeEnvironmentTest.java80 assertThat(RuntimeEnvironment.getMasterScheduler()).isSameAs(s); in getSetMasterScheduler()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/
DRuntimeEnvironment.java162 public static Scheduler getMasterScheduler() { in getMasterScheduler() method in RuntimeEnvironment
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLooper.java367 shadowMessageQueue.setScheduler(RuntimeEnvironment.getMasterScheduler()); in resetScheduler()
DShadowApplication.java91 return RuntimeEnvironment.getMasterScheduler(); in getForegroundThreadScheduler()