Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DRuntimeEnvironmentTest.java18 RuntimeEnvironment.setMainThread(Thread.currentThread()); in setMainThread_forCurrentThread()
25 RuntimeEnvironment.setMainThread(t); in setMainThread_forNewThread()
40 RuntimeEnvironment.setMainThread(Thread.currentThread()); in isMainThread_forNewThread_withoutSwitch()
60 RuntimeEnvironment.setMainThread(t); in isMainThread_forNewThread_withSwitch()
72 RuntimeEnvironment.setMainThread(t); in isMainThread_withArg_forNewThread_withSwitch()
DBootstrapDeferringRobolectricTestRunner.java118 public void setMainThread(Thread newMainThread) { in setMainThread() method in BootstrapDeferringRobolectricTestRunner.BootstrapWrapper
119 hooksInterface.setMainThread(newMainThread); in setMainThread()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/
DParallelUniverseInterface.java21 void setMainThread(Thread newMainThread); in setMainThread() method
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DParallelUniverse.java94 RuntimeEnvironment.setMainThread(Thread.currentThread()); in setUpApplicationState()
372 public void setMainThread(Thread newMainThread) { in setMainThread() method in ParallelUniverse
373 RuntimeEnvironment.setMainThread(newMainThread); in setMainThread()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/
DRuntimeEnvironment.java79 public static void setMainThread(Thread newMainThread) { in setMainThread() method in RuntimeEnvironment
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLooperTest.java351 RuntimeEnvironment.setMainThread(t); in myLooper_returnsMainLooper_ifMainThreadIsSwitched()
357 RuntimeEnvironment.setMainThread(Thread.currentThread()); in myLooper_returnsMainLooper_ifMainThreadIsSwitched()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DRobolectricTestRunner.java601 roboMethod.parallelUniverseInterface.setMainThread(Thread.currentThread()); in methodInvoker()
605 roboMethod.parallelUniverseInterface.setMainThread(orig); in methodInvoker()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/internal/
DParallelUniverseTest.java89 RuntimeEnvironment.setMainThread(new Thread()); in setUpApplicationState_setsMainThread()