/packages/apps/Car/Hvac/src/com/android/car/hvac/ |
D | HvacController.java | 30 import android.os.AsyncTask; 401 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in requestRefresh() 490 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in setTemperature() 511 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in setHvacPowerState() 541 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in setSeatWarmerLevel() 578 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in setFanSpeed() 637 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in setDefrosterState() 670 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in setAcState() 725 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in setFanDirection() 760 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in setAirCirculation() [all …]
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | CameraFilmstripDataAdapter.java | 22 import android.os.AsyncTask; 86 public AsyncTask updateMetadataAt(int index) { in updateMetadataAt() 90 private AsyncTask updateMetadataAt(int index, boolean forceItemUpdate) { in updateMetadataAt() 92 result.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, index); in updateMetadataAt() 276 public List<AsyncTask> preloadItems(List<Integer> items) { in preloadItems() 277 List<AsyncTask> result = new ArrayList<>(); in preloadItems() 287 public void cancelItems(List<AsyncTask> loadTokens) { in cancelItems() 288 for (AsyncTask asyncTask : loadTokens) { in cancelItems() 309 private class LoadNewPhotosTask extends AsyncTask<ContentResolver, Void, List<PhotoItem>> { 372 private class QueryTask extends AsyncTask<Context, Void, QueryTaskResult> { [all …]
|
D | FilmstripDataAdapterProxy.java | 21 import android.os.AsyncTask; 112 public AsyncTask updateMetadataAt(int index) { in updateMetadataAt() 122 public List<AsyncTask> preloadItems(List<Integer> items) { in preloadItems() 127 public void cancelItems(List<AsyncTask> loadTokens) { in cancelItems()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | StreamableAsset.java | 27 import android.os.AsyncTask; 79 task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in decodeBitmap() 85 task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in decodeRawDimensions() 104 new AsyncTask<Void, Void, InputStream>() { in fetchInputStream() method 114 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in fetchInputStream() 143 public AsyncTask runDecodeBitmapRegionTask(Rect rect, int targetWidth, int targetHeight, in runDecodeBitmapRegionTask() 240 private class DecodeBitmapAsyncTask extends AsyncTask<Void, Void, Bitmap> { 305 private class DecodeBitmapRegionAsyncTask extends AsyncTask<Void, Void, Bitmap> { 379 private class DecodeDimensionsAsyncTask extends AsyncTask<Void, Void, Point> {
|
D | BuiltInWallpaperAsset.java | 28 import android.os.AsyncTask; 72 task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in decodeBitmapRegion() 78 task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in decodeRawDimensions() 85 task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in decodeBitmap() 129 private class DecodeBitmapAsyncTask extends AsyncTask<Void, Void, Bitmap> { 168 private class DecodeBitmapRegionAsyncTask extends AsyncTask<Void, Void, Bitmap> { 205 private class DecodeDimensionsAsyncTask extends AsyncTask<Void, Void, Point> {
|
D | CurrentWallpaperAssetV16.java | 26 import android.os.AsyncTask; 51 task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in decodeBitmap() 62 task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in decodeRawDimensions() 81 private class DecodeBitmapAsyncTask extends AsyncTask<Void, Void, Bitmap> { 120 private class DecodeDimensionsAsyncTask extends AsyncTask<Void, Void, Point> {
|
/packages/apps/TV/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/setup/ |
D | SampleNetworkTunerSetupActivity.java | 25 import android.os.AsyncTask; 90 new QueryEpgInputTask(embeddedInputId).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onCreate() 95 new AsyncTask<Void, Void, Integer>() { in executeGetTunerTypeAndCountAsyncTask() method 115 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in executeGetTunerTypeAndCountAsyncTask() 250 .executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in executeAction() 356 AsyncTask.Status status = fetchLineupTask.getStatus(); in cancelFetchLineup() 357 if (status == AsyncTask.Status.RUNNING || status == AsyncTask.Status.PENDING) { in cancelFetchLineup() 378 fetchLineupTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in restartFetchLineupTask() 381 private class FetchLineupTask extends AsyncTask<Void, Void, List<Lineup>> { 421 private class InsertOrModifyEpgInputTask extends AsyncTask<Void, Void, Void> { [all …]
|
/packages/apps/TV/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/setup/ |
D | SampleDvbTunerSetupActivity.java | 25 import android.os.AsyncTask; 90 new QueryEpgInputTask(embeddedInputId).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onCreate() 95 new AsyncTask<Void, Void, Integer>() { in executeGetTunerTypeAndCountAsyncTask() method 114 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in executeGetTunerTypeAndCountAsyncTask() 249 .executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in executeAction() 355 AsyncTask.Status status = fetchLineupTask.getStatus(); in cancelFetchLineup() 356 if (status == AsyncTask.Status.RUNNING || status == AsyncTask.Status.PENDING) { in cancelFetchLineup() 377 fetchLineupTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in restartFetchLineupTask() 380 private class FetchLineupTask extends AsyncTask<Void, Void, List<Lineup>> { 420 private class InsertOrModifyEpgInputTask extends AsyncTask<Void, Void, Void> { [all …]
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | AppLinkCardView.java | 27 import android.os.AsyncTask; 129 new AsyncTask<Void, Void, CharSequence>() { in onBind() method 150 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onBind() 169 new AsyncTask<Void, Void, Drawable>() { in onBind() method 190 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onBind() 204 new AsyncTask<Void, Void, CharSequence>() { in onBind() method 230 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onBind() 321 new AsyncTask<Void, Void, Drawable>() { 351 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); 360 new AsyncTask<Void, Void, Drawable>() { [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmUpdateHandler.java | 21 import android.os.AsyncTask; 62 final AsyncTask<Void, Void, AlarmInstance> updateTask = in asyncAddAlarm() 63 new AsyncTask<Void, Void, AlarmInstance>() { in asyncAddAlarm() 104 final AsyncTask<Void, Void, AlarmInstance> updateTask = in asyncUpdateAlarm() 105 new AsyncTask<Void, Void, AlarmInstance>() { in asyncUpdateAlarm() 157 final AsyncTask<Void, Void, Boolean> deleteTask = new AsyncTask<Void, Void, Boolean>() { in asyncDeleteAlarm()
|
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/ |
D | AsyncTaskExecutors.java | 19 import android.os.AsyncTask; 48 return new SimpleAsyncTaskExecutor(AsyncTask.SERIAL_EXECUTOR); in createAsyncTaskExecutor() 61 return new SimpleAsyncTaskExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in createThreadPoolExecutor() 87 public <T> AsyncTask<T, ?, ?> submit(Object identifer, AsyncTask<T, ?, ?> task, T... params) { in submit()
|
D | AsyncTaskExecutor.java | 19 import android.os.AsyncTask; 50 <T> AsyncTask<T, ?, ?> submit(Object identifier, AsyncTask<T, ?, ?> task, T... params); in submit()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/ |
D | PermissionControllerServiceImpl.java | 36 import android.os.AsyncTask; 213 AsyncTask.THREAD_POOL_EXECUTOR.execute(() -> callback.accept( in onRevokeRuntimePermissions() 306 AsyncTask.execute(() -> { in onGetRuntimePermissionsBackup() 330 AsyncTask.execute(() -> { in onRestoreRuntimePermissionsBackup() 351 AsyncTask.execute(() -> callback.accept( in onRestoreDelayedRuntimePermissionsBackup() 368 AsyncTask.THREAD_POOL_EXECUTOR.execute(() -> callback.accept( in onGetAppPermissions() 406 AsyncTask.THREAD_POOL_EXECUTOR.execute(() -> { in onRevokeRuntimePermission() 434 AsyncTask.THREAD_POOL_EXECUTOR.execute(() -> callback.accept( in onCountPermissionApps() 493 AsyncTask.THREAD_POOL_EXECUTOR.execute( in onGetPermissionUsages() 506 AsyncTask.THREAD_POOL_EXECUTOR.execute(() -> callback.accept( in onSetRuntimePermissionGrantStateByDeviceAdmin() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
D | SearchHistoryManager.java | 27 import android.os.AsyncTask; 80 AsyncTask.SERIAL_EXECUTOR); in getInstance() 148 AsyncTask.SERIAL_EXECUTOR); in addHistory() 152 DATABASE_OPERATION.DELETE).executeOnExecutor(AsyncTask.SERIAL_EXECUTOR, in addHistory() 160 AsyncTask.SERIAL_EXECUTOR); in addHistory() 173 AsyncTask.SERIAL_EXECUTOR); in deleteHistory() 178 private class DatabaseTask extends AsyncTask<Object, Void, Object> {
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | AsyncTaskUtil.java | 19 import android.os.AsyncTask; 35 sExecutor = (Executor) AsyncTask.class.getField("THREAD_POOL_EXECUTOR") 37 sMethodExecuteOnExecutor = AsyncTask.class.getMethod( 49 public static <Param> void executeInParallel(AsyncTask<Param, ?, ?> task, Param... params) { in executeInParallel()
|
/packages/apps/Contacts/src/com/android/contacts/dialog/ |
D | ClearFrequentsDialog.java | 27 import android.os.AsyncTask; 57 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in onCreateDialog() 70 task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onCreateDialog()
|
/packages/apps/Dialer/java/com/android/contacts/common/dialog/ |
D | ClearFrequentsDialog.java | 28 import android.os.AsyncTask; 63 final AsyncTask<Void, Void, Void> task = in onCreateDialog() 64 new AsyncTask<Void, Void, Void>() { in onCreateDialog() 77 task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onCreateDialog()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | FlipperDreamSettings.java | 21 import android.os.AsyncTask; 22 import android.os.AsyncTask.Status; 44 private AsyncTask<Void, Void, Void> mLoadingTask; 66 mLoadingTask = new AsyncTask<Void, Void, Void>() { in init()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/ |
D | TrickplayStorageManager.java | 20 import android.os.AsyncTask; 44 private static AsyncTask<Void, Void, Void> sLastCacheCleanUpTask; 84 new AsyncTask<Void, Void, Void>() { in clearStorage() 106 sLastCacheCleanUpTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in clearStorage()
|
/packages/apps/Dialer/java/com/android/dialer/blocking/ |
D | FilteredNumbersUtil.java | 23 import android.os.AsyncTask; 73 final AsyncTask task = in checkForSendToVoicemailContact() 74 new AsyncTask<Object, Void, Boolean>() { in checkForSendToVoicemailContact() 123 final AsyncTask<Object, Void, Boolean> task = in importSendToVoicemailContacts() 124 new AsyncTask<Object, Void, Boolean>() { in importSendToVoicemailContacts()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/clipping/ |
D | UrisSupplierTest.java | 24 import android.os.AsyncTask; 64 AsyncTask.setDefaultExecutor(mExecutor); in setUp() 73 AsyncTask.setDefaultExecutor(AsyncTask.SERIAL_EXECUTOR); in tearDownOnce()
|
D | ClipStorageTest.java | 28 import android.os.AsyncTask; 74 AsyncTask.setDefaultExecutor(mExecutor); in setUp() 81 AsyncTask.setDefaultExecutor(AsyncTask.SERIAL_EXECUTOR); in tearDownOnce()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
D | Backend.java | 24 import android.os.AsyncTask; 61 private AsyncTask<Void, Void, Integer> mStartTask; 102 task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in getCapabilities() 148 mStartTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in print() 161 .executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in cancel()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | CallLogAsyncTaskUtil.java | 23 import android.os.AsyncTask; 54 new AsyncTask<Void, Void, Void>() { in markVoicemailAsRead() 84 new AsyncTask<Void, Void, Void>() { in deleteVoicemail() 120 new AsyncTask<Void, Void, Void>() { in markCallAsRead()
|
/packages/apps/TV/common/src/com/android/tv/common/ |
D | CommonPreferences.java | 24 import android.os.AsyncTask; 105 new AsyncTask<Void, Void, Void>() { in initialize() method 138 && sLoadPreferencesTask.getStatus() != AsyncTask.Status.FINISHED) { in loadPreferences() 257 new AsyncTask<Void, Void, Void>() { in savePreference() method 275 private static class LoadPreferencesTask extends AsyncTask<Void, Void, Bundle> {
|