Home
last modified time | relevance | path

Searched refs:wait (Results 1 – 25 of 219) sorted by relevance

123456789

/cts/hostsidetests/appsecurity/test-apps/ReviewPermissionHelper/src/com/android/cts/reviewpermissionhelper/
DReviewPermissionsTest.kt63 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/
DMediaBrowserServiceTest.java122 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 …]
DMediaControllerTest.java137 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 …]
DPresetReverbTest.java184 mLock.wait(); in test3_0ControlStatusListener()
211 mLock.wait(); in test3_1EnableStatusListener()
238 mLock.wait(); in test3_2ParameterChangedListener()
282 mLock.wait(); in waitForLooperInitialization_l()
DTestUtils.java87 wait(); in waitForCountedSignals()
107 wait(delay); in waitForCountedSignals()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DPhoneStateListenerTest.java172 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/
DSettingsPanelTest.java76 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/
DManualPackageInstallTest.java59 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/
DP2pBroadcastReceiverTest.java89 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/
DWipeDataNotificationTest.java28 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/
DLockTaskTest.java262 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/
DShortcutManagerThrottlingTest.java119 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/
DReceiveUriActivity.java101 sLock.wait(TIMEOUT_MILLIS); in finishCurInstanceSync()
128 sLock.wait(TIMEOUT_MILLIS); in waitForStart()
143 sLock.wait(TIMEOUT_MILLIS); in waitForNewIntent()
DReceiveUriService.java99 sLock.wait(5000); in stopSync()
120 sLock.wait(5000); in waitForStart()
/cts/tests/tests/telephony/sdk28/src/android/telephony/sdk28/cts/
DPhoneStateListenerTest.java104 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/
DAmUtils.java36 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/
DAmUtils.java38 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/
DSuspendPackageTest.java98 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/
DRemoteCallbackListTest.java92 mSync.wait(); in testRemoteCallbackList()
129 mSync.wait(); in testRemoteCallbackList()
143 mSync.wait(); in testKill()
DProcessTest.java80 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/
DBasePermissionsTest.java300 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/
DGate.h62 bool wait() { in wait() function
69 mCondition.wait(l); in wait()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DGestureDetectionStubAccessibilityService.java72 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/
DMockService.java94 sBlocker.wait(endTime - now); in waitForStart()
116 sBlocker.wait(endTime - now); in waitForDestroy()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatable2Callback.java52 mEndLock.wait(timeoutMs); in waitForEnd()
62 mStartLock.wait(MAX_START_TIMEOUT_MS); in waitForStart()

123456789