Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DPersistence.java470 JSONArray jsonTasks = object.getJSONArray("stacks"); in fromJson() local
473 for (int i = 0; i < jsonTasks.length(); i++) { in fromJson()
474 stacks.add(StackState.fromJson((JSONObject) jsonTasks.get(i))); in fromJson()
540 JSONArray jsonTasks = new JSONArray(); in toJson() local
543 jsonTasks.put(task.toJson()); in toJson()
547 .put(TASKS_KEY, jsonTasks) in toJson()
552 JSONArray jsonTasks = object.getJSONArray(TASKS_KEY); in fromJson() local
555 for (int i = 0; i < jsonTasks.length(); i++) { in fromJson()
556 tasks.add(TaskState.fromJson((JSONObject) jsonTasks.get(i))); in fromJson()