Searched defs:Task (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/libs/hwui/thread/
H A DTask.h35 class Task : public TaskBase { class in namespace:android::uirenderer
37 Task() : mFuture(new Future<T>()) {} function in class:android::uirenderer::Task
38 virtual ~Task() {}
/frameworks/base/services/core/jni/BroadcastRadio/
H A DNativeCallbackThread.h29 typedef std::function<void(JNIEnv*)> Task; typedef in class:android::NativeCallbackThread
32 std::queue<Task> mQueue;
47 void enqueue(const Task &task);
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DPipeManager.java46 final Task task = new ImportFileTask(model, identifier);
52 final Task task = new GetThumbnailTask(model, identifier);
57 private static abstract class Task implements Runnable { class in class:PipeManager
62 Task(MtpManager manager, Identifier identifier) throws IOException { method in class:PipeManager.Task
73 private static class ImportFileTask extends Task {
94 private static class GetThumbnailTask extends Task {
/frameworks/native/services/vr/performanced/
H A Dtask.cpp44 Task::Task(pid_t task_id) function in class:android::dvr::Task
53 "Task::Task: Failed to open task directory for task_id=%d: %s",
59 "Task::Task: task_id=%d name=%s tgid=%d ppid=%d cpu_mask=%x",
65 base::unique_fd Task::OpenTaskFile(const std::string& name) const {
71 UniqueFile Task::OpenTaskFilePointer(const std::string& name) const {
75 ALOGE("Task::OpenTaskFilePointer: Failed to open /proc/%d/%s: %s", task_id_,
82 ALOGE("Task
[all...]
H A Dtask.h20 // Task provides access to task-related information from the procfs
22 class Task { class in namespace:android::dvr
24 explicit Task(pid_t task_id);
76 Task(const Task&) = delete;
77 void operator=(const Task&) = delete;
H A Dperformance_service.cpp21 using android::dvr::Task;
46 static bool Check(const Message& sender, const Task&) { argument
57 static bool Check(const Message& sender, const Task&) { argument
67 static bool Check(const Message& sender, const Task&) { argument
74 static bool Check(const Message& sender, const Task& task) {
82 static bool Check(const Message& sender, const Task& task) {
92 static bool Check(const Message& sender, const Task& task) {
109 Task task(getpid());
111 task.user_id()[Task::kUidReal], task.group_id()[Task
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DGapWorker.java37 static class Task { class in class:GapWorker
54 * Temporary storage for prefetch Tasks that execute in {@link #prefetch(long)}. Task objects
58 private ArrayList<Task> mTasks = new ArrayList<>();
183 static Comparator<Task> sTaskComparator = new Comparator<Task>() {
185 public int compare(Task lhs, Task rhs) {
227 final Task task;
229 task = new Task();
323 private void flushTaskWithDeadline(Task tas
[all...]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
H A DTask.java36 public class Task { class
38 public static final String TAG = "Task";
40 /* Task callbacks */
43 void onTaskDataLoaded(Task task, ThumbnailData thumbnailData);
50 /* The Task Key represents the unique primary key for the task */
178 public Task() { method in class:Task
182 public Task(TaskKey key, Drawable icon, ThumbnailData thumbnail, String title, method in class:Task
209 public void copyFrom(Task o) {
284 Task t = (Task)
[all...]
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DGapWorker.java37 static class Task { class in class:GapWorker
54 * Temporary storage for prefetch Tasks that execute in {@link #prefetch(long)}. Task objects
58 private ArrayList<Task> mTasks = new ArrayList<>();
188 static Comparator<Task> sTaskComparator = new Comparator<Task>() {
190 public int compare(Task lhs, Task rhs) {
239 final Task task;
241 task = new Task();
341 private void flushTaskWithDeadline(Task tas
[all...]
/frameworks/support/compat/src/main/java/androidx/core/app/
H A DNotificationManagerCompat.java296 private void pushSideChannelQueue(Task task) {
333 public void queueTask(Task task) {
341 handleQueueTask((Task) msg.obj);
357 private void handleQueueTask(Task task) {
531 Task task = record.taskQueue.peek();
565 ArrayDeque<Task> taskQueue = new ArrayDeque<>();
586 private interface Task { interface in class:NotificationManagerCompat
590 private static class NotifyTask implements Task {
619 private static class CancelTask implements Task {
/frameworks/base/services/core/java/com/android/server/wm/
H A DTask.java53 class Task extends WindowContainer<AppWindowToken> { class in inherits:WindowContainer
54 static final String TAG = TAG_WITH_CLASS_NAME ? "Task" : TAG_WM;
103 Task(int taskId, TaskStack stack, int userId, WindowManagerService service, int resizeMode, method in class:Task
647 void forAllTasks(Consumer<Task> callback) {
740 return "Task=" + mTaskId;
/frameworks/support/media/src/main/java/androidx/media/
H A DMediaPlayer2Impl.java142 private final ArrayDeque<Task> mPendingTasks = new ArrayDeque<>();
144 private Task mCurrentTask;
239 addTask(new Task(CALL_COMPLETED_PLAY, false) {
259 addTask(new Task(CALL_COMPLETED_PREPARE, true) {
274 addTask(new Task(CALL_COMPLETED_PAUSE, false) {
289 addTask(new Task(CALL_COMPLETED_SKIP_TO_NEXT, false) {
366 addTask(new Task(CALL_COMPLETED_SET_AUDIO_ATTRIBUTES, false) {
395 addTask(new Task(CALL_COMPLETED_SET_DATA_SOURCE, false) {
419 addTask(new Task(CALL_COMPLETED_SET_NEXT_DATA_SOURCE, false) {
437 addTask(new Task(CALL_COMPLETED_SET_NEXT_DATA_SOURCE
1912 private abstract class Task implements Runnable { class in class:MediaPlayer2Impl
1917 Task(int mediaCallType, boolean needToWaitForEventToComplete) { method in class:MediaPlayer2Impl.Task
[all...]
/frameworks/base/media/java/android/media/
H A DMediaPlayer2Impl.java141 private final List<Task> mPendingTasks = new LinkedList<>();
143 private Task mCurrentTask;
216 addTask(new Task(CALL_COMPLETED_PLAY, false) {
239 addTask(new Task(CALL_COMPLETED_PREPARE, true) {
257 addTask(new Task(CALL_COMPLETED_PAUSE, false) {
275 addTask(new Task(CALL_COMPLETED_SKIP_TO_NEXT, false) {
360 addTask(new Task(CALL_COMPLETED_SET_AUDIO_ATTRIBUTES, false) {
392 addTask(new Task(CALL_COMPLETED_SET_DATA_SOURCE, false) {
419 addTask(new Task(CALL_COMPLETED_SET_NEXT_DATA_SOURCE, false) {
449 addTask(new Task(CALL_COMPLETED_SET_NEXT_DATA_SOURCE
4736 private abstract class Task implements Runnable { class in class:MediaPlayer2Impl
4741 public Task (int mediaCallType, boolean needToWaitForEventToComplete) { method in class:MediaPlayer2Impl.Task
[all...]

Completed in 104 milliseconds