Home
last modified time | relevance | path

Searched refs:getRecentTasks (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRunningTasksTest.java84 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()
DRecentTasksTest.java461 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 …]
DRecentsAnimationTest.java86 final RecentTasks recentTasks = mAtm.getRecentTasks(); in setUp()
DTaskTests.java236 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/
DRecentTasksController.java384 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()
DRecentTasks.java37 default void getRecentTasks(int maxNum, int flags, int userId, Executor callbackExecutor, in getRecentTasks() method
DIRecentTasks.aidl47 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/
DRecentTasksControllerTest.java226 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/
DWMComponent.java109 Optional<RecentTasks> getRecentTasks(); in getRecentTasks() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/data/
DRecentTaskListProvider.kt91 getRecentTasks( in getTasks()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIInitializer.java101 .setRecentTasks(mWMComponent.getRecentTasks()) in init()
/frameworks/base/core/java/android/app/
DActivityTaskManager.java417 public List<ActivityManager.RecentTaskInfo> getRecentTasks( in getRecentTasks() method in ActivityTaskManager
420 return getService().getRecentTasks(maxNum, flags, userId).getList(); in getRecentTasks()
DIActivityTaskManager.aidl157 ParceledListSlice<ActivityManager.RecentTaskInfo> getRecentTasks(int maxNum, int flags, in getRecentTasks() method
DIActivityManager.aidl294 ParceledListSlice getRecentTasks(int maxNum, int flags, int userId); in getRecentTasks() method
/frameworks/base/services/core/java/com/android/server/wm/
DAppTaskImpl.java107 return mService.getRecentTasks().createRecentTaskInfo(task, in getTaskInfo()
DActivityTaskManagerService.java1118 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()
DActivityStartController.java601 final int activityType = mService.getRecentTasks().getRecentsComponent() in startExistingRecents()
DRecentsAnimationController.java710 mService.mAtmService.getRecentTasks().getRecentTaskIds(); in collectTaskRemoteAnimations()
DActivityTaskSupervisor.java1131 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/
DShellRecentTaskListProviderTest.kt223 whenever(recentTasks.getRecentTasks(any(), any(), any(), any(), any())).thenAnswer { in givenRecentTasks()
/frameworks/base/services/core/java/com/android/server/ambientcontext/
DAmbientContextManagerPerUserService.java185 recentTasks = ActivityTaskManager.getService().getRecentTasks(/*maxNum*/1, in onStartConsentActivity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DInstantAppNotifier.java339 ActivityTaskManager.getInstance().getRecentTasks( in getTaskIntent()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java665 List<ActivityManager.RecentTaskInfo> recents = mAm.getRecentTasks(10, in buildUi()
/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/
DCarLaunchParamsModifierUpdatableTest.java199 when(mActivityTaskManagerService.getRecentTasks()).thenReturn(mRecentTasks); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerTest.java140 List<?> recentTasks = mService.getRecentTasks(100, 0, userId).getList(); in testTaskIdsForUser()

12