Home
last modified time | relevance | path

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

12345678910>>...13

/packages/apps/Car/Hvac/src/com/android/car/hvac/
DHvacController.java30 import android.os.AsyncTask;
401 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in requestRefresh()
490 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in setTemperature()
511 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in setHvacPowerState()
541 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in setSeatWarmerLevel()
578 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in setFanSpeed()
637 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in setDefrosterState()
670 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in setAcState()
725 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in setFanDirection()
760 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in setAirCirculation()
[all …]
/packages/apps/Camera2/src/com/android/camera/data/
DCameraFilmstripDataAdapter.java22 import android.os.AsyncTask;
86 public AsyncTask updateMetadataAt(int index) { in updateMetadataAt()
90 private AsyncTask updateMetadataAt(int index, boolean forceItemUpdate) { in updateMetadataAt()
92 result.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, index); in updateMetadataAt()
283 public List<AsyncTask> preloadItems(List<Integer> items) { in preloadItems()
284 List<AsyncTask> result = new ArrayList<>(); in preloadItems()
294 public void cancelItems(List<AsyncTask> loadTokens) { in cancelItems()
295 for (AsyncTask asyncTask : loadTokens) { in cancelItems()
316 private class LoadNewPhotosTask extends AsyncTask<ContentResolver, Void, List<PhotoItem>> {
379 private class QueryTask extends AsyncTask<Context, Void, QueryTaskResult> {
[all …]
DFilmstripDataAdapterProxy.java21 import android.os.AsyncTask;
112 public AsyncTask updateMetadataAt(int index) { in updateMetadataAt()
122 public List<AsyncTask> preloadItems(List<Integer> items) { in preloadItems()
127 public void cancelItems(List<AsyncTask> loadTokens) { in cancelItems()
DLocalFilmstripDataAdapter.java20 import android.os.AsyncTask;
33 Preloader.ItemLoader<Integer, AsyncTask>, Preloader.ItemSource<Integer> {
137 public AsyncTask updateMetadataAt(int index); in updateMetadataAt()
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
DAsyncTaskExecutors.java19 import android.os.AsyncTask;
48 return new SimpleAsyncTaskExecutor(AsyncTask.SERIAL_EXECUTOR); in createAsyncTaskExecutor()
61 return new SimpleAsyncTaskExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in createThreadPoolExecutor()
87 public <T> AsyncTask<T, ?, ?> submit(Object identifer, AsyncTask<T, ?, ?> task, T... params) { in submit()
DAsyncTaskExecutor.java19 import android.os.AsyncTask;
50 <T> AsyncTask<T, ?, ?> submit(Object identifier, AsyncTask<T, ?, ?> task, T... params); in submit()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmUpdateHandler.kt21 import android.os.AsyncTask in <lambda>()
57 val updateTask: AsyncTask<Void, Void, AlarmInstance> = in <lambda>()
58 object : AsyncTask<Void, Void, AlarmInstance>() { in <lambda>()
100 val updateTask: AsyncTask<Void, Void, AlarmInstance> = in <lambda>()
101 object : AsyncTask<Void, Void, AlarmInstance>() { in <lambda>()
149 val deleteTask: AsyncTask<Void, Void, Boolean> = object : AsyncTask<Void, Void, Boolean>() { in <lambda>()
/packages/apps/TV/src/com/android/tv/menu/
DAppLinkCardView.java27 import android.os.AsyncTask;
129 new AsyncTask<Void, Void, CharSequence>() { in onBind() method
150 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onBind()
169 new AsyncTask<Void, Void, Drawable>() { in onBind() method
190 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onBind()
204 new AsyncTask<Void, Void, CharSequence>() { in onBind() method
230 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onBind()
321 new AsyncTask<Void, Void, Drawable>() {
351 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
360 new AsyncTask<Void, Void, Drawable>() {
[all …]
/packages/apps/TV/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/setup/
DSampleNetworkTunerSetupActivity.java25 import android.os.AsyncTask;
95 new QueryEpgInputTask(embeddedInputId).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onCreate()
100 new AsyncTask<Void, Void, Integer>() { in executeGetTunerTypeAndCountAsyncTask() method
120 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in executeGetTunerTypeAndCountAsyncTask()
255 .executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in executeAction()
361 AsyncTask.Status status = fetchLineupTask.getStatus(); in cancelFetchLineup()
362 if (status == AsyncTask.Status.RUNNING || status == AsyncTask.Status.PENDING) { in cancelFetchLineup()
383 fetchLineupTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in restartFetchLineupTask()
386 private class FetchLineupTask extends AsyncTask<Void, Void, List<Lineup>> {
426 private class InsertOrModifyEpgInputTask extends AsyncTask<Void, Void, Void> {
[all …]
/packages/apps/TV/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/setup/
DSampleDvbTunerSetupActivity.java25 import android.os.AsyncTask;
95 new QueryEpgInputTask(embeddedInputId).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onCreate()
100 new AsyncTask<Void, Void, Integer>() { in executeGetTunerTypeAndCountAsyncTask() method
119 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in executeGetTunerTypeAndCountAsyncTask()
255 .executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in executeAction()
361 AsyncTask.Status status = fetchLineupTask.getStatus(); in cancelFetchLineup()
362 if (status == AsyncTask.Status.RUNNING || status == AsyncTask.Status.PENDING) { in cancelFetchLineup()
383 fetchLineupTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in restartFetchLineupTask()
386 private class FetchLineupTask extends AsyncTask<Void, Void, List<Lineup>> {
426 private class InsertOrModifyEpgInputTask extends AsyncTask<Void, Void, Void> {
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchHistoryManager.java27 import android.os.AsyncTask;
80 AsyncTask.SERIAL_EXECUTOR); in getInstance()
148 AsyncTask.SERIAL_EXECUTOR); in addHistory()
152 DATABASE_OPERATION.DELETE).executeOnExecutor(AsyncTask.SERIAL_EXECUTOR, in addHistory()
160 AsyncTask.SERIAL_EXECUTOR); in addHistory()
173 AsyncTask.SERIAL_EXECUTOR); in deleteHistory()
178 private class DatabaseTask extends AsyncTask<Object, Void, Object> {
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DAsyncTaskUtil.java19 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/Contacts/src/com/android/contacts/dialog/
DClearFrequentsDialog.java27 import android.os.AsyncTask;
57 final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in onCreateDialog()
70 task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onCreateDialog()
/packages/apps/Dialer/java/com/android/contacts/common/dialog/
DClearFrequentsDialog.java28 import android.os.AsyncTask;
63 final AsyncTask<Void, Void, Void> task = in onCreateDialog()
64 new AsyncTask<Void, Void, Void>() { in onCreateDialog()
77 task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/users/
DAppCopyFragment.java24 import android.os.AsyncTask;
61 private AsyncTask mAppLoadingTask;
139 if (mAppLoadingTask == null || mAppLoadingTask.getStatus() == AsyncTask.Status.FINISHED) { in onResume()
150 new AsyncTask<Void, Void, Void>() { in onPause() method
178 private class AppLoadingTask extends AsyncTask<Void, Void, Void> {
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DTrickplayStorageManager.java20 import android.os.AsyncTask;
44 private static AsyncTask<Void, Void, Void> sLastCacheCleanUpTask;
84 new AsyncTask<Void, Void, Void>() { in clearStorage()
106 sLastCacheCleanUpTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in clearStorage()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DFlipperDreamSettings.java21 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/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DTrickplayStorageManager.java20 import android.os.AsyncTask;
44 private static AsyncTask<Void, Void, Void> sLastCacheCleanUpTask;
84 new AsyncTask<Void, Void, Void>() { in clearStorage()
106 sLastCacheCleanUpTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in clearStorage()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/clipping/
DUrisSupplierTest.java24 import android.os.AsyncTask;
64 AsyncTask.setDefaultExecutor(mExecutor); in setUp()
73 AsyncTask.setDefaultExecutor(AsyncTask.SERIAL_EXECUTOR); in tearDownOnce()
DClipStorageTest.java28 import android.os.AsyncTask;
74 AsyncTask.setDefaultExecutor(mExecutor); in setUp()
81 AsyncTask.setDefaultExecutor(AsyncTask.SERIAL_EXECUTOR); in tearDownOnce()
/packages/apps/Settings/src/com/android/settings/notification/
DDefaultNotificationTonePreference.java25 import android.os.AsyncTask;
55 AsyncTask ringtoneNameTask = new AsyncTask<Object, Void, CharSequence>() { in updateRingtoneName()
/packages/apps/Contacts/src/com/android/contacts/util/
DPhoneNumberFormatter.java20 import android.os.AsyncTask;
34 AsyncTask<Void, Void, PhoneNumberFormattingTextWatcher> {
87 .executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void[]) null); in setPhoneNumberFormattingTextWatcher()
/packages/apps/PhoneCommon/src/com/android/phone/common/
DCallLogAsync.java19 import android.os.AsyncTask;
72 public AsyncTask getLastOutgoingCall(GetLastOutgoingCallArgs args) { in getLastOutgoingCall()
80 private class GetLastOutgoingCallTask extends AsyncTask<GetLastOutgoingCallArgs, Void, String> {
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogAsyncTaskUtil.java23 import android.os.AsyncTask;
54 new AsyncTask<Void, Void, Void>() { in markVoicemailAsRead()
84 new AsyncTask<Void, Void, Void>() { in deleteVoicemail()
120 new AsyncTask<Void, Void, Void>() { in markCallAsRead()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DFilteredNumbersUtil.java23 import android.os.AsyncTask;
73 final AsyncTask task = in checkForSendToVoicemailContact()
74 new AsyncTask<Object, Void, Boolean>() { in checkForSendToVoicemailContact()
123 final AsyncTask<Object, Void, Boolean> task = in importSendToVoicemailContacts()
124 new AsyncTask<Object, Void, Boolean>() { in importSendToVoicemailContacts()

12345678910>>...13