Home
last modified time | relevance | path

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

/cts/apps/CameraITS/pymodules/its/
Ddevice.py872 jsonObj,buf = self.__read_response_from_socket()
873 if jsonObj['tag'] in ['jpegImage', 'rawImage', \
876 fmt = jsonObj['tag'][:-5]
879 elif jsonObj['tag'] == 'yuvImage':
883 elif jsonObj['tag'] == 'captureResults':
884 mds.append(jsonObj['objValue']['captureResult'])
885 physical_mds.append(jsonObj['objValue']['physicalResults'])
886 outputs = jsonObj['objValue']['outputs']
890 tagString = unicodedata.normalize('NFKD', jsonObj['tag']).encode('ascii', 'ignore');
895 physicalId = jsonObj['tag'][len(x):]
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java432 JSONObject jsonObj = new JSONObject(); in run() local
442 jsonObj.put("cameraProperties", ItsSerializer.serialize( in run()
445 jsonObj.put("captureRequest", ItsSerializer.serialize( in run()
448 jsonObj.put("captureResult", ItsSerializer.serialize( in run()
453 jsonObj.put("outputs", (JSONArray)obj); in run()
455 jsonObj.put("physicalResults", (JSONArray)obj); in run()
461 jsonObj.put("outputs", (JSONArray)obj); in run()
470 mSocketRunnableObj.sendResponse(tag, null, jsonObj, null); in run()
710 JSONObject jsonObj = new JSONObject(); in sendResponse() local
711 jsonObj.put("tag", tag); in sendResponse()
[all …]
DItsSerializer.java476 JSONObject jsonObj = new JSONObject(); in serialize() local
498 jsonObj.put("camera.characteristics.keys", charKeysArr); in serialize()
499 jsonObj.put("camera.characteristics.requestKeys", reqKeysArr); in serialize()
506 jsonObj.put("camera.characteristics.physicalCamIds", physCamIdsArr); in serialize()
544 jsonObj.put(entry.key, entry.value); in serialize()
558 return jsonObj; in serialize()
DItsUtils.java58 public static ByteBuffer jsonToByteBuffer(JSONObject jsonObj) { in jsonToByteBuffer() argument
59 return ByteBuffer.wrap(jsonObj.toString().getBytes(Charset.defaultCharset())); in jsonToByteBuffer()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java630 JSONObject jsonObj = new JSONObject(); in serialize() local
674 jsonObj.put(entry.key, entry.value); in serialize()
688 return jsonObj; in serialize()