Searched refs:resultFuture (Results 1 – 9 of 9) sorted by relevance
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | Api29InCallUtils.java | 31 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/ |
D | IncompleteMotionTest.kt | 107 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/ |
D | CallLogDirectBootTest.java | 61 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/ |
D | CallComposerTest.java | 157 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()
|
D | TelephonyManagerTest.java | 5932 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/ |
D | SimRestrictedApisTest.java | 360 CompletableFuture<NetworkSlicingConfig> resultFuture = new CompletableFuture<>(); in testGetNetworkSlicingConfiguration() local 362 AsyncTask.SERIAL_EXECUTOR, resultFuture::complete); in testGetNetworkSlicingConfiguration()
|
/cts/tests/ondeviceintelligence/src/android/ondeviceintelligence/cts/ |
D | BundleValidationTest.java | 125 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/ |
D | CallLogTest.java | 460 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/ |
D | CarrierApiTest.java | 1495 CompletableFuture<NetworkSlicingConfig> resultFuture = new CompletableFuture<>(); in testGetNetworkSlicingConfiguration() local 1497 AsyncTask.SERIAL_EXECUTOR, resultFuture::complete); in testGetNetworkSlicingConfiguration()
|