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.java1631 int[] templates = new int[] { in runCaptureTest() local
1640 captureBurstShot(mCameraIds[i], templates, templates.length, repeating, abort, in runCaptureTest()
1730 int[] templates, in captureBurstShot() argument
1738 assertTrue("Invalid args to capture function", len <= templates.length); in captureBurstShot()
1745 templates[i] == CameraDevice.TEMPLATE_VIDEO_SNAPSHOT) { in captureBurstShot()
1750 templates[i] != CameraDevice.TEMPLATE_PREVIEW) { in captureBurstShot()
1754 CaptureRequest.Builder requestBuilder = mCamera.createCaptureRequest(templates[i]); in captureBurstShot()