Home
last modified time | relevance | path

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

/cts/apps/CameraITS/pymodules/its/
Ddevice.py728 jsonObj,buf = self.__read_response_from_socket()
729 if jsonObj['tag'] in ['jpegImage', 'rawImage', \
732 fmt = jsonObj['tag'][:-5]
735 elif jsonObj['tag'] == 'yuvImage':
739 elif jsonObj['tag'] == 'captureResults':
740 mds.append(jsonObj['objValue']['captureResult'])
741 outputs = jsonObj['objValue']['outputs']
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java368 JSONObject jsonObj = new JSONObject(); in run() local
378 jsonObj.put("cameraProperties", ItsSerializer.serialize( in run()
381 jsonObj.put("captureRequest", ItsSerializer.serialize( in run()
384 jsonObj.put("captureResult", ItsSerializer.serialize( in run()
387 jsonObj.put("outputs", (JSONArray)obj); in run()
395 mSocketRunnableObj.sendResponse(tag, null, jsonObj, null); in run()
627 JSONObject jsonObj = new JSONObject(); in sendResponse() local
628 jsonObj.put("tag", tag); in sendResponse()
630 jsonObj.put("strValue", str); in sendResponse()
633 jsonObj.put("objValue", obj); in sendResponse()
[all …]
DItsUtils.java48 public static ByteBuffer jsonToByteBuffer(JSONObject jsonObj) { in jsonToByteBuffer() argument
49 return ByteBuffer.wrap(jsonObj.toString().getBytes(Charset.defaultCharset())); in jsonToByteBuffer()
DItsSerializer.java471 JSONObject jsonObj = new JSONObject(); in serialize() local
508 jsonObj.put(entry.key, entry.value); in serialize()
522 return jsonObj; in serialize()
/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()