/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RunningTasksTest.java | 84 mAtm.getRecentTasks(), mRootWindowContainer, -1 /* callingUid */, PROFILE_IDS); in testTaskInfo_expectNoExtrasByDefault() 110 mAtm.getRecentTasks(), mRootWindowContainer, -1 /* callingUid */, PROFILE_IDS); in testTaskInfo_expectExtrasWithKeepExtraFlag() 150 mAtm.getRecentTasks(), mRootWindowContainer, -1 /* callingUid */, PROFILE_IDS); in testGetTasksSortByFocusAndVisibility() 161 mAtm.getRecentTasks(), mRootWindowContainer, -1 /* callingUid */, PROFILE_IDS); in testGetTasksSortByFocusAndVisibility() 206 mAtm.getRecentTasks(), display0, -1 /* callingUid */, PROFILE_IDS); in testMultipleDisplays() 214 mAtm.getRecentTasks(), display1, -1 /* callingUid */, PROFILE_IDS); in testMultipleDisplays() 222 mAtm.getRecentTasks(), mRootWindowContainer, -1 /* callingUid */, PROFILE_IDS); in testMultipleDisplays()
|
D | RecentTasksTest.java | 461 assertEquals(1, mRecentTasks.getRecentTasks(MAX_VALUE, 0 /* flags */, in testRemoveAffinityTask() 477 final List<RecentTaskInfo> infos = getRecentTasks(0 /* flags */); in testAppendOrganizedChildTaskInfo() 1274 final List<RecentTaskInfo> infos = getRecentTasks(0 /* flags */); in testTaskInfo_expectNoExtras() 1289 final List<RecentTaskInfo> infos = getRecentTasks(0 /* flags */); in testLastSnapshotData_snapshotSaved() 1303 final List<RecentTaskInfo> infos = getRecentTasks(0 /* flags */); in testLastSnapshotData_noBuffer() 1315 final List<RecentTaskInfo> infos = getRecentTasks(0 /* flags */); in testLastSnapshotData_notSet() 1403 private List<RecentTaskInfo> getRecentTasks(int flags) { in getRecentTasks() method in RecentTasksTest 1404 return mRecentTasks.getRecentTasks(MAX_VALUE, flags, true /* getTasksAllowed */, in getRecentTasks() 1413 List<RecentTaskInfo> infos = getRecentTasks(getRecentTaskFlags); in assertGetRecentTasksOrder() 1464 mAtm.getRecentTasks(MAX_VALUE, 0, TEST_USER_0_ID); in testGetTasksApis() [all …]
|
D | RecentsAnimationTest.java | 86 final RecentTasks recentTasks = mAtm.getRecentTasks(); in setUp()
|
D | TaskTests.java | 236 mAtm.getRecentTasks().getRawTasks().add(pinnedActivityTask); in testReparentPinnedActivityBackToOriginalTask() 243 assertThat(mAtm.getRecentTasks().getRawTasks()).containsExactly(originalTask); in testReparentPinnedActivityBackToOriginalTask()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/ |
D | RecentTasksController.java | 384 ArrayList<GroupedRecentTaskInfo> getRecentTasks(int maxNum, int flags, int userId) { in getRecentTasks() method in RecentTasksController 386 final List<ActivityManager.RecentTaskInfo> rawList = mActivityTaskManager.getRecentTasks( in getRecentTasks() 464 List<ActivityManager.RecentTaskInfo> tasks = mActivityTaskManager.getRecentTasks( in findTaskInBackground() 484 List<ActivityManager.RecentTaskInfo> tasks = mActivityTaskManager.getRecentTasks( in findTaskInBackground() 504 ArrayList<GroupedRecentTaskInfo> recentTasks = getRecentTasks(Integer.MAX_VALUE, in dump() 517 public void getRecentTasks(int maxNum, int flags, int userId, Executor executor, in getRecentTasks() method in RecentTasksController.RecentTasksImpl 521 RecentTasksController.this.getRecentTasks(maxNum, flags, userId); in getRecentTasks() 621 public GroupedRecentTaskInfo[] getRecentTasks(int maxNum, int flags, int userId) in getRecentTasks() method in RecentTasksController.IRecentTasksImpl 630 (controller) -> out[0] = controller.getRecentTasks(maxNum, flags, userId) in getRecentTasks()
|
D | RecentTasks.java | 37 default void getRecentTasks(int maxNum, int flags, int userId, Executor callbackExecutor, in getRecentTasks() method
|
D | IRecentTasks.aidl | 47 GroupedRecentTaskInfo[] getRecentTasks(int maxNum, int flags, int userId) = 3; in getRecentTasks() method
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/recents/ |
D | RecentTasksControllerTest.java | 226 ArrayList<GroupedRecentTaskInfo> recentTasks = mRecentTasksController.getRecentTasks( in testGetRecentTasks() 253 ArrayList<GroupedRecentTaskInfo> recentTasks = mRecentTasksController.getRecentTasks( in testGetRecentTasks_withPairs() 285 .getRecentTasks(MAX_VALUE, RECENT_IGNORE_UNAVAILABLE, 0, Runnable::run, consumer); in testGetRecentTasks_ReturnsRecentTasksAsynchronously() 306 ArrayList<GroupedRecentTaskInfo> recentTasks = mRecentTasksController.getRecentTasks( in testGetRecentTasks_hasActiveDesktopTasks_proto2Enabled_groupFreeformTasks() 345 ArrayList<GroupedRecentTaskInfo> recentTasks = mRecentTasksController.getRecentTasks( in testGetRecentTasks_hasActiveDesktopTasks_proto2Enabled_freeformTaskOrder() 385 ArrayList<GroupedRecentTaskInfo> recentTasks = mRecentTasksController.getRecentTasks( in testGetRecentTasks_hasActiveDesktopTasks_proto2Disabled_doNotGroupFreeformTasks() 415 ArrayList<GroupedRecentTaskInfo> recentTasks = mRecentTasksController.getRecentTasks( in testGetRecentTasks_proto2Enabled_ignoresMinimizedFreeformTasks() 645 doReturn(rawList).when(mActivityTaskManager).getRecentTasks(anyInt(), anyInt(), in setRawList()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/ |
D | WMComponent.java | 109 Optional<RecentTasks> getRecentTasks(); in getRecentTasks() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/data/ |
D | RecentTaskListProvider.kt | 91 getRecentTasks( in getTasks()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SystemUIInitializer.java | 101 .setRecentTasks(mWMComponent.getRecentTasks()) in init()
|
/frameworks/base/core/java/android/app/ |
D | ActivityTaskManager.java | 417 public List<ActivityManager.RecentTaskInfo> getRecentTasks( in getRecentTasks() method in ActivityTaskManager 420 return getService().getRecentTasks(maxNum, flags, userId).getList(); in getRecentTasks()
|
D | IActivityTaskManager.aidl | 157 ParceledListSlice<ActivityManager.RecentTaskInfo> getRecentTasks(int maxNum, int flags, in getRecentTasks() method
|
D | IActivityManager.aidl | 294 ParceledListSlice getRecentTasks(int maxNum, int flags, int userId); in getRecentTasks() method
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppTaskImpl.java | 107 return mService.getRecentTasks().createRecentTaskInfo(task, in getTaskInfo()
|
D | ActivityTaskManagerService.java | 1118 RecentTasks getRecentTasks() { in getRecentTasks() method in ActivityTaskManagerService 2142 getRecentTasks().removeAllVisibleTasks(mAmInternal.getCurrentUserId()); in removeAllVisibleRecentTasks() 2500 public ParceledListSlice<ActivityManager.RecentTaskInfo> getRecentTasks(int maxNum, int flags, in getRecentTasks() method in ActivityTaskManagerService 2512 return mRecentTasks.getRecentTasks(maxNum, flags, allowed, userId, callingUid); in getRecentTasks() 6119 return getRecentTasks().isRecentsComponentHomeActivity(userId); in isRecentsComponentHomeActivity() 6177 getRecentTasks().unloadUserDataFromMemoryLocked(userId); in onUserStopped() 6656 getRecentTasks().cleanupDisabledPackageTasksLocked( in cleanupDisabledPackageComponents() 6775 if (getRecentTasks() != null) { in dump() 6776 getRecentTasks().dump(pw, dumpAll, dumpPackage); in dump() 7317 getRecentTasks( in getMostRecentTaskFromBackground()
|
D | ActivityStartController.java | 601 final int activityType = mService.getRecentTasks().getRecentsComponent() in startExistingRecents()
|
D | RecentsAnimationController.java | 710 mService.mAtmService.getRecentTasks().getRecentTaskIds(); in collectTaskRemoteAnimations()
|
D | ActivityTaskSupervisor.java | 1131 final boolean isCallerRecents = mService.getRecentTasks() != null in checkStartAnyActivityPermission() 1132 && mService.getRecentTasks().isCallerRecents(callingUid); in checkStartAnyActivityPermission()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/data/ |
D | ShellRecentTaskListProviderTest.kt | 223 whenever(recentTasks.getRecentTasks(any(), any(), any(), any(), any())).thenAnswer { in givenRecentTasks()
|
/frameworks/base/services/core/java/com/android/server/ambientcontext/ |
D | AmbientContextManagerPerUserService.java | 185 recentTasks = ActivityTaskManager.getService().getRecentTasks(/*maxNum*/1, in onStartConsentActivity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | InstantAppNotifier.java | 339 ActivityTaskManager.getInstance().getRecentTasks( in getTaskIntent()
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ActivityTestMain.java | 665 List<ActivityManager.RecentTaskInfo> recents = mAm.getRecentTasks(10, in buildUi()
|
/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/ |
D | CarLaunchParamsModifierUpdatableTest.java | 199 when(mActivityTaskManagerService.getRecentTasks()).thenReturn(mRecentTasks); in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityManagerTest.java | 140 List<?> recentTasks = mService.getRecentTasks(100, 0, userId).getList(); in testTaskIdsForUser()
|