Home
last modified time | relevance | path

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

12345678910>>...19

/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/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/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/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/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/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/ManagedProvisioning/src/com/android/managedprovisioning/ota/
DOtaController.java105 mTaskExecutor.execute( in run()
142 mTaskExecutor.execute(userId, in addDeviceOwnerTasks()
145 mTaskExecutor.execute(userId, in addDeviceOwnerTasks()
154 mTaskExecutor.execute(userId, in addManagedProfileTasks()
170 mTaskExecutor.execute(userId, in addManagedProfileTasks()
173 mTaskExecutor.execute(userId, in addManagedProfileTasks()
178 mMissingSystemImeProvider.apply(userId).forEach(packageName -> mTaskExecutor.execute(userId, in addManagedProfileTasks()
196 mTaskExecutor.execute(userId, in addManagedUserTasks()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DPermissionControllerServiceImpl.java212 AsyncTask.execute(() -> callback.accept(onRevokeRuntimePermissions(request, doDryRun, in onRevokeRuntimePermissions()
305 AsyncTask.execute(() -> { in onGetRuntimePermissionsBackup()
329 AsyncTask.execute(() -> { in onRestoreRuntimePermissionsBackup()
350 AsyncTask.execute(() -> callback.accept( in onRestoreDelayedRuntimePermissionsBackup()
367 AsyncTask.THREAD_POOL_EXECUTOR.execute(() -> callback.accept( in onGetAppPermissions()
405 AsyncTask.execute(() -> { in onRevokeRuntimePermission()
433 AsyncTask.THREAD_POOL_EXECUTOR.execute(() -> callback.accept( in onCountPermissionApps()
492 AsyncTask.THREAD_POOL_EXECUTOR.execute( in onGetPermissionUsages()
505 AsyncTask.execute(() -> callback.accept(onSetRuntimePermissionGrantStateByDeviceAdmin( in onSetRuntimePermissionGrantStateByDeviceAdmin()
569 AsyncTask.execute(() -> { in onGrantOrUpgradeDefaultRuntimePermissions()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/network/
DBlockingHttpClientTests.java69 client.execute(null /* empty request */, processor); in testError_badGateway()
85 client.execute(null /* empty request */, processor); in testError_clientTimeout()
102 client.execute(new byte[100], processor); in testError_forbiddenWithRequest()
121 client.execute(null /* empty request */, processor); in testSuccess_emptyRequest()
138 client.execute(new byte[100], processor); in testSuccess()
/packages/apps/Car/Hvac/src/com/android/car/hvac/
DHvacController.java431 task.execute(); in requestRefresh()
507 task.execute(); in setTemperature()
528 task.execute(); in setHvacPowerState()
556 task.execute(); in setSeatWarmerLevel()
605 task.execute(); in setFanSpeed()
650 task.execute(); in setDefrosterState()
683 task.execute(); in setAcState()
738 task.execute(); in setFanDirection()
774 task.execute(); in setAirCirculation()
796 task.execute(); in setAutoMode()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java179 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) { in onSessionFailure()
338 MAIN_EXECUTOR.execute(oldCallbacks::clearPendingBinds); in startLoader()
398 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) { in onInstallSessionCreated()
469 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) { in onWidgetLabelsUpdated()
478 MODEL_EXECUTOR.execute(task); in enqueueModelUpdateTask()
487 void execute(Callbacks callbacks); in execute() method
519 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) { in updateAndBindWorkspaceItem()
532 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) { in refreshAndBindWidgetsAndShortcuts()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
DAddNewUserTaskTest.java52 mTask.execute(newUserName); in testTaskCallsCreateNewNonAdminUser()
64 mTask.execute(newUserName); in testSwitchToNewUserIfUserCreated()
76 mTask.execute(newUserName); in testOnUserAddedSuccessCalledIfUserCreated()
87 mTask.execute(newUserName); in testOnUserAddedFailureCalledIfNullReturned()
/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDatabaseHelper.java380 statement.execute(); in insertSchedules()
388 statement.execute(); in insertSchedules()
410 statement.execute(); in updateSchedules()
419 statement.execute(); in updateSchedules()
437 statement.execute(); in deleteSchedules()
455 statement.execute(); in insertSeriesRecordings()
474 statement.execute(); in updateSeriesRecordings()
491 statement.execute(); in deleteSeriesRecordings()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DBaseModelUpdateTask.java68 execute(mApp, mDataModel, mAllAppsList); in run()
74 public abstract void execute( in execute() method in BaseModelUpdateTask
82 mUiExecutor.execute(() -> { in scheduleCallbackTask()
85 task.execute(callbacks); in scheduleCallbackTask()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/
DOverviewCommandHelper.java63 MAIN_EXECUTOR.execute(new RecentsActivityCommand<>()); in onOverviewToggle()
67 MAIN_EXECUTOR.execute(new ShowRecentsCommand()); in onOverviewShown()
71 MAIN_EXECUTOR.execute(new HideRecentsCommand()); in onOverviewHidden()
75 MAIN_EXECUTOR.execute(() -> in onTip()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DRecentTasksList.java73 UI_HELPER_EXECUTOR.execute(() -> { in getTaskKeys()
75 mMainThreadExecutor.execute(() -> callback.accept(tasks)); in getTaskKeys()
100 UI_HELPER_EXECUTOR.execute(() -> { in getTasks()
103 mMainThreadExecutor.execute(() -> { in getTasks()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/
DTaskExecutorTest.java55 mExecutor.execute(TEST_USER_ID, mTask1); in testExecute_firstTask()
64 mExecutor.execute(TEST_USER_ID, mTask1); in testExecute_twoTask()
70 mExecutor.execute(TEST_USER_ID, mTask2); in testExecute_twoTask()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DOverviewCommandHelper.java69 MAIN_EXECUTOR.execute(new RecentsActivityCommand<>()); in onOverviewToggle()
73 MAIN_EXECUTOR.execute(new ShowRecentsCommand(triggeredFromAltTab)); in onOverviewShown()
77 MAIN_EXECUTOR.execute(new HideRecentsCommand()); in onOverviewHidden()
81 MAIN_EXECUTOR.execute(() -> in onTip()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DImageLoader.java104 executor.execute(() -> callback.onImageLoaded(uri, bitmap)); in loadImage()
106 mExecutor.execute(loader); in loadImage()
144 callback.getKey().execute(() -> in run()
148 callback.getKey().execute(() -> in run()
/packages/apps/Messaging/src/com/android/messaging/util/
DFallbackStrategies.java51 Output execute(Input params) throws Exception; in execute() method
72 public Output execute(final Input params) { in execute() method in FallbackStrategies
78 return strategy.execute(params); in execute()
/packages/apps/Launcher3/
Dfill_screens.py56 c.execute("DELETE FROM favorites")
67 c.execute(insert)
75 c.execute(insert)
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorMainPortal.java72 public void execute(String[] commands) { in execute() method in SimulatorMainPortal
77 .submit(() -> execute(simulatorPortalEntryGroup, commands, 0)); in execute()
80 private void execute( in execute() method in SimulatorMainPortal
85 execute(simulatorPortalEntryGroup.subPortals().get(commands[index]), commands, index + 1); in execute()
/packages/apps/Camera2/src/com/android/camera/captureintent/state/
DStateReadyForCapture.java167 mResourceCaptureTools.get().getMainThread().execute(new Runnable() { in startCountDown()
195 mResourceCaptureTools.get().getMainThread().execute(new Runnable() { in cancelCountDown()
315 mResourceCaptureTools.get().getMainThread().execute(new Runnable() { in registerEventHandlers()
472 mResourceCaptureTools.get().getMainThread().execute(new Runnable() { in registerEventHandlers()
522 mResourceCaptureTools.get().getMainThread().execute(new Runnable() { in onEnter()
579 mResourceCaptureTools.get().getMainThread().execute(new Runnable() {
594 mResourceCaptureTools.get().getMainThread().execute(new Runnable() {
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DImageBackend.java678 mThreadPoolFast.execute(new TaskDoneWrapper(this, shadowTask, task)); in scheduleTasks()
681 mThreadPoolAverage.execute(new TaskDoneWrapper(this, shadowTask, task)); in scheduleTasks()
684 mThreadPoolSlow.execute(new TaskDoneWrapper(this, shadowTask, task)); in scheduleTasks()
687 mThreadPoolSlow.execute(new TaskDoneWrapper(this, shadowTask, task)); in scheduleTasks()
773 executor.execute(closeTask); in closeImageExecutorSafe()
838 mWrappedTask.mExecutor.execute(doneRunnable); in run()

12345678910>>...19