Home
last modified time | relevance | path

Searched refs:getTasks (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRunningTasksTest.java83 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()
DRecentTasksTest.java1465 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/
DActivityTaskManager.java372 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()
DHomeVisibilityListener.java103 List<ActivityManager.RunningTaskInfo> tasksTopToBottom = mActivityTaskManager.getTasks( in isHomeActivityVisible()
DIActivityTaskManager.aidl153 List<ActivityManager.RunningTaskInfo> getTasks(int maxNum, boolean filterOnlyVisibleRecents, in getTasks() method
DIActivityManager.aidl200 List<ActivityManager.RunningTaskInfo> getTasks(int maxNum); in getTasks() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/data/
DRecentTaskListProvider.kt54 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/
DTaskFpsCallbackTest.java62 final List<ActivityManager.RunningTaskInfo> tasks = mActivityTaskManager.getTasks(1); in testRegisterAndUnregister()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/
DBiometricStatusInteractor.kt93 getTasks(1).firstOrNull()?.topActivity?.className ?: ""
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDragSession.java86 mActivityTaskManager.getTasks(1, false /* filterOnlyVisibleRecents */); in update()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/mediaprojection/taskswitcher/
DFakeActivityTaskManager.kt45 whenever(activityTaskManager.getTasks(any(), any(), any(), any())).thenAnswer { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/taskswitcher/data/repository/
DActivityTaskManagerTasksRepository.kt74 activityTaskManager.getTasks( in <lambda>()
/frameworks/base/services/core/java/com/android/server/app/
DGameTaskInfoProvider.java95 runningTaskInfos = mActivityTaskManager.getTasks( in getRunningTaskInfo()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DActivityManagerWrapper.java107 mAtm.getTasks(1, filterOnlyVisibleRecents); in getRunningTask()
134 mAtm.getTasks(NUM_RECENT_ACTIVITIES_REQUEST, in getRunningTasks()
/frameworks/base/services/core/java/com/android/server/wm/
DRunningTasks.java58 void getTasks(int maxNum, List<RunningTaskInfo> list, int flags, RecentTasks recentTasks, in getTasks() method in RunningTasks
DActivityTaskManagerService.java2388 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/
DBiometricStatusInteractorImplTest.kt126 `when`(kosmos.activityTaskManager.getTasks(Mockito.anyInt())) in doesNotUpdateSfpsAuthenticationReason_whenOtherSfpsSettingsAuthenticationStarted()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/
DRecentTasksController.java450 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/
DUtils.java588 ActivityTaskManager.getInstance().getTasks(Integer.MAX_VALUE); in isBackground()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/draganddrop/
DDragAndDropPolicyTest.java238 .getTasks(anyInt(), anyBoolean()); in setRunningTask()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/
DFaceAuthenticationClientTest.java271 when(mActivityTaskManager.getTasks(anyInt())).thenReturn(List.of(topTask)); in cancelsAuthWhenNotInForeground()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/aidl/
DFingerprintAuthenticationClientTest.java595 when(mActivityTaskManager.getTasks(anyInt())).thenReturn(List.of(topTask)); in cancelsAuthWhenNotInForeground()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/
DPromptViewModel.kt1027 val topActivity: ComponentName? = activityTaskManager.getTasks(1).firstOrNull()?.topActivity in BiometricPromptRequest()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/
DAuthControllerTest.java1005 when(mActivityTaskManager.getTasks(anyInt())).thenReturn(tasks); in switchTask()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthController.java234 mActivityTaskManager.getTasks(1); in isOwnerInForeground()

12