Home
last modified time | relevance | path

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

1234

/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java120 for (CameraHolder camera : mCameraHolders) { in tearDown()
121 if (camera.isOpened()) { in tearDown()
122 camera.close(); in tearDown()
123 camera = null; in tearDown()
224 CameraHolder camera = getCameraHolder(cameraId); in openCamera() local
225 assertFalse("Camera has already opened", camera.isOpened()); in openCamera()
226 camera.open(); in openCamera()
231 CameraHolder camera = getCameraHolder(cameraId); in closeCamera() local
232 camera.close(); in closeCamera()
237 CameraHolder camera = getCameraHolder(cameraId); in createSessionWithConfigs() local
[all …]
/cts/tests/camera/src/android/hardware/cts/
DCamera_SizeTest.java52 Camera camera = Camera.open(0); in testConstructor() local
53 Parameters parameters = camera.getParameters(); in testConstructor()
59 camera.release(); in testConstructor()
77 Camera camera = Camera.open(id); in testMaxAspectRatios() local
78 Parameters parameters = camera.getParameters(); in testMaxAspectRatios()
104 camera.release(); in testMaxAspectRatios()
DCameraPerformanceTestHelper.java68 public void onError(int error, Camera camera) { in initializeMessageLooper()
121 public void onPreviewFrame(byte[] data, android.hardware.Camera camera) { in startPreview()
150 public void onAutoFocus(boolean success, Camera camera) { in autoFocus()
177 public void onPictureTaken(byte[] rawData, Camera camera) { in takePicture()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_CameraVulkanGpuTest.cpp60 CameraHelper camera; in loadCameraAndVerifyFrameImport() local
63 ASSERT(camera.initCamera(imageReader.getNativeWindow()) >= 0, in loadCameraAndVerifyFrameImport()
65 ASSERT(camera.isCameraReady(), "Camera is not ready."); in loadCameraAndVerifyFrameImport()
68 ASSERT(camera.takePicture() >= 0, "Camera failed to take picture."); in loadCameraAndVerifyFrameImport()
/cts/tests/camera/src/android/hardware/camera2/cts/
DFastBasicsTest.java190 public void onPictureTaken(byte[] data, Camera camera) { in onPictureTaken() argument
205 Camera camera = null; in testCamera1() local
209 camera = Camera.open(i); in testCamera1()
216 camera.setPreviewTexture(st); in testCamera1()
217 camera.startPreview(); in testCamera1()
221 camera.takePicture(null, null, listener); in testCamera1()
232 if (camera != null) { in testCamera1()
233 camera.release(); in testCamera1()
DCameraExtensionSessionTest.java160 CameraDevice camera = mTestRule.getCamera(); in testBasicExtensionLifecycle() local
161 camera.createExtensionSession(configuration); in testBasicExtensionLifecycle()
222 CameraDevice camera = mTestRule.getCamera(); in testCloseCaptureSession() local
223 camera.createExtensionSession(configuration); in testCloseCaptureSession()
282 CameraDevice camera = mTestRule.getCamera(); in testCloseExtensionSession() local
283 camera.createExtensionSession(configuration); in testCloseExtensionSession()
339 CameraDevice camera = mTestRule.getCamera(); in testGetDevice() local
340 camera.createExtensionSession(configuration); in testGetDevice()
401 CameraDevice camera = mTestRule.getCamera(); in testRepeatingCapture() local
402 camera.createExtensionSession(configuration); in testRepeatingCapture()
[all …]
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DCameraTests.java42 Camera camera = new Camera(); in testBasicTranslate() local
43 camera.translate(0, 50, 0); in testBasicTranslate()
44 camera.applyToCanvas(canvas); in testBasicTranslate()
/cts/tests/camera/api31test/src/android/camera/cts/api31test/
DSPerfClassTest.java17 package android.camera.cts.api31test;
132 CameraDevice camera = null; in testSPerfClassJpegSizesByCamera() local
136 camera = CameraTestUtils.openCamera(mCameraManager, cameraId, in testSPerfClassJpegSizesByCamera()
149 camera, mHandler, outputConfigs, /*inputConfig*/ null, in testSPerfClassJpegSizesByCamera()
159 camera.createCaptureRequest(CameraDevice.TEMPLATE_STILL_CAPTURE); in testSPerfClassJpegSizesByCamera()
166 camera, outputConfigs, sessionListener, mHandler); in testSPerfClassJpegSizesByCamera()
196 if (camera != null) { in testSPerfClassJpegSizesByCamera()
197 camera.close(); in testSPerfClassJpegSizesByCamera()
DSPerfClassTestActivity.java16 package android.camera.cts.api31test;
/cts/apps/CameraITS/
DAndroid.mk22 camera-its: $(its-build-stamp)
24 .PHONY: camera-its
DOWNERS2 include platform/frameworks/av:/camera/OWNERS
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DPhotoCaptureActivity.java17 package com.android.cts.verifier.camera.fov;
227 Camera camera = Camera.open(cameraId); in onResume() local
231 camera.getParameters().getSupportedPictureSizes(); in onResume()
236 camera.release(); in onResume()
274 public void onPictureTaken(byte[] data, Camera camera) { in onPictureTaken() argument
387 Camera camera = Camera.open(cameraId); in showNextDialogToChoosePreviewSize() local
388 final List<Camera.Size> sizes = camera.getParameters() in showNextDialogToChoosePreviewSize()
427 camera.release(); in showNextDialogToChoosePreviewSize()
505 private static String getFocusMode(Camera camera) { in getFocusMode() argument
506 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;
/cts/apps/CameraITS/tests/inprog/scene2/
DREADME1 Scene 2 requires a camera lab with controlled illuminants, for example
7 If a test requires that the camera be in any particular orientaion, it will
/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/camera/utils/src/android/hardware/cts/helpers/
DCameraUtils.java167 Camera camera = null; in isExternal() local
172 camera = Camera.open(cameraId); in isExternal()
173 params = camera.getParameters(); in isExternal()
175 if (camera != null) { in isExternal()
176 camera.release(); in isExternal()
/cts/tests/camera/api25test/src/android/camera/cts/api25test/
DEnableZslTest.java17 package android.camera.cts.api25test;
128 CameraDevice camera = CameraTestUtils.openCamera(mCameraManager, cameraId, in testEnableZslValueByCamera() local
137 CaptureRequest.Builder request = camera.createCaptureRequest(sTemplates[i]); in testEnableZslValueByCamera()
169 camera.close(); in testEnableZslValueByCamera()
DEnableZslTestActivity.java16 package android.camera.cts.api25test;
/cts/tests/tests/media/libimagereaderjni/
DOWNERS1 include platform/frameworks/av:/camera/OWNERS
/cts/tests/camera/
DOWNERS2 include platform/frameworks/av:/camera/OWNERS
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/
DOWNERS2 include platform/frameworks/av:/camera/OWNERS
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DCamera1Activity.java17 package android.hardware.multiprocess.camera.cts;
56 public void onError(int i, Camera camera) { in onResume()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsException.java17 package com.android.cts.verifier.camera.its;
DStatsImage.java17 package com.android.cts.verifier.camera.its;

1234