/packages/modules/AppSearch/testing/testutils/src/android/app/appsearch/testutil/ |
D | AppSearchSessionShimImpl.java | 89 SettableFuture<AppSearchResult<AppSearchSession>> future = SettableFuture.create(); in createSearchSessionAsync() local 106 SettableFuture<AppSearchResult<SetSchemaResponse>> future = SettableFuture.create(); in setSchemaAsync() local 114 SettableFuture<AppSearchResult<GetSchemaResponse>> future = SettableFuture.create(); in getSchemaAsync() local 122 SettableFuture<AppSearchResult<Set<String>>> future = SettableFuture.create(); in getNamespacesAsync() local 131 SettableFuture<AppSearchBatchResult<String, Void>> future = SettableFuture.create(); in putAsync() local 141 SettableFuture<AppSearchBatchResult<String, GenericDocument>> future = in getByDocumentIdAsync() local 159 SettableFuture<AppSearchResult<Void>> future = SettableFuture.create(); in reportUsageAsync() local 168 SettableFuture<AppSearchBatchResult<String, Void>> future = SettableFuture.create(); in removeAsync() local 177 SettableFuture<AppSearchResult<Void>> future = SettableFuture.create(); in removeAsync() local 185 SettableFuture<AppSearchResult<StorageInfo>> future = SettableFuture.create(); in getStorageInfoAsync() local [all …]
|
D | GlobalSearchSessionShimImpl.java | 71 SettableFuture<AppSearchResult<GlobalSearchSession>> future = SettableFuture.create(); in createGlobalSearchSessionAsync() local 92 SettableFuture<AppSearchBatchResult<String, GenericDocument>> future = in getByDocumentIdAsync() local 112 SettableFuture<AppSearchResult<Void>> future = SettableFuture.create(); in reportSystemUsageAsync() local 121 SettableFuture<AppSearchResult<GetSchemaResponse>> future = SettableFuture.create(); in getSchemaAsync() local
|
/packages/services/Telephony/src/com/android/services/telephony/rcs/ |
D | UceControllerManager.java | 162 Future future = mExecutorService.submit(() -> { in requestCapabilities() local 187 Future future = mExecutorService.submit(() -> { in requestNetworkAvailability() local 211 Future<Integer> future = mExecutorService.submit(() -> { in getUcePublishState() local 233 Future<RcsContactUceCapability> future = mExecutorService.submit(() -> { in addUceRegistrationOverride() local 255 Future<RcsContactUceCapability> future = mExecutorService.submit(() -> { in removeUceRegistrationOverride() local 276 Future<RcsContactUceCapability> future = mExecutorService.submit(() -> { in clearUceRegistrationOverride() local 297 Future<RcsContactUceCapability> future = mExecutorService.submit(() -> { in getLatestRcsContactUceCapability() local 319 Future<String> future = mExecutorService.submit(() -> { in getLastPidfXml() local 341 Future<Boolean> future = mExecutorService.submit(() -> { in removeUceRequestDisallowedStatus() local 368 Future<Boolean> future = mExecutorService.submit(() -> { in setCapabilitiesRequestTimeout() local [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserManagerUnitTest.java | 247 AsyncFuture<UserSwitchResult> future = mMgr.switchUser(11); in testSwitchUser_success() local 260 AsyncFuture<UserSwitchResult> future = mMgr.switchUser(11); in testSwitchUser_remoteException() local 272 AsyncFuture<UserSwitchResult> future = mMgr.switchUser(11); in testSwitchUser_runtimeException() local 284 AsyncFuture<UserSwitchResult> future = mMgr.logoutUser(); in testLogoutUser_success() local 297 AsyncFuture<UserSwitchResult> future = mMgr.logoutUser(); in testLogoutUser_remoteException() local 309 AsyncFuture<UserSwitchResult> future = mMgr.logoutUser(); in testLogoutUser_runtimeException() local 364 AsyncFuture<UserCreationResult> future = mMgr.createUser("dude", 42); in testCreateUser_success() local 382 AsyncFuture<UserCreationResult> future = mMgr.createUser("dude", 42); in testCreateUser_remoteException() local 397 AsyncFuture<UserCreationResult> future = mMgr.createUser("dude", 42); in testCreateUser_runtimeException() local 412 AsyncFuture<UserCreationResult> future = mMgr.createGuest("dudeGuest"); in testCreateGuest_success() local [all …]
|
D | ExperimentalCarUserManagerUnitTest.java | 76 AndroidFuture<UserCreationResult> future = mManager.createDriver(name, true); in testCreateDriver_Success_Admin() local 90 AndroidFuture<UserCreationResult> future = mManager.createDriver(name, false); in testCreateDriver_Success_NonAdmin() local 102 AndroidFuture<UserCreationResult> future = mManager.createDriver("test driver", false); in testCreateDriver_Error() local 126 AndroidFuture<UserSwitchResult> future = mManager.switchDriver(10); in testSwitchDriver_Success() local 134 AndroidFuture<UserSwitchResult> future = mManager.switchDriver(20); in testSwitchDriver_Error() local 197 AndroidFuture<UserCreationResult> future = new AndroidFuture<>(); in expectCreateDriverSucceed() local 220 AndroidFuture<UserSwitchResult> future = (AndroidFuture<UserSwitchResult>) invocation in expectSwitchDriverSucceed() local 248 private UserCreationResult getCreateDriverResult(AndroidFuture<UserCreationResult> future) { in getCreateDriverResult() 252 private UserSwitchResult getSwitchDriverResult(AndroidFuture<UserSwitchResult> future) { in getSwitchDriverResult()
|
D | ExperimentalCarUserServiceTest.java | 97 AndroidFuture<UserCreationResult> future = in testCreateAdminDriver_IfCurrentUserIsAdminUser() local 107 AndroidFuture<UserCreationResult> future = in testCreateAdminDriver_IfCurrentUserIsNotSystemUser() local 120 AndroidFuture<UserCreationResult> future = in testCreateNonAdminDriver() local 314 private UserCreationResult getCreateDriverResult(AndroidFuture<UserCreationResult> future) { in getCreateDriverResult()
|
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/common/bluetooth/util/ |
D | BluetoothOperationExecutorTest.java | 142 Future<String> future = mBluetoothOperationExecutor.schedule(mMockStringOperation); in testNotifySuccessWithResult() local 153 Future<String> future = mBluetoothOperationExecutor.schedule(mMockStringOperation); in testNotifySuccessTwice() local 167 Future<String> future = mBluetoothOperationExecutor.schedule(mMockStringOperation); in testNotifySuccessWithNullResult() local 177 Future<Void> future = mBluetoothOperationExecutor.schedule(mMockVoidOperation); in testNotifySuccess() local 187 Future<Void> future = mBluetoothOperationExecutor.schedule(mMockVoidOperation); in testNotifyCompletionSuccess() local 198 Future<Void> future = mBluetoothOperationExecutor.schedule(mMockVoidOperation); in testNotifyCompletionFailure() local 214 Future<Void> future = mBluetoothOperationExecutor.schedule(mMockVoidOperation); in testNotifyFailure() local
|
/packages/apps/Dialer/java/com/android/dialer/metrics/ |
D | FutureTimer.java | 75 public <T> void applyTiming(ListenableFuture<T> future, String eventName) { in applyTiming() 84 ListenableFuture<T> future, String eventName, @LogCatMode int logCatMode) { in applyTiming() 95 ListenableFuture<T> future, Function<T, String> eventNameFromResultFunction) { in applyTiming() 100 ListenableFuture<T> future, in applyTiming()
|
/packages/services/Mms/tests/robotests/src/com/android/mms/service/ |
D | MmsNetworkManagerTest.java | 106 final CompletableFuture<String> future = in testAvailableNetwork_newNetworkIsSuspend() local 165 final CompletableFuture<String> future = in testAvailableNetwork_networkUnavailable() local 186 final CompletableFuture<String> future = in testAvailableNetwork_newNetworkSuspendedEventuallyReleased() local 208 final CompletableFuture<String> future = in acquireAvailableNetworkAndGetCallback() local 221 final CompletableFuture<String> future = new CompletableFuture(); in acquireNetwork() local
|
/packages/modules/Bluetooth/system/osi/src/ |
D | future.cc | 63 void future_ready(future_t* future, void* value) { in future_ready() 72 void* future_await(future_t* future) { in future_await() 83 static void future_free(future_t* future) { in future_free()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/util/ |
D | ConcurrentUtilsTest.java | 35 Future<Boolean> future = service.submit(() -> { in testWaitForFutureNoInterruptNormal() local 46 Future<Boolean> future = service.submit(() -> { in testWaitForFutureNoInterruptInterrupted() local 60 Future<Boolean> future = service.submit(() -> { in testWaitForFutureNoInterruptRuntimeException() local
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | acl_manager_unittest.cc | 255 auto future = promise.get_future(); in IncomingAclData() local 409 auto future = promise.get_future(); in sync_client_handler() local 436 auto future = test_hci_layer_->GetOutgoingCommandFuture(); in SetUp() local 461 auto future = promise.get_future(); in SendAclData() local 493 auto future = promise.get_future(); in TearDown() local 499 auto future = promise.get_future(); in TearDown() local 698 auto future = promise.get_future(); in sync_client_handler() local 767 auto future = promise.get_future(); in TEST_F() local 790 auto future = test_hci_layer_->GetOutgoingCommandFuture(); in TEST_F() local 803 auto future = test_hci_layer_->GetOutgoingCommandFuture(); in TEST_F() local [all …]
|
/packages/services/Car/car-test-lib/src/android/car/testapi/ |
D | CarTestingHelper.java | 38 public static <T> T getResult(@NonNull AsyncFuture<T> future) in getResult() 47 public static <T> T getResult(@NonNull AsyncFuture<T> future, long timeoutMs) { in getResult()
|
/packages/services/Car/car-lib/src/android/car/admin/ |
D | CarDevicePolicyManager.java | 159 AndroidFuture<UserRemovalResult> future = new AndroidFuture<UserRemovalResult>(); in removeUser() local 203 AndroidFuture<UserCreationResult> future = new AndroidFuture<UserCreationResult>(); in createUser() local 243 AndroidFuture<UserStartResult> future = new AndroidFuture<>(); in startUserInBackground() local 283 AndroidFuture<UserStopResult> future = new AndroidFuture<>(); in stopUser() local
|
/packages/apps/Contacts/src/com/android/contacts/util/concurrent/ |
D | FuturesUtil.java | 26 public static <V> ListenableFuture<V> withTimeout(final ListenableFuture<V> future, long time, in withTimeout() 39 public static <V> ListenableFuture<V> withTimeout(final ListenableFuture<V> future, long time, in withTimeout()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/admin/ |
D | CarDevicePolicyManagerUnitTest.java | 190 AndroidFuture<UserRemovalResult> future = in mockRemoveUser() local 200 AndroidFuture<UserCreationResult> future = in mockCreateUser() local 210 AndroidFuture<UserStartResult> future = in mockStartUserInBackground() local 220 AndroidFuture<UserStopResult> future = in mockStopUser() local
|
/packages/modules/Bluetooth/system/osi/test/ |
D | future_test.cc | 40 future_t* future = future_new(); in TEST_F() local 53 future_t* future = future_new_immediate((void*)pass_back_data1); in TEST_F() local
|
/packages/modules/Permission/service/java/com/android/role/ |
D | RoleShellCommand.java | 117 CallbackFuture future = new CallbackFuture(); in runAddRoleHolder() local 129 CallbackFuture future = new CallbackFuture(); in runRemoveRoleHolder() local 140 CallbackFuture future = new CallbackFuture(); in runClearRoleHolders() local
|
/packages/providers/MediaProvider/apex/framework/java/android/provider/ |
D | AsyncContentProvider.java | 53 CompletableFuture<ParcelFileDescriptor> future = new CompletableFuture<>(); in openMedia() local 59 private void setResult(Bundle result, CompletableFuture<ParcelFileDescriptor> future) { in setResult()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/metadatasynchronizer/ |
D | MetadataPoolImpl.java | 71 ListenableFuture<TotalCaptureResultProxy> future = getOrCreateFuture(timestamp); in removeMetadataFuture() local 92 SettableFuture<TotalCaptureResultProxy> future = getOrCreateFuture(timestamp); in update() local
|
/packages/modules/Bluetooth/system/gd/ |
D | stack_manager.cc | 44 auto future = promise.get_future(); in StartUp() local 69 auto future = promise.get_future(); in ShutDown() local
|
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/ |
D | SipDelegateControllerTest.java | 100 CompletableFuture<Boolean> future = controller.create(request.getFeatureTags(), in testCreateDelegate() local 126 CompletableFuture<Boolean> future = controller.create(request.getFeatureTags(), in testCreateDeniedFeatures() local 155 CompletableFuture<Boolean> future = controller.create(request.getFeatureTags(), in testCreateDelegateTransportDied() local 262 CompletableFuture<Boolean> future = controller.create(request.getFeatureTags(), in createSipDelegate() local
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | JobLimiter.java | 53 public synchronized void setFuture(Future<T> future) { in setFuture() 137 JobWrapper<T> future = new JobWrapper<T>(Utils.checkNotNull(job), listener); in submit() local 155 public synchronized void onFutureDone(Future future) { in onFutureDone()
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_osi_future.cc | 52 void* future_await(future_t* future) { in future_await() 68 void future_ready(future_t* future, void* value) { in future_ready()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarLocationServiceTest.java | 336 CompletablePowerStateChangeFutureImpl future = new CompletablePowerStateChangeFutureImpl(); in testStoresLocationUponShutdownPrepare() local 389 CompletablePowerStateChangeFutureImpl future = new CompletablePowerStateChangeFutureImpl(); in testDoesNotStoreNullLocation() local 433 CompletablePowerStateChangeFutureImpl future = new CompletablePowerStateChangeFutureImpl(); in testDeletesCacheFileUponSuspendExitWhileMoving() local 453 CompletablePowerStateChangeFutureImpl future = new CompletablePowerStateChangeFutureImpl(); in testRegistersForDrivingStateChangesUponSuspendExit() local
|