/cts/hostsidetests/appsecurity/test-apps/ReviewPermissionHelper/src/com/android/cts/reviewpermissionhelper/ |
D | ReviewPermissionsTest.kt | 63 uiDevice.wait(Until.findObject( in clickContinue() 78 uiDevice.wait(Until.findObject( in cancelReviewPermissions() 94 uiDevice.wait(Until.findObject(By.text("Calendar")), UI_TIMEOUT).click() in denyGrantDenyCalendarPermissions() 96 uiDevice.wait(Until.findObject(By.res("android:id/button1")), UI_TIMEOUT).click() in denyGrantDenyCalendarPermissions() 100 uiDevice.wait(Until.findObject(By.text("Calendar")), UI_TIMEOUT).click() in denyGrantDenyCalendarPermissions() 104 uiDevice.wait(Until.findObject(By.text("Calendar")), UI_TIMEOUT).click() in denyGrantDenyCalendarPermissions() 115 uiDevice.wait(Until.findObject(By.text("Calendar")), UI_TIMEOUT).click() in denyGrantCalendarPermissions() 117 uiDevice.wait(Until.findObject(By.res("android:id/button1")), UI_TIMEOUT).click() in denyGrantCalendarPermissions() 121 uiDevice.wait(Until.findObject(By.text("Calendar")), UI_TIMEOUT).click() in denyGrantCalendarPermissions() 132 uiDevice.wait(Until.findObject(By.text("Calendar")), UI_TIMEOUT).click() in denyCalendarPermissions() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaBrowserServiceTest.java | 122 mWaitLock.wait(TIME_OUT_MS); in setUp() 135 mWaitLock.wait(TIME_OUT_MS); in testNotifyChildrenChanged() 140 mWaitLock.wait(TIME_OUT_MS); in testNotifyChildrenChanged() 155 mWaitLock.wait(TIME_OUT_MS); in testNotifyChildrenChangedWithPagination() 160 mWaitLock.wait(TIME_OUT_MS); in testNotifyChildrenChangedWithPagination() 170 mWaitLock.wait(WAIT_TIME_FOR_NO_RESPONSE_MS); in testDelayedNotifyChildrenChanged() 174 mWaitLock.wait(TIME_OUT_MS); in testDelayedNotifyChildrenChanged() 180 mWaitLock.wait(WAIT_TIME_FOR_NO_RESPONSE_MS); in testDelayedNotifyChildrenChanged() 184 mWaitLock.wait(TIME_OUT_MS); in testDelayedNotifyChildrenChanged() 194 mWaitLock.wait(WAIT_TIME_FOR_NO_RESPONSE_MS); in testDelayedItem() [all …]
|
D | MediaControllerTest.java | 137 mWaitLock.wait(TIME_OUT_MS); in testSendCommand() 152 mWaitLock.wait(TIME_OUT_MS); in testSetPlaybackSpeed() 195 mWaitLock.wait(TIME_OUT_MS); in testVolumeControl() 200 mWaitLock.wait(TIME_OUT_MS); in testVolumeControl() 204 mWaitLock.wait(TIME_OUT_MS); in testVolumeControl() 216 mWaitLock.wait(TIME_OUT_MS); in testTransportControlsAndMediaSessionCallback() 222 mWaitLock.wait(TIME_OUT_MS); in testTransportControlsAndMediaSessionCallback() 228 mWaitLock.wait(TIME_OUT_MS); in testTransportControlsAndMediaSessionCallback() 234 mWaitLock.wait(TIME_OUT_MS); in testTransportControlsAndMediaSessionCallback() 240 mWaitLock.wait(TIME_OUT_MS); in testTransportControlsAndMediaSessionCallback() [all …]
|
D | PresetReverbTest.java | 184 mLock.wait(); in test3_0ControlStatusListener() 211 mLock.wait(); in test3_1EnableStatusListener() 238 mLock.wait(); in test3_2ParameterChangedListener() 282 mLock.wait(); in waitForLooperInitialization_l()
|
D | TestUtils.java | 87 wait(); in waitForCountedSignals() 107 wait(delay); in waitForCountedSignals()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | PhoneStateListenerTest.java | 172 mLock.wait(WAIT_TIME); in testOnServiceStateChanged() 210 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister() 224 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister() 233 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister() 271 mLock.wait(WAIT_TIME); in testOnSignalStrengthChanged() 309 mLock.wait(WAIT_TIME); in testOnSignalStrengthsChanged() 359 mLock.wait(WAIT_TIME); in testOnMessageWaitingIndicatorChanged() 402 mLock.wait(WAIT_TIME); in testOnPreciseCallStateChanged() 450 mLock.wait(WAIT_TIME); in testOnCallDisconnectCauseChanged() 493 mLock.wait(WAIT_TIME); in testOnImsCallDisconnectCauseChanged() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | SettingsPanelTest.java | 76 mDevice.wait(Until.hasObject(By.pkg(mLauncherPackage).depth(0)), TIMEOUT); in cleanUp() 162 mDevice.wait(Until.hasObject(By.pkg(mLauncherPackage).depth(0)), TIMEOUT); in internetPanel_doneClosesPanel() 178 mDevice.wait(Until.hasObject(By.pkg(mLauncherPackage).depth(0)), TIMEOUT); in volumePanel_doneClosesPanel() 194 mDevice.wait(Until.hasObject(By.pkg(mLauncherPackage).depth(0)), TIMEOUT); in nfcPanel_doneClosesPanel() 210 mDevice.wait(Until.hasObject(By.pkg(mLauncherPackage).depth(0)), TIMEOUT); in wifiPanel_doneClosesPanel() 226 mDevice.wait(Until.hasObject(By.pkg(SETTINGS_PACKAGE).depth(0)), TIMEOUT); in internetPanel_seeMoreButton_launchesIntoSettings() 244 mDevice.wait(Until.hasObject(By.pkg(SETTINGS_PACKAGE).depth(0)), TIMEOUT); in volumePanel_seeMoreButton_launchesIntoSettings() 262 mDevice.wait(Until.hasObject(By.pkg(SETTINGS_PACKAGE).depth(0)), TIMEOUT); in nfcPanel_seeMoreButton_launchesIntoSettings() 280 mDevice.wait(Until.hasObject(By.pkg(SETTINGS_PACKAGE).depth(0)), TIMEOUT); in wifiPanel_seeMoreButton_launchesIntoSettings() 308 mDevice.wait(Until.hasObject(By.pkg(mLauncherPackage).depth(0)), TIMEOUT); in launchPanel() [all …]
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
D | ManualPackageInstallTest.java | 59 mPackageInstallerTimeoutLock.wait(PACKAGE_INSTALLER_TIMEOUT_MS); in testManualInstallBlocked() 82 mPackageInstallerTimeoutLock.wait(PACKAGE_INSTALLER_TIMEOUT_MS); in installPackage() 102 mDevice.wait(Until.hasObject(INSTALL_BUTTON_SELECTOR), AUTOMATOR_WAIT_TIMEOUT); in automateInstallClick() 109 mDevice.wait(Until.hasObject(POPUP_IMAGE_SELECTOR), AUTOMATOR_WAIT_TIMEOUT); in automateDismissInstallBlockedDialog()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
D | P2pBroadcastReceiverTest.java | 89 wait(t.getRemainTime()); in waitDeviceFound() 110 wait(t.getRemainTime()); in waitConnectionNotice() 137 wait(t.getRemainTime()); in waitPeerConnected() 170 wait(t.getRemainTime()); in waitPeerDisconnected() 191 wait(t.getRemainTime()); in waitDisconnectionNotice()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | WipeDataNotificationTest.java | 28 Boolean wipeDataTitleExist = uiDevice.wait(Until.hasObject(By.text(WIPE_DATA_TITLE)), in testWipeDataWithReasonVerification() 30 Boolean wipeDataReasonExist = uiDevice.wait(Until.hasObject(By.text(TEST_WIPE_DATA_REASON)), in testWipeDataWithReasonVerification() 48 Boolean wipeDataTitleExist = uiDevice.wait(Until.hasObject(By.text(WIPE_DATA_TITLE)), in testWipeDataWithoutReasonVerification()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | LockTaskTest.java | 262 mActivityRunningLock.wait(ACTIVITY_DESTROYED_TIMEOUT_MILLIS); in testUpdateWhitelisting() 286 mReceiverActivityRunningLock.wait(ACTIVITY_RESUMED_TIMEOUT_MILLIS); in testUpdateWhitelisting_twoTasks() 293 mReceiverActivityRunningLock.wait(ACTIVITY_DESTROYED_TIMEOUT_MILLIS); in testUpdateWhitelisting_twoTasks() 319 mReceiverActivityRunningLock.wait(ACTIVITY_RESUMED_TIMEOUT_MILLIS); in testStartActivity_withinTask() 338 mReceiverActivityRunningLock.wait(ACTIVITY_RESUMED_TIMEOUT_MILLIS); in testStartActivity_outsideTaskWhitelisted() 355 mActivityResumedLock.wait(ACTIVITY_RESUMED_TIMEOUT_MILLIS); in testStartActivity_outsideTaskNonWhitelisted() 417 mActivityRunningLock.wait(ACTIVITY_DESTROYED_TIMEOUT_MILLIS); in testManifestArgument_updateWhitelisting() 490 mActivityRunningLock.wait(ACTIVITY_DESTROYED_TIMEOUT_MILLIS); in finishAndWait() 502 mActivityResumedLock.wait(ACTIVITY_RESUMED_TIMEOUT_MILLIS); in waitForResume() 560 wait(ACTIVITY_RUNNING_TIMEOUT_MILLIS); in startAndWait()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerThrottlingTest.java | 119 final UiObject2 clearAll = ud.wait(Until.findObject(By.text("CLEAR ALL")), UI_TIMEOUT); in clearNotifications() 124 ud.wait(Until.gone(By.text("CLEAR ALL")), UI_TIMEOUT); in clearNotifications() 140 ud.wait(Until.findObject(By.text(INLINE_REPLY_REMOTE_INPUT_CAPTION)), UI_TIMEOUT).click(); in performInlineReply() 153 ud.wait(Until.gone(By.text(INLINE_REPLY_REMOTE_INPUT_CAPTION)), UI_TIMEOUT); in performInlineReply()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | ReceiveUriActivity.java | 101 sLock.wait(TIMEOUT_MILLIS); in finishCurInstanceSync() 128 sLock.wait(TIMEOUT_MILLIS); in waitForStart() 143 sLock.wait(TIMEOUT_MILLIS); in waitForNewIntent()
|
D | ReceiveUriService.java | 99 sLock.wait(5000); in stopSync() 120 sLock.wait(5000); in waitForStart()
|
/cts/tests/tests/telephony/sdk28/src/android/telephony/sdk28/cts/ |
D | PhoneStateListenerTest.java | 104 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister() 118 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister() 127 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | AmUtils.java | 36 public static void runKill(String packageName, boolean wait) throws Exception { in runKill() argument 39 if (!wait) { in runKill()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | AmUtils.java | 38 public static void runKill(String packageName, boolean wait) throws Exception { in runKill() argument 41 if (!wait) { in runKill()
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | SuspendPackageTest.java | 98 device.wait(Until.hasObject(POPUP_TITLE_WATCH_SELECTOR), WAIT_DIALOG_TIMEOUT_IN_MS); in dismissPolicyTransparencyDialog() 103 device.wait(Until.hasObject(POPUP_IMAGE_SELECTOR), WAIT_DIALOG_TIMEOUT_IN_MS); in dismissPolicyTransparencyDialog() 115 device.wait(Until.hasObject(SUSPEND_BUTTON_SELECTOR), WAIT_DIALOG_TIMEOUT_IN_MS); in dismissCustomDialog()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | RemoteCallbackListTest.java | 92 mSync.wait(); in testRemoteCallbackList() 129 mSync.wait(); in testRemoteCallbackList() 143 mSync.wait(); in testKill()
|
D | ProcessTest.java | 80 mSync.wait(); in setUp() 175 mSync.wait(); in testKillProcess() 204 mSync.wait(); in testSendSignal()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/ |
D | BasePermissionsTest.java | 300 getUiDevice().wait(Until.findObject(By.res( in clickAllowButton() 307 getUiDevice().wait(Until.findObject(By.res( in clickAllowAlwaysButton() 314 getUiDevice().wait(Until.findObject(By.res( in clickAllowForegroundButton() 322 getUiDevice().wait(Until.findObject(By.res( in clickDenyButton() 329 getUiDevice().wait(Until.findObject(By.res( in clickDenyAndDontAskAgainButton() 337 getUiDevice().wait(Until.findObject(By.res( in clickDontAskAgainButton() 360 getUiDevice().wait(Until.findObject(By.clazz(ScrollView.class)), GLOBAL_TIMEOUT_MILLIS); in scrollToBottomIfWatch() 410 permissionView = getUiDevice().wait(Until.findObject(By.text(permissionLabel)), in setPermissionGrantState() 424 final boolean wasGranted = !getUiDevice().wait(Until.findObject(By.text(denyLabel)), in setPermissionGrantState() 450 getUiDevice().wait(Until.findObject( in setPermissionGrantState()
|
/cts/tests/tests/media/libaudiojni/ |
D | Gate.h | 62 bool wait() { in wait() function 69 mCondition.wait(l); in wait()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | GestureDetectionStubAccessibilityService.java | 72 mCollectedGestures.wait(GESTURE_RECOGNIZE_TIMEOUT_MS); in waitUntilGesture() 121 mLock.wait(EVENT_RECOGNIZE_TIMEOUT_MS); in waitUntilEvent()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | MockService.java | 94 sBlocker.wait(endTime - now); in waitForStart() 116 sBlocker.wait(endTime - now); in waitForDestroy()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | Animatable2Callback.java | 52 mEndLock.wait(timeoutMs); in waitForEnd() 62 mStartLock.wait(MAX_START_TIMEOUT_MS); in waitForStart()
|