Searched refs:FRONT_CAMERA_ID (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/ |
D | VirtualCameraTest.java | 33 import static android.virtualdevice.cts.camera.VirtualCameraUtils.FRONT_CAMERA_ID; 242 .onCameraAvailable(FRONT_CAMERA_ID); in vdContext_virtualFrontCamera_triggersCameraAvailabilityCallbacks() 246 .onCameraUnavailable(FRONT_CAMERA_ID); in vdContext_virtualFrontCamera_triggersCameraAvailabilityCallbacks() 316 .contains(FRONT_CAMERA_ID); in vdContext_virtualFrontCamera_presentInListOfCameras() 402 verifyCameraSensorOrientation(FRONT_CAMERA_ID, sensorOrientation); in vdContext_virtualCamera_hasCorrectOrientation() 421 verifyCameraMaximumFramesPerSecond(FRONT_CAMERA_ID, CAMERA_MAX_FPS); in vdContext_virtualCamera_hasCorrectMinFrameDuration() 442 verifyCameraLensFacing(lensFacing == LENS_FACING_BACK ? BACK_CAMERA_ID : FRONT_CAMERA_ID, in vdContext_virtualCamera_hasCorrectLensFacing() 519 mCameraManager.openCamera(FRONT_CAMERA_ID, directExecutor(), mCameraStateCallback); in vdContext_virtualCamera_openCamera_triggersOnOpenedCallback() 523 assertThat(mCameraDeviceCaptor.getValue().getId()).isEqualTo(FRONT_CAMERA_ID); in vdContext_virtualCamera_openCamera_triggersOnOpenedCallback() 533 mCameraManager.openCamera(FRONT_CAMERA_ID, directExecutor(), mCameraStateCallback); in vdContext_virtualCamera_close_triggersOnDisconnectedCallback() [all …]
|
D | VirtualCameraPermissionTest.java | 25 import static android.virtualdevice.cts.camera.VirtualCameraUtils.FRONT_CAMERA_ID; 129 () -> mCameraManager.openCamera(FRONT_CAMERA_ID, directExecutor(), in openCamera_withoutPermission_fails() 137 mCameraManager.openCamera(FRONT_CAMERA_ID, directExecutor(), in openCamera_withPermission_succeeds() 141 assertThat(mCameraDeviceCaptor.getValue().getId()).isEqualTo(FRONT_CAMERA_ID); in openCamera_withPermission_succeeds()
|
D | VirtualCameraNdkTest.java | 23 import static android.virtualdevice.cts.camera.VirtualCameraUtils.FRONT_CAMERA_ID; 142 assertThat(ndkCameras).containsExactly(FRONT_CAMERA_ID); in getCameraIds_virtualDevice() 158 .onCameraAvailable(FRONT_CAMERA_ID); in availabilityCallbacks_virtualDevice() 161 .onCameraUnavailable(FRONT_CAMERA_ID); in availabilityCallbacks_virtualDevice()
|
D | VirtualCameraCaptureTest.java | 28 import static android.virtualdevice.cts.camera.VirtualCameraUtils.FRONT_CAMERA_ID; 344 return FRONT_CAMERA_ID; in getVirtualCameraId()
|
D | VirtualCameraUtils.java | 90 static final String FRONT_CAMERA_ID = "1"; field in VirtualCameraUtils
|