Home
last modified time | relevance | path

Searched refs:AsyncTask (Results 1 – 25 of 93) sorted by relevance

1234

/packages/apps/Contacts/tests/src/com/android/contacts/util/
DFakeAsyncTaskExecutor.java22 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/util/
DAsyncTaskExecutors.java22 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()
DAsyncTaskExecutor.java19 import android.os.AsyncTask;
47 <T> AsyncTask<T, ?, ?> submit(Object identifier, AsyncTask<T, ?, ?> task, T... params); in submit()
DPhoneNumberFormatter.java22 import android.os.AsyncTask;
33 AsyncTask<Void, Void, PhoneNumberFormattingTextWatcher> {
71 .executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void[]) null); in setPhoneNumberFormattingTextWatcher()
DWeakAsyncTask.java19 import android.os.AsyncTask;
24 AsyncTask<Params, Progress, Result> {
/packages/apps/Phone/src/com/android/phone/
DCallLogAsync.java20 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/apps/Contacts/src/com/android/contacts/dialog/
DClearFrequentsDialog.java28 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/Contacts/src/com/android/contacts/list/
DProviderStatusWatcher.java25 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/Mms/src/com/android/mms/util/
DPhoneNumberFormatter.java22 import android.os.AsyncTask;
33 AsyncTask<Void, Void, PhoneNumberFormattingTextWatcher> {
71 .executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void[]) null); in setPhoneNumberFormattingTextWatcher()
/packages/apps/Contacts/src/com/android/contacts/calllog/
DClearCallLogDialog.java29 import android.os.AsyncTask;
52 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in onCreateDialog()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmPreference.java23 import android.os.AsyncTask;
35 private AsyncTask mRingtoneTask;
68 mRingtoneTask = new AsyncTask<Uri, Void, String>() { in setAlert()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DEmailAsyncTask.java19 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/apps/Email/src/com/android/email/activity/setup/
DAccountServerBaseFragment.java22 import android.os.AsyncTask;
249 .executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in startDuplicateTaskCheck()
321 private class DuplicateCheckTask extends AsyncTask<Void, Void, Account> {
368 new AsyncTask<Void, Void, Void>() { in onCheckSettingsComplete() method
386 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onCheckSettingsComplete()
DAccountSetupNames.java24 import android.os.AsyncTask;
226 new FinalSetupTask(account).executeOnExecutor(AsyncTask.SERIAL_EXECUTOR); in onNext()
244 private class FinalSetupTask extends AsyncTask<Void, Void, Boolean> {
/packages/apps/Browser/src/com/android/browser/
DKeyChainLookup.java20 import android.os.AsyncTask;
27 final class KeyChainLookup extends AsyncTask<Void, Void, Void> {
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/
DLoadScreennailTask.java22 import android.os.AsyncTask;
31 public class LoadScreennailTask extends AsyncTask<Uri, Void, Bitmap> {
/packages/apps/Contacts/src/com/android/contacts/
DContactsApplication.java32 import android.os.AsyncTask;
143 private class DelayedInitializer extends AsyncTask<Void, Void, Void> {
156 executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, in execute()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DTargetApplicationGetter.java22 import android.os.AsyncTask;
25 public class TargetApplicationGetter extends AsyncTask<String, Void, ApplicationInfo> {
DSubtypeSwitcher.java27 import android.os.AsyncTask;
219 new AsyncTask<Void, Void, Void>() { in switchToTargetIME() method
225 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in switchToTargetIME()
/packages/apps/Gallery/src/com/android/camera/
DReverseGeocoderTask.java21 import android.os.AsyncTask;
28 public class ReverseGeocoderTask extends AsyncTask<Void, Void, String> {
/packages/apps/Contacts/src/com/android/contacts/voicemail/
DVoicemailPlaybackPresenter.java33 import android.os.AsyncTask;
172 private AsyncTask<Void, ?, ?> mPrepareTask;
205 mAsyncTaskExecutor.submit(Tasks.CHECK_FOR_CONTENT, new AsyncTask<Void, Void, Boolean>() { in checkThatWeHaveContent()
276 new AsyncTask<Void, Void, Boolean>() { in onChange()
308 new AsyncTask<Void, Void, Exception>() { in postSuccessfullyFetchedContent()
440 new AsyncTask<Void, Void, Exception>() { in resetPrepareStartPlaying()
/packages/apps/Mms/src/com/android/mms/ui/
DAsyncDialog.java25 import android.os.AsyncTask;
88 private class ModalDialogAsyncTask extends AsyncTask<Runnable, Void, Void> {
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DSearchBaseUrlHelper.java26 import android.os.AsyncTask;
134 new AsyncTask<Void, Void, Void>() { in checkSearchDomain() method
/packages/apps/VideoEditor/src/com/android/videoeditor/
DBaseAdapterWithImages.java27 import android.os.AsyncTask;
76 protected class ImageLoaderAsyncTask extends AsyncTask<Void, Void, Bitmap> {
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/
DContactDeletionInteractionTest.java34 import android.os.AsyncTask;
56 AsyncTask.init(); in AsyncTask.init()

1234