Home
last modified time | relevance | path

Searched refs:camera (Results 1 – 25 of 31) sorted by relevance

12

/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCameraDeviceTest.java138 CameraDevice camera = null; in testCameraDeviceCreateCaptureBuilder() local
140 camera = CameraTestUtils.openCamera(mCameraManager, ids[i], mCallbackHandler); in testCameraDeviceCreateCaptureBuilder()
142 String.format("Failed to open camera device ID: %s", ids[i]), camera); in testCameraDeviceCreateCaptureBuilder()
149 CaptureRequest.Builder capReq = camera.createCaptureRequest(mTemplates[j]); in testCameraDeviceCreateCaptureBuilder()
160 if (camera != null) { in testCameraDeviceCreateCaptureBuilder()
161 camera.close(); in testCameraDeviceCreateCaptureBuilder()
170 CameraDevice camera = null; in testCameraDeviceSetErrorListener() local
172 camera = CameraTestUtils.openCamera(mCameraManager, ids[i], in testCameraDeviceSetErrorListener()
175 String.format("Failed to open camera device %s", ids[i]), camera); in testCameraDeviceSetErrorListener()
188 if (camera != null) { in testCameraDeviceSetErrorListener()
[all …]
DCameraCaptureResultTest.java123 CameraDevice camera = null; in testCameraCaptureResultAllKeys() local
134 camera = CameraTestUtils.openCamera( in testCameraCaptureResultAllKeys()
137 String.format("Failed to open camera device %s", ids[i]), camera); in testCameraCaptureResultAllKeys()
142 camera.configureOutputs(outputSurfaces); in testCameraCaptureResultAllKeys()
147 camera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); in testCameraCaptureResultAllKeys()
171 camera.setRepeatingRequest(requestBuilder.build(), captureListener, mHandler); in testCameraCaptureResultAllKeys()
183 camera.configureOutputs(/*outputs*/ null); in testCameraCaptureResultAllKeys()
190 if (camera != null) { in testCameraCaptureResultAllKeys()
191 camera.close(); in testCameraCaptureResultAllKeys()
219 public void onCaptureStarted(CameraDevice camera, CaptureRequest request, long timestamp) in onCaptureStarted() argument
[all …]
DCameraManagerTest.java153 CameraDevice camera = CameraTestUtils.openCamera(mCameraManager, ids[i], mHandler); in testCameraManagerOpenCamerasSerially() local
155 String.format("Failed to open camera device ID: %s", ids[i]), camera); in testCameraManagerOpenCamerasSerially()
156 camera.close(); in testCameraManagerOpenCamerasSerially()
/cts/tests/tests/hardware/src/android/hardware/cts/
DCamera_SizeTest.java41 Camera camera = Camera.open(0); in testConstructor() local
42 Parameters parameters = camera.getParameters(); in testConstructor()
48 camera.release(); in testConstructor()
DCameraTest.java221 public void onPreviewFrame(byte [] data, Camera camera) { in onPreviewFrame() argument
227 Size size = camera.getParameters().getPreviewSize(); in onPreviewFrame()
228 int format = camera.getParameters().getPreviewFormat(); in onPreviewFrame()
256 public void onPictureTaken(byte [] rawData, Camera camera) { in onPictureTaken() argument
264 public void onPictureTaken(byte[] rawData, Camera camera) { in onPictureTaken() argument
292 public void onError(int error, Camera camera) { in onError() argument
300 public void onAutoFocus(boolean success, Camera camera) { in onAutoFocus() argument
310 public void onAutoFocusMoving(boolean start, Camera camera) { in onAutoFocusMoving() argument
1093 public void onPreviewFrame(byte[] data, Camera camera) { in onPreviewFrame() argument
1299 public void onZoomChange(int value, boolean stopped, Camera camera) {
[all …]
DCameraGLTest.java175 public void onPreviewFrame(byte [] data, Camera camera) { in onPreviewFrame() argument
178 Size size = camera.getParameters().getPreviewSize(); in onPreviewFrame()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DPhotoCaptureActivity.java17 package com.android.cts.verifier.camera.fov;
199 Camera camera = Camera.open(cameraId); in onResume() local
203 camera.getParameters().getSupportedPictureSizes(); in onResume()
208 camera.release(); in onResume()
246 public void onPictureTaken(byte[] data, Camera camera) { in onPictureTaken() argument
358 Camera camera = Camera.open(cameraId); in showNextDialogToChoosePreviewSize() local
359 final List<Camera.Size> sizes = camera.getParameters() in showNextDialogToChoosePreviewSize()
398 camera.release(); in showNextDialogToChoosePreviewSize()
453 private static String getFocusMode(Camera camera) { in getFocusMode() argument
454 List<String> modes = camera.getParameters().getSupportedFocusModes(); in getFocusMode()
[all …]
DSize.java17 package com.android.cts.verifier.camera.fov;
DSelectableResolution.java17 package com.android.cts.verifier.camera.fov;
DCalibrationPreferenceActivity.java3 package com.android.cts.verifier.camera.fov;
DCtsTestHelper.java17 package com.android.cts.verifier.camera.fov;
DCameraPreviewView.java2 package com.android.cts.verifier.camera.fov;
DDetermineFovActivity.java17 package com.android.cts.verifier.camera.fov;
/cts/tests/tests/permission/src/android/permission/cts/
DCameraPermissionTest.java45 public void onPictureTaken(byte [] rawData, Camera camera) { } in onPictureTaken() argument
49 public void onPictureTaken(byte [] jpegData, Camera camera) { in onPictureTaken() argument
/cts/tests/tests/app/src/android/app/cts/
DSystemFeaturesTest.java143 Camera camera = null; in checkRearCamera() local
145 camera = Camera.open(); in checkRearCamera()
146 if (camera != null) { in checkRearCamera()
149 Camera.Parameters params = camera.getParameters(); in checkRearCamera()
167 if (camera != null) { in checkRearCamera()
168 camera.release(); in checkRearCamera()
/cts/tests/tests/media/src/android/media/cts/
DCamcorderProfileTest.java250 Camera camera = (cameraId == -1)? Camera.open(): Camera.open(cameraId); in getSupportedVideoSizes() local
251 Parameters parameters = camera.getParameters(); in getSupportedVideoSizes()
257 camera.release(); in getSupportedVideoSizes()
DMediaRecorderTest.java198 Camera camera, String fileName, int durMs, boolean timelapse) throws Exception { in recordVideoUsingCamera() argument
202 Camera.Parameters params = camera.getParameters(); in recordVideoUsingCamera()
205 camera.unlock(); in recordVideoUsingCamera()
206 mMediaRecorder.setCamera(camera); in recordVideoUsingCamera()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/analyzer/
DCameraTests.java17 package com.android.cts.verifier.camera.analyzer;
DColorCheckerTest.java17 package com.android.cts.verifier.camera.analyzer;
DExposureCompensationTest.java17 package com.android.cts.verifier.camera.analyzer;
DWhiteBalanceTest.java17 package com.android.cts.verifier.camera.analyzer;
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Draytrace.js301 camera : null, property in Flog.RayTracer.Scene
307 this.camera = new Flog.RayTracer.Camera(
659 var ray = scene.camera.getRay(xp, yp);
789 scene.camera.position,
814 scene.camera = new Flog.RayTracer.Camera(
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java14 package com.android.cts.verifier.camera.orientation;
452 public void onPreviewFrame(byte[] data, Camera camera) {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java16 package com.android.cts.verifier.camera.formats;
530 public void onPreviewFrame(byte[] data, Camera camera) { in onPreviewFrame() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
DCameraIntentsActivity.java16 package com.android.cts.verifier.camera.intents;

12