Home
last modified time | relevance | path

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

12345678910

/cts/tests/tests/media/src/android/media/cts/
DMediaBrowserServiceTest.java123 mWaitLock.wait(TIME_OUT_MS); in setUp()
136 mWaitLock.wait(TIME_OUT_MS); in testNotifyChildrenChanged()
141 mWaitLock.wait(TIME_OUT_MS); in testNotifyChildrenChanged()
156 mWaitLock.wait(TIME_OUT_MS); in testNotifyChildrenChangedWithPagination()
161 mWaitLock.wait(TIME_OUT_MS); in testNotifyChildrenChangedWithPagination()
171 mWaitLock.wait(WAIT_TIME_FOR_NO_RESPONSE_MS); in testDelayedNotifyChildrenChanged()
175 mWaitLock.wait(TIME_OUT_MS); in testDelayedNotifyChildrenChanged()
181 mWaitLock.wait(WAIT_TIME_FOR_NO_RESPONSE_MS); in testDelayedNotifyChildrenChanged()
185 mWaitLock.wait(TIME_OUT_MS); in testDelayedNotifyChildrenChanged()
195 mWaitLock.wait(WAIT_TIME_FOR_NO_RESPONSE_MS); in testDelayedItem()
[all …]
DMediaControllerTest.java138 mWaitLock.wait(TIME_OUT_MS); in testSendCommand()
153 mWaitLock.wait(TIME_OUT_MS); in testSetPlaybackSpeed()
196 mWaitLock.wait(TIME_OUT_MS); in testVolumeControl()
201 mWaitLock.wait(TIME_OUT_MS); in testVolumeControl()
205 mWaitLock.wait(TIME_OUT_MS); in testVolumeControl()
217 mWaitLock.wait(TIME_OUT_MS); in testTransportControlsAndMediaSessionCallback()
223 mWaitLock.wait(TIME_OUT_MS); in testTransportControlsAndMediaSessionCallback()
229 mWaitLock.wait(TIME_OUT_MS); in testTransportControlsAndMediaSessionCallback()
235 mWaitLock.wait(TIME_OUT_MS); in testTransportControlsAndMediaSessionCallback()
241 mWaitLock.wait(TIME_OUT_MS); in testTransportControlsAndMediaSessionCallback()
[all …]
DPresetReverbTest.java185 mLock.wait(); in test3_0ControlStatusListener()
212 mLock.wait(); in test3_1EnableStatusListener()
239 mLock.wait(); in test3_2ParameterChangedListener()
283 mLock.wait(); in waitForLooperInitialization_l()
DMediaSessionTest.java141 mWaitLock.wait(TIME_OUT_MS); in testConfigureSession()
163 mWaitLock.wait(TIME_OUT_MS); in testConfigureSession()
180 mWaitLock.wait(TIME_OUT_MS); in testConfigureSession()
200 mWaitLock.wait(TIME_OUT_MS); in testConfigureSession()
206 mWaitLock.wait(TIME_OUT_MS); in testConfigureSession()
221 mWaitLock.wait(TIME_OUT_MS); in testConfigureSession()
227 mWaitLock.wait(TIME_OUT_MS); in testConfigureSession()
250 mWaitLock.wait(TIME_OUT_MS); in testConfigureSession()
261 mWaitLock.wait(TIME_OUT_MS); in testConfigureSession()
292 mWaitLock.wait(TIME_OUT_MS); in testPlaybackToLocalAndRemote()
DBassBoostTest.java223 mLock.wait(); in test3_0ControlStatusListener()
250 mLock.wait(); in test3_1EnableStatusListener()
276 mLock.wait(); in test3_2ParameterChangedListener()
320 mLock.wait(); in waitForLooperInitialization_l()
DTestUtils.java87 wait(); in waitForCountedSignals()
107 wait(delay); in waitForCountedSignals()
/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/telephony/current/src/android/telephony/cts/
DPhoneStateListenerTest.java189 mLock.wait(WAIT_TIME); in testOnServiceStateChanged()
219 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister()
233 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister()
242 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister()
272 mLock.wait(WAIT_TIME); in testOnSignalStrengthChanged()
396 mLock.wait(WAIT_TIME); in testOnSignalStrengthsChanged()
436 mLock.wait(WAIT_TIME); in testOnMessageWaitingIndicatorChanged()
467 mLock.wait(WAIT_TIME); in testOnPreciseCallStateChanged()
503 mLock.wait(WAIT_TIME); in testOnCallDisconnectCauseChanged()
534 mLock.wait(WAIT_TIME); in testOnImsCallDisconnectCauseChanged()
[all …]
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DLockTaskTest.java244 mActivityRunningLock.wait(ACTIVITY_DESTROYED_TIMEOUT_MILLIS); in testUpdateWhitelisting()
267 mReceiverActivityRunningLock.wait(ACTIVITY_RESUMED_TIMEOUT_MILLIS); in testUpdateWhitelisting_twoTasks()
274 mReceiverActivityRunningLock.wait(ACTIVITY_DESTROYED_TIMEOUT_MILLIS); in testUpdateWhitelisting_twoTasks()
299 mReceiverActivityRunningLock.wait(ACTIVITY_RESUMED_TIMEOUT_MILLIS); in testStartActivity_withinTask()
317 mReceiverActivityRunningLock.wait(ACTIVITY_RESUMED_TIMEOUT_MILLIS); in testStartActivity_outsideTaskWhitelisted()
333 mActivityResumedLock.wait(ACTIVITY_RESUMED_TIMEOUT_MILLIS); in testStartActivity_outsideTaskNonWhitelisted()
391 mActivityRunningLock.wait(ACTIVITY_DESTROYED_TIMEOUT_MILLIS); in testManifestArgument_updateWhitelisting()
467 mActivityRunningLock.wait(ACTIVITY_DESTROYED_TIMEOUT_MILLIS); in finishAndWait()
479 mActivityResumedLock.wait(ACTIVITY_RESUMED_TIMEOUT_MILLIS); in waitForResume()
537 wait(ACTIVITY_RUNNING_TIMEOUT_MILLIS); in startAndWait()
/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/PackageInstaller/src/com/android/cts/packageinstaller/
DManualPackageInstallTest.java64 mPackageInstallerTimeoutLock.wait(PACKAGE_INSTALLER_TIMEOUT_MS); in testManualInstallBlocked()
87 mPackageInstallerTimeoutLock.wait(PACKAGE_INSTALLER_TIMEOUT_MS); in installPackage()
107 mDevice.wait(Until.hasObject(INSTALL_BUTTON_SELECTOR), AUTOMATOR_WAIT_TIMEOUT); in automateInstallClick()
114 mDevice.wait(Until.hasObject(getPopUpImageSelector()), AUTOMATOR_WAIT_TIMEOUT); in automateDismissInstallBlockedDialog()
/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/tests/tests/provider/src/android/provider/cts/
DSettingsPanelTest.java90 mDevice.wait(Until.hasObject(By.pkg(mLauncherPackage).depth(0)), TIMEOUT); in cleanUp()
201 mDevice.wait(Until.hasObject(By.pkg(mSettingsPackage).depth(0)), TIMEOUT); in internetPanel_seeMoreButton_launchesIntoSettings()
285 mDevice.wait(Until.hasObject(By.pkg(mLauncherPackage).depth(0)), TIMEOUT); in launchPanel()
293 mDevice.wait(Until.hasObject(By.pkg(mSettingsPackage).depth(0)), TIMEOUT); in launchPanel()
299 mDevice.wait(Until.hasObject(By.pkg(mLauncherPackage).depth(0)), TIMEOUT); in pressDone()
307 mDevice.wait(Until.hasObject(By.pkg(mSettingsPackage).depth(0)), TIMEOUT); in pressSeeMore()
/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()
/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/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/
DBasePermissionsTest.java340 getUiDevice().wait(Until.findObject(By.res( in clickAllowButton()
351 getUiDevice().wait(Until.findObject(By.res( in clickAllowAlwaysButton()
362 getUiDevice().wait(Until.findObject(By.res( in clickAllowForegroundButton()
375 getUiDevice().wait(Until.findObject(By.res( in clickDenyButton()
387 getUiDevice().wait(Until.findObject(By.res( in clickDenyAndDontAskAgainButton()
396 getUiDevice().wait(Until.findObject(By.res( in clickDontAskAgainButton()
405 getUiDevice().wait(Until.findObject(By.text( in clickStringRes()
428 getUiDevice().wait(Until.findObject(By.clazz(ScrollView.class)), GLOBAL_TIMEOUT_MILLIS); in scrollToBottomIfWatch()
490 permissionView = getUiDevice().wait(Until.findObject(By.text(permissionLabel)), in setPermissionGrantState()
506 final boolean wasGranted = isTv() ? false : !getUiDevice().wait( in setPermissionGrantState()
[all …]
/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/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/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/tests/tests/media/libaudiojni/
DGate.h62 bool wait() { in wait() function
69 mCondition.wait(l); in wait()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DSuspendPackageTest.java94 device.wait(Until.hasObject(POPUP_TITLE_WATCH_SELECTOR), WAIT_DIALOG_TIMEOUT_IN_MS); in dismissPolicyTransparencyDialog()
99 device.wait(Until.hasObject(getPopUpImageSelector()), WAIT_DIALOG_TIMEOUT_IN_MS); in dismissPolicyTransparencyDialog()
111 device.wait(Until.hasObject(SUSPEND_BUTTON_SELECTOR), WAIT_DIALOG_TIMEOUT_IN_MS); in dismissCustomDialog()
/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()

12345678910