Searched refs:jsonObj (Results 1 – 5 of 5) sorted by relevance
/cts/apps/CameraITS/pymodules/its/ |
D | device.py | 611 jsonObj,buf = self.__read_response_from_socket() 612 if jsonObj['tag'] in ['jpegImage', 'yuvImage', 'rawImage', \ 614 fmt = jsonObj['tag'][:-5] 617 elif jsonObj['tag'] == 'captureResults': 618 mds.append(jsonObj['objValue']['captureResult']) 619 outputs = jsonObj['objValue']['outputs']
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsService.java | 336 JSONObject jsonObj = new JSONObject(); in run() local 346 jsonObj.put("cameraProperties", ItsSerializer.serialize( in run() 349 jsonObj.put("captureRequest", ItsSerializer.serialize( in run() 352 jsonObj.put("captureResult", ItsSerializer.serialize( in run() 355 jsonObj.put("outputs", (JSONArray)obj); in run() 363 mSocketRunnableObj.sendResponse(tag, null, jsonObj, null); in run() 570 JSONObject jsonObj = new JSONObject(); in sendResponse() local 571 jsonObj.put("tag", tag); in sendResponse() 573 jsonObj.put("strValue", str); in sendResponse() 576 jsonObj.put("objValue", obj); in sendResponse() [all …]
|
D | ItsUtils.java | 45 public static ByteBuffer jsonToByteBuffer(JSONObject jsonObj) { in jsonToByteBuffer() argument 46 return ByteBuffer.wrap(jsonObj.toString().getBytes(Charset.defaultCharset())); in jsonToByteBuffer()
|
D | ItsSerializer.java | 471 JSONObject jsonObj = new JSONObject(); in serialize() local 508 jsonObj.put(entry.key, entry.value); in serialize() 522 return jsonObj; in serialize()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/ |
D | CameraMetadataGetter.java | 630 JSONObject jsonObj = new JSONObject(); in serialize() local 674 jsonObj.put(entry.key, entry.value); in serialize() 688 return jsonObj; in serialize()
|