OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:taskInfo
(Results
1 - 2
of
2
) sorted by null
/cts/tests/app/src/android/app/cts/
ActivityManagerBaseTaskInfoTest.java
21
import android.app.
TaskInfo
;
30
protected void fillTaskInfo(
TaskInfo
taskInfo
) {
31
taskInfo
.taskId = Integer.MAX_VALUE;
32
taskInfo
.isRunning = true;
33
taskInfo
.baseIntent = new Intent(ACTION_MAIN);
36
taskInfo
.baseActivity = cn.clone();
37
taskInfo
.topActivity = cn.clone();
38
taskInfo
.origActivity = cn.clone();
39
taskInfo
.numActivities = Integer.MAX_VALUE
[
all
...]
AppTaskTests.java
166
final ActivityManager.RecentTaskInfo
taskInfo
= task.getTaskInfo();
167
assertTrue(
taskInfo
.numActivities == 2);
168
assertTrue(
taskInfo
.baseActivity.equals(a1.getComponentName()));
169
assertTrue(
taskInfo
.topActivity.equals(intent.getComponent()));
185
final ActivityManager.RecentTaskInfo
taskInfo
= task.getTaskInfo();
186
assertTrue(
taskInfo
.numActivities == 1);
187
assertTrue(
taskInfo
.baseActivity.equals(a1.getComponentName()));
Completed in 846 milliseconds