Home
last modified time | relevance | path

Searched refs:tasks (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/permission/src/android/permission/cts/
DNoActivityRelatedPermissionTest.java75 private void removeHomeTasks(List<ActivityManager.RecentTaskInfo> tasks) { in removeHomeTasks() argument
76 for (int i = tasks.size() -1; i >= 0; i--) { in removeHomeTasks()
77 ActivityManager.RecentTaskInfo task = tasks.get(i); in removeHomeTasks()
79 tasks.remove(i); in removeHomeTasks()
/cts/hostsidetests/theme/
Dgenerate_images.py58 def __init__(self, tasks, setup, q): argument
61 self._tasks = tasks
90 def execute_parallel(tasks, setup, q, num_threads): argument
94 t = ParallelExecutor(tasks, setup, q)
234 tasks = [do_capture]
244 result = execute_parallel(tasks, setup, device_queue, len(devices))
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGlAppSwitchTest.java122 List<ActivityManager.RunningTaskInfo> tasks = in setReplicaIslandTask() local
124 for (ActivityManager.RunningTaskInfo info : tasks) { in setReplicaIslandTask()
137 List<ActivityManager.RunningTaskInfo> tasks = in isReplicaIslandRunning() local
139 for (ActivityManager.RunningTaskInfo info : tasks) { in isReplicaIslandRunning()
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DPersistence.java526 public StackState(String resumedActivity, List<TaskState> tasks) { in StackState() argument
528 mTasks = tasks; in StackState()
553 List<TaskState> tasks = new ArrayList<>(); in fromJson() local
556 tasks.add(TaskState.fromJson((JSONObject) jsonTasks.get(i))); in fromJson()
559 return new StackState(object.optString(RESUMED_ACTIVITY_KEY, ""), tasks); in fromJson()
/cts/tests/tests/keystore/src/android/server/am/
DActivityManagerState.java278 for (int i = 0; i < proto.tasks.length; i++) { in ActivityStack()
279 mTasks.add(new ActivityTask(proto.tasks[i])); in ActivityStack()
DWindowManagerState.java317 for (int i = 0; i < proto.tasks.length; i++) { in WindowStack()
318 TaskProto taskProto = proto.tasks[i]; in WindowStack()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerState.java704 for (int i = 0; i < proto.tasks.length; i++) { in ActivityStack()
705 mTasks.add(new ActivityTask(proto.tasks[i])); in ActivityStack()
DWindowManagerState.java613 for (int i = 0; i < proto.tasks.length; i++) { in WindowStack()
614 TaskProto taskProto = proto.tasks[i]; in WindowStack()