Home
last modified time | relevance | path

Searched refs:execute (Results 1 – 25 of 766) sorted by relevance

12345678910>>...31

/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DMediaDb.java88 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/Bluetooth/framework/java/android/bluetooth/
DBluetoothLeBroadcastAssistantCallback.java111 executor.execute(() -> cb.onSearchStarted(reason)); in onSearchStarted()
126 executor.execute(() -> cb.onSearchStartFailed(reason)); in onSearchStartFailed()
141 executor.execute(() -> cb.onSearchStopped(reason)); in onSearchStopped()
156 executor.execute(() -> cb.onSearchStopFailed(reason)); in onSearchStopFailed()
171 executor.execute(() -> cb.onSourceFound(source)); in onSourceFound()
186 executor.execute(() -> cb.onSourceAdded(sink, sourceId, reason)); in onSourceAdded()
202 executor.execute(() -> cb.onSourceAddFailed(sink, source, reason)); in onSourceAddFailed()
217 executor.execute(() -> cb.onSourceModified(sink, sourceId, reason)); in onSourceModified()
232 executor.execute(() -> cb.onSourceModifyFailed(sink, sourceId, reason)); in onSourceModifyFailed()
247 executor.execute(() -> cb.onSourceRemoved(sink, sourceId, reason)); in onSourceRemoved()
[all …]
/packages/modules/NeuralNetworks/common/include/
DOperationResolver.h45 std::function<bool(IOperationExecutionContext*)> execute; member
58 std::function<bool(IOperationExecutionContext*)> execute, Flag flags) in OperationRegistration()
63 execute(std::move(execute)), in OperationRegistration()
142 #define NN_REGISTER_OPERATION(identifier, operationName, validate, prepare, execute, ...) \ argument
145 validate, prepare, execute, {__VA_ARGS__}); \
161 #define NN_REGISTER_OPERATION_DEFAULT_VALIDATION(identifier, prepare, execute, ...) \ argument
164 prepare, execute, __VA_ARGS__);
/packages/apps/Camera2/src/com/android/camera/session/
DCaptureSessionManagerImpl.java70 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/Launcher3/quickstep/src/com/android/quickstep/
DRecentsAnimationController.java85 UI_HELPER_EXECUTOR.execute(() -> { in setUseLauncherSystemBarFlags()
119 UI_HELPER_EXECUTOR.execute(() -> mController.removeTask(target.taskId)); in removeTaskTarget()
169 UI_HELPER_EXECUTOR.execute(() -> { in finishController()
175 MAIN_EXECUTOR.execute(mPendingFinishCallbacks::executeAllAndDestroy); in finishController()
184 UI_HELPER_EXECUTOR.execute(() -> { in cleanupScreenshot()
197 UI_HELPER_EXECUTOR.execute(() -> mController.detachNavigationBarFromApp(moveHomeToTop)); in detachNavigationBarFromApp()
205 UI_HELPER_EXECUTOR.execute(() -> mController.animateNavigationBarToApp(duration)); in animateNavigationBarToApp()
213 UI_HELPER_EXECUTOR.execute(() -> mController.setWillFinishToHome(willFinishToHome)); in setWillFinishToHome()
228 UI_HELPER_EXECUTOR.execute( in setFinishTaskTransaction()
DRecentTasksList.java85 mMainThreadExecutor.execute(RecentTasksList.this::onRecentTasksChanged); in RecentTasksList()
90 mMainThreadExecutor.execute(() -> { in RecentTasksList()
97 mMainThreadExecutor.execute(() -> { in RecentTasksList()
119 UI_HELPER_EXECUTOR.execute(() -> { in getTaskKeys()
122 mMainThreadExecutor.execute(() -> callback.accept(tasks)); in getTaskKeys()
156 UI_HELPER_EXECUTOR.execute(() -> { in getTasks()
161 mMainThreadExecutor.execute(() -> { in getTasks()
190 UI_HELPER_EXECUTOR.execute(() -> mResultsBg = INVALID_RESULT); in invalidateLoadedTasks()
/packages/apps/Dialer/java/com/android/dialer/simulator/service/
DSimulatorService.java76 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/Connectivity/framework-t/src/android/net/nsd/
DNsdManager.java340 mHandler.post(() -> mBaseExecutor.execute(() -> in start()
358 mBaseExecutor.execute(() -> mBaseListener.onDiscoveryStopped(mServiceType)); in requestStop()
431 mWrappedExecutor.execute(() -> mWrapped.onServiceLost(serviceInfo)); in notifyAllServicesLost()
460 mWrappedExecutor.execute(() -> mWrapped.onDiscoveryStopped(serviceType)); in onStopDiscoveryFailed()
468 mWrappedExecutor.execute(() -> mWrapped.onDiscoveryStopped(serviceType)); in onDiscoveryStopped()
475 mWrappedExecutor.execute(() -> mWrapped.onServiceFound(serviceInfo)); in onServiceFound()
481 mWrappedExecutor.execute(() -> mWrapped.onServiceLost(serviceInfo)); in onServiceLost()
688 executor.execute(() -> ((DiscoveryListener) listener).onDiscoveryStarted(s)); in handleMessage()
692 executor.execute(() -> ((DiscoveryListener) listener).onStartDiscoveryFailed( in handleMessage()
696 executor.execute(() -> ((DiscoveryListener) listener).onServiceFound( in handleMessage()
[all …]
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/common/bluetooth/gatt/
DBluetoothGattConnectionTest.java215 verify(mMockBluetoothOperationExecutor).execute(mSynchronousOperationCaptor.capture()); in test_getService_notDiscovered()
218 .execute( in test_getService_notDiscovered()
230 verify(mMockBluetoothOperationExecutor).execute(mSynchronousOperationCaptor.capture()); in test_getService_alreadyDiscovered()
369 verify(mMockBluetoothOperationExecutor).execute(mSynchronousOperationCaptor.capture()); in test_discoverServices()
372 .execute( in test_discoverServices()
390 verify(mMockBluetoothOperationExecutor).execute(mSynchronousOperationCaptor.capture()); in test_discoverServices_serviceChange()
393 .execute( in test_discoverServices_serviceChange()
409 verify(mMockBluetoothOperationExecutor).execute(mSynchronousOperationCaptor.capture()); in test_discoverServices_SelfDefinedServiceDynamic()
412 .execute( in test_discoverServices_SelfDefinedServiceDynamic()
424 verify(mMockBluetoothOperationExecutor).execute(mSynchronousOperationCaptor.capture()); in test_discoverServices_refreshWithGattErrorOnMncAbove()
[all …]
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dclassic_impl.h167 void execute(
169 std::function<void(ConnectionManagementCallbacks* callbacks)> execute,
174 execute(callbacks);
179 …void execute(const Address& address, std::function<void(ConnectionManagementCallbacks* callbacks)>… in execute() function
182 if (callbacks != nullptr) execute(callbacks); in execute()
368 connections.execute(address, [=](ConnectionManagementCallbacks* callbacks) { in create_and_announce_connection()
426 connections.execute( in on_classic_disconnect()
452 connections.execute(handle, [=](ConnectionManagementCallbacks* callbacks) { in on_connection_packet_type_changed()
469 connections.execute(handle, [=](ConnectionManagementCallbacks* callbacks) { in on_central_link_key_complete()
482 connections.execute(handle, [=](ConnectionManagementCallbacks* callbacks) { in on_authentication_complete()
[all …]
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
DPictureCallbackAdapter.java47 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/
DFocusController.java49 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/services/Car/service/src/com/android/car/evs/
DCarEvsService.java213 mStateEngine.execute(REQUEST_PRIORITY_HIGH, SERVICE_STATE_INACTIVE);
302 public @CarEvsError int execute(int priority, int destination) { in execute() method in CarEvsService.StateMachine
307 return execute(priority, destination, serviceType, null, null); in execute()
310 public @CarEvsError int execute(int priority, int destination, int service) { in execute() method in CarEvsService.StateMachine
311 return execute(priority, destination, service, null, null); in execute()
314 public @CarEvsError int execute(int priority, int destination, in execute() method in CarEvsService.StateMachine
320 return execute(priority, destination, serviceType, null, callback); in execute()
323 public @CarEvsError int execute(int priority, int destination, int service, IBinder token, in execute() method in CarEvsService.StateMachine
728 mStateEngine.execute(REQUEST_PRIORITY_HIGH, SERVICE_STATE_INACTIVE); in requestActivityIfNecessaryLocked()
729 mStateEngine.execute(REQUEST_PRIORITY_HIGH, SERVICE_STATE_REQUESTED, in requestActivityIfNecessaryLocked()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DSipDelegateBinderConnection.java72 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/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/
DOtaController.java99 mTaskExecutor.execute( in run()
121 mTaskExecutor.execute(mContext.getUserId(), new UpdateInteractAcrossProfilesAppOpTask( in run()
143 mTaskExecutor.execute(userId, in addDeviceOwnerTasks()
146 mTaskExecutor.execute(userId, in addDeviceOwnerTasks()
155 mTaskExecutor.execute(userId, in addManagedProfileTasks()
171 mTaskExecutor.execute(userId, in addManagedProfileTasks()
176 mMissingSystemImeProvider.apply(userId).forEach(packageName -> mTaskExecutor.execute(userId, in addManagedProfileTasks()
194 mTaskExecutor.execute(userId, in addManagedUserTasks()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DActionBatch.java88 void execute(final Context context); in execute() method
107 public void execute(final Context context) { in execute() method in ActionBatch.StartDownloadAction
176 public void execute(final Context context) { in execute() method in ActionBatch.InstallAfterDownloadAction
218 public void execute(final Context context) { in execute() method in ActionBatch.EnableAction
253 public void execute(final Context context) { in execute() method in ActionBatch.DisableAction
295 public void execute(final Context context) { in execute() method in ActionBatch.MakeAvailableAction
345 public void execute(final Context context) { in execute() method in ActionBatch.MarkPreInstalledAction
387 public void execute(final Context context) { in execute() method in ActionBatch.UpdateDataAction
441 public void execute(final Context context) { in execute() method in ActionBatch.ForgetAction
512 public void execute(final Context context) { in execute() method in ActionBatch.StartDeleteAction
[all …]
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreService.java175 mExecutor.execute(() -> { in storeNetworkAttributes()
202 mExecutor.execute(() -> { in storeBlob()
269 mExecutor.execute(() -> { in findL2Key()
301 mExecutor.execute(() -> { in isSameNetwork()
347 mExecutor.execute(() -> { in retrieveNetworkAttributes()
388 mExecutor.execute(() -> { in retrieveBlob()
425 mExecutor.execute(() -> { in delete()
451 mExecutor.execute(() -> { in deleteCluster()
467 mExecutor.execute(() -> IpMemoryStoreDatabase.wipeDataUponNetworkReset(mDb)); in factoryReset()
500 mExecutor.execute(() -> { in fullMaintenance()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/taskstack/
DTaskStackChangeListeners.java123 mExecutor.execute(() -> { in onTaskStackChanged()
138 mExecutor.execute(() -> { in onTaskCreated()
153 mExecutor.execute(() -> { in onTaskRemoved()
169 mExecutor.execute(() -> { in onTaskMovedToFront()
184 mExecutor.execute(() -> { in onTaskFocusChanged()
196 mExecutor.execute(() -> { in onActivityRestartAttempt()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/displayarea/
DTaskStackChangeListeners.java123 mExecutor.execute(() -> { in onTaskStackChanged()
138 mExecutor.execute(() -> { in onTaskCreated()
153 mExecutor.execute(() -> { in onTaskRemoved()
169 mExecutor.execute(() -> { in onTaskMovedToFront()
184 mExecutor.execute(() -> { in onTaskFocusChanged()
196 mExecutor.execute(() -> { in onActivityRestartAttempt()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/
DCameraPrivacyChipViewControllerTest.java123 verify(mExecutor).execute(mRunnableArgumentCaptor.capture()); in addPrivacyChipView_privacyChipViewPresent_sensorStatusSet()
147 verify(mExecutor, times(2)).execute(mRunnableArgumentCaptor.capture()); in onPrivacyItemsChanged_cameraIsPartOfPrivacyItems_animateInCalled()
165 verify(mExecutor, times(2)).execute(mRunnableArgumentCaptor.capture()); in onPrivacyItemsChanged_cameraIsPartOfPrivacyItemsTwice_animateInCalledOnce()
183 .execute(mRunnableArgumentCaptor.capture()); in onPrivacyItemsChanged_cameraIsNotPartOfPrivacyItems_animateOutCalled()
202 .execute(mRunnableArgumentCaptor.capture()); in onPrivacyItemsChanged_cameraIsNotPartOfPrivacyItemsTwice_animateOutCalledOnce()
218 verify(mExecutor).execute(mRunnableArgumentCaptor.capture()); in onPrivacyItemsChanged_qsTileNotifyUpdateRunnableExecuted()
233 verify(mExecutor).execute(mRunnableArgumentCaptor.capture()); in onSensorPrivacyChanged_argTrue_setSensorEnabledWithFalseCalled()
249 verify(mExecutor).execute(mRunnableArgumentCaptor.capture()); in onSensorPrivacyChanged_argFalse_setSensorEnabledWithTrueCalled()
266 verify(mExecutor).execute(mRunnableArgumentCaptor.capture()); in onSensorPrivacyChanged_qsTileNotifyUpdateRunnableExecuted()
DMicPrivacyChipViewControllerTest.java123 verify(mExecutor).execute(mRunnableArgumentCaptor.capture()); in addPrivacyChipView_privacyChipViewPresent_micStatusSet()
147 verify(mExecutor, times(2)).execute(mRunnableArgumentCaptor.capture()); in onPrivacyItemsChanged_micIsPartOfPrivacyItems_animateInCalled()
165 verify(mExecutor, times(2)).execute(mRunnableArgumentCaptor.capture()); in onPrivacyItemsChanged_micIsPartOfPrivacyItemsTwice_animateInCalledOnce()
183 .execute(mRunnableArgumentCaptor.capture()); in onPrivacyItemsChanged_micIsNotPartOfPrivacyItems_animateOutCalled()
202 .execute(mRunnableArgumentCaptor.capture()); in onPrivacyItemsChanged_micIsNotPartOfPrivacyItemsTwice_animateOutCalledOnce()
218 verify(mExecutor).execute(mRunnableArgumentCaptor.capture()); in onPrivacyItemsChanged_qsTileNotifyUpdateRunnableExecuted()
233 verify(mExecutor).execute(mRunnableArgumentCaptor.capture()); in onSensorPrivacyChanged_argTrue_setSensorEnabledWithFalseCalled()
249 verify(mExecutor).execute(mRunnableArgumentCaptor.capture()); in onSensorPrivacyChanged_argFalse_setSensorEnabledWithTrueCalled()
266 verify(mExecutor).execute(mRunnableArgumentCaptor.capture()); in onSensorPrivacyChanged_qsTileNotifyUpdateRunnableExecuted()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/
DRequestTest.java88 newRequest.execute(mFakeClientSession); in testRequestGetMessagesListing()
102 newRequest.execute(mFakeClientSession); in testRequestGetMessage()
114 newRequest.execute(mFakeClientSession); in testRequestGetFolderListing()
126 newRequest.execute(mFakeClientSession); in testRequestPushMessage()
139 newRequest.execute(mFakeClientSession); in testRequestSetMessageStatus()
151 newRequest.execute(mFakeClientSession); in testRequestSetNotificationRegistration()
160 newRequest.execute(mFakeClientSession); in testRequestSetPath()
/packages/modules/NeuralNetworks/runtime/test/
DTestGenerated.cpp79 void execute(const TestModel& testModel);
380 void GeneratedTests::execute(const TestModel& testModel) { in execute() function in android::nn::generated_tests::GeneratedTests
499 execute(testModel); in TEST_P()
504 execute(testModel); in TEST_P()
509 execute(testModel); in TEST_P()
513 execute(testModel); in TEST_P()
518 execute(testModel); in TEST_P()
522 execute(testModel); in TEST_P()
526 execute(convertQuant8AsymmOperandsToSigned(testModel)); in TEST_P()
530 execute(testModel); in TEST_P()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DQosCallbackConnection.java79 mExecutor.execute(() -> { in onQosEpsBearerSessionAvailable()
98 mExecutor.execute(() -> { in onNrQosSessionAvailable()
113 mExecutor.execute(() -> { in onQosSessionLost()
128 mExecutor.execute(() -> { in onError()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DModelMultiCallbacksTest.java79 Executors.MAIN_EXECUTOR.execute(() -> mModelHelper.getModel().addCallbacksAndLoad(cb1)); in testTwoCallbacks_loadedTogether()
88 Executors.MAIN_EXECUTOR.execute(() -> mModelHelper.getModel().addCallbacksAndLoad(cb2)); in testTwoCallbacks_loadedTogether()
99 Executors.MAIN_EXECUTOR.execute(() -> mModelHelper.getModel().removeCallbacks(cb2)); in testTwoCallbacks_loadedTogether()
119 Executors.MAIN_EXECUTOR.execute(() -> mModelHelper.getModel().addCallbacksAndLoad(cb1)); in testTwoCallbacks_receiveUpdates()
120 Executors.MAIN_EXECUTOR.execute(() -> mModelHelper.getModel().addCallbacksAndLoad(cb2)); in testTwoCallbacks_receiveUpdates()
141 Executors.MAIN_EXECUTOR.execute(() -> mModelHelper.getModel().removeCallbacks(cb2)); in testTwoCallbacks_receiveUpdates()

12345678910>>...31