/packages/modules/AdServices/adservices/clients/java/android/adservices/clients/measurement/ |
D | MeasurementClient.java | 123 completer -> { in registerSourceForSPlus() 131 completer.set(null); in registerSourceForSPlus() 136 completer.setException(error); in registerSourceForSPlus() 148 completer -> { 156 completer.set(null); 161 completer.setException(error); 172 completer -> { 179 completer.set(null); 184 completer.setException(error); 195 completer -> { [all …]
|
/packages/modules/AdServices/adservices/clients/java/android/adservices/clients/adselection/ |
D | AdSelectionClient.java | 73 completer -> { in selectAds() 80 completer.set(result); in selectAds() 85 completer.setException(error); in selectAds() 100 completer -> { 107 completer.set(result); 112 completer.setException(error); 127 completer -> { 134 completer.set(null); 139 completer.setException(error); 150 completer -> { [all …]
|
D | TestAdSelectionClient.java | 67 completer -> { in overrideAdSelectionConfigRemoteInfo() 75 completer.set(null); in overrideAdSelectionConfigRemoteInfo() 80 completer.setException(error); in overrideAdSelectionConfigRemoteInfo() 99 completer -> { 107 completer.set(null); 112 completer.setException(error); 130 completer -> { 137 completer.set(null); 142 completer.setException(error); 161 completer -> { [all …]
|
/packages/modules/DeviceLock/tests/cts/src/com/android/cts/devicelock/ |
D | DeviceLockManagerTest.java | 86 completer -> { in getIsDeviceLockedFuture() 91 completer.set(locked); in getIsDeviceLockedFuture() 96 completer.setException(error); in getIsDeviceLockedFuture() 106 completer -> { 111 completer.set(null); 116 completer.setException(error); 126 completer -> { 131 completer.set(null); 136 completer.setException(error); 146 completer -> { [all …]
|
/packages/modules/AdServices/adservices/clients/java/android/adservices/clients/customaudience/ |
D | AdvertisingCustomAudienceClient.java | 77 completer -> { in joinCustomAudience() 88 completer.set(null); in joinCustomAudience() 93 completer.setException(error); in joinCustomAudience() 107 completer -> { in fetchAndJoinCustomAudience() 114 completer.set(null); in fetchAndJoinCustomAudience() 119 completer.setException(error); in fetchAndJoinCustomAudience() 133 completer -> { 140 completer.set(null); 145 completer.setException(error); 159 completer -> { [all …]
|
D | TestAdvertisingCustomAudienceClient.java | 63 completer -> { in overrideCustomAudienceRemoteInfo() 70 completer.set(null); in overrideCustomAudienceRemoteInfo() 75 completer.setException(error); in overrideCustomAudienceRemoteInfo() 92 completer -> { 99 completer.set(null); 104 completer.setException(error); 120 completer -> { 126 completer.set(null); 131 completer.setException(error);
|
/packages/modules/DeviceLock/tests/unittests/src/com/android/server/devicelock/ |
D | DeviceLockControllerConnectorStubTest.java | 218 completer -> { in lockDeviceAsync() 223 completer.set(null); in lockDeviceAsync() 228 completer.setException(error); in lockDeviceAsync() 238 completer -> { 243 completer.set(null); 248 completer.setException(error); 258 completer -> { 263 completer.set(null); 268 completer.setException(error); 278 completer -> { [all …]
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/process/ |
D | PluginProcessRunner.java | 156 completer -> { in loadPlugin() 162 completer.set( in loadPlugin() 167 completer.setException(e); in loadPlugin() 172 completer.setException(new OdpServiceException( in loadPlugin() 178 completer.setException(e); in loadPlugin() 188 completer -> { 193 completer.set(bundle); 196 completer.setException(new OdpServiceException( 202 completer.setException(e); 212 completer -> { [all …]
|
D | SharedIsolatedProcessRunner.java | 137 completer -> { 144 completer.set(result); 152 completer.setException( 158 completer.setException(
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/ |
D | AppOpsPolicyHandler.java | 48 return CallbackToFutureAdapter.getFuture(completer -> { in setDlcExemptFromActivityBgStartRestrictionState() 53 completer.set(true); in setDlcExemptFromActivityBgStartRestrictionState() 59 completer.set(false); in setDlcExemptFromActivityBgStartRestrictionState() 72 return CallbackToFutureAdapter.getFuture(completer -> { 77 completer.set(true); 85 completer.set(true); 99 : CallbackToFutureAdapter.getFuture(completer -> { 104 completer.set(true); 112 completer.set(true);
|
D | ControllerKeepAlivePolicyHandler.java | 45 completer -> { in getEnableControllerKeepAliveFuture() 51 completer.set(true); in getEnableControllerKeepAliveFuture() 59 completer.set(true); in getEnableControllerKeepAliveFuture() 69 completer -> { 74 completer.set(true); 82 completer.set(true);
|
D | KioskKeepAlivePolicyHandler.java | 51 completer -> { in getEnableKioskKeepAliveFuture() 57 completer.set(true); in getEnableKioskKeepAliveFuture() 64 completer.set(true); in getEnableKioskKeepAliveFuture() 82 completer -> { 87 completer.set(true); 94 completer.set(true);
|
D | RolePolicyHandler.java | 50 completer -> { in getAddFinancedDeviceLockKioskRoleFuture() 56 completer.set(true); in getAddFinancedDeviceLockKioskRoleFuture() 63 completer.set(false); in getAddFinancedDeviceLockKioskRoleFuture() 82 completer -> { 88 completer.set(true); 95 completer.set(false);
|
D | NotificationsPolicyHandler.java | 45 completer -> { in setPostNotificationsSystemFixedFuture() 52 completer.set(true); in setPostNotificationsSystemFixedFuture() 60 completer.set(true); in setPostNotificationsSystemFixedFuture()
|
D | FinalizationControllerImpl.java | 302 completer -> { 307 completer.set(null); 314 completer.setException(error);
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/ |
D | SuspendToFutureAdapter.kt | 38 CallbackToFutureAdapter.getFuture { completer -> in <lambda>() method 43 completer.set(block()) in <lambda>() 45 completer.setCancelled() in <lambda>() 47 completer.setException(e) in <lambda>() 51 completer.addCancellationListener(Runnable(scope::cancel), DirectExecutor.INSTANCE) in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | SatelliteRepository.kt | 60 return CallbackToFutureAdapter.getFuture { completer -> in <lambda>() method 65 completer.set(result) in <lambda>() 71 completer.set(false) in <lambda>() 95 return CallbackToFutureAdapter.getFuture { completer -> in <lambda>() method 101 completer.set(isSessionStarted) in <lambda>() 109 completer.set(false) in <lambda>()
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/examplestore/ |
D | ExampleStoreServiceProvider.java | 138 completer -> { in runExampleStoreStartQuery() 150 completer.set(iterator); in runExampleStoreStartQuery() 160 completer.setException( in runExampleStoreStartQuery() 167 completer.setException(e); in runExampleStoreStartQuery()
|
/packages/modules/AdServices/adservices/clients/java/android/adservices/clients/signals/ |
D | ProtectedSignalsClient.java | 68 completer -> { in updateSignals() 75 completer.set(null); in updateSignals() 80 completer.setException(error); in updateSignals()
|
/packages/modules/AdServices/adservices/clients/java/android/adservices/clients/topics/ |
D | AdvertisingTopicsClient.java | 84 completer -> { in getTopics() 100 completer.set(result); in getTopics() 105 completer.setException(error); in getTopics()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | AdIdFetcher.java | 154 return completer -> { in convertToCallback() 166 completer.set(isLatEnabledResult || isAdIdZeroedOut); in convertToCallback() 174 completer.setException( in convertToCallback()
|
/packages/modules/AdServices/adservices/tests/cts/ui/gaux/legacy/src/com.android.adservices.tests.ui.gaux/ |
D | ReconsentNotificationTriggerTest.java | 204 completer -> { in getAdservicesStatus() 210 completer.set(result); in getAdservicesStatus() 215 completer.setException(error); in getAdservicesStatus()
|
/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/internal/ |
D | OpAsyncCallbackRunner.java | 103 completer -> { in execOperation() 104 mOpCompleter = completer; in execOperation()
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/user/ |
D | UserPrivacyStatus.java | 284 completer -> { in getAdServicesResponse() 291 completer.set(result); in getAdServicesResponse() 296 completer.setException(error); in getAdServicesResponse()
|
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/msrp/ |
D | MsrpSession.java | 143 completer -> { in send() 144 final MsrpTransaction transaction = new MsrpTransaction(completer); in send() 152 completer.setException(e); in send()
|