Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DPersistence.java166 JSONArray intentArray = new JSONArray(); in intentsToJson() local
168 intentArray.put(intent.toJson()); in intentsToJson()
170 return intentArray; in intentsToJson()
173 public static List<GenerationIntent> intentsFromJson(JSONArray intentArray, in intentsFromJson() argument
177 for (int i = 0; i < intentArray.length(); i++) { in intentsFromJson()
178 JSONObject object = (JSONObject) intentArray.get(i); in intentsFromJson()
/cts/tests/tests/os/src/android/os/cts/
DParcelTest.java2495 Intent[] intentArray = { in testReadParcelableArrayWithClass_whenSubclasses() local
2501 p.writeParcelableArray(intentArray, 0); in testReadParcelableArrayWithClass_whenSubclasses()
2504 assertTrue(Arrays.equals(intentArray, s)); in testReadParcelableArrayWithClass_whenSubclasses()
3215 Intent[] intentArray = { in testReadArrayWithClass_whenSubclasses() local
3220 p.writeArray(intentArray); in testReadArrayWithClass_whenSubclasses()
3224 assertTrue(Arrays.equals(intentArray, objects)); in testReadArrayWithClass_whenSubclasses()
3433 SparseArray<Intent> intentArray = new SparseArray<>(); in testReadSparseArrayWithClass_whenSubclasses() local
3434 intentArray.put(0, new TestSubIntent(baseIntent, "1234567890abcdef")); in testReadSparseArrayWithClass_whenSubclasses()
3435 intentArray.put(3, new TestSubIntent(baseIntent, "1234567890abcdef")); in testReadSparseArrayWithClass_whenSubclasses()
3436 p.writeSparseArray(intentArray); in testReadSparseArrayWithClass_whenSubclasses()
[all …]