Searched refs:runningTasks (Results 1 – 4 of 4) sorted by relevance
31 private val runningTasks = mutableListOf<RunningTaskInfo>() in <lambda>() constant47 return@thenAnswer runningTasks.take(maxNumTasks) in <lambda>()51 val runningTask = runningTasks.find { runningTask -> runningTask.taskId == taskId } in <lambda>()66 runningTasks += tasks in <lambda>()
173 private val runningTasks = mutableListOf<RunningTaskInfo>() in <lambda>() constant199 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>()
233 final List<ActivityManager.RunningTaskInfo> runningTasks = in isOwnerInForeground() local235 if (!runningTasks.isEmpty()) { in isOwnerInForeground()236 final String topPackage = runningTasks.get(0).topActivity.getPackageName(); in isOwnerInForeground()
517 void setRunningTasks(RunningTasks runningTasks) { in setRunningTasks() argument518 mRunningTasks = runningTasks; in setRunningTasks()