Searched refs:lensFacing (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/ |
D | VirtualCameraTest.java | 427 public void virtualCamera_hasCorrectLensFacing(int lensFacing) throws Exception { in virtualCamera_hasCorrectLensFacing() argument 429 VirtualCamera virtualCamera = createVirtualCamera(lensFacing); in virtualCamera_hasCorrectLensFacing() 431 verifyCameraLensFacing(virtualCamera.getId(), lensFacing); in virtualCamera_hasCorrectLensFacing() local 438 public void vdContext_virtualCamera_hasCorrectLensFacing(int lensFacing) throws Exception { in vdContext_virtualCamera_hasCorrectLensFacing() argument 440 createVirtualCamera(lensFacing); in vdContext_virtualCamera_hasCorrectLensFacing() 442 verifyCameraLensFacing(lensFacing == LENS_FACING_BACK ? BACK_CAMERA_ID : FRONT_CAMERA_ID, in vdContext_virtualCamera_hasCorrectLensFacing() 443 lensFacing); in vdContext_virtualCamera_hasCorrectLensFacing() 448 public void createMultipleVirtualCameras_withSameLensFacing_fails(int lensFacing) { in createMultipleVirtualCameras_withSameLensFacing_fails() argument 450 createVirtualCamera(lensFacing); in createMultipleVirtualCameras_withSameLensFacing_fails() 453 assertThrows(IllegalArgumentException.class, () -> createVirtualCamera(lensFacing)); in createMultipleVirtualCameras_withSameLensFacing_fails() [all …]
|
D | VirtualCameraCameraXTest.kt | 150 lensFacing = CameraMetadata.LENS_FACING_BACK in <lambda>() 180 lensFacing = CameraMetadata.LENS_FACING_BACK in <lambda>() 252 lensFacing: Int = CameraMetadata.LENS_FACING_BACK, in <lambda>() 276 .setLensFacing(lensFacing) in <lambda>()
|
D | VirtualCameraUtils.java | 101 int lensFacing, String name, Executor executor, VirtualCameraCallback callback) { in createVirtualCameraConfig() argument 106 .setLensFacing(lensFacing) in createVirtualCameraConfig() 111 int format, int maximumFramesPerSecond, int sensorOrientation, int lensFacing, in assertVirtualCameraConfig() argument 122 assertThat(config.getLensFacing()).isEqualTo(lensFacing); in assertVirtualCameraConfig()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CameraManagerTest.java | 182 Integer lensFacing = props.get(CameraCharacteristics.LENS_FACING); in testCameraManagerGetDeviceIdList() local 183 lensFacingMap.put(ids[i], lensFacing); in testCameraManagerGetDeviceIdList() 184 assertNotNull("Can't get lens facing info", lensFacing); in testCameraManagerGetDeviceIdList() 185 if (lensFacing == CameraCharacteristics.LENS_FACING_FRONT) { in testCameraManagerGetDeviceIdList() 191 } else if (lensFacing == CameraCharacteristics.LENS_FACING_BACK) { in testCameraManagerGetDeviceIdList() 197 } else if (lensFacing == CameraCharacteristics.LENS_FACING_EXTERNAL) { in testCameraManagerGetDeviceIdList() 202 fail("Unknown camera lens facing " + lensFacing.toString()); in testCameraManagerGetDeviceIdList() 309 Integer lensFacing = props.get(CameraCharacteristics.LENS_FACING); in testCameraCharacteristicsNdkFromSdk() local 310 assertNotNull("Can't get lens facing info", lensFacing); in testCameraCharacteristicsNdkFromSdk() 313 props, lensFacing.intValue())); in testCameraCharacteristicsNdkFromSdk() [all …]
|
D | MultiViewTest.java | 1126 int lensFacing = getStaticInfo(cameraId).getLensFacingChecked(); in testTextureViewPreviewWithMirroring() local 1127 if (lensFacing == CameraCharacteristics.LENS_FACING_FRONT) { in testTextureViewPreviewWithMirroring()
|
D | ExtendedCameraCharacteristicsTest.java | 298 Integer lensFacing = c.get(CameraCharacteristics.LENS_FACING); in testAvailableStreamConfigs() local 300 lensFacing); in testAvailableStreamConfigs() 303 switch(lensFacing) { in testAvailableStreamConfigs() 4057 int[] lensFacing = c.get(CameraCharacteristics.AUTOMOTIVE_LENS_FACING); 4058 if (location == null || lensFacing == null) {
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 4387 Integer lensFacing) throws Exception { in isPrimaryCamera() argument 4395 if (lensFacing.equals(facing)) { in isPrimaryCamera() 5442 Integer lensFacing = props.get(CameraCharacteristics.LENS_FACING); in verifyExternalCameraConnected() local 5443 assertNotNull("Can't get lens facing info", lensFacing); in verifyExternalCameraConnected() 5444 if (lensFacing == CameraCharacteristics.LENS_FACING_EXTERNAL) { in verifyExternalCameraConnected()
|