/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/ |
D | SystemDeviceLockManagerImpl.java | 80 new RemoteCallback(result -> executor.execute(() -> { in addFinancedDeviceKioskRole() 85 executor.execute(() -> callback.onError(new RuntimeException(e))); in addFinancedDeviceKioskRole() 98 new RemoteCallback(result -> executor.execute(() -> { in removeFinancedDeviceKioskRole() 103 executor.execute(() -> callback.onError(new RuntimeException(e))); in removeFinancedDeviceKioskRole() 116 new RemoteCallback(result -> executor.execute(() -> { in setDlcExemptFromActivityBgStartRestrictionState() 122 executor.execute(() -> callback.onError(new RuntimeException(e))); in setDlcExemptFromActivityBgStartRestrictionState() 135 new RemoteCallback(result -> executor.execute(() -> { in setDlcAllowedToSendUndismissibleNotifications() 141 executor.execute(() -> callback.onError(new RuntimeException(e))); in setDlcAllowedToSendUndismissibleNotifications() 155 new RemoteCallback(result -> executor.execute(() -> { in setKioskAppExemptFromRestrictionsState() 159 executor.execute(() -> callback.onError(new RuntimeException(e))); in setKioskAppExemptFromRestrictionsState() [all …]
|
/packages/modules/ImsMedia/framework/src/android/telephony/imsmedia/ |
D | AudioSessionCallback.java | 64 mExecutor.execute(() in onOpenSessionSuccess() 77 mExecutor.execute(() -> mLocalCallback.onOpenSessionFailure(error)); in onOpenSessionFailure() 89 mExecutor.execute(() -> mLocalCallback.onSessionClosed()); in onSessionClosed() 102 mExecutor.execute(() -> mLocalCallback.onModifySessionResponse(config, result)); in onModifySessionResponse() 115 mExecutor.execute(() -> mLocalCallback.onAddConfigResponse(config, result)); in onAddConfigResponse() 128 mExecutor.execute(() -> mLocalCallback.onConfirmConfigResponse(config, result)); in onConfirmConfigResponse() 140 mExecutor.execute(() -> mLocalCallback.onFirstMediaPacketReceived(config)); in onFirstMediaPacketReceived() 152 mExecutor.execute(() -> mLocalCallback.onHeaderExtensionReceived(extensions)); in onHeaderExtensionReceived() 164 mExecutor.execute(() -> mLocalCallback.notifyMediaQualityStatus(status)); in notifyMediaQualityStatus() 176 mExecutor.execute(() -> mLocalCallback.onCallQualityChanged(callQuality)); in onCallQualityChanged() [all …]
|
D | VideoSessionCallback.java | 61 mExecutor.execute(() in onOpenSessionSuccess() 74 mExecutor.execute(() -> mLocalCallback.onOpenSessionFailure(error)); in onOpenSessionFailure() 86 mExecutor.execute(() -> mLocalCallback.onSessionClosed()); in onSessionClosed() 99 mExecutor.execute(() -> mLocalCallback.onModifySessionResponse(config, result)); in onModifySessionResponse() 111 mExecutor.execute(() -> mLocalCallback.onFirstMediaPacketReceived(config)); in onFirstMediaPacketReceived() 123 mExecutor.execute(() -> mLocalCallback.onPeerDimensionChanged(width, height)); in onPeerDimensionChanged() 135 mExecutor.execute(() -> mLocalCallback.onHeaderExtensionReceived(extensions)); in onHeaderExtensionReceived() 147 mExecutor.execute(() -> mLocalCallback.notifyMediaInactivity(packetType)); in notifyMediaInactivity() 159 mExecutor.execute(() -> mLocalCallback.notifyBitrate(bitrate)); in notifyBitrate() 171 mExecutor.execute(() -> mLocalCallback.notifyVideoDataUsage(bytes)); in notifyVideoDataUsage()
|
D | TextSessionCallback.java | 59 mExecutor.execute(() in onOpenSessionSuccess() 72 mExecutor.execute(() -> mLocalCallback.onOpenSessionFailure(error)); in onOpenSessionFailure() 84 mExecutor.execute(() -> mLocalCallback.onSessionClosed()); in onSessionClosed() 97 mExecutor.execute(() -> mLocalCallback.onModifySessionResponse(config, result)); in onModifySessionResponse() 109 mExecutor.execute(() -> mLocalCallback.notifyMediaInactivity(packetType)); in notifyMediaInactivity() 121 mExecutor.execute(() -> mLocalCallback.onRttReceived(text)); in onRttReceived()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/ |
D | MediaDb.java | 88 Executors.uiThreadExecutor().execute(() -> addAudios(audios)); in MediaDb() 93 Executors.uiThreadExecutor().execute(() -> addArtists(artists)); in MediaDb() 98 Executors.uiThreadExecutor().execute(() -> addAlbums(albums)); in MediaDb() 103 Executors.uiThreadExecutor().execute(() -> addGenres(genres)); in MediaDb() 108 Executors.uiThreadExecutor().execute(() -> addPlaylists(playlists)); in MediaDb() 115 Executors.uiThreadExecutor().execute(() -> addMovies(movies)); in MediaDb() 120 Executors.uiThreadExecutor().execute(() -> addSeries(series)); in MediaDb() 125 Executors.uiThreadExecutor().execute(() -> addEpisodes(episodes)); in MediaDb() 130 Executors.uiThreadExecutor().execute(() -> addOthers(others)); in MediaDb() 214 mExecutor.execute(mAudioStore::load); in load() [all …]
|
/packages/modules/DeviceLock/framework/java/android/devicelock/ |
D | DeviceLockManager.java | 107 executor.execute(() -> callback.onResult(null)); in lockDevice() 116 executor.execute(() -> callback.onError(new RuntimeException(e))); in lockDevice() 137 executor.execute(() -> callback.onResult(null)); in unlockDevice() 146 executor.execute(() -> callback.onError(new RuntimeException(e))); in unlockDevice() 167 executor.execute(() -> callback.onResult(locked)); in isDeviceLocked() 172 executor.execute(() -> in isDeviceLocked() 177 executor.execute(() -> callback.onError(new RuntimeException(e))); in isDeviceLocked() 199 executor.execute(() -> { in getDeviceId() 203 executor.execute(() -> { in getDeviceId() 216 executor.execute(() -> callback.onError(new RuntimeException(e))); in getDeviceId() [all …]
|
/packages/modules/OnDevicePersonalization/tests/cts/endtoend/src/com/android/ondevicepersonalization/cts/e2e/ |
D | CtsOdpManagerTests.java | 128 manager.execute( in testExecuteThrowsIfComponentNameMissing() 144 manager.execute( in testExecuteThrowsIfParamsMissing() 160 manager.execute( in testExecuteThrowsIfExecutorMissing() 176 manager.execute( in testExecuteThrowsIfReceiverMissing() 192 manager.execute( in testExecuteThrowsIfPackageNameMissing() 208 manager.execute( in testExecuteThrowsIfClassNameMissing() 221 manager.execute( in testExecuteReturnsIllegalStateIfServiceNotEnrolled() 236 manager.execute( in testExecuteReturnsNameNotFoundIfServiceNotInstalled() 252 manager.execute( in testExecuteReturnsClassNotFoundIfServiceClassNotFound() 267 manager.execute( in testExecuteNoOp() [all …]
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/adselection/ |
D | TestAdSelectionManager.java | 96 executor.execute(() -> receiver.onResult(new Object())); in overrideAdSelectionConfigRemoteInfo() 101 executor.execute( in overrideAdSelectionConfigRemoteInfo() 152 executor.execute(() -> receiver.onResult(new Object())); in removeAdSelectionConfigRemoteInfoOverride() 157 executor.execute( in removeAdSelectionConfigRemoteInfoOverride() 203 executor.execute(() -> receiver.onResult(new Object())); in resetAllAdSelectionConfigRemoteOverrides() 208 executor.execute( in resetAllAdSelectionConfigRemoteOverrides() 262 executor.execute(() -> receiver.onResult(new Object())); in overrideAdSelectionFromOutcomesConfigRemoteInfo() 267 executor.execute( in overrideAdSelectionFromOutcomesConfigRemoteInfo() 318 executor.execute(() -> receiver.onResult(new Object())); in removeAdSelectionFromOutcomesConfigRemoteInfoOverride() 323 executor.execute( in removeAdSelectionFromOutcomesConfigRemoteInfoOverride() [all …]
|
D | AdSelectionManager.java | 248 executor.execute( in getAdSelectionData() 271 executor.execute( in getAdSelectionData() 347 executor.execute( in persistAdSelectionResult() 360 executor.execute( in persistAdSelectionResult() 451 executor.execute( in selectAds() 464 executor.execute( in selectAds() 561 executor.execute( in selectAds() 579 executor.execute( in selectAds() 699 executor.execute(() -> receiver.onResult(new Object())); in reportImpression() 704 executor.execute( in reportImpression() [all …]
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothLeBroadcastAssistantCallback.java | 109 executor.execute(() -> cb.onSearchStarted(reason)); in onSearchStarted() 124 executor.execute(() -> cb.onSearchStartFailed(reason)); in onSearchStartFailed() 139 executor.execute(() -> cb.onSearchStopped(reason)); in onSearchStopped() 154 executor.execute(() -> cb.onSearchStopFailed(reason)); in onSearchStopFailed() 169 executor.execute(() -> cb.onSourceFound(source)); in onSourceFound() 184 executor.execute(() -> cb.onSourceAdded(sink, sourceId, reason)); in onSourceAdded() 200 executor.execute(() -> cb.onSourceAddFailed(sink, source, reason)); in onSourceAddFailed() 215 executor.execute(() -> cb.onSourceModified(sink, sourceId, reason)); in onSourceModified() 230 executor.execute(() -> cb.onSourceModifyFailed(sink, sourceId, reason)); in onSourceModifyFailed() 245 executor.execute(() -> cb.onSourceRemoved(sink, sourceId, reason)); in onSourceRemoved() [all …]
|
/packages/modules/NeuralNetworks/common/include/ |
D | OperationResolver.h | 46 std::function<bool(IOperationExecutionContext*)> execute; member 59 std::function<bool(IOperationExecutionContext*)> execute, Flag flags) in OperationRegistration() 64 execute(std::move(execute)), in OperationRegistration() 143 #define NN_REGISTER_OPERATION(identifier, operationName, validate, prepare, execute, ...) \ argument 146 validate, prepare, execute, {__VA_ARGS__}); \ 162 #define NN_REGISTER_OPERATION_DEFAULT_VALIDATION(identifier, prepare, execute, ...) \ argument 165 prepare, execute, __VA_ARGS__);
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/measurement/ |
D | MeasurementCompatibleManager.java | 158 executor.execute(() -> callback.onResult(new Object())); in register() 165 executor.execute( in register() 176 executor.execute(() -> callback.onError(new IllegalStateException(e))); in register() 259 executor.execute(() -> callback.onResult(new Object())); in registerSource() 266 executor.execute( in registerSource() 293 executor.execute(() -> callback.onError(new IllegalStateException(e))); in registerSource() 334 executor.execute(() -> callback.onResult(new Object())); in registerWebSource() 341 executor.execute( in registerWebSource() 383 executor.execute(() -> callback.onError(new IllegalStateException(e))); in registerWebSourceWrapper() 422 executor.execute(() -> callback.onResult(new Object())); in registerWebTrigger() [all …]
|
/packages/apps/Camera2/src/com/android/camera/session/ |
D | CaptureSessionManagerImpl.java | 70 mMainHandler.execute(new Runnable() { in notifyTaskQueued() 88 mMainHandler.execute(new Runnable() { in notifyTaskDone() 108 mMainHandler.execute(new Runnable() { in notifyTaskFailed() 123 mMainHandler.execute(new Runnable() { in notifyTaskCanceled() 142 mMainHandler.execute(new Runnable() { in notifyTaskProgress() 160 mMainHandler.execute(new Runnable() { in notifyTaskProgressText() 178 mMainHandler.execute(new Runnable() { in notifySessionUpdated() 201 mMainHandler.execute(new Runnable() { in notifySessionCaptureIndicatorAvailable() 215 mMainHandler.execute(new Runnable() { in notifySessionThumbnailAvailable() 230 mMainHandler.execute(new Runnable() { in notifySessionPictureDataAvailable() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/simulator/service/ |
D | SimulatorService.java | 76 simulatorMainPortal.execute(new String[] {VOICECALL, CUSTOMIZED_INCOMING_CALL}); 86 simulatorMainPortal.execute(new String[] {VOICECALL, CUSTOMIZED_OUTGOING_CALL}); 94 simulatorMainPortal.execute(new String[] {POPULATE_DATABASE}); 102 simulatorMainPortal.execute(new String[] {CLEAN_DATABASE}); 110 simulatorMainPortal.execute(new String[] {ENABLE_SIMULATOR_MODE}); 118 simulatorMainPortal.execute(new String[] {DISABLE_SIMULATOR_MODE}); 126 simulatorMainPortal.execute(new String[] {VOICECALL, INCOMING_ENRICHED_CALL}); 134 simulatorMainPortal.execute(new String[] {VOICECALL, OUTGOING_ENRICHED_CALL}); 143 simulatorMainPortal.execute(new String[] {NOTIFICATIONS, MISSED_CALL});
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/ |
D | AdServicesCommonManager.java | 143 executor.execute( in isAdServicesEnabled() 151 executor.execute( in isAdServicesEnabled() 159 executor.execute( in isAdServicesEnabled() 263 executor.execute( in enableAdServices() 282 executor.execute( in enableAdServices() 290 executor.execute( in enableAdServices() 327 executor.execute(() -> callback.onResult(true)); in updateAdId() 332 executor.execute( in updateAdId() 340 executor.execute( in updateAdId() 414 executor.execute( in getAdservicesCommonStates() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | RecentsAnimationController.java | 87 UI_HELPER_EXECUTOR.execute(() -> { in setUseLauncherSystemBarFlags() 121 UI_HELPER_EXECUTOR.execute(() -> mController.removeTask(targetTaskId)); in removeTaskTarget() 181 MAIN_EXECUTOR.execute(() -> { in finishController() 193 UI_HELPER_EXECUTOR.execute(finishCb); in finishController() 202 UI_HELPER_EXECUTOR.execute(() -> { in cleanupScreenshot() 215 UI_HELPER_EXECUTOR.execute(() -> mController.detachNavigationBarFromApp(moveHomeToTop)); in detachNavigationBarFromApp() 223 UI_HELPER_EXECUTOR.execute(() -> mController.animateNavigationBarToApp(duration)); in animateNavigationBarToApp() 231 UI_HELPER_EXECUTOR.execute(() -> mController.setWillFinishToHome(willFinishToHome)); in setWillFinishToHome() 246 UI_HELPER_EXECUTOR.execute( in setFinishTaskTransaction()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/ |
D | PictureCallbackAdapter.java | 47 mMainExecutor.execute(new Runnable() { in provideQuickExposeUpdatable() 60 mMainExecutor.execute(new Runnable() { 73 mMainExecutor.execute(new Runnable() { 86 mMainExecutor.execute(new Runnable() { 100 mMainExecutor.execute(new Runnable() { 114 mMainExecutor.execute(new Runnable() {
|
/packages/apps/Camera2/src/com/android/camera/ui/focus/ |
D | FocusController.java | 49 mMainThread.execute(new Runnable() { in showPassiveFocusAtCenter() 68 mMainThread.execute(new Runnable() { in showPassiveFocusAt() 87 mMainThread.execute(new Runnable() { in showActiveFocusAt() 104 mMainThread.execute(new Runnable() { in clearFocusIndicator() 119 mMainThread.execute(new Runnable() { in configurePreviewDimensions() 133 mMainThread.execute(new Runnable() { in setFocusRatio()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/connecteddevice/threadnetwork/ |
D | FakeThreadNetworkController.kt | 38 executor.execute { in setEnabled() 43 executor.execute { in setEnabled() 49 executor.execute { in setEnabled() 56 executor.execute { receiver.onResult(null) } in setEnabled() 67 executor.execute { registeredStateCallback!!.onThreadEnableStateChanged(enabledState) } in registerStateCallback()
|
/packages/modules/Bluetooth/system/gd/hci/acl_manager/ |
D | classic_impl.h | 178 void execute( 180 std::function<void(ConnectionManagementCallbacks* callbacks)> execute, 185 execute(callbacks); 191 …void execute(const Address& address, std::function<void(ConnectionManagementCallbacks* callbacks)>… in execute() function 194 if (callbacks != nullptr) execute(callbacks); in execute() 361 connections.execute(address, [=, this](ConnectionManagementCallbacks* callbacks) { in create_and_announce_connection() 436 connections.execute( in on_classic_disconnect() 458 connections.execute(handle, [=](ConnectionManagementCallbacks* /* callbacks */) { in on_connection_packet_type_changed() 475 connections.execute(handle, [=](ConnectionManagementCallbacks* callbacks) { in on_central_link_key_complete() 488 connections.execute(handle, [=](ConnectionManagementCallbacks* callbacks) { in on_authentication_complete() [all …]
|
/packages/modules/Virtualization/virtualizationservice/src/maintenance/ |
D | vmdb.rs | 155 .execute( in init_tables_v1() 166 .execute("CREATE INDEX IF NOT EXISTS main.vmids_user_index ON vmids(user_id);", []) in init_tables_v1() 169 .execute( in init_tables_v1() 175 .execute("PRAGMA main.user_version = 1;", ()) in init_tables_v1() 183 .execute("ALTER TABLE main.vmids ADD COLUMN created INTEGER;", ()) in upgrade_tables_v0_v1() 186 .execute("PRAGMA main.user_version = 1;", ()) in upgrade_tables_v0_v1() 196 .execute( in init_tables_v0() 206 .execute("CREATE INDEX IF NOT EXISTS main.vmids_user_index ON vmids(user_id);", []) in init_tables_v0() 209 .execute( in init_tables_v0() 222 .execute( in add_vm_id() [all …]
|
/packages/modules/Connectivity/framework-t/src/android/net/nsd/ |
D | NsdManager.java | 427 mExecutor.execute(() -> mEngine.onOffloadServiceUpdated(info)); in onOffloadServiceUpdated() 432 mExecutor.execute(() -> mEngine.onOffloadServiceRemoved(info)); in onOffloadServiceRemoved() 552 mHandler.post(() -> mBaseExecutor.execute(() -> in start() 570 mBaseExecutor.execute(() -> mBaseListener.onDiscoveryStopped(mServiceType)); in requestStop() 647 mWrappedExecutor.execute(() -> mWrapped.onServiceLost(serviceInfo)); in notifyAllServicesLost() 677 mWrappedExecutor.execute(() -> mWrapped.onDiscoveryStopped(serviceType)); in onStopDiscoveryFailed() 685 mWrappedExecutor.execute(() -> mWrapped.onDiscoveryStopped(serviceType)); in onDiscoveryStopped() 697 mWrappedExecutor.execute(() -> mWrapped.onServiceFound(serviceInfo)); in onServiceFound() 708 mWrappedExecutor.execute(() -> mWrapped.onServiceLost(serviceInfo)); in onServiceLost() 1077 executor.execute(() -> ((DiscoveryListener) listener).onDiscoveryStarted(s)); in handleMessage() [all …]
|
/packages/modules/OnDevicePersonalization/framework/java/android/federatedcompute/ |
D | FederatedComputeManager.java | 91 executor.execute(() -> callback.onResult(null)); in schedule() 101 executor.execute( in schedule() 114 executor.execute(() -> callback.onError(e)); in schedule() 137 executor.execute(() -> callback.onResult(null)); in cancel() 147 executor.execute( in cancel() 157 executor.execute(() -> callback.onError(e)); in cancel()
|
/packages/services/Telephony/src/com/android/services/telephony/rcs/ |
D | SipDelegateBinderConnection.java | 72 mExecutor.execute(() -> 84 mExecutor.execute(() -> { 100 mExecutor.execute(() -> { 117 mExecutor.execute(() -> { 132 mExecutor.execute(() -> notifySipDelegateDestroyed(reason)); 197 mExecutor.execute(() -> notifySipDelegateDestroyed(reason)); in destroy() 202 mExecutor.execute(() -> notifySipDelegateDestroyed(reason)); in destroy() 261 mExecutor.execute(() -> { in binderDied()
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/customaudience/ |
D | CustomAudienceManager.java | 177 executor.execute(() -> receiver.onResult(new Object())); in joinCustomAudience() 182 executor.execute( in joinCustomAudience() 252 executor.execute(() -> receiver.onResult(new Object())); in fetchAndJoinCustomAudience() 257 executor.execute( in fetchAndJoinCustomAudience() 311 executor.execute(() -> receiver.onResult(new Object())); in leaveCustomAudience() 316 executor.execute( in leaveCustomAudience() 507 executor.execute(() -> receiver.onResult(new Object())); in scheduleCustomAudienceUpdate() 512 executor.execute( in scheduleCustomAudienceUpdate()
|