Home
last modified time | relevance | path

Searched refs:waitForResult (Results 1 – 25 of 32) sorted by relevance

12

/cts/tests/app/src/android/app/cts/
DLocalActivityManagerTest.java64 waitForResult(); in testDispatchResume()
67 private void waitForResult() throws InterruptedException { in waitForResult() method in LocalActivityManagerTest
78 waitForResult(); in testStartActivity()
84 waitForResult(); in testDispatchCreate()
90 waitForResult(); in testDispatchStop()
96 waitForResult(); in testDispatchPauseTrue()
102 waitForResult(); in testDispatchPauseFalse()
108 waitForResult(); in testSaveInstanceState()
114 waitForResult(); in testDispatchDestroy()
120 waitForResult(); in testRemoveAllActivities()
DSearchManagerTest.java43 waitForResult(); in testStopSearch()
52 waitForResult(); in testSetOnDismissListener()
61 waitForResult(); in testSetOnCancelListener()
/cts/tests/tests/systemui/src/android/systemui/cts/
DNotificationListener.kt81 return waitForResult(extractor = { in waitForNotificationToAppear()
96 val (success, _) = waitForResult(extractor = condition, validator = { it }) in wait()
100 private fun <R> waitForResult( in waitForResult() method
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/
DCameraUtils.java46 return callback.waitForResult(); in blockUntilOpenCamera()
87 public boolean waitForResult() throws InterruptedException { in waitForResult() method in CameraUtils.CameraCallback
/cts/tests/tests/companion/common/src/android/companion/cts/common/
DCompanionActivity.kt64 waitForResult(timeout = 3.seconds, interval = 100.milliseconds) { in launchAndWait()
73 val result = waitForResult(timeout = 1.seconds, interval = 100.milliseconds) { in startIntentSender()
DTestBase.kt376 fun <R> waitForResult( in waitForResult() method
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DCondition.java196 public static <T> T waitForResult(String message, Consumer<Condition<T>> setup) { in waitForResult() method in Condition
199 return waitForResult(condition); in waitForResult()
206 public static <T> T waitForResult(Condition<T> condition) { in waitForResult() method in Condition
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCondition.java196 public static <T> T waitForResult(String message, Consumer<Condition<T>> setup) { in waitForResult() method in Condition
199 return waitForResult(condition); in waitForResult()
206 public static <T> T waitForResult(Condition<T> condition) { in waitForResult() method in Condition
DWindowManagerStateHelper.java414 public <T> T waitForResult(String message, Function<WindowManagerState, T> function) {
415 return waitForResult(message, function, Objects::nonNull);
418 public <T> T waitForResult(String message, Function<WindowManagerState, T> function,
420 return Condition.waitForResult(new Condition<T>(message)
860 final WindowState imeWinState = Condition.waitForResult("IME window",
874 final WindowState imeWinState = Condition.waitForResult("IME window",
/cts/hostsidetests/appsecurity/test-apps/UseProcessSuccess/src/com/android/cts/useprocess/
DAccessNetworkTest.java50 public String waitForResult() { in waitForResult() method in AccessNetworkTest.MyConnection
151 String result = conn.waitForResult(); in doNetworkTest()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DRcsUceAdapterTest.java614 waitForResult(completeQueue); in testCapabilitiesRequestAllowed()
628 waitForResult(completeQueue); in testCapabilitiesRequestAllowed()
798 List<Uri> retryUri = waitForResult(requestQueue); in testCapabilitiesRequestRetry()
1118 waitForResult(completeQueue); in testRequestCapabilitiesWithPresenceMechanism()
1145 waitForResult(completeQueue); in testRequestCapabilitiesWithPresenceMechanism()
1190 waitForResult(completeQueue); in testRequestCapabilitiesWithPresenceMechanism()
1265 waitForResult(completeQueue); in testCacheQuerySuccessWhenNetworkBlocked()
1303 Integer error = waitForResult(errorQueue); in testCacheQuerySuccessWhenNetworkBlocked()
1385 waitForResult(completeQueue); in testRequestCapabilitiesFromCacheWithPresenceMechanism()
1404 waitForResult(completeQueue); in testRequestCapabilitiesFromCacheWithPresenceMechanism()
[all …]
DEabControllerTest.java261 waitForResult(mCompleteQueue); in testRequestCapabilities()
299 waitForResult(mCompleteQueue); in testRequestAvailabilities()
346 waitForResult(mCompleteQueue); in testRequestExpiredCapabilities()
392 waitForResult(mCompleteQueue); in testRequestExpiredAvailabilities()
415 return waitForResult(mCapabilityQueue); in requestAvailability()
437 return waitForResult(mCapabilityQueue); in requestCapabilities()
584 private <T> T waitForResult(BlockingQueue<T> queue) throws Exception { in waitForResult() method in EabControllerTest
DMmTelFeatureTestOnMockModem.java454 ConnectionFailureInfo result = waitForResult(resultQueue); in testStartAndStopImsTrafficSession()
496 result = waitForResult(voiceResultQueue); in testStartAndStopImsTrafficSession()
511 result = waitForResult(regResultQueue); in testStartAndStopImsTrafficSession()
537 result = waitForResult(resultQueue); in testStartAndStopImsTrafficSession()
563 result = waitForResult(resultQueue); in testStartAndStopImsTrafficSession()
571 result = waitForResult(resultQueue); in testStartAndStopImsTrafficSession()
663 private <T> T waitForResult(LinkedBlockingQueue<T> queue) throws Exception { in waitForResult() method in MmTelFeatureTestOnMockModem
DImsServiceTest.java1176 ImsReasonInfo deregResult = waitForResult(mDeregQueue); in testMmTelManagerRegistrationCallbackS()
1537 PublishAttributes attr = waitForResult(addedNewPublishStateQueue); in testRcsDeviceCapabilitiesPublish()
1601 attr = waitForResult(addedNewPublishStateQueue); in testRcsDeviceCapabilitiesPublish()
1607 attr = waitForResult(addedNewPublishStateQueue); in testRcsDeviceCapabilitiesPublish()
1753 PublishAttributes attr = waitForResult(publishStateQueue); in testRcsAttributesPublish()
1806 attr = waitForResult(publishStateQueue); in testRcsAttributesPublish()
1810 attr = waitForResult(publishStateQueue); in testRcsAttributesPublish()
1840 attr = waitForResult(publishStateQueue); in testRcsAttributesPublish()
1842 attr = waitForResult(publishStateQueue); in testRcsAttributesPublish()
1850 attr = waitForResult(publishStateQueue); in testRcsAttributesPublish()
[all …]
/cts/tests/app/app/src/android/app/stubs/
DCTSActivityTestCaseBase.java45 protected void waitForResult() throws InterruptedException { in waitForResult() method in CTSActivityTestCaseBase
DActivityTestsBase.java164 final int res = waitForResult(timeoutMs, expected); in waitForResultOrThrow()
177 public int waitForResult(int timeoutMs, String expected) { in waitForResult() method in ActivityTestsBase
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCrossProfileWidgetPrimaryUserTest.java108 return mResult.waitForResult(); in sendMessageToCallbacksService()
130 public int waitForResult() { in waitForResult() method in CrossProfileWidgetPrimaryUserTest.Result
/cts/tests/tests/os/src/android/os/cts/
DActivityTestsBase.java150 final int res = waitForResult(timeoutMs, expected); in waitForResultOrThrow()
163 public int waitForResult(int timeoutMs, String expected) { in waitForResult() method in ActivityTestsBase
/cts/tests/framework/base/windowmanager/src/android/server/wm/backnavigation/
DBackNavigationLegacyGestureTest.java58 final Bundle resultExtras = Condition.waitForResult( in receiveOnBackPressed()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaCasTest.java704 boolean waitForResult() { in waitForResult() method in MediaCasTest.TestEventListener
766 assertTrue("Didn't receive event callback for " + event, listener.waitForResult()); in testEventEcho()
783 assertTrue("Didn't receive session event callback for " + event, listener.waitForResult()); in testSessionEventEcho()
802 listener.waitForResult()); in testOpenSessionEcho()
810 assertTrue("Didn't receive Resource Lost event ", listener.waitForResult()); in testForceResourceLost()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCameraTest.java375 successfullyOpened = callback.waitForResult(); in assertCanOpenCamera()
392 successfullyOpened = callback.waitForResult(); in assertCanNotOpenCamera()
437 public boolean waitForResult() throws InterruptedException { in waitForResult() method in CameraTest.CameraCallback
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSimultaneousCallingRestrictionsTest.java596 ImsReasonInfo deregResult = waitForResult(deRegQueue); in registerImsCallbackAndWaitForImsUnregister()
785 private <T> T waitForResult(LinkedBlockingQueue<T> queue) throws Exception { in waitForResult() method in SimultaneousCallingRestrictionsTest
836 ImsRegistrationAttributes attrResult = waitForResult(attrQueue); in waitForAttributesAndVerify()
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
DLauncherAppsTests.java423 public int waitForResult() { in waitForResult() method in LauncherAppsTests.Result
469 return mResult.waitForResult(); in sendMessageToCallbacksService()
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowUntrustedTouchTest.java706 Rect toast = mWmState.waitForResult("toast bounds", in testWhenSelfTextToastWindow_allowsTouch()
724 Rect toast = mWmState.waitForResult("toast bounds", in testWhenTextToastWindow_allowsTouch()
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplaySecurityTests.java360 final Bundle resultExtras = Condition.waitForResult( in assertActivityStartCheckResult()

12