Home
last modified time | relevance | path

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

12

/frameworks/libs/net/common/devicetests/com/android/testutils/
DHandlerUtils.kt28 fun HandlerThread.waitForIdle(timeoutMs: Int) = threadHandler.waitForIdle(timeoutMs.toLong()) in HandlerThread() method
29 fun HandlerThread.waitForIdle(timeoutMs: Long) = threadHandler.waitForIdle(timeoutMs) in HandlerThread() method
30 fun Handler.waitForIdle(timeoutMs: Int) = waitForIdle(timeoutMs.toLong()) in HandlerThread() method
31 fun Handler.waitForIdle(timeoutMs: Long) { in HandlerThread() method
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiDevice.java196 waitForIdle(); in pressMenu()
209 waitForIdle(); in pressBack()
222 waitForIdle(); in pressHome()
317 waitForIdle(); in pressKeyCode()
332 waitForIdle(); in pressKeyCode()
345 waitForIdle(); in pressRecentApps()
357 waitForIdle(); in openNotification()
369 waitForIdle(); in openQuickSettings()
476 public void waitForIdle() { in waitForIdle() method in UiDevice
478 waitForIdle(Configurator.getInstance().getWaitForIdleTimeout()); in waitForIdle()
[all …]
DUiAutomatorBridge.java90 public void waitForIdle() { in waitForIdle() method in UiAutomatorBridge
91 waitForIdle(TOTAL_TIME_TO_WAIT_FOR_IDLE_STATE); in waitForIdle()
94 public void waitForIdle(long timeout) { in waitForIdle() method in UiAutomatorBridge
96 mUiAutomation.waitForIdle(QUIET_TIME_TO_BE_CONSIDERD_IDLE_STATE, timeout); in waitForIdle()
DQueryController.java92 mUiAutomatorBridge.waitForIdle(); in getLastTraversedText()
106 mUiAutomatorBridge.waitForIdle(); in clearLastTraversedText()
143 mUiAutomatorBridge.waitForIdle(); in findAccessibilityNodeInfo()
493 mUiAutomatorBridge.waitForIdle(); in getCurrentActivityName()
504 mUiAutomatorBridge.waitForIdle(); in getCurrentPackageName()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverActivityTest.java85 waitForIdle(); in twoOptionsAndUserSelectsOne()
100 waitForIdle(); in twoOptionsAndUserSelectsOne()
112 waitForIdle(); in setMaxHeight()
128 waitForIdle(); in setMaxHeight()
142 waitForIdle(); in setMaxHeight()
155 waitForIdle(); in setShowAtTopToTrue()
170 waitForIdle(); in setShowAtTopToTrue()
188 waitForIdle(); in hasLastChosenActivity()
201 waitForIdle(); in hasLastChosenActivity()
217 waitForIdle(); in hasOtherProfileOneOption()
[all …]
DChooserActivityTest.java147 waitForIdle(); in customTitle()
162 waitForIdle(); in customTitleIgnoredForSendIntents()
175 waitForIdle(); in emptyTitle()
189 waitForIdle(); in emptyPreviewTitleAndThumbnail()
204 waitForIdle(); in visiblePreviewTitleWithoutThumbnail()
221 waitForIdle(); in visiblePreviewTitleWithInvalidThumbnail()
239 waitForIdle(); in visiblePreviewTitleAndThumbnail()
255 waitForIdle(); in twoOptionsAndUserSelectsOne()
269 waitForIdle(); in twoOptionsAndUserSelectsOne()
284 waitForIdle(); in updateChooserCountsAndModelAfterUserSelection()
[all …]
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/
DCommonTransitions.java85 .runBefore(device::waitForIdle) in openAppWarm()
100 .runBefore(device::waitForIdle) in closeAppWithBackKey()
102 .run(device::waitForIdle) in closeAppWithBackKey()
115 .runBefore(device::waitForIdle) in closeAppWithHomeKey()
117 .run(device::waitForIdle) in closeAppWithHomeKey()
133 .runBefore(device::waitForIdle) in openAppCold()
188 .runBefore(device::waitForIdle) in appToSplitScreen()
202 .runBefore(device::waitForIdle) in splitScreenToLauncher()
240 .runBefore(device::waitForIdle) in resizeSplitScreen()
269 .run(device::waitForIdle)
[all …]
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java137 private void waitForIdle() { in waitForIdle() method in BpfCoordinatorTest
185 waitForIdle(); in setTetherOffloadStatsList()
254 waitForIdle(); in testGetForwardedStats()
271 waitForIdle(); in testOnSetAlert()
279 waitForIdle(); in testOnSetAlert()
286 waitForIdle(); in testOnSetAlert()
292 waitForIdle(); in testOnSetAlert()
365 waitForIdle(); in testSetDataLimit()
375 waitForIdle(); in testSetDataLimit()
398 waitForIdle(); in testSetDataLimitOnRuleChange()
[all …]
DOffloadControllerTest.java161 private void waitForIdle() { in waitForIdle() method in OffloadControllerTest
541 waitForIdle(); in testSetInterfaceQuota()
547 waitForIdle(); in testSetInterfaceQuota()
554 waitForIdle(); in testSetInterfaceQuota()
560 waitForIdle(); in testSetInterfaceQuota()
568 waitForIdle(); in testSetInterfaceQuota()
577 waitForIdle(); in testSetInterfaceQuota()
800 waitForIdle(); in testOnSetAlert()
808 waitForIdle(); in testOnSetAlert()
815 waitForIdle(); in testOnSetAlert()
[all …]
DTetheringNotificationUpdaterTest.kt45 import com.android.testutils.waitForIdle
232 waitForIdle(timeout) in Handler()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java418 public void waitForIdle() { in waitForIdle() method in NotificationManagerServiceTest
568 waitForIdle(); in addGroupWithBubblesAndValidateAdded()
580 waitForIdle(); in addGroupWithBubblesAndValidateAdded()
593 waitForIdle(); in addGroupWithBubblesAndValidateAdded()
737 waitForIdle(); in testBlockedNotifications_blockedChannel()
755 waitForIdle(); in testEnqueuedBlockedNotifications_appBlockedChannelForegroundService()
776 waitForIdle(); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
784 waitForIdle(); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
793 waitForIdle(); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
798 waitForIdle(); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
[all …]
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java520 private void waitForIdle() { in waitForIdle() method in ConnectivityServiceTest
521 HandlerUtilsKt.waitForIdle(mCsHandlerThread, TIMEOUT_MS); in waitForIdle()
522 waitForIdle(mCellNetworkAgent, TIMEOUT_MS); in waitForIdle()
523 waitForIdle(mWiFiNetworkAgent, TIMEOUT_MS); in waitForIdle()
524 waitForIdle(mEthernetNetworkAgent, TIMEOUT_MS); in waitForIdle()
525 HandlerUtilsKt.waitForIdle(mCsHandlerThread, TIMEOUT_MS); in waitForIdle()
526 HandlerUtilsKt.waitForIdle(ConnectivityThread.get(), TIMEOUT_MS); in waitForIdle()
529 private void waitForIdle(TestNetworkAgentWrapper agent, long timeoutMs) { in waitForIdle() method in ConnectivityServiceTest
533 agent.waitForIdle(timeoutMs); in waitForIdle()
542 waitForIdle(); in testWaitForIdle()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DScreenDecorWindowTests.java214 waitForIdle(); in createWindow()
231 waitForIdle(); in updateWindow()
237 waitForIdle(); in removeWindow()
320 waitForIdle(); in finishActivity()
323 private void waitForIdle() { in waitForIdle() method in ScreenDecorWindowTests
333 waitForIdle(); in startActivityOnDisplay()
DAssistDataRequesterTest.java195 waitForIdle(mHandler); in testProcessPendingData()
208 waitForIdle(mHandler); in testProcessPendingData()
286 waitForIdle(mHandler); in testCanNotHandleReceivedData_expectNoCallbacks()
311 waitForIdle(mHandler); in assertReceivedDataCount()
329 public void waitForIdle(Handler h) throws Exception { in waitForIdle() method in AssistDataRequesterTest
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSysuiTestCase.java127 idler.waitForIdle(); in waitForIdleSync()
163 public void waitForIdle() { in waitForIdle() method in SysuiTestCase.Idler
/frameworks/base/libs/hwui/tests/unit/
DCommonPoolTests.cpp173 CommonPool::waitForIdle(); in TEST()
184 CommonPool::waitForIdle(); in TEST()
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DWindowAnimationJankTestBase.java42 getUiDevice().waitForIdle(); in setUp()
/frameworks/base/tests/net/integration/util/com/android/server/
DNetworkAgentWrapper.java267 public void waitForIdle(long timeoutMs) { in waitForIdle() method in NetworkAgentWrapper
268 HandlerUtilsKt.waitForIdle(mHandlerThread, timeoutMs); in waitForIdle()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java224 waitForIdle(); in setUp()
703 HandlerUtilsKt.waitForIdle(mHandlerThread, WAIT_TIMEOUT);
1068 HandlerUtilsKt.waitForIdle(mHandlerThread, WAIT_TIMEOUT);
1206 HandlerUtilsKt.waitForIdle(mHandlerThread, WAIT_TIMEOUT);
1218 waitForIdle();
1267 HandlerUtilsKt.waitForIdle(mHandlerThread, WAIT_TIMEOUT);
1289 HandlerUtilsKt.waitForIdle(mHandlerThread, WAIT_TIMEOUT);
1519 waitForIdle();
1522 private void waitForIdle() {
1523 HandlerUtilsKt.waitForIdle(mHandlerThread, WAIT_TIMEOUT);
/frameworks/base/libs/hwui/thread/
DCommonPool.cpp93 void CommonPool::waitForIdle() { in waitForIdle() function in android::uirenderer::CommonPool
DCommonPool.h101 static void waitForIdle();
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
DDumpCommand.java87 uiAutomation.waitForIdle(1000, 1000 * 10); in run()
/frameworks/av/camera/tests/
DCameraBinderTests.cpp293 bool waitForIdle() const { in waitForIdle() function in TestCameraDeviceCallbacks
550 EXPECT_TRUE(callbacks->waitForIdle()); in TEST_F()
576 EXPECT_TRUE(callbacks->waitForIdle()); in TEST_F()
611 EXPECT_TRUE(callbacks->waitForIdle()); in TEST_F()
/frameworks/base/core/tests/notificationtests/src/android/app/
DNotificationStressTest.java81 mDevice.waitForIdle(); in tearDown()
/frameworks/base/tests/net/java/android/net/nsd/
DNsdManagerTest.java76 HandlerUtilsKt.waitForIdle(mServiceHandler, mTimeoutMs); in tearDown()
336 HandlerUtilsKt.waitForIdle(mServiceHandler, mTimeoutMs); in verifyRequest()

12