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()
246 Looper mainLooper = Looper.getMainLooper(); in soStaticRefsToLoopersInAppWorksAcrossTests_shouldRetainSameLooperForMainThreadBetweenResetsButGiveItAFreshScheduler() local247 Scheduler scheduler = shadowOf(mainLooper).getScheduler(); in soStaticRefsToLoopersInAppWorksAcrossTests_shouldRetainSameLooperForMainThreadBetweenResetsButGiveItAFreshScheduler()248 shadowOf(mainLooper).quit = true; in soStaticRefsToLoopersInAppWorksAcrossTests_shouldRetainSameLooperForMainThreadBetweenResetsButGiveItAFreshScheduler()249 assertThat(ApplicationProvider.getApplicationContext().getMainLooper()).isSameAs(mainLooper); in soStaticRefsToLoopersInAppWorksAcrossTests_shouldRetainSameLooperForMainThreadBetweenResetsButGiveItAFreshScheduler()261 assertThat(Looper.getMainLooper()).named("Looper.getMainLooper()").isSameAs(mainLooper); in soStaticRefsToLoopersInAppWorksAcrossTests_shouldRetainSameLooperForMainThreadBetweenResetsButGiveItAFreshScheduler()262 assertThat(application.getMainLooper()).named("app.getMainLooper()").isSameAs(mainLooper); in soStaticRefsToLoopersInAppWorksAcrossTests_shouldRetainSameLooperForMainThreadBetweenResetsButGiveItAFreshScheduler()263 assertThat(shadowOf(mainLooper).getScheduler()).named("scheduler").isNotSameAs(scheduler); in soStaticRefsToLoopersInAppWorksAcrossTests_shouldRetainSameLooperForMainThreadBetweenResetsButGiveItAFreshScheduler()264 assertThat(shadowOf(mainLooper).getScheduler()).named("scheduler").isSameAs(s); in soStaticRefsToLoopersInAppWorksAcrossTests_shouldRetainSameLooperForMainThreadBetweenResetsButGiveItAFreshScheduler()265 assertThat(shadowOf(mainLooper).hasQuit()).named("quit").isFalse(); in soStaticRefsToLoopersInAppWorksAcrossTests_shouldRetainSameLooperForMainThreadBetweenResetsButGiveItAFreshScheduler()369 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()
31 public static IWindowSession getWindowSession(Looper mainLooper) { in getWindowSession() argument