Home
last modified time | relevance | path

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

/cts/hostsidetests/theme/
Dgenerate_images.py65 def __init__(self, tasks, setup, q): argument
68 self._tasks = tasks
97 def execute_parallel(tasks, setup, q, num_threads): argument
101 t = ParallelExecutor(tasks, setup, q)
245 tasks = [do_capture]
255 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/tools/cts-api-coverage/src/com/android/cts/apimap/
DApiMap.java135 List<Future<CallGraphManager>> tasks = new ArrayList<>(); in main() local
142 tasks.add(scanJarFile( in main()
145 if (tasks.size() > parallelism * 5) { in main()
146 executeTasks(tasks, xmlWriter); in main()
147 tasks.clear(); in main()
150 executeTasks(tasks, xmlWriter); in main()
163 private static void executeTasks(List<Future<CallGraphManager>> tasks, XmlWriter xmlWriter) { in executeTasks() argument
164 for (Future<CallGraphManager> task : tasks) { in executeTasks()
/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/tests/tests/car/src/android/car/app/cts/
DCarActivityManagerTest.java237 List<RunningTaskInfo> tasks = mCarActivityManager.getVisibleTasks(); in testGetVisibleTasks() local
238 List<RunningTaskInfo> filteredTasks = tasks.stream() in testGetVisibleTasks()
263 List<RunningTaskInfo> tasks = mCarActivityManager.getVisibleTasks(displayId); in testGetVisibleTasksByDisplayId() local
264 assertThat(tasks).hasSize(1); in testGetVisibleTasksByDisplayId()
265 assertThat(tasks.get(0).isVisible()).isTrue(); in testGetVisibleTasksByDisplayId()
266 assertThat(tasks.get(0).getDisplayId()).isEqualTo(displayId); in testGetVisibleTasksByDisplayId()
/cts/tests/tests/wifi/src/android/net/wifi/nl80211/cts/
DWifiNl80211ManagerTest.java61 private ConcurrentLinkedQueue<Runnable> tasks = new ConcurrentLinkedQueue<>(); field in WifiNl80211ManagerTest.TestExecutor
65 tasks.add(task); in execute()
69 Runnable task = tasks.poll(); in runAll()
72 task = tasks.poll(); in runAll()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DCtsApiCoverage.java222 List<Future> tasks = new ArrayList<>(); in main() local
224 tasks.add(addApiCoverage(service, apiCoverage, testApk, dexDeps)); in main()
225 tasks.add(addCddCoverage(service, cddCoverage, testApk, apiLevel)); in main()
228 for (Future task : tasks) { in main()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerStateHelper.java823 final List<Task> tasks = getRootTasks();
824 for (Task task : tasks) {
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiManagerTest.java2050 private ConcurrentLinkedQueue<Runnable> tasks = new ConcurrentLinkedQueue<>(); field in WifiManagerTest.TestExecutor
2054 tasks.add(task); in execute()
2058 Runnable task = tasks.poll(); in runAll()
2061 task = tasks.poll(); in runAll()