Home
last modified time | relevance | path

Searched refs:resultFuture (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/telecom/src/android/telecom/cts/
DApi29InCallUtils.java31 CompletableFuture<ICtsApi29InCallServiceControl> resultFuture = new CompletableFuture<>(); in setupControl() local
37 resultFuture.complete(ICtsApi29InCallServiceControl.Stub.asInterface(service)); in setupControl()
52 resultFuture.get(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in setupControl()
/cts/tests/input/src/android/input/cts/
DIncompleteMotionTest.kt107 val resultFuture = CompletableFuture<Void>() in testIncompleteMotion() constant
143 resultFuture.complete(null) in testIncompleteMotion()
147 resultFuture.completeExceptionally(e) in testIncompleteMotion()
170 resultFuture.get() in testIncompleteMotion()
/cts/hostsidetests/calllog/app/src/android/provider/cts/contacts/testapp/
DCallLogDirectBootTest.java61 CompletableFuture<Pair<Uri, CallLog.CallComposerLoggingException>> resultFuture = in testShadowCallComposerPicture() local
73 resultFuture.complete(Pair.create(result, null)); in testShadowCallComposerPicture()
78 resultFuture.complete(Pair.create(null, error)); in testShadowCallComposerPicture()
81 result = resultFuture.get(CONTENT_RESOLVER_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testShadowCallComposerPicture()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCallComposerTest.java157 CompletableFuture<Pair<ParcelUuid, TelephonyManager.CallComposerException>> resultFuture = in pictureUploadHelper() local
163 resultFuture.complete(Pair.create(result, null)); in pictureUploadHelper()
168 resultFuture.complete(Pair.create(null, error)); in pictureUploadHelper()
182 result = resultFuture.get(TEST_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in pictureUploadHelper()
DTelephonyManagerTest.java5932 CompletableFuture<NetworkSlicingConfig> resultFuture = new CompletableFuture<>(); in testGetNetworkSlicingConfiguration() local
5934 (tm) -> tm.getNetworkSlicingConfiguration(mSimpleExecutor, resultFuture::complete)); in testGetNetworkSlicingConfiguration()
/cts/tests/tests/telephony4/src/android/telephony4/cts/
DSimRestrictedApisTest.java360 CompletableFuture<NetworkSlicingConfig> resultFuture = new CompletableFuture<>(); in testGetNetworkSlicingConfiguration() local
362 AsyncTask.SERIAL_EXECUTOR, resultFuture::complete); in testGetNetworkSlicingConfiguration()
/cts/tests/ondeviceintelligence/src/android/ondeviceintelligence/cts/
DBundleValidationTest.java125 CompletableFuture<String> resultFuture = new CompletableFuture<>(); in canSendAndReceiveCustomParcelables() local
135 resultFuture.complete(result.getString(TEST_KEY)); in canSendAndReceiveCustomParcelables()
145 assertThat(resultFuture.get()).isEqualTo("abc"); in canSendAndReceiveCustomParcelables()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DCallLogTest.java460 CompletableFuture<Pair<Uri, CallLog.CallComposerLoggingException>> resultFuture = in testCallComposerImageStorage() local
472 resultFuture.complete(Pair.create(result, null)); in testCallComposerImageStorage()
477 resultFuture.complete(Pair.create(null, error)); in testCallComposerImageStorage()
480 result = resultFuture.get(CONTENT_RESOLVER_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testCallComposerImageStorage()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DCarrierApiTest.java1495 CompletableFuture<NetworkSlicingConfig> resultFuture = new CompletableFuture<>(); in testGetNetworkSlicingConfiguration() local
1497 AsyncTask.SERIAL_EXECUTOR, resultFuture::complete); in testGetNetworkSlicingConfiguration()