Searched refs:jsonArray (Results 1 – 3 of 3) sorted by relevance
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraMetadataGetter.java | 542 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/ |
D | ItsSerializer.java | 387 JSONArray jsonArray = new JSONArray(); in serializeArrayEntry() local 389 jsonArray.put(serializeRational((Rational)Array.get(keyValue,i))); in serializeArrayEntry() 391 return new MetadataEntry(keyName, jsonArray); in serializeArrayEntry() 393 JSONArray jsonArray = new JSONArray(); in serializeArrayEntry() local 395 jsonArray.put(serializeSize((Size)Array.get(keyValue,i))); in serializeArrayEntry() 397 return new MetadataEntry(keyName, jsonArray); in serializeArrayEntry() 399 JSONArray jsonArray = new JSONArray(); in serializeArrayEntry() local 401 jsonArray.put(serializeRect((Rect)Array.get(keyValue,i))); in serializeArrayEntry() 403 return new MetadataEntry(keyName, jsonArray); in serializeArrayEntry() 405 JSONArray jsonArray = new JSONArray(); in serializeArrayEntry() local [all …]
|
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/ |
D | VulkanDeviceInfo.java | 942 JSONArray jsonArray = parent.getJSONArray(name); in emitLongArray() local 943 long[] array = new long[jsonArray.length()]; in emitLongArray() 944 for (int i = 0; i < jsonArray.length(); i++) { in emitLongArray() 945 array[i] = jsonArray.getLong(i); in emitLongArray() 952 JSONArray jsonArray = parent.getJSONArray(name); in emitDoubleArray() local 953 double[] array = new double[jsonArray.length()]; in emitDoubleArray() 954 for (int i = 0; i < jsonArray.length(); i++) { in emitDoubleArray() 955 array[i] = jsonArray.getDouble(i); in emitDoubleArray()
|