/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | CameraDeviceTest.java | 138 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 …]
|
D | CameraCaptureResultTest.java | 123 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 …]
|
D | CameraManagerTest.java | 153 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/ |
D | Camera_SizeTest.java | 41 Camera camera = Camera.open(0); in testConstructor() local 42 Parameters parameters = camera.getParameters(); in testConstructor() 48 camera.release(); in testConstructor()
|
D | CameraTest.java | 221 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 …]
|
D | CameraGLTest.java | 175 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/ |
D | PhotoCaptureActivity.java | 17 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 …]
|
D | Size.java | 17 package com.android.cts.verifier.camera.fov;
|
D | SelectableResolution.java | 17 package com.android.cts.verifier.camera.fov;
|
D | CalibrationPreferenceActivity.java | 3 package com.android.cts.verifier.camera.fov;
|
D | CtsTestHelper.java | 17 package com.android.cts.verifier.camera.fov;
|
D | CameraPreviewView.java | 2 package com.android.cts.verifier.camera.fov;
|
D | DetermineFovActivity.java | 17 package com.android.cts.verifier.camera.fov;
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | CameraPermissionTest.java | 45 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/ |
D | SystemFeaturesTest.java | 143 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/ |
D | CamcorderProfileTest.java | 250 Camera camera = (cameraId == -1)? Camera.open(): Camera.open(cameraId); in getSupportedVideoSizes() local 251 Parameters parameters = camera.getParameters(); in getSupportedVideoSizes() 257 camera.release(); in getSupportedVideoSizes()
|
D | MediaRecorderTest.java | 198 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/ |
D | CameraTests.java | 17 package com.android.cts.verifier.camera.analyzer;
|
D | ColorCheckerTest.java | 17 package com.android.cts.verifier.camera.analyzer;
|
D | ExposureCompensationTest.java | 17 package com.android.cts.verifier.camera.analyzer;
|
D | WhiteBalanceTest.java | 17 package com.android.cts.verifier.camera.analyzer;
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
D | raytrace.js | 301 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/ |
D | CameraOrientationActivity.java | 14 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/ |
D | CameraFormatsActivity.java | 16 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/ |
D | CameraIntentsActivity.java | 16 package com.android.cts.verifier.camera.intents;
|