Home
last modified time | relevance | path

Searched refs:waitForIdle (Results 1 – 25 of 184) sorted by relevance

12345678

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DCancelFromNotificationUiTest.java154 device.waitForIdle(); in testCopyDocument_Cancel()
157 device.waitForIdle(); in testCopyDocument_Cancel()
160 device.waitForIdle(); in testCopyDocument_Cancel()
163 device.waitForIdle(); in testCopyDocument_Cancel()
172 device.waitForIdle(); in testCopyDocument_CancelFromNotification()
175 device.waitForIdle(); in testCopyDocument_CancelFromNotification()
178 device.waitForIdle(); in testCopyDocument_CancelFromNotification()
182 device.waitForIdle(); in testCopyDocument_CancelFromNotification()
193 device.waitForIdle(); in testCopyDocument_CancelFromNotification()
197 device.waitForIdle(); in testCopyDocument_CancelFromNotification()
[all …]
DSearchViewUiTest.java49 device.waitForIdle(); in tearDown()
72 device.waitForIdle(); in testSearchView_ExpandsOnClick()
83 device.waitForIdle(); in testSearchView_ShouldHideOptionMenuOnExpanding()
87 device.waitForIdle(); in testSearchView_ShouldHideOptionMenuOnExpanding()
108 device.waitForIdle(); in testSearchFragment_DismissedOnCloseAfterCancel()
112 device.waitForIdle(); in testSearchFragment_DismissedOnCloseAfterCancel()
137 device.waitForIdle(); in testSearchView_ClearsSearchOnBack()
162 device.waitForIdle(); in testSearchView_StateAfterSearch()
193 device.waitForIdle(); in testSearchResultsFound_ClearsOnBack()
205 device.waitForIdle(); in testSearchNoResults_ClearsOnBack()
[all …]
DFileManagementUiTest.java68 device.waitForIdle(); in testCreateDirectory()
71 device.waitForIdle(); in testCreateDirectory()
74 device.waitForIdle(); in testCreateDirectory()
83 device.waitForIdle(); in testDeleteDocument()
87 device.waitForIdle(); in testDeleteDocument()
95 device.waitForIdle(); in testKeyboard_CutDocument()
98 device.waitForIdle(); in testKeyboard_CutDocument()
113 device.waitForIdle(); in testKeyboard_CopyDocument()
116 device.waitForIdle(); in testKeyboard_CopyDocument()
132 device.waitForIdle(); in testKeyboard_PasteDocumentWhileSelectionActive()
[all …]
DRenameDocumentUiTest.java90 device.waitForIdle(); in testRenameFile_OkButton()
93 device.waitForIdle(); in testRenameFile_OkButton()
106 device.waitForIdle(); in testRenameFile_Enter()
109 device.waitForIdle(); in testRenameFile_Enter()
122 device.waitForIdle(); in testRenameWithoutChangeIsNoOp()
173 device.waitForIdle(); in testRename_RecoverAfterConflict()
177 device.waitForIdle(); in testRename_RecoverAfterConflict()
204 device.waitForIdle(); in clickRename()
DFileCopyUiTest.java140 MediaStore.waitForIdle(context.getContentResolver()); in setUp()
246 device.waitForIdle(); in createDocuments()
276 device.waitForIdle(); in deleteDocuments()
280 device.waitForIdle(); in deleteDocuments()
392 device.waitForIdle(); in copyFiles()
394 device.waitForIdle(); in copyFiles()
397 device.waitForIdle(); in copyFiles()
413 device.waitForIdle(); in assertFilesCopied()
479 device.waitForIdle(); in ignored_testCopyDocuments_documentsDisabled()
481 device.waitForIdle(); in ignored_testCopyDocuments_documentsDisabled()
[all …]
DInternalStorageUiTest.java65 device.waitForIdle(); in testRenameFile()
70 device.waitForIdle(); in testRenameFile()
89 device.waitForIdle(); in deleteTestFiles()
94 device.waitForIdle(); in deleteTestFiles()
99 device.waitForIdle(); in deleteTestFiles()
/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/
DResolverActivityTest.java147 waitForIdle(); in twoOptionsAndUserSelectsOne()
162 waitForIdle(); in twoOptionsAndUserSelectsOne()
174 waitForIdle(); in setMaxHeight()
190 waitForIdle(); in setMaxHeight()
204 waitForIdle(); in setMaxHeight()
217 waitForIdle(); in setShowAtTopToTrue()
235 waitForIdle(); in setShowAtTopToTrue()
253 waitForIdle(); in hasLastChosenActivity()
266 waitForIdle(); in hasLastChosenActivity()
284 waitForIdle(); in hasOtherProfileOneOption()
[all …]
DChooserActivityTest.java362 waitForIdle(); in customTitle()
375 waitForIdle(); in customTitleIgnoredForSendIntents()
387 waitForIdle(); in emptyTitle()
416 waitForIdle(); in test_shareRichTextWithRichTitle_richTextAndRichTitleDisplayed()
451 waitForIdle(); in emptyPreviewTitleAndThumbnail()
466 waitForIdle(); in visiblePreviewTitleWithoutThumbnail()
484 waitForIdle(); in visiblePreviewTitleWithInvalidThumbnail()
503 waitForIdle(); in visiblePreviewTitleAndThumbnail()
519 waitForIdle(); in twoOptionsAndUserSelectsOne()
533 waitForIdle(); in twoOptionsAndUserSelectsOne()
[all …]
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/preview/
DPreviewFeatureTest.kt410 composeTestRule.waitForIdle() in testNavigateBack()
471 composeTestRule.waitForIdle() in testNavigateToPreviewSelection()
515 composeTestRule.waitForIdle() in testPreviewSelectionActions()
523 composeTestRule.waitForIdle() in testPreviewSelectionActions()
617 composeTestRule.waitForIdle() in testPreviewSelectionActionsWithGrantsAwareSelection()
625 composeTestRule.waitForIdle() in testPreviewSelectionActionsWithGrantsAwareSelection()
667 composeTestRule.waitForIdle() in testPreviewSelectInSingleSelect()
669 composeTestRule.waitForIdle() in testPreviewSelectInSingleSelect()
683 composeTestRule.waitForIdle() in testPreviewSelectInSingleSelect()
726 composeTestRule.waitForIdle() in testPreviewDoneNavigatesBack()
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/viewmodel/
DPickerViewModelPaginationTest.java172 DataLoaderThread.waitForIdle(); in test_getItems_noItemsPresent()
179 DataLoaderThread.waitForIdle(); in test_getItems_noItemsPresent()
207 DataLoaderThread.waitForIdle(); in test_getCategoryItems_noItemsPresent()
215 DataLoaderThread.waitForIdle(); in test_getCategoryItems_noItemsPresent()
240 DataLoaderThread.waitForIdle(); in test_getItems_correctItemsReturned()
247 DataLoaderThread.waitForIdle(); in test_getItems_correctItemsReturned()
254 DataLoaderThread.waitForIdle(); in test_getItems_correctItemsReturned()
262 DataLoaderThread.waitForIdle(); in test_getItems_correctItemsReturned()
294 DataLoaderThread.waitForIdle(); in test_differentCategories_getCategoryItems()
300 DataLoaderThread.waitForIdle(); in test_differentCategories_getCategoryItems()
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DNsdServiceTest.java299 waitForIdle(); in testPreSClients()
360 waitForIdle(); in testClientRequestsAreGCedAtDisconnection()
369 waitForIdle(); in testClientRequestsAreGCedAtDisconnection()
375 waitForIdle(); in testClientRequestsAreGCedAtDisconnection()
399 waitForIdle(); in testCleanupDelayNoRequestActive()
408 waitForIdle(); in testCleanupDelayNoRequestActive()
434 waitForIdle(); in testDiscoverOnTetheringDownstream()
455 waitForIdle(); in testDiscoverOnTetheringDownstream()
470 waitForIdle(); in testDiscoverOnTetheringDownstream()
491 waitForIdle(); in testDiscoverOnTetheringDownstream()
[all …]
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/categorygrid/
DCategoryGridFeatureTest.kt308 composeTestRule.waitForIdle() in testNavigateCategoryGridAndAlbumsAreVisible()
366 composeTestRule.waitForIdle() in testConsistentCategoryFocus()
385 composeTestRule.waitForIdle() in testConsistentCategoryFocus()
395 composeTestRule.waitForIdle() in testConsistentCategoryFocus()
446 composeTestRule.waitForIdle() in testAlbumsCanBeSelected()
457 composeTestRule.waitForIdle() in testAlbumsCanBeSelected()
461 composeTestRule.waitForIdle() in testAlbumsCanBeSelected()
490 composeTestRule.waitForIdle() in testSwipeLeftToNavigateToPhotoGrid()
496 composeTestRule.waitForIdle() in testSwipeLeftToNavigateToPhotoGrid()
538 composeTestRule.waitForIdle() in testAlbumMediaShowsEmptyStateWhenEmpty()
[all …]
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DHandlerUtils.kt36 fun HandlerThread.waitForIdle(timeoutMs: Int) = threadHandler.waitForIdle(timeoutMs.toLong()) in HandlerThread() method
37 fun HandlerThread.waitForIdle(timeoutMs: Long) = threadHandler.waitForIdle(timeoutMs) in HandlerThread() method
38 fun Handler.waitForIdle(timeoutMs: Int) = waitForIdle(timeoutMs.toLong()) in HandlerThread() method
39 fun Handler.waitForIdle(timeoutMs: Long) { in HandlerThread() method
/packages/apps/Traceur/uitests/src/com/android/traceur/uitest/
DTraceurAppTests.java79 mDevice.waitForIdle(); in setUp()
159 mDevice.waitForIdle(); in testSuccessfulTracing()
168 mDevice.waitForIdle(); in testSuccessfulTracing()
193 mDevice.waitForIdle(); in testSuccessfulWinscopeTracing()
202 mDevice.waitForIdle(); in testSuccessfulWinscopeTracing()
222 mDevice.waitForIdle(); in testSuccessfulCpuProfiling()
232 mDevice.waitForIdle(); in testSuccessfulCpuProfiling()
349 mDevice.waitForIdle(); in tapShareNotification()
390 mDevice.waitForIdle(); in openTraceCategories()
401 mDevice.waitForIdle(); in restoreDefaultCategories()
[all …]
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/albumgrid/
DAlbumGridFeatureTest.kt305 composeTestRule.waitForIdle() in testNavigateAlbumGridAndAlbumsAreVisible()
372 composeTestRule.waitForIdle() in testConsistentAlbumFocus()
386 composeTestRule.waitForIdle() in testConsistentAlbumFocus()
395 composeTestRule.waitForIdle() in testConsistentAlbumFocus()
440 composeTestRule.waitForIdle() in testAlbumsCanBeSelected()
451 composeTestRule.waitForIdle() in testAlbumsCanBeSelected()
455 composeTestRule.waitForIdle() in testAlbumsCanBeSelected()
484 composeTestRule.waitForIdle() in testSwipeLeftToNavigateToPhotoGrid()
490 composeTestRule.waitForIdle() in testSwipeLeftToNavigateToPhotoGrid()
530 composeTestRule.waitForIdle() in testAlbumMediaShowsEmptyStateWhenEmpty()
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSNetworkRequestStateStatsMetricsTests.kt49 waitForIdle() in <lambda>()
56 waitForIdle() in <lambda>()
74 waitForIdle() in <lambda>()
83 waitForIdle() in <lambda>()
87 waitForIdle() in <lambda>()
/packages/apps/TV/tests/jank/src/com/android/tv/tests/jank/
DChannelZappingJankTest.java56 mDevice.waitForIdle(); in testChannelZapping()
59 mDevice.waitForIdle(); in testChannelZapping()
67 mDevice.waitForIdle(); in warmChannelZapping()
71 mDevice.waitForIdle(); in warmChannelZapping()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/embedded/
DEmbeddedFeaturesTest.kt300 composeTestRule.waitForIdle() in testNavigationBarIsNotDisplayedInEmbeddedWhenCollapsed_searchFlagOff()
330 composeTestRule.waitForIdle() in testNavigationBarIsDisplayedInEmbeddedWhenExpanded_searchFlagOff()
363 composeTestRule.waitForIdle() in testNavigationBarIsDisplayedInEmbeddedWhenExpanded_searchFlagOn()
390 composeTestRule.waitForIdle() in testSwipeLeftToNavigateDisabledInEmbeddedWhenCollapsed()
400 composeTestRule.waitForIdle() in testSwipeLeftToNavigateDisabledInEmbeddedWhenCollapsed()
423 composeTestRule.waitForIdle() in testSwipeLeftToAlbumWorksInEmbeddedWhenExpanded_searchFlagOff()
433 composeTestRule.waitForIdle() in testSwipeLeftToAlbumWorksInEmbeddedWhenExpanded_searchFlagOff()
456 composeTestRule.waitForIdle() in testSwipeLeftToCategoryWorksInEmbeddedWhenExpanded_searchFlagOn()
466 composeTestRule.waitForIdle() in testSwipeLeftToCategoryWorksInEmbeddedWhenExpanded_searchFlagOn()
488 composeTestRule.waitForIdle() in testProfileSelectorIsNotDisplayedInEmbeddedWhenCollapsed()
[all …]
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServerTest.java190 HandlerUtils.waitForIdle(mServer.getHandler(), TEST_TIMEOUT_MS); in startServer()
229 HandlerUtils.waitForIdle(mServer.getHandler(), TEST_TIMEOUT_MS); in testStartWithCallbacks()
246 HandlerUtils.waitForIdle(mServer.getHandler(), TEST_TIMEOUT_MS); in testDiscover()
266 HandlerUtils.waitForIdle(mServer.getHandler(), TEST_TIMEOUT_MS); in testDiscover_RapidCommit()
285 HandlerUtils.waitForIdle(mServer.getHandler(), TEST_TIMEOUT_MS); in testDiscover_OutOfAddresses()
314 HandlerUtils.waitForIdle(mServer.getHandler(), TEST_TIMEOUT_MS); in testRequest_Selecting_Ack()
332 HandlerUtils.waitForIdle(mServer.getHandler(), TEST_TIMEOUT_MS); in testRequest_Selecting_Nak()
347 HandlerUtils.waitForIdle(mServer.getHandler(), TEST_TIMEOUT_MS); in testRelease()
373 HandlerUtils.waitForIdle(mServer.getHandler(), TEST_TIMEOUT_MS); in runOnReceivedDeclinePacket()
398 HandlerUtils.waitForIdle(mServer.getHandler(), TEST_TIMEOUT_MS); in updateServingParams()
[all …]
/packages/modules/Permission/tests/cts/rolemultiuser/src/android/app/rolemultiuser/cts/
DRoleManagerMultiUserTest.kt714 getUiDevice().waitForIdle() in <lambda>()
716 getUiDevice().waitForIdle() in <lambda>()
772 getUiDevice().waitForIdle() in <lambda>()
774 getUiDevice().waitForIdle() in <lambda>()
830 getUiDevice().waitForIdle() in <lambda>()
832 getUiDevice().waitForIdle() in <lambda>()
838 getUiDevice().waitForIdle() in <lambda>()
847 getUiDevice().waitForIdle() in <lambda>()
895 getUiDevice().waitForIdle() in <lambda>()
897 getUiDevice().waitForIdle() in <lambda>()
[all …]
/packages/modules/AdServices/adservices/apk/tests/notification/src/com/android/adservices/ui/notifications/
DNotificationActivityPasUiAutomatorTest.java66 mDevice.waitForIdle(); in renotifyClickSettingsTest()
75 mDevice.waitForIdle(); in renotifyClickSettingsTest()
113 mDevice.waitForIdle(); in firstTimeRowCombinedTextShownTest()
122 mDevice.waitForIdle(); in firstTimeRowCombinedTextShownTest()
124 mDevice.waitForIdle(); in firstTimeRowCombinedTextShownTest()
133 mDevice.waitForIdle(); in firstTimeRowCombinedTextShownTest()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsMultinetworkSocketClientTest.java166 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSendPacket()
174 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSendPacket()
182 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSendPacket()
192 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSendPacket()
278 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSocketRemovedAfterNetworkUnrequested()
292 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSocketRemovedAfterNetworkUnrequested()
307 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSocketRemovedAfterNetworkUnrequested()
321 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSocketRemovedAfterNetworkUnrequested()
332 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSocketRemovedAfterNetworkUnrequested()
355 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testNotifyNetworkUnrequested_SocketsOnNullNetwork()
[all …]
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/photogrid/
DPhotoGridFeatureTest.kt251 composeTestRule.waitForIdle() in testPhotosCanBeSelected()
286 composeTestRule.waitForIdle() in testPhotosAreDisplayed()
315 composeTestRule.waitForIdle() in testSwipeLeftToNavigateToAlbumGrid_searchFlagOff()
326 composeTestRule.waitForIdle() in testSwipeLeftToNavigateToAlbumGrid_searchFlagOff()
348 composeTestRule.waitForIdle() in testSwipeLeftToNavigateToCategoryGrid_searchFlagOn()
359 composeTestRule.waitForIdle() in testSwipeLeftToNavigateToCategoryGrid_searchFlagOn()
389 composeTestRule.waitForIdle() in testShowsEmptyStateWhenEmpty()
432 composeTestRule.waitForIdle() in testShowsBannersInGrid()
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DPerformanceTest.java99 MediaStore.waitForIdle(resolver); in doSingle()
116 MediaStore.waitForIdle(resolver); in doSingle()
132 MediaStore.waitForIdle(resolver); in doSingle()
145 MediaStore.waitForIdle(resolver); in doSingle()
168 MediaStore.waitForIdle(resolver); in doBulk()
189 MediaStore.waitForIdle(resolver); in doBulk()
209 MediaStore.waitForIdle(resolver); in doBulk()
228 MediaStore.waitForIdle(resolver); in doBulk()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DBaseLauncherActivityTest.kt81 UiDevice.getInstance(getInstrumentation()).waitForIdle() in targetContext()
127 uiDevice.waitForIdle() in getAllAppsScroll()
153 uiDevice.waitForIdle() in startAppFast()
170 UiDevice.getInstance(getInstrumentation()).waitForIdle() in executeShellCommand()
180 UiDevice.getInstance(getInstrumentation()).waitForIdle() in addWidgetToWorkspace()

12345678