Home
last modified time | relevance | path

Searched refs:runningTasks (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/mediaprojection/taskswitcher/
DFakeActivityTaskManager.kt31 private val runningTasks = mutableListOf<RunningTaskInfo>() in <lambda>() constant
47 return@thenAnswer runningTasks.take(maxNumTasks) in <lambda>()
51 val runningTask = runningTasks.find { runningTask -> runningTask.taskId == taskId } in <lambda>()
66 runningTasks += tasks in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDesktopTasksControllerTest.kt173 private val runningTasks = mutableListOf<RunningTaskInfo>() in <lambda>() constant
199 whenever(shellTaskOrganizer.getRunningTasks(anyInt())).thenAnswer { runningTasks } in <lambda>()
251 runningTasks.clear() in <lambda>()
1619 runningTasks.add(task) in <lambda>()
1626 runningTasks.add(task) in <lambda>()
1674 runningTasks.add(task) in <lambda>()
1692 runningTasks.add(task) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthController.java233 final List<ActivityManager.RunningTaskInfo> runningTasks = in isOwnerInForeground() local
235 if (!runningTasks.isEmpty()) { in isOwnerInForeground()
236 final String topPackage = runningTasks.get(0).topActivity.getPackageName(); in isOwnerInForeground()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskSupervisor.java517 void setRunningTasks(RunningTasks runningTasks) { in setRunningTasks() argument
518 mRunningTasks = runningTasks; in setRunningTasks()