/aosp12/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | TaskDisplayArea.java | 137 Task task; 252 Task getTopRootTask() { 257 Task getRootHomeTask() { 1091 @Nullable Task candidateTask, @Nullable Task sourceTask, 1143 @Nullable Task candidateTask, @Nullable Task sourceTask, 1330 Task getNextFocusableRootTask(Task currentFocus, boolean ignoreCurrent) { 1922 Task s; 1950 private Task getBottomMostVisibleRootTask(Task excludeRootTask) { 1965 void moveRootTaskBehindRootTask(Task rootTask, Task behindRootTask) { 1995 static Task getRootTaskAbove(Task rootTask) { [all …]
|
H A D | EventLogTags.logtags | 9 30001 wm_finish_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Reason|3) 11 30002 wm_task_to_front (User|1|5),(Task|1|5) 15 30004 wm_create_task (User|1|5),(Task ID|1|5) 19 30006 wm_restart_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3) 21 30007 wm_resume_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3) 37 30020 wm_relaunch_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3) 43 …cused_root_task (User|1|5),(Display Id|1|5),(Focused Root Task Id|1|5),(Last Focused Root Task Id|… 49 30061 wm_remove_task (Task ID|1|5), (Root Task ID|1|5) 59 # Task created. 61 # Task moved to top (1) or bottom (0). [all …]
|
H A D | RecentTasks.java | 482 for (final Task task : mTasks) { in loadUserRecentsLocked() 632 Task task = mTasks.get(i); in removeTasksForUserLocked() 1008 ArrayList<Task> getRawTasks() { in getRawTasks() 1034 Task getTask(int id) { in getTask() 1037 Task task = mTasks.get(i); in getTask() 1048 void add(Task task) { in add() 1188 boolean addToBottom(Task task) { in addToBottom() 1202 void remove(Task task) { in remove() 1666 Task top = task; in moveAffiliatedTasksToFront() 1679 Task prev = top; in moveAffiliatedTasksToFront() [all …]
|
H A D | TaskOrganizerController.java | 110 void onTaskAppeared(Task task) { in onTaskAppeared() 122 void onTaskVanished(Task task) { in onTaskVanished() 152 void onBackPressedOnTaskRoot(Task task) { in onBackPressedOnTaskRoot() 204 private boolean addTask(Task t) { in addTask() 281 final Task mTask; 536 boolean copySplashScreenView(Task task) { in copySplashScreenView() 639 final Task task = new Task.Builder(mService) in createRootTask() 659 final Task task = wc.asTask(); in deleteRootTask() 684 final Task task = event.mTask; in dispatchPendingEvents() 714 void reportImeDrawnOnTask(Task task) { in reportImeDrawnOnTask() [all …]
|
H A D | RunningTasks.java | 45 private static final Comparator<Task> LAST_ACTIVE_TIME_COMPARATOR = 48 private final TreeSet<Task> mTmpSortedSet = new TreeSet<>(LAST_ACTIVE_TIME_COMPARATOR); 56 private Task mTopDisplayFocusRootTask; 57 private Task mTopDisplayAdjacentTask; 88 PooledLambda.__(Task.class)); in getTasks() 93 final Iterator<Task> iter = mTmpSortedSet.iterator(); in getTasks() 99 final Task task = iter.next(); in getTasks() 105 private void processTask(Task task) { in processTask() 130 final Task rootTask = task.getRootTask(); in processTask() 148 private RunningTaskInfo createRunningTaskInfo(Task task) { in createRunningTaskInfo()
|
H A D | ResetTargetTaskHelper.java | 36 private Task mTask; 37 private Task mTargetTask; 38 private Task mTargetRootTask; 49 private void reset(Task task) { in reset() 58 ActivityOptions process(Task targetTask, boolean forceReset) { in process() 66 ResetTargetTaskHelper::processTask, this, PooledLambda.__(Task.class)); in process() 75 private void processTask(Task task) { in processTask() 208 private void processResultActivities(ActivityRecord target, Task targetTask, int position, in processResultActivities() 242 final Task task = alwaysCreateTask in processPendingReparentActivities() 244 Task targetTask = null; in processPendingReparentActivities()
|
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | RootTaskTests.java | 278 final Task task = r.getTask(); in testResumedActivity() 291 final Task task = r.getTask(); in testResumedActivityFromTaskReparenting() 310 final Task task = r.getTask(); in testResumedActivityFromActivityReparenting() 755 final Task bottomRootTask = in testGetVisibility_FullscreenBehindTranslucent() 770 final Task bottomRootTask = in testGetVisibility_FullscreenBehindTranslucentAndOpaque() 776 final Task opaqueRootTask = in testGetVisibility_FullscreenBehindTranslucentAndOpaque() 790 final Task bottomRootTask = in testGetVisibility_FullscreenBehindOpaqueAndTranslucent() 793 final Task opaqueRootTask = in testGetVisibility_FullscreenBehindOpaqueAndTranslucent() 828 final Task opaqueRootTask = in testGetVisibility_FullscreenTranslucentBehindOpaque() 840 final Task bottomRootTask = in testGetVisibility_FullscreenBehindTranslucentAndPip() [all …]
|
H A D | RecentTasksTest.java | 117 private ArrayList<Task> mTasks; 118 private ArrayList<Task> mSameDocumentTasks; 285 Task task1 = createTaskBuilder(".Task1") in testAddTasks_expectRemovedNoTrim() 590 final Task task = tasks.get(i); in testOrderedIteration() 727 final Task task = mTasks.get(i); in testVisibleTasks_minNum() 748 final Task task = mTasks.get(i); in testVisibleTasks_maxNum() 793 Task task = createTaskBuilder(".Task") in testVisibleEmbeddedTask_expectNotVisible() 1061 Task t1 = createTaskBuilder(".Task1") in testRemoveAllVisibleTasksPerUser() 1066 Task t2 = createTaskBuilder(".Task2") in testRemoveAllVisibleTasksPerUser() 1071 Task t3 = createTaskBuilder(".Task3") in testRemoveAllVisibleTasksPerUser() [all …]
|
H A D | TaskDisplayAreaTests.java | 80 final Task rootTask = createTask( in getLaunchRootTask_checksLaunchAdjacentFlagRoot() 83 final Task adjacentRootTask = createTask( in getLaunchRootTask_checksLaunchAdjacentFlagRoot() 110 final Task adjacentRootTask = createTask( in getLaunchRootTask_checksFocusedRootTask() 127 final Task rootTask = createTask( in getLaunchRootTask_fromLaunchAdjacentFlagRoot_checksAdjacentRoot() 130 final Task adjacentRootTask = createTask( in getLaunchRootTask_fromLaunchAdjacentFlagRoot_checksAdjacentRoot() 146 final Task rootTask = createTask( in getOrCreateLaunchRootRespectsResolvedWindowingMode() 153 final Task candidateRootTask = createTask( in getOrCreateLaunchRootRespectsResolvedWindowingMode() 167 final Task rootTask = createTask( in getOrCreateLaunchRootUsesActivityOptionsWindowingMode() 207 Task pinnedTask = createTask( in testRootTaskPositionChildAt() 240 Task pinnedTask = createTask( in testRootTaskPositionBelowPinnedRootTask() [all …]
|
H A D | TaskTests.java | 379 final Task task = createTask(1); in testCopyBaseIntentForTaskInfo() 389 final Task task = createTask(1); in testReturnsToHomeRootTask() 833 final Task task = new Task.Builder(mAtm) in testTaskIntentActivityAlias() 859 final Task task = getTestTask(); in testFindRootIndex() 874 final Task task = getTestTask(); in testFindRootIndex_finishing() 893 final Task task = getTestTask(); in testFindRootIndex_effectiveRoot() 928 final Task task = getTestTask(); in testFindRootIndex_effectiveRoot_relinquishingAndSingleActivity() 1412 final Task task1 = in testMoveToFront_moveAdjacentTask() 1414 final Task task2 = in testMoveToFront_moveAdjacentTask() 1452 private Task getTestTask() { in getTestTask() [all …]
|
H A D | WindowOrganizerTests.java | 132 Task createTask(Task rootTask, boolean fakeDraw) { in createTask() 141 Task createTask(Task rootTask) { in createTask() 146 Task createRootTask() { in createRootTask() 160 final Task rootTask = createRootTask(); in testAppearVanish() 161 final Task task = createTask(rootTask); in testAppearVanish() 176 final Task rootTask = createRootTask(); in testAppearWaitsForVisibility() 583 final Task rootTask = createTask( in testTileAddRemoveChild() 636 final Task rootTask = createTask( in testTaskInfoCallback() 647 final Task rootTask2 = createTask( in testTaskInfoCallback() 698 final Task rootTask = createTask( in testHierarchyTransaction() [all …]
|
H A D | LockTaskControllerTest.java | 178 Task tr = getTask(LOCK_TASK_AUTH_ALLOWLISTED); in testStartLockTaskMode_once() 215 Task tr = getTask(LOCK_TASK_AUTH_PINNABLE); in testStartLockTaskMode_pinningRequest() 227 Task tr = getTask(LOCK_TASK_AUTH_PINNABLE); in testStartLockTaskMode_pinnedBySystem() 246 Task tr = getTask(LOCK_TASK_AUTH_ALLOWLISTED); in testLockTaskViolation() 270 Task tr = getTask(LOCK_TASK_AUTH_ALLOWLISTED); in testLockTaskViolation_emergencyCall() 302 Task tr = getTask(LOCK_TASK_AUTH_ALLOWLISTED); in testStopLockTaskMode() 319 Task tr = getTask(LOCK_TASK_AUTH_ALLOWLISTED); in testStopLockTaskMode_differentCaller() 386 Task tr = getTask(LOCK_TASK_AUTH_PINNABLE); in testStopLockTaskMode_pinned() 743 private Task getTask(int lockTaskAuth) { in getTask() 754 Task tr = mock(Task.class); in getTask() [all …]
|
H A D | TransitionTests.java | 80 final Task newTask = createTask(mDisplayContent); in testCreateInfo_NewTask() 81 final Task oldTask = createTask(mDisplayContent); in testCreateInfo_NewTask() 137 final Task newTask = createTask(mDisplayContent); in testCreateInfo_NestedTasks() 140 final Task oldTask = createTask(mDisplayContent); in testCreateInfo_NestedTasks() 268 final Task[] tasks = new Task[taskCount]; in testCreateInfo_ordering() 305 final Task[] tasks = new Task[taskCount]; in testCreateInfo_wallpaper() 404 for (Task t : new Task[]{ in testIndependent() 481 final Task task1 = createTask(mDisplayContent); in testIntermediateVisibility() 486 final Task task2 = createTask(mDisplayContent); in testIntermediateVisibility() 547 final Task task1 = createTask(mDisplayContent); in testTransientLaunch() [all …]
|
H A D | RootWindowContainerTests.java | 149 Task task = activity.getTask(); in testAllPausedActivitiesComplete() 179 final Task task2 = new TaskBuilder(mSupervisor).build(); in testTaskLayerRank() 258 Task pinnedRootTask = taskDisplayArea.getRootPinnedTask(); in testReplacingTaskInPinnedRootTask() 281 final Task task = firstActivity.getTask(); in testMovingBottomMostRootTaskActivityToPinnedRootTask() 321 final Task task = new TaskBuilder(mSupervisor) in testApplySleepTokens() 460 final Task task = defaultTaskDisplayArea.createRootTask( in testFocusability() 496 final Task targetRootTask = new TaskBuilder(mSupervisor) in testFindTaskToMoveToFrontWhenRecentsOnTop() 503 final Task rootTask = new TaskBuilder(mSupervisor) in testFindTaskToMoveToFrontWhenRecentsOnTop() 976 final Task task = new TaskBuilder(mSupervisor) in testGetValidLaunchRootTaskOnDisplayWithCandidateRootTask() 994 Task rootHomeTask = taskDisplayArea.getRootHomeTask(); in testSwitchUser_missingHomeRootTask() [all …]
|
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/ |
H A D | TaskQueue.java | 38 class TaskQueue implements Iterable<Task> { 44 for (Task task : queue) { in toBundles() 70 public boolean add(Task task) { in add() 71 if (task.getId().id == Task.TASK_INVALID) { in add() 75 Task oldTask = getTask(task.getId()); in add() 86 public void remove(Task task) { in remove() 90 public Task getTask(TaskId id) { in getTask() 92 for (Task task : queue) { in getTask() 107 @Nullable final Task task; 125 for (Task task : queue) { in getNextTask() [all …]
|
/aosp12/frameworks/base/cmds/incident_helper/tests/ |
H A D | CpuInfoParser_test.cpp | 88 CpuInfoProto::Task* task1 = expected.add_tasks(); in TEST_F() 95 task1->set_s(CpuInfoProto::Task::STATUS_R); in TEST_F() 102 CpuInfoProto::Task* task2 = expected.add_tasks(); in TEST_F() 109 task2->set_s(CpuInfoProto::Task::STATUS_S); in TEST_F() 112 task2->set_pcy(CpuInfoProto::Task::POLICY_fg); in TEST_F() 116 CpuInfoProto::Task* task3 = expected.add_tasks(); in TEST_F() 123 task3->set_s(CpuInfoProto::Task::STATUS_S); in TEST_F() 126 task3->set_pcy(CpuInfoProto::Task::POLICY_bg); in TEST_F() 130 CpuInfoProto::Task* task4 = expected.add_tasks(); in TEST_F() 137 task4->set_s(CpuInfoProto::Task::STATUS_S); in TEST_F() [all …]
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
H A D | SplitSelectStateController.java | 45 import com.android.systemui.shared.recents.model.Task; 65 private Task mInitialTask; 66 private Task mSecondTask; 93 public void setSecondTaskId(Task task, Consumer<Boolean> callback) { in setSecondTaskId() 115 public void launchTasks(Task task1, Task task2, @StagePosition int stagePosition, in launchTasks() 159 private final Task mInitialTask; 160 private final Task mSecondTask; 162 RemoteSplitLaunchTransitionRunner(Task initialTask, Task secondTask) { in RemoteSplitLaunchTransitionRunner() 183 private final Task mInitialTask; 184 private final Task mSecondTask; [all …]
|
H A D | GroupTask.java | 23 import com.android.systemui.shared.recents.model.Task; 30 public @NonNull Task task1; 31 public @Nullable Task task2; 34 public GroupTask(@NonNull Task t1, @Nullable Task t2, in GroupTask() 42 task1 = new Task(group.task1); in GroupTask() 44 ? new Task(group.task2) in GroupTask()
|
/aosp12/system/tools/aidl/ |
H A D | options.cpp | 257 task_ = Options::Task::COMPILE; in Options() 260 task_ = Options::Task::COMPILE; in Options() 263 task_ = Options::Task::COMPILE; in Options() 266 task_ = Options::Task::COMPILE; in Options() 281 task_ = Options::Task::DUMP_API; in Options() 381 task_ = Task::DUMP_MAPPINGS; in Options() 433 if (task_ == Options::Task::COMPILE || task_ == Options::Task::DUMP_API) { in Options() 444 if (task_ != Options::Task::CHECK_API && task_ != Options::Task::DUMP_MAPPINGS) { in Options() 489 if (task_ == Options::Task::COMPILE) { in Options() 520 if (task_ == Options::Task::CHECK_API) { in Options() [all …]
|
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
H A D | TestTimer.java | 35 private final LinkedList<Task> mTaskList = new LinkedList<>(); 48 Task task = mTaskList.getFirst(); in fastForwardTo() 76 Iterator<Task> iter = mTaskList.iterator(); in purge() 78 Task task = iter.next(); in purge() 123 Task testTimerTask = (Task) task; in scheduleAtTime() 126 ListIterator<Task> iter = mTaskList.listIterator(0); in scheduleAtTime() 135 public static class Task extends TimerTask { class in TestTimer 141 public Task(TimerTask delegate) { in Task() method in TestTimer.Task
|
/aosp12/frameworks/base/tests/benchmarks/internal/src/com/android/internal/ |
H A D | LambdaPerfTest.java | 71 private final ArrayList<Task> mTasks = new ArrayList<>(); 74 private final Task mTask = new Task(); 87 final Task t = new Task(); 101 PooledLambda.__(Task.class), mTask); in test1ParamConsumer() 116 PooledLambda.__(Task.class), mTaskId, mTime); in test2PrimitiveParamsConsumer() 174 PooledLambda.__(Task.class), mTask); in testMultiThread() 183 private void forAllTask(Consumer<Task> callback) { in forAllTask() 189 private void handleTask(Predicate<Task> callback) { in handleTask() 191 final Task task = mTasks.get(i); in handleTask() 313 static class Task { class in LambdaPerfTest [all …]
|
/aosp12/frameworks/native/services/vr/performanced/ |
H A D | performance_service.cpp | 23 using android::dvr::Task; 52 static bool Check(const Message& sender, const Task&) { in Check() 63 static bool Check(const Message& sender, const Task&) { in Check() 115 Task task(getpid()); in PerformanceService() 117 task.user_id()[Task::kUidReal], task.group_id()[Task::kUidReal]); in PerformanceService() 143 const pdx::Message& sender, const Task& task) { in PerformanceService() 248 Task task(task_id); in OnSetSchedulerPolicy() 274 Task thread_group{task.thread_group_id()}; in OnSetSchedulerPolicy() 326 Task task(task_id); in OnSetCpuPartition() 352 Task task(task_id); in OnSetSchedulerClass() [all …]
|
/aosp12/frameworks/base/cmds/incident_helper/src/parsers/ |
H A D | CpuInfoParser.cpp | 57 …Table table(CpuInfoProto::Task::_FIELD_NAMES, CpuInfoProto::Task::_FIELD_IDS, CpuInfoProto::Task::… in Parse() 58 table.addEnumTypeMap("s", CpuInfoProto::Task::_ENUM_STATUS_NAMES, in Parse() 59 CpuInfoProto::Task::_ENUM_STATUS_VALUES, CpuInfoProto::Task::_ENUM_STATUS_COUNT); in Parse() 60 table.addEnumTypeMap("pcy", CpuInfoProto::Task::_ENUM_POLICY_NAMES, in Parse() 61 CpuInfoProto::Task::_ENUM_POLICY_VALUES, CpuInfoProto::Task::_ENUM_POLICY_COUNT); in Parse()
|
/aosp12/packages/modules/adb/client/openscreen/platform/ |
H A D | task_runner.h | 47 using Task = openscreen::TaskRunner::Task; 52 void PostPackagedTask(Task task) final; 53 void PostPackagedTaskWithDelay(Task task, openscreen::Clock::duration delay) final; 62 std::multimap<std::chrono::time_point<std::chrono::steady_clock>, Task> tasks_
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
H A D | RecentTasksList.java | 33 import com.android.systemui.shared.recents.model.Task; 183 Task.TaskKey task1Key = new Task.TaskKey(taskInfo1); in loadTasksInBackground() 184 Task task1 = loadKeysOnly in loadTasksInBackground() 185 ? new Task(task1Key) in loadTasksInBackground() 186 : Task.from(task1Key, taskInfo1, in loadTasksInBackground() 189 Task task2 = null; in loadTasksInBackground() 191 Task.TaskKey task2Key = new Task.TaskKey(taskInfo2); in loadTasksInBackground() 193 ? new Task(task2Key) in loadTasksInBackground() 194 : Task.from(task2Key, taskInfo2, in loadTasksInBackground()
|