Home
last modified time | relevance | path

Searched defs:task (Results 1 – 25 of 127) sorted by relevance

123456

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityStackTests.java54 final TaskRecord task = createTask(service, testActivityComponent, TEST_STACK_ID); in testEmptyTaskCleanupOnRemove() local
64 final TaskRecord task = createTask(service, testActivityComponent, TEST_STACK_ID); in testOccupiedTaskCleanupOnRemove() local
75 final TaskRecord task = createTask(service, testActivityComponent, TEST_STACK_ID); in testNoPauseDuringResumeTopActivity() local
96 final TaskRecord task = createTask(service, testActivityComponent, TEST_STACK_ID); in testStopActivityWhenActivityDestroyed() local
108 final TaskRecord task = createTask(service, testActivityComponent, TEST_STACK_ID); in testFindTaskWithOverlay() local
129 final TaskRecord task = createTask(service, testActivityComponent, TEST_STACK_ID); in testNavigateUpTo() local
DActivityRecordTests.java58 final TaskRecord task = createTask(service, testActivityComponent, TEST_STACK_ID); in testStackCleanupOnClearingTask() local
68 final TaskRecord task = createTask(service, testActivityComponent, TEST_STACK_ID); in testStackCleanupOnActivityRemoval() local
78 final TaskRecord task = createTask(service, testActivityComponent, TEST_STACK_ID); in testStackCleanupOnTaskRemoval() local
130 final TaskRecord task = createTask(service, testActivityComponent, TEST_STACK_ID); in verifyPositionWithLimitedAspectRatio() local
163 final TaskRecord task = taskPresent in testSupportsLaunchingResizeable() local
/frameworks/base/libs/hwui/thread/
DTaskProcessor.h42 void add(const sp<Task<T> >& task) { in add()
54 virtual void process(const sp<TaskBase>& task) override { in process()
65 bool TaskProcessor<T>::addImpl(const sp<Task<T> >& task) { in addImpl()
DTaskManager.cpp62 bool TaskManager::addTaskBase(const sp<TaskBase>& task, const sp<TaskProcessorBase>& processor) { in addTaskBase()
99 const TaskWrapper& task = tasks[i]; in threadLoop() local
106 bool TaskManager::WorkerThread::addTask(const TaskWrapper& task) { in addTask()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/dragndrop/
DDragStartEvent.java30 public final Task task; field in DragStartEvent
35 public DragStartEvent(Task task, TaskView taskView, Point tlOffset) { in DragStartEvent()
39 public DragStartEvent(Task task, TaskView taskView, Point tlOffset, in DragStartEvent()
DDragDropTargetChangedEvent.java29 public final Task task; field in DragDropTargetChangedEvent
32 public DragDropTargetChangedEvent(Task task, DropTarget dropTarget) { in DragDropTargetChangedEvent()
DDragStartInitializeDropTargetsEvent.java30 public final Task task; field in DragStartInitializeDropTargetsEvent
34 public DragStartInitializeDropTargetsEvent(Task task, TaskView taskView, in DragStartInitializeDropTargetsEvent()
DDragEndEvent.java29 public final Task task; field in DragEndEvent
33 public DragEndEvent(Task task, TaskView taskView, DropTarget dropTarget) { in DragEndEvent()
DDragEndCancelledEvent.java31 public final Task task; field in DragEndCancelledEvent
34 public DragEndCancelledEvent(TaskStack stack, Task task, TaskView taskView) { in DragEndCancelledEvent()
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp70 void TaskQueue::queue(RenderTask* task) { in queue()
104 void TaskQueue::queueAtFront(RenderTask* task) { in queueAtFront()
114 void TaskQueue::remove(RenderTask* task) { in remove()
371 while (RenderTask* task = nextTask(&nextWakeup)) { in threadLoop() local
374 for (auto task : workQueue) { in threadLoop() local
409 void RenderThread::queue(RenderTask* task) { in queue()
418 void RenderThread::queueAndWait(RenderTask* task) { in queueAndWait()
433 void RenderThread::queueAtFront(RenderTask* task) { in queueAtFront()
439 void RenderThread::queueAt(RenderTask* task, nsecs_t runAtNs) { in queueAt()
444 void RenderThread::remove(RenderTask* task) { in remove()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/
DDeleteTaskDataEvent.java28 public final Task task; field in DeleteTaskDataEvent
30 public DeleteTaskDataEvent(Task task) { in DeleteTaskDataEvent()
DShowApplicationInfoEvent.java27 public final Task task; field in ShowApplicationInfoEvent
29 public ShowApplicationInfoEvent(Task task) { in ShowApplicationInfoEvent()
DTaskViewDismissedEvent.java29 public final Task task; field in TaskViewDismissedEvent
33 public TaskViewDismissedEvent(Task task, TaskView taskView, AnimationProps animation) { in TaskViewDismissedEvent()
/frameworks/support/app-toolkit/core-testing/src/androidTest/java/android/arch/core/executor/testing/
DCountingTaskExecutorRuleTest.java58 LatchRunnable task = runOnIO(); in busyIO() local
64 LatchRunnable task = runOnMain(); in busyMain() local
109 private void singleTaskTest(LatchRunnable task) in singleTaskTest()
140 final LatchRunnable task = runOnIO(); in drainSuccess() local
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternChecker.java68 AsyncTask<Void, Void, byte[]> task = new AsyncTask<Void, Void, byte[]>() { in verifyPattern() local
110 AsyncTask<Void, Void, Boolean> task = new AsyncTask<Void, Void, Boolean>() { in checkPattern() local
159 AsyncTask<Void, Void, byte[]> task = new AsyncTask<Void, Void, byte[]>() { in verifyPassword() local
196 AsyncTask<Void, Void, byte[]> task = new AsyncTask<Void, Void, byte[]>() { in verifyTiedProfileChallenge() local
230 AsyncTask<Void, Void, Boolean> task = new AsyncTask<Void, Void, Boolean>() { in checkPassword() local
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DPlaybackSeekAsyncDataProvider.java48 protected boolean isCancelled(Object task) { in isCancelled()
52 protected abstract Bitmap doInBackground(Object task, int index, long position); in doInBackground()
115 LoadBitmapTask task = mRequests.get(index); in getThumbnail() local
149 LoadBitmapTask task = mRequests.get(i); in prefetch() local
162 LoadBitmapTask task = mRequests.valueAt(i); in reset() local
/frameworks/base/services/core/java/com/android/server/am/
DLaunchingTaskPositioner.java115 void updateDefaultBounds(TaskRecord task, ArrayList<TaskRecord> tasks, in updateDefaultBounds()
171 private void positionBottomLeft(TaskRecord task, ArrayList<TaskRecord> tasks, int width, in positionBottomLeft()
178 private void positionBottomRight(TaskRecord task, ArrayList<TaskRecord> tasks, int width, in positionBottomRight()
185 private void positionTopLeft(TaskRecord task, ArrayList<TaskRecord> tasks, int width, in positionTopLeft()
192 private void positionTopRight(TaskRecord task, ArrayList<TaskRecord> tasks, int width, in positionTopRight()
199 private void positionCenter(TaskRecord task, ArrayList<TaskRecord> tasks, int width, in positionCenter()
206 private void position(TaskRecord task, ArrayList<TaskRecord> tasks, Rect proposal, in position()
267 TaskRecord task = tasks.get(i); in boundsConflict() local
DActivityStack.java673 final TaskRecord task = mTaskHistory.get(taskNdx); in topRunningNonOverlayTaskActivity() local
687 final TaskRecord task = mTaskHistory.get(taskNdx); in topRunningNonDelayedActivityLocked() local
710 TaskRecord task = mTaskHistory.get(taskNdx); in topRunningActivityLocked() local
756 final TaskRecord task = mTaskHistory.get(taskNdx); in taskForIdLocked() local
773 final TaskRecord task = r.getTask(); in isInStackLocked() local
783 boolean isInStackLocked(TaskRecord task) { in isInStackLocked()
808 final void removeActivitiesFromLRUListLocked(TaskRecord task) { in removeActivitiesFromLRUListLocked()
856 void moveToFront(String reason, TaskRecord task) { in moveToFront()
879 private void moveToBack(TaskRecord task) { in moveToBack()
946 final TaskRecord task = mTaskHistory.get(taskNdx); in findTaskLocked() local
[all …]
DRecentTasks.java148 void notifyTaskPersisterLocked(TaskRecord task, boolean flush) { in notifyTaskPersisterLocked()
168 final TaskRecord task = get(i); in syncPersistentTaskIdsLocked() local
182 private static boolean shouldPersistTaskLocked(TaskRecord task) { in shouldPersistTaskLocked()
311 final TaskRecord task = get(i); in cleanupLocked() local
404 private final boolean moveAffiliatedTasksToFront(TaskRecord task, int taskIndex) { in moveAffiliatedTasksToFront()
506 final void addLocked(TaskRecord task) { in addLocked()
638 int trimForTaskLocked(TaskRecord task, boolean doTrim) { in trimForTaskLocked()
753 final TaskRecord task = get(i); in processNextAffiliateChainLocked() local
DTaskPersister.java113 TaskWriteQueueItem(TaskRecord task) { in TaskWriteQueueItem()
169 private void removeThumbnails(TaskRecord task) { in removeThumbnails()
256 void wakeup(TaskRecord task, boolean flush) { in wakeup()
361 private StringWriter saveToXml(TaskRecord task) throws IOException, XmlPullParserException { in saveToXml()
405 final TaskRecord task = tasks.get(taskNdx); in taskIdToTask() local
464 final TaskRecord task = TaskRecord.restoreFromXml(in, mStackSupervisor); in restoreTasksForUserLocked() local
520 final TaskRecord task = tasks.get(taskNdx); in restoreTasksForUserLocked() local
662 final TaskRecord task = mRecentTasks.get(taskNdx); in run() local
754 TaskRecord task = ((TaskWriteQueueItem) item).mTask; in processNextItem() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DFreeformWorkspaceLayoutAlgorithm.java70 Task task = freeformTasks.get(i); in update() local
124 Task task = freeformTasks.get(i); in update() local
142 public boolean isTransformAvailable(Task task, TaskStackLayoutAlgorithm stackLayout) { in isTransformAvailable()
153 public TaskViewTransform getTransform(Task task, TaskViewTransform transformOut, in getTransform()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DBackupHandler.java171 BackupRestoreTask task = (BackupRestoreTask) msg.obj; in handleMessage() local
197 PerformAdbBackupTask task = new PerformAdbBackupTask(backupManagerService, in handleMessage() local
208 PerformFullTransportBackupTask task = (PerformFullTransportBackupTask) msg.obj; in handleMessage() local
217 PerformUnifiedRestoreTask task = new PerformUnifiedRestoreTask(backupManagerService, in handleMessage() local
246 PerformAdbRestoreTask task = new PerformAdbRestoreTask(backupManagerService, in handleMessage() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/
DLaunchTaskEvent.java31 public final Task task; field in LaunchTaskEvent
36 public LaunchTaskEvent(TaskView taskView, Task task, Rect targetTaskBounds, int targetTaskStack, in LaunchTaskEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DDiskStatsLoggingServiceTest.java95 LogRunnable task = new LogRunnable(); in testEmptyLog() local
137 LogRunnable task = new LogRunnable(); in testPopulatedLogTask() local
164 LogRunnable task = new LogRunnable(); in testDontCrashOnPackageStatsTimeout() local
/frameworks/base/services/core/jni/BroadcastRadio/
DNativeCallbackThread.cpp52 Task task; in threadLoop() local
84 void NativeCallbackThread::enqueue(const Task &task) { in enqueue()

123456