Home
last modified time | relevance | path

Searched refs:getRunningTasks (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowActivityManagerTest.java60 assertThat(activityManager.getRunningTasks(Integer.MAX_VALUE)).isEmpty(); in getRunningTasks_shouldReturnTaskList()
62 assertThat(activityManager.getRunningTasks(Integer.MAX_VALUE)).containsExactly(task1, task2); in getRunningTasks_shouldReturnTaskList()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowActivityManager.java59 protected List<ActivityManager.RunningTaskInfo> getRunningTasks(int maxNum) { in getRunningTasks() method in ShadowActivityManager