Home
last modified time | relevance | path

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

/cts/tests/app/src/android/app/cts/
DActivityManagerBaseTaskInfoTest.java30 protected void fillTaskInfo(TaskInfo taskInfo) { in fillTaskInfo() argument
31 taskInfo.taskId = Integer.MAX_VALUE; in fillTaskInfo()
32 taskInfo.isRunning = true; in fillTaskInfo()
33 taskInfo.baseIntent = new Intent(ACTION_MAIN); in fillTaskInfo()
36 taskInfo.baseActivity = cn.clone(); in fillTaskInfo()
37 taskInfo.topActivity = cn.clone(); in fillTaskInfo()
38 taskInfo.origActivity = cn.clone(); in fillTaskInfo()
39 taskInfo.numActivities = Integer.MAX_VALUE; in fillTaskInfo()
40 taskInfo.taskDescription = new ActivityManager.TaskDescription("Test"); in fillTaskInfo()
43 protected void verifyTaskInfo(TaskInfo taskInfo, TaskInfo sourceTaskInfo) { in verifyTaskInfo() argument
[all …]
DAppTaskTests.java166 final ActivityManager.RecentTaskInfo taskInfo = task.getTaskInfo(); in testStartActivityInTask_NoNewTask() local
167 assertTrue(taskInfo.numActivities == 2); in testStartActivityInTask_NoNewTask()
168 assertTrue(taskInfo.baseActivity.equals(a1.getComponentName())); in testStartActivityInTask_NoNewTask()
169 assertTrue(taskInfo.topActivity.equals(intent.getComponent())); in testStartActivityInTask_NoNewTask()
185 final ActivityManager.RecentTaskInfo taskInfo = task.getTaskInfo(); in testStartActivityInTask_NewTask() local
186 assertTrue(taskInfo.numActivities == 1); in testStartActivityInTask_NewTask()
187 assertTrue(taskInfo.baseActivity.equals(a1.getComponentName())); in testStartActivityInTask_NewTask()