Searched refs:getRunningTasks (Results 1 – 2 of 2) sorted by relevance
60 assertThat(activityManager.getRunningTasks(Integer.MAX_VALUE)).isEmpty(); in getRunningTasks_shouldReturnTaskList()62 assertThat(activityManager.getRunningTasks(Integer.MAX_VALUE)).containsExactly(task1, task2); in getRunningTasks_shouldReturnTaskList()
59 protected List<ActivityManager.RunningTaskInfo> getRunningTasks(int maxNum) { in getRunningTasks() method in ShadowActivityManager