/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RunningTasksTest.java | 83 mRunningTasks.getTasks(numFetchTasks, tasks, FLAG_ALLOWED | FLAG_CROSS_USERS, in testTaskInfo_expectNoExtrasByDefault() 108 mRunningTasks.getTasks(numFetchTasks, tasks, in testTaskInfo_expectExtrasWithKeepExtraFlag() 148 mRunningTasks.getTasks(numFetchTasks, fetchTasks, in testGetTasksSortByFocusAndVisibility() 159 mRunningTasks.getTasks(100, fetchTasks, in testGetTasksSortByFocusAndVisibility() 204 mRunningTasks.getTasks(numFetchTasks, fetchTasks, in testMultipleDisplays() 212 mRunningTasks.getTasks(numFetchTasks, fetchTasks, in testMultipleDisplays() 220 mRunningTasks.getTasks(numFetchTasks, fetchTasks, in testMultipleDisplays()
|
D | RecentTasksTest.java | 1465 mAtm.getTasks(MAX_VALUE); in testGetTasksApis() 1650 void getTasks(int maxNum, List<RunningTaskInfo> list, int flags, RecentTasks recentTasks, in getTasks() method in RecentTasksTest.TestRunningTasks 1653 super.getTasks(maxNum, list, flags, recentTasks, root, callingUid, profileIds); in getTasks()
|
/frameworks/base/core/java/android/app/ |
D | ActivityTaskManager.java | 372 public List<ActivityManager.RunningTaskInfo> getTasks(int maxNum) { in getTasks() method in ActivityTaskManager 373 return getTasks(maxNum, false /* filterForVisibleRecents */, false /* keepIntentExtra */, in getTasks() 381 public List<ActivityManager.RunningTaskInfo> getTasks( in getTasks() method in ActivityTaskManager 383 return getTasks(maxNum, filterOnlyVisibleRecents, false /* keepIntentExtra */, in getTasks() 392 public List<ActivityManager.RunningTaskInfo> getTasks( in getTasks() method in ActivityTaskManager 394 return getTasks(maxNum, filterOnlyVisibleRecents, keepIntentExtra, INVALID_DISPLAY); in getTasks() 403 public List<ActivityManager.RunningTaskInfo> getTasks( in getTasks() method in ActivityTaskManager 406 return getService().getTasks(maxNum, filterOnlyVisibleRecents, keepIntentExtra, in getTasks()
|
D | HomeVisibilityListener.java | 103 List<ActivityManager.RunningTaskInfo> tasksTopToBottom = mActivityTaskManager.getTasks( in isHomeActivityVisible()
|
D | IActivityTaskManager.aidl | 153 List<ActivityManager.RunningTaskInfo> getTasks(int maxNum, boolean filterOnlyVisibleRecents, in getTasks() method
|
D | IActivityManager.aidl | 200 List<ActivityManager.RunningTaskInfo> getTasks(int maxNum); in getTasks() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/data/ |
D | RecentTaskListProvider.kt | 54 val groupedTasks: List<GroupedRecentTaskInfo> = recents?.getTasks() ?: emptyList() in loadRecentTasks() 89 private suspend fun RecentTasks.getTasks(): List<GroupedRecentTaskInfo> = in getTasks() method in com.android.systemui.mediaprojection.appselector.data.ShellRecentTaskListProvider
|
/frameworks/base/core/tests/coretests/src/android/window/ |
D | TaskFpsCallbackTest.java | 62 final List<ActivityManager.RunningTaskInfo> tasks = mActivityTaskManager.getTasks(1); in testRegisterAndUnregister()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/ |
D | BiometricStatusInteractor.kt | 93 getTasks(1).firstOrNull()?.topActivity?.className ?: ""
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/ |
D | DragSession.java | 86 mActivityTaskManager.getTasks(1, false /* filterOnlyVisibleRecents */); in update()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/mediaprojection/taskswitcher/ |
D | FakeActivityTaskManager.kt | 45 whenever(activityTaskManager.getTasks(any(), any(), any(), any())).thenAnswer { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/taskswitcher/data/repository/ |
D | ActivityTaskManagerTasksRepository.kt | 74 activityTaskManager.getTasks( in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameTaskInfoProvider.java | 95 runningTaskInfos = mActivityTaskManager.getTasks( in getRunningTaskInfo()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | ActivityManagerWrapper.java | 107 mAtm.getTasks(1, filterOnlyVisibleRecents); in getRunningTask() 134 mAtm.getTasks(NUM_RECENT_ACTIVITIES_REQUEST, in getRunningTasks()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RunningTasks.java | 58 void getTasks(int maxNum, List<RunningTaskInfo> list, int flags, RecentTasks recentTasks, in getTasks() method in RunningTasks
|
D | ActivityTaskManagerService.java | 2388 public List<ActivityManager.RunningTaskInfo> getTasks(int maxNum) { in getTasks() method in ActivityTaskManagerService 2389 return getTasks(maxNum, false /* filterForVisibleRecents */, false /* keepIntentExtra */, in getTasks() 2397 public List<ActivityManager.RunningTaskInfo> getTasks(int maxNum, in getTasks() method in ActivityTaskManagerService 2399 return getTasks(maxNum, filterOnlyVisibleRecents, keepIntentExtra, INVALID_DISPLAY); in getTasks() 2406 public List<ActivityManager.RunningTaskInfo> getTasks(int maxNum, in getTasks() method in ActivityTaskManagerService 7307 List<ActivityManager.RunningTaskInfo> runningTaskInfoList = getTasks(1); in getMostRecentTaskFromBackground()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/ |
D | BiometricStatusInteractorImplTest.kt | 126 `when`(kosmos.activityTaskManager.getTasks(Mockito.anyInt())) in doesNotUpdateSfpsAuthenticationReason_whenOtherSfpsSettingsAuthenticationStarted()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/ |
D | RecentTasksController.java | 450 List<ActivityManager.RunningTaskInfo> tasks = mActivityTaskManager.getTasks(1, in getTopRunningTask() 641 (controller) -> tasks[0] = ActivityTaskManager.getInstance().getTasks(maxNum) in getRunningTasks()
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | Utils.java | 588 ActivityTaskManager.getInstance().getTasks(Integer.MAX_VALUE); in isBackground()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/draganddrop/ |
D | DragAndDropPolicyTest.java | 238 .getTasks(anyInt(), anyBoolean()); in setRunningTask()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/ |
D | FaceAuthenticationClientTest.java | 271 when(mActivityTaskManager.getTasks(anyInt())).thenReturn(List.of(topTask)); in cancelsAuthWhenNotInForeground()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/aidl/ |
D | FingerprintAuthenticationClientTest.java | 595 when(mActivityTaskManager.getTasks(anyInt())).thenReturn(List.of(topTask)); in cancelsAuthWhenNotInForeground()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/ |
D | PromptViewModel.kt | 1027 val topActivity: ComponentName? = activityTaskManager.getTasks(1).firstOrNull()?.topActivity in BiometricPromptRequest()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/ |
D | AuthControllerTest.java | 1005 when(mActivityTaskManager.getTasks(anyInt())).thenReturn(tasks); in switchTask()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthController.java | 234 mActivityTaskManager.getTasks(1); in isOwnerInForeground()
|