Home
last modified time | relevance | path

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

1234567891011

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSecondaryLockscreenTest.java100 mUiDevice.wait(Until.hasObject(By.text(SimpleKeyguardService.TITLE_LABEL)), in testSetSecondaryLockscreenEnabled()
115 mUiDevice.wait(Until.hasObject(By.text(SimpleKeyguardService.TITLE_LABEL)), in testHomeButton()
128 mUiDevice.wait(Until.hasObject(By.text(SimpleKeyguardService.TITLE_LABEL)), in testDismiss()
136 assertTrue(mUiDevice.wait(Until.hasObject(By.text(SimpleKeyguardService.TITLE_LABEL)), in testDismiss()
152 mUiDevice.wait(Until.hasObject( in enterKeyguardPin()
157 mUiDevice.wait(Until.hasObject(By.res("com.android.systemui", "pinEntry")), in enterKeyguardPin()
166 mUiDevice.wait(Until.gone(By.text(SimpleKeyguardService.TITLE_LABEL)), in verifyHomeLauncherIsShown()
169 mUiDevice.wait(Until.hasObject(By.pkg(launcherPackageName)), in verifyHomeLauncherIsShown()
176 mUiDevice.wait(Until.hasObject(By.text(SimpleKeyguardService.TITLE_LABEL)), in verifySecondaryLockscreenIsShown()
179 mUiDevice.wait(Until.gone(By.pkg(launcherPackageName)), in verifySecondaryLockscreenIsShown()
DLockTaskUtilityActivity.java51 ACTIVITY_RESUMED_LOCK.wait(timeoutMs); in waitUntilActivityResumed()
61 ACTIVITY_RESUMED_LOCK.wait(timeoutMs); in waitUntilActivityPaused()
/cts/tests/tests/media/src/android/media/cts/
DMediaBrowserServiceTest.java135 mWaitLock.wait(TIME_OUT_MS); in setUp()
156 mWaitLock.wait(TIME_OUT_MS); in testNotifyChildrenChanged()
161 mWaitLock.wait(TIME_OUT_MS); in testNotifyChildrenChanged()
186 mWaitLock.wait(TIME_OUT_MS); in testNotifyChildrenChangedWithPagination()
191 mWaitLock.wait(TIME_OUT_MS); in testNotifyChildrenChangedWithPagination()
203 mWaitLock.wait(TIME_OUT_MS); in testNotifyChildrenChangedWithPagination()
213 mWaitLock.wait(WAIT_TIME_FOR_NO_RESPONSE_MS); in testNotifyChildrenChangedWithPagination()
223 mWaitLock.wait(WAIT_TIME_FOR_NO_RESPONSE_MS); in testDelayedNotifyChildrenChanged()
227 mWaitLock.wait(TIME_OUT_MS); in testDelayedNotifyChildrenChanged()
233 mWaitLock.wait(WAIT_TIME_FOR_NO_RESPONSE_MS); in testDelayedNotifyChildrenChanged()
[all …]
DMediaControllerTest.java168 mWaitLock.wait(TIME_OUT_MS); in testSendCommand()
202 mWaitLock.wait(TIME_OUT_MS); in testSetPlaybackSpeed()
245 mWaitLock.wait(TIME_OUT_MS); in testVolumeControl()
250 mWaitLock.wait(TIME_OUT_MS); in testVolumeControl()
254 mWaitLock.wait(TIME_OUT_MS); in testVolumeControl()
266 mWaitLock.wait(TIME_OUT_MS); in testTransportControlsAndMediaSessionCallback()
272 mWaitLock.wait(TIME_OUT_MS); in testTransportControlsAndMediaSessionCallback()
278 mWaitLock.wait(TIME_OUT_MS); in testTransportControlsAndMediaSessionCallback()
284 mWaitLock.wait(TIME_OUT_MS); in testTransportControlsAndMediaSessionCallback()
290 mWaitLock.wait(TIME_OUT_MS); in testTransportControlsAndMediaSessionCallback()
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DPhoneStateListenerTest.java192 mLock.wait(WAIT_TIME); in testOnServiceStateChanged()
222 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister()
236 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister()
245 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister()
275 mLock.wait(WAIT_TIME); in testOnSignalStrengthChanged()
351 mLock.wait(WAIT_TIME); in testOnSignalStrengthsChanged()
439 mLock.wait(WAIT_TIME); in testOnMessageWaitingIndicatorChanged()
470 mLock.wait(WAIT_TIME); in testOnPreciseCallStateChanged()
506 mLock.wait(WAIT_TIME); in testOnCallDisconnectCauseChanged()
537 mLock.wait(WAIT_TIME); in testOnImsCallDisconnectCauseChanged()
[all …]
DTelephonyCallbackTest.java185 mLock.wait(WAIT_TIME); in unRegisterTelephonyCallback()
219 mLock.wait(WAIT_TIME); in testOnServiceStateChangedByRegisterTelephonyCallback()
244 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegisterTelephonyCallback()
258 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegisterTelephonyCallback()
267 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegisterTelephonyCallback()
316 mLock.wait(WAIT_TIME); in testOnSignalStrengthsChangedByRegisterTelephonyCallback()
356 mLock.wait(WAIT_TIME); in testOnMessageWaitingIndicatorChangedByRegisterTelephonyCallback()
395 mLock.wait(WAIT_TIME); in testOnPreciseCallStateChangedByRegisterTelephonyCallback()
440 mLock.wait(WAIT_TIME); in testOnCallDisconnectCauseChangedByRegisterTelephonyCallback()
479 mLock.wait(WAIT_TIME); in testOnImsCallDisconnectCauseChangedByRegisterTelephonyCallback()
[all …]
/cts/tests/tests/systemui/src/android/systemui/cts/
DNotificationListener.kt65 return wait { instance != null } in startNotificationListener()
74 return wait { instance == null } in stopNotificationListener()
91 wait { it.activeNotifications.none(predicate) } in waitForNotificationToDisappear()
95 private fun wait(condition: () -> Boolean): Boolean { in wait() method
/cts/hostsidetests/devicepolicy/app/CrossProfileTestApps/CrossProfileAppsTest/src/com/android/cts/crossprofileappstest/
DCrossProfileAppsStartActivityTest.java126 UiObject2 textView = mDevice.wait(Until.findObject(By.res(ID_USER_TEXTVIEW)), in testCanStartActivityByIntentWithInteractAcrossProfilesPermission()
146 UiObject2 textView = mDevice.wait(Until.findObject(By.res(ID_USER_TEXTVIEW)), in testCanStartActivityByIntentWithInteractAcrossUsersPermission()
166 UiObject2 textView = mDevice.wait(Until.findObject(By.res(ID_USER_TEXTVIEW)), in testCanStartActivityByIntentWithInteractAcrossUsersFullPermission()
197 UiObject2 textView = mDevice.wait(Until.findObject(By.res(ID_USER_TEXTVIEW)), in testCanStartMainActivityByIntent()
223 UiObject2 textView = mDevice.wait(Until.findObject(By.res(ID_USER_TEXTVIEW)), in testCanStartMainActivityByIntent_withOptionsBundle()
245 UiObject2 textView = mDevice.wait(Until.findObject(By.res(ID_USER_TEXTVIEW_NONMAIN)), in testCanStartNonMainActivityByIntent()
271 UiObject2 textView = mDevice.wait(Until.findObject(By.res(ID_USER_TEXTVIEW_NONMAIN)), in testStartActivityIntent_sameTaskByDefault()
288 final UiObject2 textView = mDevice.wait( in testStartActivityIntent_crossProfile_returnsResult()
321 UiObject2 textView = mDevice.wait(Until.findObject(By.res(ID_USER_TEXTVIEW)), in testCanStartMainActivityByComponent()
339 UiObject2 textView = mDevice.wait(Until.findObject(By.res(ID_USER_TEXTVIEW_NONMAIN)), in testCanStartNonMainActivityByComponent()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DP2pBroadcastReceiverTest.java86 wait(t.getRemainTime()); in waitDeviceFound()
107 wait(t.getRemainTime()); in waitConnectionNotice()
129 wait(t.getRemainTime()); in waitPeerConnected()
155 wait(t.getRemainTime()); in waitPeerDisconnected()
176 wait(t.getRemainTime()); in waitDisconnectionNotice()
/cts/tests/tests/provider/src/android/provider/cts/
DSettingsPanelTest.java95 mDevice.wait(Until.hasObject(By.pkg(mLauncherPackage).depth(0)), TIMEOUT); in cleanUp()
149 mDevice.wait(Until.hasObject(By.pkg(mLauncherPackage).depth(0)), TIMEOUT); in internetDialog_doneClosesDialog()
263 mDevice.wait(Until.hasObject(By.pkg(mLauncherPackage).depth(0)), TIMEOUT); in launchInternetDialog()
272 mDevice.wait(Until.hasObject(By.pkg(SYSTEMUI_PACKAGE_NAME).depth(0)), TIMEOUT); in launchInternetDialog()
288 mDevice.wait(Until.hasObject(By.pkg(mLauncherPackage).depth(0)), TIMEOUT); in launchPanel()
296 mDevice.wait(Until.hasObject(By.pkg(mSettingsPackage).depth(0)), TIMEOUT); in launchPanel()
302 mDevice.wait(Until.hasObject(By.pkg(mLauncherPackage).depth(0)), TIMEOUT); in pressDone()
310 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()
DReceiveUriService.java99 sLock.wait(5000); in stopSync()
120 sLock.wait(5000); in waitForStart()
/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/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/
DManualPackageInstallTest.java71 mPackageInstallerTimeoutLock.wait(PACKAGE_INSTALLER_TIMEOUT_MS); in testManualInstallBlocked()
97 mPackageInstallerTimeoutLock.wait(PACKAGE_INSTALLER_TIMEOUT_MS); in installPackage()
117 mDevice.wait(Until.hasObject(INSTALL_BUTTON_SELECTOR), AUTOMATOR_WAIT_TIMEOUT); in automateInstallClick()
125 mDevice.wait(Until.hasObject(selector), AUTOMATOR_WAIT_TIMEOUT); in automateDismissInstallBlockedDialog()
/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/statsdatom/src/android/cts/statsdatom/lib/
DAtomTestUtils.java74 int wait, Function<AtomsProto.Atom, Integer> getStateFromAtom) { in assertStatesOccurred() argument
99 if (wait > 0) { in assertStatesOccurred()
101 wait / 2, wait * 5); in assertStatesOccurred() local
/cts/tests/tests/media/libaudiojni/
DGate.h62 bool wait() { in wait() function
69 mCondition.wait(l); in wait()
/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/tests/tests/security/src/android/security/cts/CVE_2021_0327/
DCVE_2021_0327.java62 CVE_2021_0327.class.wait(); in testPocCVE_2021_0327()
69 CVE_2021_0327.class.wait(10000); in testPocCVE_2021_0327()
/cts/tests/app/app/src/android/app/stubs/
DMockService.java94 sBlocker.wait(endTime - now); in waitForStart()
116 sBlocker.wait(endTime - now); in waitForDestroy()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0706/src/android/security/cts/CVE_2021_0706/
DDeviceTest.java52 assumeNotNull(mDevice.wait(Until.hasObject(By.pkg(TEST_PACKAGE).depth(0)), TIMEOUT_MS)); in testDisablePlugin()
57 assumeNotNull(mDevice.wait(Until.gone(By.pkg(TEST_PACKAGE).depth(0)), TIMEOUT_MS)); in testDisablePlugin()
/cts/suite/audio_quality/lib/include/
DSemaphore.h37 bool wait();
/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()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-10229/
Dpoc.c97 for (pid_t pid = wait(&status); pid > 0; pid = wait(&status)); in main()

1234567891011