Home
last modified time | relevance | path

Searched refs:ShadowLooper (Results 1 – 7 of 7) sorted by relevance

/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowLooper.java19 public class ShadowLooper { class
46 final ShadowLooper looper = shadowOf(myLooper());
DShadowApplication.java82 private Looper mainLooper = ShadowLooper.myLooper();
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DLooperTest.java33 ShadowLooper.idleMainLooper(1999); in idleMainLooper_executesScheduledTasks()
35 ShadowLooper.idleMainLooper(1); in idleMainLooper_executesScheduledTasks()
DMessengerTest.java25 ShadowLooper.pauseMainLooper(); in testMessengerSend()
DHandlerTest.java123 ShadowLooper shadowLooper = shadowOf(handler.getLooper()); in testRemoveCallbacks()
187 ShadowLooper.pauseMainLooper(); in testPostAtFrontOfQueueThenRunMainLooperOneTaskAtATime_shouldRunFrontOfQueueTaskFirst()
204 ShadowLooper.pauseMainLooper(); in testSendMessageAtFrontOfQueueThenRunMainLooperOneMsgAtATime_shouldRunFrontOfQueueMsgFirst()
DMessageTest.java159 ShadowLooper.pauseMainLooper(); in testSendToTarget()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/
DRobolectric.java240 ShadowLooper.class, in getDefaultShadowClasses()
374 ShadowLooper.resetThreadLoopers(); in resetStaticState()
729 public static ShadowLooper shadowOf(Looper instance) { in shadowOf()
730 return (ShadowLooper) shadowOf_(instance); in shadowOf()
1221 ShadowLooper.pauseLooper(looper); in pauseLooper()
1225 ShadowLooper.unPauseLooper(looper); in unPauseLooper()
1229 ShadowLooper.pauseMainLooper(); in pauseMainLooper()
1233 ShadowLooper.unPauseMainLooper(); in unPauseMainLooper()
1237 ShadowLooper.idleMainLooper(interval); in idleMainLooper()