/packages/apps/Dialer/tests/src/com/android/dialer/util/ |
D | FakeAsyncTaskExecutor.java | 20 import android.os.AsyncTask; 72 AsyncTask<?, ?, ?> getAsyncTask(); in getAsyncTask() 78 private final AsyncTask<?, ?, ?> mAsyncTask; 81 AsyncTask<?, ?, ?> asyncTask) { in SubmittedTaskImpl() argument 98 public AsyncTask<?, ?, ?> getAsyncTask() { in getAsyncTask() 111 @GuardedBy("mNextLock") private AsyncTask<?, ?, ?> mNextTask; 124 public <T> AsyncTask<T, ?, ?> submit(Object identifier, in submit() 125 AsyncTask<T, ?, ?> task, T... params) { in submit() 141 public <T> AsyncTask<T, ?, ?> submit(Object identifier, AsyncTask<T, ?, ?> task, T... params) { in submit() 194 if (submittedTask.getAsyncTask().getStatus() == AsyncTask.Status.FINISHED) { in runTask()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ProviderStatusWatcher.java | 23 import android.os.AsyncTask; 223 mLoaderTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in startLoading() 226 private class LoaderTask extends AsyncTask<Void, Void, Boolean> { 292 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in retryUpgrade() 302 task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in retryUpgrade()
|
/packages/apps/Dialer/src/com/android/dialer/util/ |
D | AsyncTaskExecutors.java | 19 import android.os.AsyncTask; 52 return new SimpleAsyncTaskExecutor(AsyncTask.SERIAL_EXECUTOR); in createAsyncTaskExecutor() 65 return new SimpleAsyncTaskExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in createThreadPoolExecutor() 94 public <T> AsyncTask<T, ?, ?> submit(Object identifer, AsyncTask<T, ?, ?> task, in submit()
|
D | AsyncTaskExecutor.java | 19 import android.os.AsyncTask; 47 <T> AsyncTask<T, ?, ?> submit(Object identifier, AsyncTask<T, ?, ?> task, T... params); in submit()
|
/packages/apps/PhoneCommon/src/com/android/phone/common/ |
D | CallLogAsync.java | 20 import android.os.AsyncTask; 130 public AsyncTask addCall(AddCallArgs args) { in addCall() 145 public AsyncTask getLastOutgoingCall(GetLastOutgoingCallArgs args) { in getLastOutgoingCall() 153 private class AddCallTask extends AsyncTask<AddCallArgs, Void, Uri[]> { 197 private class GetLastOutgoingCallTask extends AsyncTask<GetLastOutgoingCallArgs, Void, String> {
|
/packages/experimental/PrintApp/src/foo/bar/print/ |
D | PrintActivity.java | 27 import android.os.AsyncTask; 92 new AsyncTask<Void, Void, Integer>() { in printView() 151 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void[]) null); in printView() 160 new AsyncTask<Void, Void, Integer>() { in printView() 235 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void[]) null); in printView()
|
/packages/apps/Dialer/src/com/android/dialer/voicemail/ |
D | VoicemailPlaybackPresenter.java | 24 import android.os.AsyncTask; 171 private AsyncTask<Void, ?, ?> mPrepareTask; 204 mAsyncTaskExecutor.submit(Tasks.CHECK_FOR_CONTENT, new AsyncTask<Void, Void, Boolean>() { in checkThatWeHaveContent() 275 new AsyncTask<Void, Void, Boolean>() { in onChange() 307 new AsyncTask<Void, Void, Exception>() { in postSuccessfullyFetchedContent() 439 private class AsyncPrepareTask extends AsyncTask<Void, Void, Exception> {
|
/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/Launcher3/src/com/android/launcher3/ |
D | WidgetPreviewLoader.java | 27 import android.os.AsyncTask; 250 new AsyncTask<Void, Void, Void>() { in getPreview() method 255 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void) null); in getPreview() 377 new AsyncTask<Void, Void, Void>() { in removePackageFromDb() method 396 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void) null); in removePackageFromDb() 400 new AsyncTask<Void, Void, Void>() { in removeItemFromDb() method 411 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void) null); in removeItemFromDb()
|
D | PreloadReceiver.java | 22 import android.os.AsyncTask; 43 new AsyncTask<Void, Void, Void>() { in onReceive() method 48 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void) null); in onReceive()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/dialog/ |
D | ClearFrequentsDialog.java | 26 import android.os.AsyncTask; 51 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in onCreateDialog() 64 task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onCreateDialog()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | Utility.java | 29 import android.os.AsyncTask; 437 public static void cancelTaskInterrupt(AsyncTask<?, ?, ?> task) { in cancelTaskInterrupt() argument 457 public static void cancelTask(AsyncTask<?, ?, ?> task, boolean mayInterruptIfRunning) { in cancelTask() argument 458 if (task != null && task.getStatus() != AsyncTask.Status.FINISHED) { in cancelTask() 540 public static AsyncTask<Void, Void, Void> runAsync(final Runnable r) { in runAsync() 541 return new AsyncTask<Void, Void, Void>() { in runAsync() 546 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in runAsync() 873 public abstract static class ForEachAccount extends AsyncTask<Void, Void, Long[]> {
|
D | EmailAsyncTask.java | 19 import android.os.AsyncTask; 40 private static final Executor SERIAL_EXECUTOR = AsyncTask.SERIAL_EXECUTOR; 41 private static final Executor PARALLEL_EXECUTOR = AsyncTask.THREAD_POOL_EXECUTOR; 109 extends AsyncTask<Params2, Progress2, Result2> {
|
/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/Camera2/src/com/android/camera/tinyplanet/ |
D | TinyPlanetFragment.java | 28 import android.os.AsyncTask; 150 (new AsyncTask<Void, Void, Void>() { 180 }).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); 293 (new AsyncTask<Void, Void, TinyPlanetImage>() { in onCreateTinyPlanet() method 326 }).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onCreateTinyPlanet()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EventLocationAdapter.java | 26 import android.os.AsyncTask; 229 AsyncTask<Void, Void, Bitmap> photoUpdaterTask = in asyncLoadPhotoAndUpdateView() 230 new AsyncTask<Void, Void, Bitmap>() { in asyncLoadPhotoAndUpdateView() 278 AsyncTask<Void, Void, List<Result>> locationsQueryTask = in performFiltering() 279 new AsyncTask<Void, Void, List<Result>>() { in performFiltering()
|
/packages/experimental/PrintService2/src/foo/bar/printservice2/ |
D | MyPrintService.java | 5 import android.os.AsyncTask; 72 AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in onPrintJobQueued() 133 task.executeOnExecutor(AsyncTask.SERIAL_EXECUTOR, (Void[]) null); in onPrintJobQueued()
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | AlertActivity.java | 28 import android.os.AsyncTask; 139 new AsyncTask<List<AlarmId>, Void, Void>() { in initiateGlobalDismiss() method 257 AsyncTask task = new AsyncTask<Context, Void, Void>() { in onStop()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | RestrictedProfileSettings.java | 38 import android.os.AsyncTask; 230 new AsyncTask<Void, Void, Void>() { in onCreateDialog() 237 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void[]) null); in onCreateDialog() 450 new AsyncTask<Void, Void, Bitmap>() { in onPhotoCropped() method 503 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void[]) null); in onPhotoCropped()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | PhoneNumberFormatter.java | 20 import android.os.AsyncTask; 33 AsyncTask<Void, Void, PhoneNumberFormattingTextWatcher> { 71 .executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void[]) null); in setPhoneNumberFormattingTextWatcher()
|
/packages/apps/Mms/src/com/android/mms/util/ |
D | PhoneNumberFormatter.java | 20 import android.os.AsyncTask; 33 AsyncTask<Void, Void, PhoneNumberFormattingTextWatcher> { 71 .executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void[]) null); in setPhoneNumberFormattingTextWatcher()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | ClearCallLogDialog.java | 28 import android.os.AsyncTask; 59 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in onCreateDialog()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSettings.java | 32 import android.os.AsyncTask; 211 .executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, i); in onCreate() 414 AsyncTask.THREAD_POOL_EXECUTOR, mDeletingAccountId); in updateAccounts() 489 private class LoadAccountListTask extends AsyncTask<Long, Void, Object[]> { 770 private class GetAccountIdFromAccountTask extends AsyncTask<Intent, Void, Long> {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | WidgetPreviewLoader.java | 26 import android.os.AsyncTask; 242 new AsyncTask<Void, Void, Void>() { in getPreview() method 247 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void) null); in getPreview() 362 new AsyncTask<Void, Void, Void>() { in removeFromDb() method 377 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void) null); in removeFromDb()
|
/packages/experimental/PrintService/src/foo/bar/printservice/ |
D | MyPrintService.java | 21 import android.os.AsyncTask; 71 private AsyncTask<ParcelFileDescriptor, Void, Void> mFakePrintTask; 229 mFakePrintTask = new AsyncTask<ParcelFileDescriptor, Void, Void>() { in handleQueuedPrintJob() 296 mFakePrintTask.executeOnExecutor(AsyncTask.SERIAL_EXECUTOR, in handleQueuedPrintJob()
|