Home
last modified time | relevance | path

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

/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java542 JSONArray jsonArray = new JSONArray(); in serializeArrayEntry() local
544 jsonArray.put(serializeRational((Rational) Array.get(keyValue, i))); in serializeArrayEntry()
546 return new MetadataEntry(keyName, jsonArray); in serializeArrayEntry()
548 JSONArray jsonArray = new JSONArray(); in serializeArrayEntry() local
550 jsonArray.put(serializeSize((Size) Array.get(keyValue, i))); in serializeArrayEntry()
552 return new MetadataEntry(keyName, jsonArray); in serializeArrayEntry()
554 JSONArray jsonArray = new JSONArray(); in serializeArrayEntry() local
556 jsonArray.put(serializeRect((Rect) Array.get(keyValue, i))); in serializeArrayEntry()
558 return new MetadataEntry(keyName, jsonArray); in serializeArrayEntry()
560 JSONArray jsonArray = new JSONArray(); in serializeArrayEntry() local
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java416 JSONArray jsonArray = new JSONArray(); in serializeArrayEntry() local
418 jsonArray.put(serializeRational((Rational)Array.get(keyValue,i))); in serializeArrayEntry()
420 return new MetadataEntry(keyName, jsonArray); in serializeArrayEntry()
422 JSONArray jsonArray = new JSONArray(); in serializeArrayEntry() local
424 jsonArray.put(serializeSize((Size)Array.get(keyValue,i))); in serializeArrayEntry()
426 return new MetadataEntry(keyName, jsonArray); in serializeArrayEntry()
428 JSONArray jsonArray = new JSONArray(); in serializeArrayEntry() local
430 jsonArray.put(serializeRect((Rect)Array.get(keyValue,i))); in serializeArrayEntry()
432 return new MetadataEntry(keyName, jsonArray); in serializeArrayEntry()
434 JSONArray jsonArray = new JSONArray(); in serializeArrayEntry() local
[all …]
/cts/hostsidetests/videoencodingminimum/app/src/android/videoencodingmin/app/
DVideoTranscoderTest.java137 JSONArray jsonArray = new JSONArray(jsonString); in parseEncoderConfigurationFile() local
138 JSONObject obj = jsonArray.getJSONObject(0); in parseEncoderConfigurationFile()
/cts/hostsidetests/mediapc/videoencodingquality/app/src/android/videoencoding/app/
DVideoTranscoderTest.java137 JSONArray jsonArray = new JSONArray(jsonString); in parseEncoderConfigurationFile() local
138 JSONObject obj = jsonArray.getJSONObject(0); in parseEncoderConfigurationFile()
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DVulkanDeviceInfo.java1326 JSONArray jsonArray = parent.getJSONArray(name); in emitLongArray() local
1327 long[] array = new long[jsonArray.length()]; in emitLongArray()
1328 for (int i = 0; i < jsonArray.length(); i++) { in emitLongArray()
1329 array[i] = jsonArray.getLong(i); in emitLongArray()
1336 JSONArray jsonArray = parent.getJSONArray(name); in emitDoubleArray() local
1337 double[] array = new double[jsonArray.length()]; in emitDoubleArray()
1338 for (int i = 0; i < jsonArray.length(); i++) { in emitDoubleArray()
1339 array[i] = jsonArray.getDouble(i); in emitDoubleArray()
/cts/hostsidetests/videoencodingminimum/src/android/videoqualityfloor/cts/
DCtsVideoQualityFloorHostTest.java235 JSONArray jsonArray = new JSONArray(jsonString); in testEncoding() local
236 JSONObject obj = jsonArray.getJSONObject(0); in testEncoding()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioLoopbackLatencyActivity.java766 JSONArray jsonArray = new JSONArray(); in recordAllRoutes() local
771 jsonArray.put(jsonObject); in recordAllRoutes()
775 if (jsonArray.length() > 0) { in recordAllRoutes()
776 reportLog.addValues(KEY_PATHS, jsonArray); in recordAllRoutes()
/cts/hostsidetests/mediapc/videoencodingquality/src/
DCtsVideoEncodingQualityHostTest.java410 JSONArray jsonArray = new JSONArray(jsonString); in testEncoding() local
411 JSONObject obj = jsonArray.getJSONObject(0); in testEncoding()