Searched refs:Task (Results 1 – 18 of 18) sorted by relevance
25 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 …]
37 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()
207 Task task = (Task) msg.obj;233 Task task = (Task) msg.obj;281 void addTask(Task task) {
34 public interface Task { interface147 void onDuplicatedTaskAdded(Task task); in onDuplicatedTaskAdded()
39 public abstract class BaseTask implements Task {205 public void onDuplicatedTaskAdded(Task task) { in onDuplicatedTaskAdded()
50 public void onDuplicatedTaskAdded(Task task) { in onDuplicatedTaskAdded()
21 import com.android.voicemail.impl.scheduling.Task.TaskId;
72 Task task = Tasks.createTask(context.getApplicationContext(), intent.getExtras()); in onReceive()
33 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 TestTimer135 public Task(TimerTask delegate) { in Task() method in TestTimer.Task
71 mTimer.scheduleAtTime(new TestTimer.Task(task), uptimeMillis + mTimeDelta); in sendMessageAtTime()
53 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 ShortcutRefresher61 Task(Context context) { in Task() method in ShortcutRefresher.Task
75 EXECUTOR.submit(Task.ID, new Task(context), phoneNumber); in onOutgoingCallAdded()78 private static final class Task extends AsyncTask<String, Void, Void> { class in ShortcutUsageReporter83 public Task(Context context) { in Task() method in ShortcutUsageReporter.Task
88 new Task().execute(); in start()110 private class Task extends AsyncTask<Void, Void, Intent> { class in SaveChosenLockWorkerBase
201 TestTimer.Task testTask = new TestTimer.Task(task); in createOpenTask()
38 import com.android.camera.util.Task;763 mCapturedImageBuffer.close(new Task<CapturedImage>() {
22 public interface Task<T> { interface
491 public void close(Task<E> task) throws InterruptedException { in close()
1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...