Home
last modified time | relevance | path

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

12

/development/apps/Development/src/com/android/development/
DCacheAbuser.java31 import android.os.AsyncTask;
49 AsyncTask<Void, Void, Void> mInternalAbuseTask;
50 AsyncTask<Void, Void, Void> mExternalAbuseTask;
52 static class AbuseTask extends AsyncTask<Void, Void, Void> {
108 mInternalAbuseTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onCreate()
119 mInternalAbuseTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onCreate()
130 mExternalAbuseTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onCreate()
141 mExternalAbuseTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onCreate()
/development/samples/DeviceAdminWhitelistedAccount/src/com/example/android/app/admin/whitelistedaccount/
DMyMain.java20 import android.os.AsyncTask;
31 new AsyncTask<Void, Void, Boolean>() { in onCreate() method
/development/samples/BusinessCard/src/com/example/android/businesscard/
DBusinessCardActivity.java22 import android.os.AsyncTask;
99 AsyncTask<Uri, Void, ContactInfo> task = new AsyncTask<Uri, Void, ContactInfo>() { in loadContactInfo()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DAsyncTask.java197 public abstract class AsyncTask<Params, Progress, Result> { class
306 public AsyncTask() { in AsyncTask() method in AsyncTask
559 public final AsyncTask<Params, Progress, Result> execute(Params... params) { in execute()
596 public final AsyncTask<Params, Progress, Result> executeOnExecutor(Executor exec, in executeOnExecutor()
685 final AsyncTask mTask;
688 AsyncTaskResult(AsyncTask task, Data... data) { in AsyncTaskResult()
DImageWorker.java103 task.executeOnExecutor(AsyncTask.DUAL_THREAD_EXECUTOR); in loadImage()
257 private class BitmapWorkerTask extends AsyncTask<Void, Void, BitmapDrawable> {
472 protected class CacheAsyncTask extends AsyncTask<Object, Void, Void> {
/development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/
DSoundRecorder.java25 import android.os.AsyncTask;
57 private AsyncTask<Void, Void, Void> mRecordingAsyncTask;
58 private AsyncTask<Void, Void, Void> mPlayingAsyncTask;
82 mRecordingAsyncTask = new AsyncTask<Void, Void, Void>() { in startRecording()
177 mPlayingAsyncTask = new AsyncTask<Void, Void, Void>() { in startPlay()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DJobWorkService.java28 import android.os.AsyncTask;
56 final class CommandProcessor extends AsyncTask<Void, Void, Void> {
115 mCurProcessor.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onStartJob()
DLoaderThrottle.java39 import android.os.AsyncTask;
397 AsyncTask<Void, Void, Void> mPopulatingTask;
435 mPopulatingTask = new AsyncTask<Void, Void, Void>() { in onOptionsItemSelected()
456 AsyncTask.THREAD_POOL_EXECUTOR, (Void[])null); in onOptionsItemSelected()
464 AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in onOptionsItemSelected()
DPrintCustomContent.java23 import android.os.AsyncTask;
205 new AsyncTask<Void, Void, PrintDocumentInfo>() { in print()
296 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void[]) null); in print()
315 new AsyncTask<Void, Void, Void>() { in print()
437 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void[]) null); in print()
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/pickers/
DPickerActivity.java20 import android.os.AsyncTask;
109 private final AsyncTask<Void, Void, String[]> mLoader = new AsyncTask<Void, Void, String[]>() {
/development/samples/browseable/NetworkConnect/
D_index.jd9 HttpsURLConnection. AsyncTask is used to perform the fetch on a background thread.
/development/samples/browseable/StorageClient/src/com.example.android.storageclient/
DStorageClientFragment.java26 import android.os.AsyncTask;
187 AsyncTask<Uri, Void, Bitmap> imageLoadAsyncTask = new AsyncTask<Uri, Void, Bitmap>() { in onCreateDialog()
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DPinnedAppListViewModel.java28 import android.os.AsyncTask;
82 new AsyncTask<Void, Void, List<AppEntry>>() { in loadData() method
DAppListViewModel.java26 import android.os.AsyncTask;
70 new AsyncTask<Void, Void, List<AppEntry>>() { in loadData() method
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DAlbumArtCache.java20 import android.os.AsyncTask;
93 new AsyncTask<Void, Void, Bitmap[]>() { in fetch() method
/development/samples/ApiDemos/src/com/example/android/apis/security/
DKeyStoreUsage.java24 import android.os.AsyncTask;
260 private class UpdateKeyListTask extends AsyncTask<Void, Void, Enumeration<String>> {
300 private class GenerateTask extends AsyncTask<String, Void, Boolean> {
348 private class SignTask extends AsyncTask<String, Void, String> {
410 private class VerifyTask extends AsyncTask<String, Void, Boolean> {
486 private class DeleteTask extends AsyncTask<String, Void, Void> {
/development/samples/browseable/BasicRenderScript/src/com.example.android.basicrenderscript/
DMainActivity.java22 import android.os.AsyncTask;
120 private class RenderScriptTask extends AsyncTask<Float, Integer, Integer> {
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.swiperefreshlistfragment/
DSwipeRefreshListFragmentFragment.java22 import android.os.AsyncTask;
205 private class DummyBackgroundTask extends AsyncTask<Void, Void, List<String>> {
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.swiperefreshlayoutbasic/
DSwipeRefreshLayoutBasicFragment.java22 import android.os.AsyncTask;
208 private class DummyBackgroundTask extends AsyncTask<Void, Void, List<String>> {
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.swiperefreshmultipleviews/
DSwipeRefreshMultipleViewsFragment.java22 import android.os.AsyncTask;
225 private class DummyBackgroundTask extends AsyncTask<Void, Void, List<String>> {
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DCalendarWatchFaceService.java31 import android.os.AsyncTask;
84 private AsyncTask<Void, Void, Integer> mLoadMeetingsTask;
243 private class LoadMeetingsTask extends AsyncTask<Void, Void, Integer> {
/development/samples/browseable/MediaRecorder/src/com.example.android.mediarecorder/
DMainActivity.java24 import android.os.AsyncTask;
214 class MediaPrepareTask extends AsyncTask<Void, Void, Boolean> {
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/
DPhoneMainActivity.java28 import android.os.AsyncTask;
99 new AsyncTask<Calendar, Void, Void>() { in showTrack() method
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/
DMain.java25 import android.os.AsyncTask;
150 new AsyncTask<Void, Void, ShortcutInfo>() { in addUriAsync() method
164 new AsyncTask<Void, Void, Void>() { in addUriAsync() method
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/
DMain.java22 import android.os.AsyncTask;
109 new AsyncTask<Void, Void, Void>() { in addUriAsync() method

12