Home
last modified time | relevance | path

Searched refs:Task (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
DTaskQueue.java25 import com.android.voicemail.impl.scheduling.Task.TaskId;
37 class TaskQueue implements Iterable<Task> {
39 private final Queue<Task> queue = new ArrayDeque<>();
43 for (Task task : queue) { in toBundles()
52 Task task = Tasks.createTask(context, pendingTask); in fromBundles()
65 public boolean add(Task task) { in add()
66 if (task.getId().id == Task.TASK_INVALID) { in add()
69 if (task.getId().id != Task.TASK_ALLOW_DUPLICATES) { in add()
70 Task oldTask = getTask(task.getId()); in add()
81 public void remove(Task task) { in remove()
[all …]
DTasks.java37 public static Task createTask(Context context, Bundle extras) { in createTask()
47 Task task = (Task) Class.forName(className).getDeclaredConstructor().newInstance(); in createTask()
59 public static Bundle toBundle(Task task) { in toBundle()
70 public static Intent createIntent(Context context, Class<? extends Task> task) { in createIntent()
DTaskExecutor.java207 Task task = (Task) msg.obj;
233 Task task = (Task) msg.obj;
281 void addTask(Task task) {
DTask.java34 public interface Task { interface
147 void onDuplicatedTaskAdded(Task task); in onDuplicatedTaskAdded()
DBaseTask.java39 public abstract class BaseTask implements Task {
205 public void onDuplicatedTaskAdded(Task task) { in onDuplicatedTaskAdded()
DBlockerTask.java50 public void onDuplicatedTaskAdded(Task task) { in onDuplicatedTaskAdded()
DMinimalIntervalPolicy.java21 import com.android.voicemail.impl.scheduling.Task.TaskId;
DTaskReceiver.java72 Task task = Tasks.createTask(context.getApplicationContext(), intent.getExtras()); in onReceive()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestTimer.java33 private final LinkedList<Task> mTaskList = new LinkedList<>();
46 Task task = mTaskList.getFirst(); in fastForwardTo()
73 Iterator<Task> iter = mTaskList.iterator(); in purge()
75 Task task = iter.next(); in purge()
117 Task testTimerTask = (Task) task; in scheduleAtTime()
120 ListIterator<Task> iter = mTaskList.listIterator(0); in scheduleAtTime()
129 public static class Task extends TimerTask { class in TestTimer
135 public Task(TimerTask delegate) { in Task() method in TestTimer.Task
DTestHandler.java71 mTimer.scheduleAtTime(new TestTimer.Task(task), uptimeMillis + mTimeDelta); in sendMessageAtTime()
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
DShortcutRefresher.java53 EXECUTOR.submit(Task.ID, new Task(context), new ArrayList<>(contacts)); in refresh()
56 private static final class Task extends FallibleAsyncTask<List<ContactEntry>, Void, Void> { class in ShortcutRefresher
61 Task(Context context) { in Task() method in ShortcutRefresher.Task
DShortcutUsageReporter.java75 EXECUTOR.submit(Task.ID, new Task(context), phoneNumber); in onOutgoingCallAdded()
78 private static final class Task extends AsyncTask<String, Void, Void> { class in ShortcutUsageReporter
83 public Task(Context context) { in Task() method in ShortcutUsageReporter.Task
/packages/apps/Settings/src/com/android/settings/password/
DSaveChosenLockWorkerBase.java88 new Task().execute(); in start()
110 private class Task extends AsyncTask<Void, Void, Intent> { class in SaveChosenLockWorkerBase
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DItemDragListenerTest.java201 TestTimer.Task testTask = new TestTimer.Task(task); in createOpenTask()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DImageCaptureManager.java38 import com.android.camera.util.Task;
763 mCapturedImageBuffer.close(new Task<CapturedImage>() {
/packages/apps/Camera2/src/com/android/camera/util/
DTask.java22 public interface Task<T> { interface
DConcurrentSharedRingBuffer.java491 public void close(Task<E> task) throws InterruptedException { in close()
/packages/inputmethods/LatinIME/dictionaries/
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...