Searched refs:getMasterScheduler (Results 1 – 8 of 8) sorted by relevance
55 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()
304 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()
580 …owApplication.getBackgroundThreadScheduler()).isNotSameAs(RuntimeEnvironment.getMasterScheduler()); in getBackgroundThreadScheduler_shouldDifferFromRuntimeEnvironment_byDefault()
56 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()
80 assertThat(RuntimeEnvironment.getMasterScheduler()).isSameAs(s); in getSetMasterScheduler()
162 public static Scheduler getMasterScheduler() { in getMasterScheduler() method in RuntimeEnvironment
367 shadowMessageQueue.setScheduler(RuntimeEnvironment.getMasterScheduler()); in resetScheduler()
91 return RuntimeEnvironment.getMasterScheduler(); in getForegroundThreadScheduler()