Home
last modified time | relevance | path

Searched refs:pauseMainLooper (Results 1 – 14 of 14) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowHandlerTest.java192 ShadowLooper.pauseMainLooper(); in testPostAtFrontOfQueueThenRunMainLooperOneTaskAtATime_shouldRunFrontOfQueueTaskFirst()
207 ShadowLooper.pauseMainLooper(); in testNestedPost_shouldRunLast()
236 ShadowLooper.pauseMainLooper(); in testSendMessageAtFrontOfQueueThenRunMainLooperOneMsgAtATime_shouldRunFrontOfQueueMsgFirst()
257 ShadowLooper.pauseMainLooper(); in sendEmptyMessage_addMessageToQueue()
269 ShadowLooper.pauseMainLooper(); in sendEmptyMessageDelayed_sendsMessageAtCorrectTime()
281 ShadowLooper.pauseMainLooper(); in sendMessageAtTime_sendsMessageAtCorrectTime()
294 ShadowLooper.pauseMainLooper(); in removeMessages_takesMessageOutOfQueue()
303 ShadowLooper.pauseMainLooper(); in removeMessage_withSpecifiedObject()
322 ShadowLooper.pauseMainLooper(); in testHasMessagesWithWhatAndObject()
336 ShadowLooper.pauseMainLooper(); in testSendToTarget()
[all …]
DShadowMessageTest.java167 ShadowLooper.pauseMainLooper(); in testSendToTarget()
185 ShadowLooper.pauseMainLooper(); in testIsInUse()
226 ShadowLooper.pauseMainLooper(); in recycle_shouldRemoveMessageFromScheduler()
DShadowMessengerTest.java22 ShadowLooper.pauseMainLooper(); in testMessengerSend()
DShadowApplicationTest.java220 ShadowLooper.pauseMainLooper(); in bindServiceShouldCallOnServiceConnectedWhenNotPaused()
250 ShadowLooper.pauseMainLooper(); in unbindServiceShouldCallOnServiceDisconnectedWhenNotPaused()
274 ShadowLooper.pauseMainLooper(); in declaringServiceUnbindableMakesBindServiceReturnFalse()
DShadowBackupManagerTest.java41 ShadowLooper.pauseMainLooper(); in setUp()
DShadowViewTest.java293 ShadowLooper.pauseMainLooper(); in shouldPostActionsToTheMessageQueue()
305 ShadowLooper.pauseMainLooper(); in shouldPostInvalidateDelayed()
317 ShadowLooper.pauseMainLooper(); in shouldPostActionsToTheMessageQueueWithDelay()
DShadowLooperTest.java396 ShadowLooper.pauseMainLooper(); in withAdvancedScheduling_shouldDispatchMessagesOnBothLoopers_whenAdvancingForegroundThread()
DShadowActivityTest.java314 ShadowLooper.pauseMainLooper(); in shouldQueueUiTasksWhenUiThreadIsPaused()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/controller/
DIntentServiceControllerTest.java70 ShadowLooper.pauseMainLooper(); in whenLooperIsAlreadyPaused_shouldCreateWithMainLooperPaused()
DServiceControllerTest.java71 ShadowLooper.pauseMainLooper(); in whenLooperIsAlreadyPaused_shouldCreateWithMainLooperPaused()
DActivityControllerTest.java117 ShadowLooper.pauseMainLooper(); in whenLooperIsAlreadyPaused_shouldCreateWithMainLooperPaused()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLooper.java185 public static void pauseMainLooper() { in pauseMainLooper() method in ShadowLooper
/external/libchrome/base/android/junit/src/org/chromium/base/memory/
DMemoryPressureMonitorTest.java88 ShadowLooper.pauseMainLooper(); in setUp()
/external/libchrome/base/android/junit/src/org/chromium/base/process_launcher/
DChildConnectionAllocatorTest.java239 ShadowLooper.pauseMainLooper(); in runTestWithConnectionCallbacks()