/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | DatabaseClearerTest.java | 88 ListenableFuture<Void> future = in testDeleteProtectedAudienceAppSignalsAndEncryptionConfigData_success() local 112 ListenableFuture<Void> future = in testDeleteProtectedAudienceAppSignalsAndEncryptionConfigData_customAudienceDaoFails() local 129 ListenableFuture<Void> future = in testDeleteProtectedAudienceAppSignalsAndEncryptionConfigData_frequencyCapDaoFails() local 145 ListenableFuture<Void> future = in testDeleteProtectedAudienceAppSignalsAndEncryptionConfigData_appInstallDaoFails() local 162 ListenableFuture<Void> future = in testDeleteProtectedAudienceAppSignalsAndEncryptionConfigData_protectedSignalsDaoFails() local 178 ListenableFuture<Void> future = in testDeleteProtectedAudienceAppSignalsAndEncryptionConfigData_encryptionDaoFails() local 206 ListenableFuture<Void> future = in testDeleteProtectedAudienceAppSignalsAndEncryptionConfigData_allDaosFail() local 220 ListenableFuture<Void> future = mDatabaseClearer.deleteMeasurementData(); in testDeleteMeasurementData_success() local 232 ListenableFuture<Void> future = mDatabaseClearer.deleteMeasurementData(); in testDeleteMeasurementData_fail() local
|
/packages/modules/Bluetooth/system/gd/hci/acl_manager/ |
D | acl_scheduler_test.cc | 108 auto future = promise.get_future(); in TEST_F() local 149 auto future = promise.get_future(); in TEST_F() local 165 auto future = promise.get_future(); in TEST_F() local 182 auto future = promise.get_future(); in TEST_F() local 198 auto future = promise.get_future(); in TEST_F() local 217 auto future = promise.get_future(); in TEST_F() local 238 auto future = promise.get_future(); in TEST_F() local 265 auto future = promise.get_future(); in TEST_F() local 296 auto future = promise.get_future(); in TEST_F() local 311 auto future = promise.get_future(); in TEST_F() local [all …]
|
/packages/services/Telephony/src/com/android/services/telephony/rcs/ |
D | UceControllerManager.java | 166 Future future = mExecutorService.submit(() -> { in requestCapabilities() local 191 Future future = mExecutorService.submit(() -> { in requestNetworkAvailability() local 215 Future<Integer> future = mExecutorService.submit(() -> { in getUcePublishState() local 237 Future<RcsContactUceCapability> future = mExecutorService.submit(() -> { in addUceRegistrationOverride() local 259 Future<RcsContactUceCapability> future = mExecutorService.submit(() -> { in removeUceRegistrationOverride() local 280 Future<RcsContactUceCapability> future = mExecutorService.submit(() -> { in clearUceRegistrationOverride() local 301 Future<RcsContactUceCapability> future = mExecutorService.submit(() -> { in getLatestRcsContactUceCapability() local 323 Future<String> future = mExecutorService.submit(() -> { in getLastPidfXml() local 345 Future<Boolean> future = mExecutorService.submit(() -> { in removeUceRequestDisallowedStatus() local 372 Future<Boolean> future = mExecutorService.submit(() -> { in setCapabilitiesRequestTimeout() local [all …]
|
/packages/modules/Connectivity/thread/tests/utils/src/android/net/thread/utils/ |
D | ThreadNetworkControllerWrapper.java | 93 CompletableFuture<Integer> future = new CompletableFuture<>(); in getEnabledState() local 122 CompletableFuture<Integer> future = new CompletableFuture<>(); in getDeviceRole() local 138 CompletableFuture<Void> future = new CompletableFuture<>(); in setEnabledAndWait() local 150 CompletableFuture<Void> future = new CompletableFuture<>(); in joinAndWait() local 161 CompletableFuture<Void> future = new CompletableFuture<>(); in leaveAndWait() local 177 CompletableFuture<Integer> future = new CompletableFuture<>(); in waitForRoleAnyOf() local 199 CompletableFuture<Void> future = new CompletableFuture<>(); in setTestNetworkAsUpstreamAndWait() local 211 CompletableFuture<ThreadConfiguration> future = new CompletableFuture<>(); in getConfiguration() local 224 CompletableFuture<Void> future = new CompletableFuture<>(); in setConfigurationAndWait() local 244 CompletableFuture<V> future) { in newOutcomeReceiver()
|
/packages/modules/Permission/tests/cts/rolemultiuser/src/android/app/rolemultiuser/cts/ |
D | RoleManagerMultiUserTest.kt | 398 val future = CallbackFuture() in <lambda>() constant 438 val future = CallbackFuture() in <lambda>() constant 469 val future = CallbackFuture() in <lambda>() constant 509 val future = CallbackFuture() in <lambda>() constant 543 val future = CallbackFuture() in <lambda>() constant 576 val future = CallbackFuture() in <lambda>() constant 605 val future = CallbackFuture() in <lambda>() constant 647 val future = CallbackFuture() in <lambda>() constant 1202 val future = CallbackFuture() in <lambda>() constant 1246 val future = CallbackFuture() in <lambda>() constant [all …]
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/ |
D | DiscoveryExecutorTest.kt | 56 val future = CompletableFuture<Boolean>() in testCheckAndRunOnHandlerThread() constant 78 val future = CompletableFuture<Boolean>() in verifyExecute() constant 112 val future = CompletableFuture<Boolean>() in testExecuteDelayed() constant 142 val future = CompletableFuture<Boolean>() in testExecuteDelayed_RealtimeScheduler() constant
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | remote_name_request_test.cc | 148 auto future = promise.get_future(); in TEST_F() local 168 auto future = promise.get_future(); in TEST_F() local 187 auto future = promise.get_future(); in TEST_F() local 216 auto future = promise.get_future(); in TEST_F() local 256 auto future = promise.get_future(); in TEST_F() local 289 auto future = promise.get_future(); in TEST_F() local 319 auto future = promise.get_future(); in TEST_F() local 346 auto future = promise.get_future(); in TEST_F() local 372 auto future = promise.get_future(); in TEST_F() local 444 auto future = promise.get_future(); in TEST_F() local [all …]
|
D | acl_manager_unittest.cc | 168 auto future = promise.get_future(); in sync_client_handler() local 212 auto future = promise.get_future(); in SendAclData() local 241 auto future = promise.get_future(); in TearDown() local 247 auto future = promise.get_future(); in TearDown() local 420 auto future = promise.get_future(); in sync_client_handler() local 472 auto future = promise.get_future(); in TEST_F() local 515 auto future = GetConnectionFuture(); in TEST_F() local 529 auto future = GetConnectionFuture(); in TEST_F() local 570 auto future = GetConnectionFuture(); in TEST_F() local 584 auto future = GetConnectionFuture(); in TEST_F() local
|
/packages/modules/Connectivity/remoteauth/tests/unit/src/com/android/server/remoteauth/connectivity/ |
D | CdmConnectivityManagerTest.java | 79 SettableFuture<Boolean> future = SettableFuture.create(); in testStartDiscovery_fetchesNoAssociations() local 105 SettableFuture<Boolean> future = SettableFuture.create(); in testStartDiscovery_DoesNotReturnNonWatchAssociations() local 135 SettableFuture<Boolean> future = SettableFuture.create(); in testStartDiscovery_returnsOneWatchAssociation() local 163 SettableFuture<Boolean> future = SettableFuture.create(); in testStartDiscovery_returnsMultipleWatchAssociations() local 234 SettableFuture<Boolean> future = SettableFuture.create(); in testStartDiscovery_returnsExpectedDiscoveredDevice() local 288 SettableFuture future = SettableFuture.create(); in testStopDiscovery_DoesNotRunCallback() local
|
/packages/services/Car/tests/CarLibUnitTest/src/android/car/user/ |
D | CarUserManagerUnitTest.java | 298 AsyncFuture<UserSwitchResult> future = mMgr.switchUser(11); in testSwitchUserId_success() local 325 AsyncFuture<UserSwitchResult> future = mMgr.switchUser(11); in testSwitchUserId_remoteException() local 350 AsyncFuture<UserSwitchResult> future = mMgr.switchUser(11); in testSwitchUserId_runtimeException() local 362 AsyncFuture<UserSwitchResult> future = mMgr.logoutUser(); in testLogoutUser_success() local 375 AsyncFuture<UserSwitchResult> future = mMgr.logoutUser(); in testLogoutUser_remoteException() local 387 AsyncFuture<UserSwitchResult> future = mMgr.logoutUser(); in testLogoutUser_runtimeException() local 502 AsyncFuture<UserCreationResult> future = mMgr.createUser("dude", 42); in testCreateUserId_success() local 537 AsyncFuture<UserCreationResult> future = mMgr.createUser("dude", 42); in testCreateUserId_remoteException() local 569 AsyncFuture<UserCreationResult> future = mMgr.createUser("dude", 42); in testCreateUserId_runtimeException() local 584 AsyncFuture<UserCreationResult> future = mMgr.createGuest("dudeGuest"); in testCreateGuest_success() local [all …]
|
/packages/modules/Bluetooth/system/gd/os/linux_generic/ |
D | alarm_timerfd_unittest.cc | 64 auto future = promise->get_future(); in TEST_P() local 71 auto future = promise->get_future(); in TEST_P() local 79 auto future = promise.get_future(); in TEST_P() local 93 auto future = promise->get_future(); in TEST_P() local 101 auto future = promise->get_future(); in TEST_P() local 124 auto future = promise->get_future(); in TEST_P() local
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/access/ |
D | PackageDenyAccessResolverTest.java | 49 ListenableFuture<Boolean> future = Futures.immediateFuture(false); in testEnablePackageDeny_Allowed() local 64 ListenableFuture<Boolean> future = Futures.immediateFuture(true); in testEnablePackageDeny_Denied() local 79 ListenableFuture<Boolean> future = in testEnablePackageDeny_Exception() local 111 ListenableFuture<Boolean> future = in testTimeout() 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/modules/AdServices/adservices/tests/unittest/service-core/appsetid/src/com/android/adservices/service/appsetid/ |
D | AppSetIdWorkerTest.java | 62 CompletableFuture<GetAppSetIdResult> future = new CompletableFuture<>(); in testGetAppSetIdOnResult() local 95 CompletableFuture<Integer> future = new CompletableFuture<>(); in testGetAppSetIdOnError() local 124 CompletableFuture<GetAppSetIdResult> future = new CompletableFuture<>(); in testGetAppSetIdOnUnauthorizedError() local 157 CompletableFuture<Integer> future = new CompletableFuture<>(); in testGetAppSetIdOnTaskCancelledError() local
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/adselection/debug/ |
D | DebugReportSenderStrategyHttpImplTest.java | 65 ListenableFuture<Void> future = mDebugReportSender.flush(); in testSend_withSingleReport_allRequestsAreSuccessful() local 84 ListenableFuture<Void> future = mDebugReportSender.flush(); in testSend_withMultipleReports_allRequestsAreSuccessful() local 105 ListenableFuture<?> future = mDebugReportSender.flush(); in testSend_withFailedRequest_otherRequestsAreSuccessful() local
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | PlatformPermissionGroupMappingTest.kt | 35 val future = CompletableFuture<String>() in platformPermissionHasPermissionGroup() constant 48 val future = CompletableFuture<List<String>>() in platformPermissionGroupHasPermission() constant
|
/packages/services/Mms/tests/robotests/src/com/android/mms/service/ |
D | MmsNetworkManagerTest.java | 111 final CompletableFuture<String> future = in testAvailableNetwork_newNetworkIsSuspend() local 170 final CompletableFuture<String> future = in testAvailableNetwork_networkUnavailable() local 191 final CompletableFuture<String> future = in testAvailableNetwork_newNetworkSuspendedEventuallyReleased() local 232 final CompletableFuture<String> future = in acquireAvailableNetworkAndGetCallback() local 245 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() 85 static void future_free(future_t* future) { in future_free()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | TransactionalCallSequencingAdapterTest.java | 99 CompletableFuture<Boolean> future = new CompletableFuture<>(); in testOnSetDisconnected() local 126 private void setupAddTransactionMock(CompletableFuture<Boolean> future) { in setupAddTransactionMock() 139 private void completeAddTransactionSuccessfully(CompletableFuture<Boolean> future) { in completeAddTransactionSuccessfully()
|
D | CallSequencingTests.java | 523 CompletableFuture<Boolean> future = mController.makeRoomForOutgoingCall(true, mNewCall); in testMakeRoomForOutgoingEmergencyCall_SamePkg() local 539 CompletableFuture<Boolean> future = mController.makeRoomForOutgoingCall(true, mNewCall); in testMakeRoomForOutgoingEmergencyCall_CanHold() local 576 CompletableFuture<Boolean> future = mController.makeRoomForOutgoingCall(false, mNewCall); in testMakeRoomForOutgoingCall() local 590 CompletableFuture<Boolean> future = mController.makeRoomForOutgoingCall(false, mNewCall); in testMakeRoomForOutgoingCallFail_MaxCalls() local 602 CompletableFuture<Boolean> future = mController.makeRoomForOutgoingCall(false, mNewCall); in testMakeRoomForOutgoingCallFail_CannotHold() local 613 CompletableFuture<Boolean> future = mController.makeRoomForOutgoingCall(false, mNewCall); in testMakeRoomForOutgoingCallFail_RingingCall() local 758 private boolean waitForFutureResult(CompletableFuture<Boolean> future, boolean defaultValue) { in waitForFutureResult()
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/util/ |
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/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/devapi/ |
D | DevSessionDataStoreNoOpTest.java | 35 ListenableFuture<DevSession> future = mDataStore.set(DevSessionFixture.IN_DEV); in testSet_returnsFutureWithInProdSession() local 46 ListenableFuture<DevSession> future = mDataStore.get(); in testGet_returnsFutureWithInProdSession() local
|
/packages/modules/Bluetooth/system/test/headless/ |
D | bt_stack_info.cc | 32 auto future = promise.get_future(); in BtStackInfo() local 40 auto future = promise.get_future(); in BtStackInfo() local
|
/packages/apps/Settings/src/com/android/settings/notification/modes/ |
D | FutureUtil.java | 35 static <V> void whenDone(ListenableFuture<V> future, Consumer<V> consumer, Executor executor) { in whenDone() 39 static <V> void whenDone(ListenableFuture<V> future, Consumer<V> consumer, Executor executor, in whenDone()
|
/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()
|