Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/com/android/internal/widget/
DLockPatternChecker.java4 import android.os.AsyncTask;
64 public static AsyncTask<?, ?, ?> verifyPattern(final LockPatternUtils utils, in verifyPattern()
69 AsyncTask<Void, Void, byte[]> task = new AsyncTask<Void, Void, byte[]>() { in verifyPattern()
107 public static AsyncTask<?, ?, ?> checkPattern(final LockPatternUtils utils, in checkPattern()
111 AsyncTask<Void, Void, Boolean> task = new AsyncTask<Void, Void, Boolean>() { in checkPattern()
158 public static AsyncTask<?, ?, ?> verifyPassword(final LockPatternUtils utils, in verifyPassword()
176 public static AsyncTask<?, ?, ?> verifyPassword(final LockPatternUtils utils, in verifyPassword()
181 AsyncTask<Void, Void, byte[]> task = new AsyncTask<Void, Void, byte[]>() { in verifyPassword()
212 public static AsyncTask<?, ?, ?> verifyTiedProfileChallenge(final LockPatternUtils utils, in verifyTiedProfileChallenge()
218 AsyncTask<Void, Void, byte[]> task = new AsyncTask<Void, Void, byte[]>() { in verifyTiedProfileChallenge()
[all …]
/frameworks/opt/car/setupwizard/library/utils/src/com/android/car/setupwizardlib/
DInitialLockSetupClient.java23 import android.os.AsyncTask;
125 lockConfigsAsyncTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, null); in getLockConfigs()
136 && mCurrentValidateLockTask.getStatus() != AsyncTask.Status.FINISHED) { in checkValidPassword()
141 mCurrentValidateLockTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, password); in checkValidPassword()
151 && mCurrentValidateLockTask.getStatus() != AsyncTask.Status.FINISHED) { in checkValidPin()
156 mCurrentValidateLockTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, pin); in checkValidPin()
166 && mCurrentValidateLockTask.getStatus() != AsyncTask.Status.FINISHED) { in checkValidPattern()
171 mCurrentValidateLockTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, pattern); in checkValidPattern()
180 && mCurrentSaveLockTask.getStatus() != AsyncTask.Status.FINISHED) { in saveLockPassword()
188 mCurrentSaveLockTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, password); in saveLockPassword()
[all …]
/frameworks/base/core/java/android/os/
DAsyncTask.java192 public abstract class AsyncTask<Params, Progress, Result> { class
327 synchronized (AsyncTask.class) { in getMainHandler()
348 public AsyncTask() { in AsyncTask() method in AsyncTask
357 public AsyncTask(@Nullable Handler handler) { in AsyncTask() method in AsyncTask
366 public AsyncTask(@Nullable Looper callbackLooper) { in AsyncTask() method in AsyncTask
654 public final AsyncTask<Params, Progress, Result> execute(Params... params) { in execute()
692 public final AsyncTask<Params, Progress, Result> executeOnExecutor(Executor exec, in executeOnExecutor()
787 final AsyncTask mTask;
790 AsyncTaskResult(AsyncTask task, Data... data) { in AsyncTaskResult()
/frameworks/opt/chips/src/com/android/ex/chips/
DDefaultPhotoManager.java22 import android.os.AsyncTask;
87 final AsyncTask<Void, Void, byte[]> photoLoadTask = new AsyncTask<Void, Void, byte[]>() { in fetchPhotoAsync()
143 photoLoadTask.executeOnExecutor(AsyncTask.SERIAL_EXECUTOR); in fetchPhotoAsync()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationInlineImageCache.java21 import android.os.AsyncTask;
55 newTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, uri); in preload()
76 private static class PreloadImageTask extends AsyncTask<Uri, Void, Drawable> {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DAsyncEmergencyContactNotifier.java20 import android.os.AsyncTask;
30 public class AsyncEmergencyContactNotifier extends AsyncTask<Void, Void, Void> {
/frameworks/base/core/java/android/print/
DPrintFileDocumentAdapter.java20 import android.os.AsyncTask;
92 mWriteFileAsyncTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, in onWrite()
96 private final class WriteFileAsyncTask extends AsyncTask<Void, Void, Void> {
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/
DBitmapLoader.java23 import android.os.AsyncTask;
76 static class BitmapAsyncTask extends AsyncTask<Void, Void, Bitmap> {
128 .executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in loadBitmap()
/frameworks/base/services/core/java/com/android/server/
DPruneInstantAppsJobService.java26 import android.os.AsyncTask;
51 AsyncTask.execute(() -> { in onStartJob()
DWallpaperUpdateReceiver.java25 import android.os.AsyncTask;
44 AsyncTask.execute(this::updateWallpaper); in onReceive()
/frameworks/base/services/core/java/com/android/server/timezone/
DRulesManagerServiceHelperImpl.java24 import android.os.AsyncTask;
54 AsyncTask.execute(runnable); in execute()
/frameworks/base/test-runner/src/android/test/
DLoaderTestCase.java21 import android.os.AsyncTask;
40 new AsyncTask<Void, Void, Void>() { in AsyncTask() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DVibratorHelper.java22 import android.os.AsyncTask;
68 AsyncTask.execute(() -> in vibrate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/
DSystemPropPoker.java19 import android.os.AsyncTask;
62 public static class PokerTask extends AsyncTask<Void, Void, Void> {
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DATraceRunner.java24 import android.os.AsyncTask;
34 public class ATraceRunner extends AsyncTask<Void, Integer, Boolean>{
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockscreenWallpaper.java34 import android.os.AsyncTask;
71 private AsyncTask<Void, Void, LoaderResult> mLoader;
185 mLoader = new AsyncTask<Void, Void, LoaderResult>() { in run()
206 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in run()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportReceiver.java30 import android.os.AsyncTask;
75 new AsyncTask<Void, Void, Void>() { in cleanupOldFiles() method
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/
DDisplayDensityUtils.java21 import android.os.AsyncTask;
218 AsyncTask.execute(() -> { in clearForcedDisplayDensity()
239 AsyncTask.execute(() -> { in setForcedDisplayDensity()
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/
DLargeAssetTest.java22 import android.os.AsyncTask;
63 class Validator extends AsyncTask<AssetManager, Integer, Boolean> {
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DNotificationController.java31 import android.os.AsyncTask;
372 new AsyncTask<Void, Void, Void>() { in handleCancelPrintJob() method
394 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void[]) null); in handleCancelPrintJob()
411 new AsyncTask<Void, Void, Void>() { in handleRestartPrintJob() method
431 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void[]) null); in handleRestartPrintJob()
/frameworks/base/core/java/android/content/
DAsyncTaskLoader.java20 import android.os.AsyncTask;
62 final class LoadTask extends AsyncTask<Void, Void, D> implements Runnable {
143 this(context, AsyncTask.THREAD_POOL_EXECUTOR); in AsyncTaskLoader()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/
DSharedPreferencesLogger.java23 import android.os.AsyncTask;
164 new AsyncPackageCheck().executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, key, value); in safeLogValue()
171 private class AsyncPackageCheck extends AsyncTask<String, Void, Void> {
/frameworks/rs/tests/lldb/java/InfiniteLoop/src/com/android/rs/infiniteloop/
DMainActivity.java21 import android.os.AsyncTask;
113 private class RenderScriptTask extends AsyncTask<Float, Integer, Integer> {
/frameworks/base/services/tests/servicestests/test-apps/ConnTestApp/src/com/android/servicestests/apps/conntestapp/
DConnTestActivity.java25 import android.os.AsyncTask;
114 AsyncTask.execute(() -> { in notifyNetworkStateObserver()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DUiResultsFragment.java20 import android.os.AsyncTask;
51 private AsyncTask<Void, Void, ArrayList<Map<String, String>>> mLoadScoresTask =
52 new AsyncTask<Void, Void, ArrayList<Map<String, String>>>() {

12345