Home
last modified time | relevance | path

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

123456

/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()
129 device.waitForIdle(); in testDeleteDocument_Cancel()
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.java144 waitForIdle(); in twoOptionsAndUserSelectsOne()
159 waitForIdle(); in twoOptionsAndUserSelectsOne()
171 waitForIdle(); in setMaxHeight()
187 waitForIdle(); in setMaxHeight()
201 waitForIdle(); in setMaxHeight()
214 waitForIdle(); in setShowAtTopToTrue()
232 waitForIdle(); in setShowAtTopToTrue()
250 waitForIdle(); in hasLastChosenActivity()
263 waitForIdle(); in hasLastChosenActivity()
281 waitForIdle(); in hasOtherProfileOneOption()
[all …]
DChooserActivityTest.java358 waitForIdle(); in customTitle()
371 waitForIdle(); in customTitleIgnoredForSendIntents()
383 waitForIdle(); in emptyTitle()
412 waitForIdle(); in test_shareRichTextWithRichTitle_richTextAndRichTitleDisplayed()
447 waitForIdle(); in emptyPreviewTitleAndThumbnail()
462 waitForIdle(); in visiblePreviewTitleWithoutThumbnail()
480 waitForIdle(); in visiblePreviewTitleWithInvalidThumbnail()
499 waitForIdle(); in visiblePreviewTitleAndThumbnail()
515 waitForIdle(); in twoOptionsAndUserSelectsOne()
529 waitForIdle(); in twoOptionsAndUserSelectsOne()
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/viewmodel/
DPickerViewModelPaginationTest.java169 DataLoaderThread.waitForIdle(); in test_getItems_noItemsPresent()
176 DataLoaderThread.waitForIdle(); in test_getItems_noItemsPresent()
204 DataLoaderThread.waitForIdle(); in test_getCategoryItems_noItemsPresent()
212 DataLoaderThread.waitForIdle(); in test_getCategoryItems_noItemsPresent()
237 DataLoaderThread.waitForIdle(); in test_getItems_correctItemsReturned()
244 DataLoaderThread.waitForIdle(); in test_getItems_correctItemsReturned()
251 DataLoaderThread.waitForIdle(); in test_getItems_correctItemsReturned()
259 DataLoaderThread.waitForIdle(); in test_getItems_correctItemsReturned()
291 DataLoaderThread.waitForIdle(); in test_differentCategories_getCategoryItems()
297 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 …]
DConnectivityServiceTest.java990 private void waitForIdle() { in waitForIdle() method in ConnectivityServiceTest
991 HandlerUtils.waitForIdle(mCsHandlerThread, TIMEOUT_MS); in waitForIdle()
992 waitForIdle(mCellAgent, TIMEOUT_MS); in waitForIdle()
993 waitForIdle(mWiFiAgent, TIMEOUT_MS); in waitForIdle()
994 waitForIdle(mEthernetAgent, TIMEOUT_MS); in waitForIdle()
995 HandlerUtils.waitForIdle(mCsHandlerThread, TIMEOUT_MS); in waitForIdle()
996 HandlerUtils.waitForIdle(ConnectivityThread.get(), TIMEOUT_MS); in waitForIdle()
999 private void waitForIdle(TestNetworkAgentWrapper agent, long timeoutMs) { in waitForIdle() method in ConnectivityServiceTest
1003 agent.waitForIdle(timeoutMs); in waitForIdle()
1012 waitForIdle(); in testWaitForIdle()
[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/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/preview/
DPreviewFeatureTest.kt503 composeTestRule.waitForIdle() in testPreviewSelectionActions()
558 composeTestRule.waitForIdle() in testPreviewEmitsMediaSelectionConfirmedEvent()
600 composeTestRule.waitForIdle() in testVideoUiCreatesRemoteSurfaceController()
642 composeTestRule.waitForIdle() in testVideoUiNotifySurfaceCreated()
682 composeTestRule.waitForIdle() in testVideoUiRequestsPlayWhenMediaReady()
692 composeTestRule.waitForIdle() in testVideoUiRequestsPlayWhenMediaReady()
728 composeTestRule.waitForIdle() in testVideoUiShowsAndHidesPlayerControls()
738 composeTestRule.waitForIdle() in testVideoUiShowsAndHidesPlayerControls()
744 composeTestRule.waitForIdle() in testVideoUiShowsAndHidesPlayerControls()
761 composeTestRule.waitForIdle() in testVideoUiShowsAndHidesPlayerControls()
[all …]
/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/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSNetworkRequestStateStatsMetricsTests.kt48 waitForIdle() in <lambda>()
55 waitForIdle() in <lambda>()
65 waitForIdle() in <lambda>()
74 waitForIdle() in <lambda>()
78 waitForIdle() in <lambda>()
DCSDestroySocketTest.kt101 waitForIdle() in doTestBackgroundRestrictionDestroySockets()
116 waitForIdle() in doTestBackgroundRestrictionDestroySockets()
195 waitForIdle() in testReplaceFirewallChain()
205 waitForIdle() in testReplaceFirewallChain()
276 waitForIdle() in doTestDestroySockets()
/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/features/cloudmedia/
DMediaPreloaderTest.kt258 composeTestRule.waitForIdle() in testMediaPreloaderCompletesDeferredWhenSuccessful()
300 composeTestRule.waitForIdle() in testMediaPreloaderShowsLoadingDialog()
304 composeTestRule.waitForIdle() in testMediaPreloaderShowsLoadingDialog()
307 composeTestRule.waitForIdle() in testMediaPreloaderShowsLoadingDialog()
346 composeTestRule.waitForIdle() in testMediaPreloaderCancelPreloadFromLoadingDialog()
350 composeTestRule.waitForIdle() in testMediaPreloaderCancelPreloadFromLoadingDialog()
353 composeTestRule.waitForIdle() in testMediaPreloaderCancelPreloadFromLoadingDialog()
365 composeTestRule.waitForIdle() in testMediaPreloaderCancelPreloadFromLoadingDialog()
394 composeTestRule.waitForIdle() in testMediaPreloaderLoadsRemoteMedia()
441 composeTestRule.waitForIdle() in testMediaPreloaderFailureShowsErrorDialog()
[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/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsMultinetworkSocketClientTest.java162 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSendPacket()
170 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSendPacket()
178 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSendPacket()
188 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSendPacket()
274 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSocketRemovedAfterNetworkUnrequested()
288 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSocketRemovedAfterNetworkUnrequested()
303 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSocketRemovedAfterNetworkUnrequested()
317 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSocketRemovedAfterNetworkUnrequested()
328 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSocketRemovedAfterNetworkUnrequested()
351 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testNotifyNetworkUnrequested_SocketsOnNullNetwork()
[all …]
/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/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetTrackerTest.java99 private void waitForIdle() { in waitForIdle() method in EthernetTrackerTest
100 HandlerUtils.waitForIdle(mHandlerThread, TIMEOUT_MS); in waitForIdle()
340 waitForIdle(); in testUpdateConfiguration()
350 waitForIdle(); in testIsValidTestInterfaceIsFalseWhenTestInterfacesAreNotIncluded()
361 waitForIdle(); in testIsValidTestInterfaceIsFalseWhenTestInterfaceNameIsInvalid()
372 waitForIdle(); in testIsValidTestInterfaceIsTrueWhenTestInterfacesIncludedAndValidName()
/packages/apps/Settings/tests/uitests/src/com/android/settings/biometrics2/ui/view/
DFingerprintEnrollmentActivityTest.kt141 device.waitForIdle() in <lambda>()
160 device.waitForIdle() in <lambda>()
449 device.waitForIdle() in <lambda>()
468 device.waitForIdle() in <lambda>()
479 device.waitForIdle() in <lambda>()
492 device.waitForIdle() in <lambda>()
511 device.waitForIdle() in <lambda>()
522 device.waitForIdle() in <lambda>()
534 device.waitForIdle() in <lambda>()
590 device.waitForIdle() in <lambda>()
[all …]
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/
DActivityLauncher.kt78 uiDevice.waitForIdle() in executeBlockAndExit()
80 uiDevice.waitForIdle() in executeBlockAndExit()
83 uiDevice.waitForIdle() in executeBlockAndExit()
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpReachabilityMonitorTest.kt67 import com.android.testutils.waitForIdle in <lambda>()
337 handlerThread.waitForIdle(TEST_TIMEOUT_MS) in tearDown()
389 handlerThread.waitForIdle(TEST_TIMEOUT_MS) in runLoseProvisioningTest()
432 handlerThread.waitForIdle(TEST_TIMEOUT_MS) in runLoseNeighborStillProvisionedTest()
445 handlerThread.waitForIdle(TEST_TIMEOUT_MS) in prepareNeighborReachableButMacAddrChangedTest()
627 handlerThread.waitForIdle(TEST_TIMEOUT_MS) in testLoseProvisioning_ignoreNeverReachableIpv6GatewayLost_withTwoIPv6DnsServers()
635 handlerThread.waitForIdle(TEST_TIMEOUT_MS) in testLoseProvisioning_ignoreNeverReachableIpv6GatewayLost_withTwoIPv6DnsServers()
642 handlerThread.waitForIdle(TEST_TIMEOUT_MS) in testLoseProvisioning_ignoreNeverReachableIpv6GatewayLost_withTwoIPv6DnsServers()
699 handlerThread.waitForIdle(TEST_TIMEOUT_MS) in testLoseProvisioning_ignoreNeverReachableIpv6DnsLost_withTwoIPv6Routes()
707 handlerThread.waitForIdle(TEST_TIMEOUT_MS) in testLoseProvisioning_ignoreNeverReachableIpv6DnsLost_withTwoIPv6Routes()
[all …]

123456