Home
last modified time | relevance | path

Searched refs:EmailAsyncTask (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DEmailAsyncTask.java41 public abstract class EmailAsyncTask<Params, Progress, Result> { class
51 private final LinkedList<EmailAsyncTask<?, ?, ?>> mTasks =
52 new LinkedList<EmailAsyncTask<?, ?, ?>>();
54 private void add(EmailAsyncTask<?, ?, ?> task) { in add() argument
60 private void remove(EmailAsyncTask<?, ?, ?> task) { in remove() argument
72 for (EmailAsyncTask<?, ?, ?> task : mTasks) { in cancelAllInterrupt()
83 /* package */ void cancelOthers(EmailAsyncTask<?, ?, ?> current) { in cancelOthers() argument
86 final ArrayList<EmailAsyncTask<?, ?, ?>> toRemove = in cancelOthers()
87 new ArrayList<EmailAsyncTask<?, ?, ?>>(); in cancelOthers()
88 for (EmailAsyncTask<?, ?, ?> task : mTasks) { in cancelOthers()
[all …]
/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DEmailAsyncTaskTests.java30 final EmailAsyncTask.Tracker tracker = new EmailAsyncTask.Tracker(); in testAll()
89 final EmailAsyncTask.Tracker tracker = new EmailAsyncTask.Tracker(); in testCancellOthers()
116 private static class MyTask extends EmailAsyncTask<String, String, String> {
/packages/apps/Email/
Dproguard-test.flags94 -keepclasseswithmembers class com.android.emailcommon.utility.EmailAsyncTask {
97 -keepclasseswithmembers class com.android.emailcommon.utility.EmailAsyncTask$Tracker {
100 *** containsTaskForTest(com.android.emailcommon.utility.EmailAsyncTask);
/packages/apps/Email/provider_src/com/android/email/service/
DAccountService.java31 import com.android.emailcommon.utility.EmailAsyncTask;
58 EmailAsyncTask.runAsyncSerial(new Runnable() {
/packages/apps/Email/src/com/android/email/activity/setup/
DMailboxSettings.java48 import com.android.emailcommon.utility.EmailAsyncTask;
457 new EmailAsyncTask<Void, Void, Void> (null /* no cancel */) { in saveToDatabase() method
/packages/apps/Email/src/com/android/email/
DEmailNotificationController.java48 import com.android.emailcommon.utility.EmailAsyncTask;
551 EmailAsyncTask.runAsyncParallel(new Runnable() { in cancelSecurityNeededNotification()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java108 import com.android.emailcommon.utility.EmailAsyncTask;
394 EmailAsyncTask.runAsyncParallel(new Runnable() { in reconcileAccountsAsync()
6312 EmailAsyncTask.runAsyncParallel(new Runnable() { in setServicesEnabledAsync()