| /packages/apps/Settings/src/com/android/settings/net/ |
| NetworkPolicyEditor.java | 30 import android.os.AsyncTask; 81 new AsyncTask<Void, Void, Void>() {
|
| /packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
| SettingsHelper.java | 23 import android.os.AsyncTask; 139 static class SystemPropPoker extends AsyncTask<Void, Void, Void> {
|
| /packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
| MaterialSearchSuggestionsList.java | 24 import android.os.AsyncTask; 115 private class QuerySuggestionsTask extends AsyncTask<String, Void, List<SuggestionItem>> { 149 // Should not have any race conditions here since we cancel the previous asynctask
|
| MaterialSearchViewController.java | 25 import android.os.AsyncTask; 308 // static asynctask to save the query in the background. 309 private class SaveRecentQueryTask extends AsyncTask<String, Void, Void> {
|
| RecentFolderList.java | 22 import android.os.AsyncTask; 90 private class StoreRecent extends AsyncTask<Void, Void, Void> { 93 * AsyncTask is created and when it is executed.
|
| ThumbnailLoadTask.java | 26 import android.os.AsyncTask; 41 * {@link AsyncTask}. Available for use with any view that implements 44 public class ThumbnailLoadTask extends AsyncTask<Uri, Void, Bitmap> {
|
| /packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/ |
| GeneralPrefsFragment.java | 24 import android.os.AsyncTask; 166 new AsyncTask<Void, Void, Void>() {
|
| /packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
| CalendarDebugActivity.java | 23 import android.os.AsyncTask; 102 private class DumpDbTask extends AsyncTask<Void, Void, File> {
|
| /packages/services/Telephony/src/com/android/phone/ |
| CallerInfoCache.java | 24 import android.os.AsyncTask; 88 private class CacheAsyncTask extends AsyncTask<Void, Void, Void> { 93 * Call {@link PowerManager.WakeLock#acquire} and call {@link AsyncTask#execute(Object...)},
|
| /packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
| LiveWallpaperListAdapter.java | 30 import android.os.AsyncTask; 139 AsyncTask<List<ResolveInfo>, LiveWallpaperInfo, Void> {
|
| /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
| FusedPrintersProvider.java | 23 import android.os.AsyncTask; 377 mReadTask.executeOnExecutor(AsyncTask.SERIAL_EXECUTOR, (Void[]) null); 433 new WriteTask().executeOnExecutor(AsyncTask.SERIAL_EXECUTOR, 490 private final class ReadTask extends AsyncTask<Void, Void, List<PrinterInfo>> { 676 private final class WriteTask extends AsyncTask<List<PrinterInfo>, Void, Void> {
|
| /packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
| RestrictedProfileActivity.java | 37 import android.os.AsyncTask; 196 private final AsyncTask<Void, Void, UserInfo> 197 mAddUserAsyncTask = new AsyncTask<Void, Void, UserInfo>() { 274 || mAppLoadingTask.getStatus() == AsyncTask.Status.FINISHED)) { 479 if (AsyncTask.Status.PENDING == mAddUserAsyncTask.getStatus()) {
|
| /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
| Utility.java | 25 import android.os.AsyncTask; 355 * Cancel an {@link AsyncTask}. If it's already running, it'll be interrupted. 357 public static void cancelTaskInterrupt(AsyncTask<?, ?, ?> task) { 362 * Cancel an {@link AsyncTask}. 368 public static void cancelTask(AsyncTask<?, ?, ?> task, boolean mayInterruptIfRunning) { 369 if (task != null && task.getStatus() != AsyncTask.Status.FINISHED) { 443 * Run {@code r} on a worker thread, returning the AsyncTask 444 * @return the AsyncTask; this is primarily for use by unit tests, which require the 451 public static AsyncTask<Void, Void, Void> runAsync(final Runnable r) { 452 return new AsyncTask<Void, Void, Void>() [all...] |
| /packages/apps/Launcher3/src/com/android/launcher3/ |
| WidgetPreviewLoader.java | 29 import android.os.AsyncTask; 269 new AsyncTask<Void, Void, Void>() { 274 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void) null); 402 new AsyncTask<Void, Void, Void>() { 424 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void) null); 428 new AsyncTask<Void, Void, Void>() { 442 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void) null); [all...] |
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/ |
| BackupTestActivity.java | 31 import android.os.AsyncTask; 106 class LoadBackupItemsTask extends AsyncTask<Void, Void, List<BackupItem>> { 180 class GenerateValuesTask extends AsyncTask<Void, Void, Exception> {
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/analyzer/ |
| CameraAnalyzerActivity.java | 29 import android.os.AsyncTask; 172 private class SwitchCameraTask extends AsyncTask<Integer, Void, Void> { 243 private class DebugOutputProcessingTask extends AsyncTask<Integer,
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/ |
| TagVerifierActivity.java | 38 import android.os.AsyncTask; 199 class WriteTagTask extends AsyncTask<Tag, Void, TagVerifier> { 243 class VerifyTagTask extends AsyncTask<Tag, Void, Result> {
|
| /frameworks/support/v4/kitkat/android/support/v4/print/ |
| PrintHelperKitkat.java | 26 import android.os.AsyncTask; 305 AsyncTask<Uri, Boolean, Bitmap> mLoadBitmap; 332 mLoadBitmap = new AsyncTask<Uri, Boolean, Bitmap>() {
|
| /packages/apps/Camera2/src/com/android/camera/session/ |
| CaptureSessionManagerImpl.java | 23 import android.os.AsyncTask; 191 AsyncTask.SERIAL_EXECUTOR.execute(new Runnable() { 275 AsyncTask.SERIAL_EXECUTOR.execute(new Runnable() {
|
| /packages/apps/CertInstaller/src/com/android/certinstaller/ |
| CertInstaller.java | 26 import android.os.AsyncTask; 199 private class InstallCaCertsToKeyChainTask extends AsyncTask<Void, Void, Boolean> { 296 new AsyncTask<Void,Void,Boolean>() {
|
| /packages/apps/Contacts/src/com/android/contacts/list/ |
| ContactBrowseListFragment.java | 26 import android.os.AsyncTask; 101 private final class ContactLookupTask extends AsyncTask<Void, Void, Uri> { 141 // Use a flag to keep track of whether the {@link AsyncTask} was cancelled or not in 143 // necessary because {@link AsyncTask} still calls onPostExecute() if the cancel request 271 mContactLookupTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void[])null);
|
| /packages/apps/Email/src/com/android/email/activity/setup/ |
| AccountCheckSettingsFragment.java | 23 import android.os.AsyncTask; 45 * and controls the overall process. 2. An AsyncTask that works with the stores/services to 78 // Support for AsyncTask and account checking 158 // If this is the first time, start the AsyncTask 166 .executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); 213 * The worker (AsyncTask) will call this (in the UI thread) to report progress. If we are 305 * This AsyncTask does the actual account checking 310 private static class AccountCheckTask extends AsyncTask<Void, Integer, MessagingException> {
|
| /packages/apps/Settings/src/com/android/settings/users/ |
| EditUserPhotoController.java | 34 import android.os.AsyncTask; 242 new AsyncTask<Void, Void, Bitmap>() { 305 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void[]) null);
|
| /packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/ |
| BluetoothMapEmailProvider.java | 27 import android.os.AsyncTask; 363 AsyncTask<Object, Object, Object> task = new AsyncTask<Object, Object, Object>() { 375 task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Object[])null);
|
| /packages/apps/Browser/src/com/android/browser/ |
| SystemAllowGeolocationOrigins.java | 23 import android.os.AsyncTask;
|