Searched refs:mainLooper (Results 1 – 7 of 7) sorted by relevance
32 val mainLooper = ShadowLooper.getShadowMainLooper() in <lambda>() constant33 mainLooper.pause() in <lambda>()42 job.join(mainLooper) in <lambda>()51 val mainLooper = ShadowLooper.getShadowMainLooper() in <lambda>() constant52 mainLooper.pause() in <lambda>()61 job.join(mainLooper) in <lambda>()70 val mainLooper = ShadowLooper.getShadowMainLooper() in <lambda>() constant71 mainLooper.pause() in <lambda>()80 job.join(mainLooper) in <lambda>()89 val mainLooper = ShadowLooper.getShadowMainLooper() in <lambda>() constant[all …]
38 val mainLooper = ShadowLooper.getShadowMainLooper() in testDelay() constant39 mainLooper.pause() in testDelay()41 mainLooper.runToNextTask() in testDelay()43 mainLooper.runToNextTask() in testDelay()48 val mainLooper = ShadowLooper.getShadowMainLooper() in checkComponent() constant49 mainLooper.pause() in checkComponent()52 mainLooper.unPause() in checkComponent()
48 val mainLooper = ShadowLooper.getShadowMainLooper() in checkComponent() constant49 mainLooper.pause() in checkComponent()52 mainLooper.unPause() in checkComponent()
247 Looper mainLooper = Looper.getMainLooper(); in soStaticRefsToLoopersInAppWorksAcrossTests_shouldRetainSameLooperForMainThreadBetweenResetsButGiveItAFreshScheduler() local248 Scheduler scheduler = shadowOf(mainLooper).getScheduler(); in soStaticRefsToLoopersInAppWorksAcrossTests_shouldRetainSameLooperForMainThreadBetweenResetsButGiveItAFreshScheduler()249 shadowOf(mainLooper).quit = true; in soStaticRefsToLoopersInAppWorksAcrossTests_shouldRetainSameLooperForMainThreadBetweenResetsButGiveItAFreshScheduler()250 …sertThat(ApplicationProvider.getApplicationContext().getMainLooper()).isSameInstanceAs(mainLooper); in soStaticRefsToLoopersInAppWorksAcrossTests_shouldRetainSameLooperForMainThreadBetweenResetsButGiveItAFreshScheduler()262 …ertWithMessage("Looper.getMainLooper()").that(Looper.getMainLooper()).isSameInstanceAs(mainLooper); in soStaticRefsToLoopersInAppWorksAcrossTests_shouldRetainSameLooperForMainThreadBetweenResetsButGiveItAFreshScheduler()263 …tWithMessage("app.getMainLooper()").that(application.getMainLooper()).isSameInstanceAs(mainLooper); in soStaticRefsToLoopersInAppWorksAcrossTests_shouldRetainSameLooperForMainThreadBetweenResetsButGiveItAFreshScheduler()264 …assertWithMessage("scheduler").that(shadowOf(mainLooper).getScheduler()).isNotSameInstanceAs(sched… in soStaticRefsToLoopersInAppWorksAcrossTests_shouldRetainSameLooperForMainThreadBetweenResetsButGiveItAFreshScheduler()265 assertWithMessage("scheduler").that(shadowOf(mainLooper).getScheduler()).isSameInstanceAs(s); in soStaticRefsToLoopersInAppWorksAcrossTests_shouldRetainSameLooperForMainThreadBetweenResetsButGiveItAFreshScheduler()266 assertWithMessage("quit").that(shadowOf(mainLooper).hasQuit()).isFalse(); in soStaticRefsToLoopersInAppWorksAcrossTests_shouldRetainSameLooperForMainThreadBetweenResetsButGiveItAFreshScheduler()370 Looper mainLooper = Looper.getMainLooper(); in getMainLooper_shouldBeInitialized_onBackgroundThread_evenWhenRobolectricApplicationIsNull()[all …]
41 private static Looper mainLooper; field in ShadowLooper71 if (mainLooper != null) { in resetThreadLoopers()72 shadowOf(mainLooper).reset(); in resetThreadLoopers()80 mainLooper = realObject; in __constructor__()89 return mainLooper; in getMainLooper()148 return isMainThread(thread) ? mainLooper : loopingLoopers.get(thread); in getLooperForThread()
161 MyHandler(Looper mainLooper, AccessibilityManager accessibilityManager) { in MyHandler() argument162 super(mainLooper); in MyHandler()
32 public static IWindowSession getWindowSession(Looper mainLooper) { in getWindowSession() argument