/cts/hostsidetests/systemui/src/android/host/systemui/ |
D | TileServiceTest.java | 39 assertTrue(waitFor("onCreate")); in testAddTile() 40 assertTrue(waitFor("onTileAdded")); in testAddTile() 41 assertTrue(waitFor("onDestroy")); in testAddTile() 48 assertTrue(waitFor("onCreate")); in testRemoveTile() 49 assertTrue(waitFor("onTileAdded")); in testRemoveTile() 50 assertTrue(waitFor("onDestroy")); in testRemoveTile() 53 assertTrue(waitFor("onTileRemoved")); in testRemoveTile() 59 assertTrue(waitFor("onDestroy")); in testListeningNotifications() 63 assertTrue(waitFor("onStartListening")); in testListeningNotifications() 66 assertTrue(waitFor("onStopListening")); in testListeningNotifications() [all …]
|
D | ActiveTileServiceTest.java | 38 assertTrue(waitFor("onDestroy")); in testNotListening() 43 assertFalse(waitFor("onStartListening")); in testNotListening() 49 assertTrue(waitFor("onDestroy")); in testRequestListening() 53 assertTrue(waitFor("requestListeningState")); in testRequestListening() 54 assertTrue(waitFor("onStartListening")); in testRequestListening() 60 assertTrue(waitFor("onDestroy")); in testClick() 67 assertTrue(waitFor("onStartListening")); in testClick() 68 assertTrue(waitFor("onClick")); in testClick()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerProcessStateTest.java | 326 uidWatcher.waitFor(WatchUidRunner.CMD_GONE, null); in testUidImportanceListener() 336 uidWatcher.waitFor(WatchUidRunner.CMD_ACTIVE, null); in testUidImportanceListener() 337 uidWatcher.waitFor(WatchUidRunner.CMD_UNCACHED, null); in testUidImportanceListener() 348 uidWatcher.waitFor(WatchUidRunner.CMD_CACHED, null); in testUidImportanceListener() 375 uidWatcher.waitFor(WatchUidRunner.CMD_ACTIVE, null); in testUidImportanceListener() 376 uidWatcher.waitFor(WatchUidRunner.CMD_UNCACHED, null); in testUidImportanceListener() 391 uidWatcher.waitFor(WatchUidRunner.CMD_CACHED, null); in testUidImportanceListener() 400 uidWatcher.waitFor(WatchUidRunner.CMD_UNCACHED, null); in testUidImportanceListener() 420 uidWatcher.waitFor(WatchUidRunner.CMD_CACHED, null); in testUidImportanceListener() 483 uidWatcher.waitFor(WatchUidRunner.CMD_GONE, null); in testBackgroundCheckService() [all …]
|
D | TaskDescriptionTest.java | 110 waitFor("TaskDescription's icon is null", () -> td.getIcon() != null); in assertTaskDescription() 111 waitFor("TaskDescription's icon filename is null", in assertTaskDescription() 114 waitFor("TaskDescription's icon is not null", () -> td.getIcon() == null); in assertTaskDescription() 115 waitFor("TaskDescription's icon filename is not null", in assertTaskDescription() 127 private void waitFor(String message, BooleanSupplier waitCondition) { in waitFor() method in TaskDescriptionTest
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | BlankActivityTest.java | 64 watcher.waitFor(RESUMED); in testSimpleSessionLifecycle() 67 watcher.waitFor(DESTROYED); in testSimpleSessionLifecycle() 83 watcher.waitFor(RESUMED); in testGetServiceComponentName() 96 watcher.waitFor(DESTROYED); in testGetServiceComponentName() 108 watcher.waitFor(RESUMED); in testGetServiceComponentName_onUiThread() 115 watcher.waitFor(DESTROYED); in testGetServiceComponentName_onUiThread() 128 watcher.waitFor(RESUMED); in testIsContentCaptureFeatureEnabled_onUiThread() 135 watcher.waitFor(DESTROYED); in testIsContentCaptureFeatureEnabled_onUiThread() 148 watcher.waitFor(RESUMED); in testDisableContentCaptureService_onUiThread() 153 watcher.waitFor(DESTROYED); in testDisableContentCaptureService_onUiThread()
|
D | LoginActivityTest.java | 108 watcher.waitFor(RESUMED); in testSimpleLifecycle_defaultSession() 111 watcher.waitFor(DESTROYED); in testSimpleLifecycle_defaultSession() 145 watcher.waitFor(RESUMED); in testSimpleLifecycle_rootViewSession() 148 watcher.waitFor(DESTROYED); in testSimpleLifecycle_rootViewSession() 244 watcher.waitFor(RESUMED); in testSimpleLifecycle_changeContextAfterCreate() 260 watcher.waitFor(DESTROYED); in testSimpleLifecycle_changeContextAfterCreate() 293 watcher.waitFor(RESUMED); in testSimpleLifecycle_changeContextOnCreate() 296 watcher.waitFor(DESTROYED); in testSimpleLifecycle_changeContextOnCreate() 347 watcher.waitFor(RESUMED); in testTextChanged() 355 watcher.waitFor(DESTROYED); in testTextChanged() [all …]
|
D | ChildlessActivityTest.java | 106 watcher.waitFor(RESUMED); in testDefaultLifecycle() 109 watcher.waitFor(DESTROYED); in testDefaultLifecycle() 122 watcher.waitFor(RESUMED); in testGetContentCapture_disabledWhenNoService() 127 watcher.waitFor(DESTROYED); in testGetContentCapture_disabledWhenNoService() 136 watcher.waitFor(RESUMED); in testGetContentCapture_enabledWhenNoService() 141 watcher.waitFor(DESTROYED); in testGetContentCapture_enabledWhenNoService() 152 watcher1.waitFor(RESUMED); in testLaunchAnotherActivity() 154 watcher1.waitFor(DESTROYED); in testLaunchAnotherActivity() 161 watcher2.waitFor(RESUMED); in testLaunchAnotherActivity() 163 watcher2.waitFor(DESTROYED); in testLaunchAnotherActivity() [all …]
|
D | CustomViewActivityTest.java | 102 watcher.waitFor(RESUMED); in testLifecycle() 105 watcher.waitFor(DESTROYED); in testLifecycle() 141 watcher.waitFor(RESUMED); in testVirtualView_wrongWay() 144 watcher.waitFor(DESTROYED); in testVirtualView_wrongWay() 224 watcher.waitFor(RESUMED); in testVirtualView_oneLevel() 228 watcher.waitFor(DESTROYED); in testVirtualView_oneLevel() 339 watcher.waitFor(RESUMED); in testVirtualView_multipleLevels() 342 watcher.waitFor(DESTROYED); in testVirtualView_multipleLevels() 404 watcher.waitFor(RESUMED); in testVirtualView_batchDisappear() 407 watcher.waitFor(DESTROYED); in testVirtualView_batchDisappear() [all …]
|
D | BlankWithTitleActivityTest.java | 55 watcher.waitFor(RESUMED); in testSimpleSessionLifecycle() 58 watcher.waitFor(DESTROYED); in testSimpleSessionLifecycle() 75 watcher.waitFor(RESUMED); in testSimpleSessionLifecycle_noAnimation() 78 watcher.waitFor(DESTROYED); in testSimpleSessionLifecycle_noAnimation()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | SlidingDrawerTest.java | 144 PollingCheck.waitFor(() -> !mDrawer.isMoving()); in testAnimateOpenAndClose() 145 PollingCheck.waitFor(mDrawer::isOpened); in testAnimateOpenAndClose() 152 PollingCheck.waitFor(() -> !mDrawer.isMoving()); in testAnimateOpenAndClose() 153 PollingCheck.waitFor(() -> !mDrawer.isOpened()); in testAnimateOpenAndClose() 168 PollingCheck.waitFor(() -> !mDrawer.isMoving()); in testAnimateToggle() 169 PollingCheck.waitFor(mDrawer::isOpened); in testAnimateToggle() 176 PollingCheck.waitFor(() -> !mDrawer.isMoving()); in testAnimateToggle() 177 PollingCheck.waitFor(() -> !mDrawer.isOpened()); in testAnimateToggle()
|
D | FilterTest.java | 92 PollingCheck.waitFor(TIME_OUT, mMockFilter::hadPerformedFiltering); in testFilter1() 95 PollingCheck.waitFor(TIME_OUT, mMockFilter::hadPublishedResults); in testFilter1() 111 PollingCheck.waitFor(TIME_OUT, mMockFilter::hadPerformedFiltering); in testFilter2() 114 PollingCheck.waitFor(TIME_OUT, mMockFilter::hadPublishedResults); in testFilter2()
|
D | SpinnerTest.java | 343 PollingCheck.waitFor(() -> mSpinnerDropdownMode.isPopupShowing()); in testDropDownMetricsDropdownMode() 377 PollingCheck.waitFor(() -> mSpinnerDialogMode.isPopupShowing()); in testDropDownMetricsDialogMode() 399 PollingCheck.waitFor(() -> mSpinnerDropdownMode.isPopupShowing()); in testDropDownBackgroundDropdownMode() 409 PollingCheck.waitFor(() -> !mSpinnerDropdownMode.isPopupShowing()); in testDropDownBackgroundDropdownMode() 421 PollingCheck.waitFor(() -> mSpinnerDropdownMode.isPopupShowing()); in testDropDownBackgroundDropdownMode() 443 PollingCheck.waitFor(() -> mSpinnerDialogMode.isPopupShowing()); in testDropDownBackgroundDialogMode() 450 PollingCheck.waitFor(() -> !mSpinnerDropdownMode.isPopupShowing()); in testDropDownBackgroundDialogMode() 460 PollingCheck.waitFor(() -> mSpinnerDialogMode.isPopupShowing()); in testDropDownBackgroundDialogMode()
|
D | AutoCompleteTextViewTest.java | 148 PollingCheck.waitFor(mActivity::hasWindowFocus); in setup() 446 PollingCheck.waitFor(() -> { in refreshAutoCompleteResults_addItem() 457 PollingCheck.waitFor(() -> { in refreshAutoCompleteResults_addItem() 477 PollingCheck.waitFor(() -> { in refreshAutoCompleteResults_removeItem() 488 PollingCheck.waitFor(() -> { in refreshAutoCompleteResults_removeItem() 586 PollingCheck.waitFor(() -> mAutoCompleteTextView.isPopupShowing()); in refreshAutoCompleteResults_dropDownAlwaysVisible() 642 PollingCheck.waitFor(() -> { in refreshAutoCompleteResults() 652 PollingCheck.waitFor(() -> { in refreshAutoCompleteResults() 777 PollingCheck.waitFor(() -> !mAutoCompleteTextView.isPopupShowing()); in testOnFilterComplete() 786 PollingCheck.waitFor(() -> !mAutoCompleteTextView.isPopupShowing()); in testOnFilterComplete() [all …]
|
D | ToolbarTest.java | 171 PollingCheck.waitFor(() -> mMainToolbar.isOverflowMenuShowing()); in testMenuOverflowShowHide() 175 PollingCheck.waitFor(() -> !mMainToolbar.isOverflowMenuShowing()); in testMenuOverflowShowHide() 187 PollingCheck.waitFor(() -> mMainToolbar.isOverflowMenuShowing()); in testMenuOverflowSubmenu() 204 PollingCheck.waitFor(() -> !mMainToolbar.isOverflowMenuShowing()); in testMenuOverflowSubmenu() 234 PollingCheck.waitFor(() -> in testActionView() 240 PollingCheck.waitFor(() -> in testActionView() 245 PollingCheck.waitFor(() -> in testActionView() 251 PollingCheck.waitFor(() -> in testActionView() 290 PollingCheck.waitFor(() -> in testCollapseConfiguration()
|
/cts/tests/tests/location/src/android/location/cts/ |
D | TestGnssStatusCallback.java | 110 return TestUtils.waitFor(mLatchStart, TIMEOUT_IN_SEC); in awaitStart() 114 return TestUtils.waitFor(mLatchStatus, TIMEOUT_IN_SEC); in awaitStatus() 118 return TestUtils.waitFor(mLatchTtff, TIMEOUT_IN_SEC); in awaitTtff() 122 return TestUtils.waitFor(mLatchStop, TIMEOUT_IN_SEC); in awaitStop()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | DeviceStatesTest.java | 64 static void waitFor(long waitMillis) throws Exception { in waitFor() method in DeviceStatesTest 78 waitFor(2_000); in toggleFakeDeviceDockState() 91 waitFor(2_000); in toggleScreenOn() 100 waitFor(2_000); in triggerIdleMaintenance()
|
D | BatteryConstraintTest.java | 167 static void waitFor(long waitMillis) throws Exception { in waitFor() method in BatteryConstraintTest 202 waitFor(2_000); in testBatteryNotLowConstraintExecutes_withPower() 227 waitFor(2_000); in testBatteryNotLowConstraintExecutes_withoutPower() 308 waitFor(2_000); in testBatteryNotLowConstraintFails_withoutPower() 329 waitFor(2_000); in testBatteryNotLowConstraintFails_withoutPower() 341 waitFor(2_000); in testBatteryNotLowConstraintFails_withoutPower()
|
/cts/hostsidetests/testharness/app/src/android/testharness/app/ |
D | TestHarnessModeDeviceTest.java | 45 PollingCheck.waitFor(activity::isKeyboardVisible); in ensureActivityNotObscuredByKeyboardSetUpScreen() 54 PollingCheck.waitFor(activity::hasWindowFocus); in dirtyDevice() 62 PollingCheck.waitFor(activity::hasWindowFocus); in testDeviceIsClean()
|
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/ |
D | BusyWaitUtils.java | 58 if (waitFor(condition, timeout)) { in pollingCheck() 71 static boolean waitFor(PollingCondition condition, long timeout) throws Exception { in waitFor() method in BusyWaitUtils
|
/cts/tests/tests/view/src/android/view/cts/ |
D | PointerCaptureTest.java | 88 PollingCheck.waitFor(TIMEOUT_DELTA, view::hasFocus); in requestFocusSync() 92 PollingCheck.waitFor(TIMEOUT_DELTA, () -> { in requestCaptureSync() 107 PollingCheck.waitFor(TIMEOUT_DELTA, in releaseCaptureSync() 212 PollingCheck.waitFor(TIMEOUT_DELTA, mActivity::hasWindowFocus); in setup() 241 PollingCheck.waitFor(TIMEOUT_DELTA, () -> !mOuter.hasWindowFocus()); in testWindowFocusChangeEndsCapture() 242 PollingCheck.waitFor(TIMEOUT_DELTA, in testWindowFocusChangeEndsCapture() 246 PollingCheck.waitFor(TIMEOUT_DELTA, () -> mOuter.hasWindowFocus()); in testWindowFocusChangeEndsCapture() 258 PollingCheck.waitFor(TIMEOUT_DELTA, () -> !mActivity.hasWindowFocus()); in testActivityFocusChangeEndsCapture()
|
/cts/hostsidetests/jvmti/allocation-tracking/app/src/android/jvmti/cts/ |
D | JvmtiTrackingTest.java | 127 trackBarrier.waitFor(); in testThread() 142 startBarrier.waitFor(); in testThread() 162 public synchronized void waitFor() throws Exception { in waitFor() method in JvmtiTrackingTest.SimpleBarrier
|
/cts/tests/tests/keystore/src/android/server/am/ |
D | UiDeviceUtils.java | 111 private static void retryPressKeyCode(int keyCode, BooleanSupplier waitFor, String msg) { in retryPressKeyCode() argument 115 if (waitFor.getAsBoolean()) { in retryPressKeyCode() 121 if (!waitFor.getAsBoolean()) { in retryPressKeyCode()
|
/cts/tests/tests/preference/src/android/preference/cts/ |
D | PreferenceRecycleTest.java | 100 PollingCheck.waitFor(TIMEOUT_MS, in recycleSetViaXmlTest() 145 PollingCheck.waitFor(TIMEOUT_MS, in recycleSetViaCodeTest() 152 PollingCheck.waitFor(TIMEOUT_MS, in recycleSetViaCodeTest()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | UiDeviceUtils.java | 118 private static void retryPressKeyCode(int keyCode, BooleanSupplier waitFor, String msg) { in retryPressKeyCode() argument 122 if (waitFor.getAsBoolean()) { in retryPressKeyCode() 128 if (!waitFor.getAsBoolean()) { in retryPressKeyCode()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | PollingCheck.java | 77 public static void waitFor(final PollingCheckCondition condition) { in waitFor() method in PollingCheck 86 public static void waitFor(long timeout, final PollingCheckCondition condition) { in waitFor() method in PollingCheck
|