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.java72 private void removeHomeRecentsTasks(List<ActivityManager.RecentTaskInfo> tasks) { in removeHomeRecentsTasks() argument
73 for (int i = tasks.size() -1; i >= 0; i--) { in removeHomeRecentsTasks()
74 ActivityManager.RecentTaskInfo task = tasks.get(i); in removeHomeRecentsTasks()
76 tasks.remove(i); in removeHomeRecentsTasks()
81 private void removeHomeRunningTasks(List<ActivityManager.RunningTaskInfo> tasks) { in removeHomeRunningTasks() argument
82 for (int i = tasks.size() -1; i >= 0; i--) { in removeHomeRunningTasks()
83 ActivityManager.RunningTaskInfo task = tasks.get(i); in removeHomeRunningTasks()
85 tasks.remove(i); in removeHomeRunningTasks()
/cts/hostsidetests/theme/
Dgenerate_images.py63 def __init__(self, tasks, setup, q): argument
66 self._tasks = tasks
95 def execute_parallel(tasks, setup, q, num_threads): argument
99 t = ParallelExecutor(tasks, setup, q)
239 tasks = [do_capture]
249 result = execute_parallel(tasks, setup, device_queue, len(devices))
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGlAppSwitchTest.java126 List<ActivityManager.RunningTaskInfo> tasks = in setReplicaIslandTask() local
128 for (ActivityManager.RunningTaskInfo info : tasks) { in setReplicaIslandTask()
141 List<ActivityManager.RunningTaskInfo> tasks = in isReplicaIslandRunning() local
143 for (ActivityManager.RunningTaskInfo info : tasks) { in isReplicaIslandRunning()
/cts/tests/tests/wifi/src/android/net/wifi/nl80211/cts/
DWifiNl80211ManagerTest.java57 private ConcurrentLinkedQueue<Runnable> tasks = new ConcurrentLinkedQueue<>(); field in WifiNl80211ManagerTest.TestExecutor
61 tasks.add(task); in execute()
65 Runnable task = tasks.poll(); in runAll()
68 task = tasks.poll(); in runAll()
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DPersistence.java458 List<TaskState> tasks = new ArrayList<>(); in fromTasks() local
460 tasks.add(new TaskState(task)); in fromTasks()
462 return new StateDump(tasks); in fromTasks()
465 private StateDump(List<TaskState> tasks) { in StateDump() argument
466 mTasks = tasks; in StateDump()
470 JSONArray tasks = new JSONArray(); in toJson() local
472 tasks.put(task.toJson()); in toJson()
475 return new JSONObject().put(TASKS_KEY, tasks); in toJson()
480 List<TaskState> tasks = new ArrayList<>(); in fromJson() local
483 tasks.add(TaskState.fromJson((JSONObject) jsonTasks.get(i))); in fromJson()
[all …]
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DCtsApiCoverage.java204 List<Future> tasks = new ArrayList<>(); in main() local
206 tasks.add(addApiCoverage(service, apiCoverage, testApk, dexDeps)); in main()
207 tasks.add(addCddCoverage(service, cddCoverage, testApk, apiLevel)); in main()
210 for (Future task : tasks) { in main()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerStateHelper.java737 final List<Task> tasks = getRootTasks();
738 for (Task task : tasks) {
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiManagerTest.java1450 private ConcurrentLinkedQueue<Runnable> tasks = new ConcurrentLinkedQueue<>(); field in WifiManagerTest.TestExecutor
1454 tasks.add(task); in execute()
1458 Runnable task = tasks.poll(); in runAll()
1461 task = tasks.poll(); in runAll()