Searched refs:ShadowLooper (Results 1 – 7 of 7) sorted by relevance
19 public class ShadowLooper { class46 final ShadowLooper looper = shadowOf(myLooper());
82 private Looper mainLooper = ShadowLooper.myLooper();
33 ShadowLooper.idleMainLooper(1999); in idleMainLooper_executesScheduledTasks()35 ShadowLooper.idleMainLooper(1); in idleMainLooper_executesScheduledTasks()
25 ShadowLooper.pauseMainLooper(); in testMessengerSend()
123 ShadowLooper shadowLooper = shadowOf(handler.getLooper()); in testRemoveCallbacks()187 ShadowLooper.pauseMainLooper(); in testPostAtFrontOfQueueThenRunMainLooperOneTaskAtATime_shouldRunFrontOfQueueTaskFirst()204 ShadowLooper.pauseMainLooper(); in testSendMessageAtFrontOfQueueThenRunMainLooperOneMsgAtATime_shouldRunFrontOfQueueMsgFirst()
159 ShadowLooper.pauseMainLooper(); in testSendToTarget()
240 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()