Home
last modified time | relevance | path

Searched refs:FRONT_CAMERA_ID (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/
DVirtualCameraTest.java33 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 …]
DVirtualCameraPermissionTest.java25 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()
DVirtualCameraNdkTest.java23 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()
DVirtualCameraCaptureTest.java28 import static android.virtualdevice.cts.camera.VirtualCameraUtils.FRONT_CAMERA_ID;
344 return FRONT_CAMERA_ID; in getVirtualCameraId()
DVirtualCameraUtils.java90 static final String FRONT_CAMERA_ID = "1"; field in VirtualCameraUtils