/cts/tests/app/src/android/app/cts/ |
D | LocalActivityManagerTest.java | 64 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()
|
D | SearchManagerTest.java | 43 waitForResult(); in testStopSearch() 52 waitForResult(); in testSetOnDismissListener() 61 waitForResult(); in testSetOnCancelListener()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | NotificationListener.kt | 81 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/ |
D | CameraUtils.java | 46 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/ |
D | CompanionActivity.kt | 64 waitForResult(timeout = 3.seconds, interval = 100.milliseconds) { in launchAndWait() 73 val result = waitForResult(timeout = 1.seconds, interval = 100.milliseconds) { in startIntentSender()
|
D | TestBase.kt | 376 fun <R> waitForResult( in waitForResult() method
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/ |
D | Condition.java | 196 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/ |
D | Condition.java | 196 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
|
D | WindowManagerStateHelper.java | 414 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/ |
D | AccessNetworkTest.java | 50 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/ |
D | RcsUceAdapterTest.java | 614 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 …]
|
D | EabControllerTest.java | 261 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
|
D | MmTelFeatureTestOnMockModem.java | 454 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
|
D | ImsServiceTest.java | 1176 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/ |
D | CTSActivityTestCaseBase.java | 45 protected void waitForResult() throws InterruptedException { in waitForResult() method in CTSActivityTestCaseBase
|
D | ActivityTestsBase.java | 164 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/ |
D | CrossProfileWidgetPrimaryUserTest.java | 108 return mResult.waitForResult(); in sendMessageToCallbacksService() 130 public int waitForResult() { in waitForResult() method in CrossProfileWidgetPrimaryUserTest.Result
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ActivityTestsBase.java | 150 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/ |
D | BackNavigationLegacyGestureTest.java | 58 final Bundle resultExtras = Condition.waitForResult( in receiveOnBackPressed()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | MediaCasTest.java | 704 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/ |
D | CameraTest.java | 375 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/ |
D | SimultaneousCallingRestrictionsTest.java | 596 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/ |
D | LauncherAppsTests.java | 423 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/ |
D | WindowUntrustedTouchTest.java | 706 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/ |
D | MultiDisplaySecurityTests.java | 360 final Bundle resultExtras = Condition.waitForResult( in assertActivityStartCheckResult()
|