HomeSort by relevance Sort by last modified time
    Searched refs:RecentTaskInfo (Results 1 - 9 of 9) sorted by null

  /cts/tests/app/src/android/app/cts/
ActivityManagerRecentTaskInfoTest.java 35 private ActivityManager.RecentTaskInfo mRecentTaskInfo;
39 mRecentTaskInfo = new ActivityManager.RecentTaskInfo();
46 new ActivityManager.RecentTaskInfo();
61 ActivityManager.RecentTaskInfo info = ActivityManager.RecentTaskInfo.CREATOR
75 ActivityManager.RecentTaskInfo info = new ActivityManager.RecentTaskInfo();
TaskDescriptionTest.java 27 import android.app.ActivityManager.RecentTaskInfo;
81 List<RecentTaskInfo> recentsTasks = am.getRecentTasks(1 /* maxNum */, 0 /* flags */);
83 final RecentTaskInfo info = recentsTasks.get(0);
AppTaskTests.java 166 final ActivityManager.RecentTaskInfo taskInfo = task.getTaskInfo();
185 final ActivityManager.RecentTaskInfo taskInfo = task.getTaskInfo();
ActivityManagerTest.java 20 import android.app.ActivityManager.RecentTaskInfo;
117 List<RecentTaskInfo> recentTaskList;
141 for (RecentTaskInfo rti : recentTaskList) {
167 List<RecentTaskInfo> recentTaskList;
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowAppTask.java 6 import android.app.ActivityManager.RecentTaskInfo;
18 private RecentTaskInfo recentTaskInfo;
38 * For tests, returns the {@link RecentTaskInfo} set using {@link #setTaskInfo(RecentTaskInfo)}.
41 * @see #setTaskInfo(RecentTaskInfo)
44 protected RecentTaskInfo getTaskInfo() {
45 return recentTaskInfo;
89 * Sets the recentTaskInfo for the task. {@link #getTaskInfo()} returns the task info set using
92 public void setTaskInfo(RecentTaskInfo recentTaskInfo)
    [all...]
  /cts/tests/tests/permission/src/android/permission/cts/
NoActivityRelatedPermissionTest.java 66 List<ActivityManager.RecentTaskInfo> recentTasks = manager.getRecentTasks(10,
75 private void removeHomeTasks(List<ActivityManager.RecentTaskInfo> tasks) {
77 ActivityManager.RecentTaskInfo task = tasks.get(i);
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowAppTaskTest.java 9 import android.app.ActivityManager.RecentTaskInfo;
43 final RecentTaskInfo recentTaskInfo = new RecentTaskInfo();
44 recentTaskInfo.description = "com.google.test";
46 shadowOf(appTask).setTaskInfo(recentTaskInfo);
48 assertThat(appTask.getTaskInfo()).isSameAs(recentTaskInfo);
  /development/samples/IntentPlayground/src/com/example/android/intentplayground/
InlineAdapter.java 23 import android.app.ActivityManager.RecentTaskInfo;
  /development/samples/Home/src/com/example/android/home/
Home.java 357 final List<ActivityManager.RecentTaskInfo> recentTasks = tasksManager.getRecentTasks(

Completed in 721 milliseconds