/frameworks/libs/net/common/devicetests/com/android/testutils/ |
D | HandlerUtils.kt | 28 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/ |
D | UiDevice.java | 196 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 …]
|
D | UiAutomatorBridge.java | 90 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()
|
D | QueryController.java | 92 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/ |
D | ResolverActivityTest.java | 85 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 …]
|
D | ChooserActivityTest.java | 147 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/ |
D | CommonTransitions.java | 85 .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/ |
D | BpfCoordinatorTest.java | 137 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 …]
|
D | OffloadControllerTest.java | 161 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 …]
|
D | TetheringNotificationUpdaterTest.kt | 45 import com.android.testutils.waitForIdle 232 waitForIdle(timeout) in Handler()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 418 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/ |
D | ConnectivityServiceTest.java | 520 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/ |
D | ScreenDecorWindowTests.java | 214 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()
|
D | AssistDataRequesterTest.java | 195 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/ |
D | SysuiTestCase.java | 127 idler.waitForIdle(); in waitForIdleSync() 163 public void waitForIdle() { in waitForIdle() method in SysuiTestCase.Idler
|
/frameworks/base/libs/hwui/tests/unit/ |
D | CommonPoolTests.cpp | 173 CommonPool::waitForIdle(); in TEST() 184 CommonPool::waitForIdle(); in TEST()
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
D | WindowAnimationJankTestBase.java | 42 getUiDevice().waitForIdle(); in setUp()
|
/frameworks/base/tests/net/integration/util/com/android/server/ |
D | NetworkAgentWrapper.java | 267 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/ |
D | NetworkStatsServiceTest.java | 224 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/ |
D | CommonPool.cpp | 93 void CommonPool::waitForIdle() { in waitForIdle() function in android::uirenderer::CommonPool
|
D | CommonPool.h | 101 static void waitForIdle();
|
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
D | DumpCommand.java | 87 uiAutomation.waitForIdle(1000, 1000 * 10); in run()
|
/frameworks/av/camera/tests/ |
D | CameraBinderTests.cpp | 293 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/ |
D | NotificationStressTest.java | 81 mDevice.waitForIdle(); in tearDown()
|
/frameworks/base/tests/net/java/android/net/nsd/ |
D | NsdManagerTest.java | 76 HandlerUtilsKt.waitForIdle(mServiceHandler, mTimeoutMs); in tearDown() 336 HandlerUtilsKt.waitForIdle(mServiceHandler, mTimeoutMs); in verifyRequest()
|