Home
last modified time | relevance | path

Searched refs:templates (Results 1 – 2 of 2) sorted by relevance

/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java151 JSONObject[] templates = new JSONObject[TEMPLATE_IDS.length]; in getCaptureRequestTemplates() local
160 templates[i] = serialize(request.build()); in getCaptureRequestTemplates()
164 templates[i] = null; in getCaptureRequestTemplates()
167 return templates; in getCaptureRequestTemplates()
180 StringBuffer templates = new StringBuffer("{\"CameraRequestTemplates\":{"); in getCaptureRequestTemplates() local
210 templates.append("\"Camera" + id + "CaptureTemplate" + in getCaptureRequestTemplates()
212 templates.append(value); in getCaptureRequestTemplates()
215 templates.append(","); in getCaptureRequestTemplates()
226 templates.append("}}"); in getCaptureRequestTemplates()
227 return templates.toString(); in getCaptureRequestTemplates()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraDeviceTest.java1211 int[] templates = new int[] { in runCaptureTest() local
1220 captureBurstShot(mCameraIds[i], templates, templates.length, repeating, abort); in runCaptureTest()
1294 int[] templates, in captureBurstShot() argument
1302 assertTrue("Invalid args to capture function", len <= templates.length); in captureBurstShot()
1308 templates[i] == CameraDevice.TEMPLATE_VIDEO_SNAPSHOT) { in captureBurstShot()
1313 templates[i] != CameraDevice.TEMPLATE_PREVIEW) { in captureBurstShot()
1316 CaptureRequest.Builder requestBuilder = mCamera.createCaptureRequest(templates[i]); in captureBurstShot()