Home
last modified time | relevance | path

Searched refs:createVirtualCamera (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/
DVirtualCameraNdkTest.java115 try (VirtualCamera ignored = createVirtualCamera()) { in getCameraIds_defaultDevice()
135 try (VirtualCamera ignored = createVirtualCamera()) { in getCameraIds_virtualDevice()
156 try (VirtualCamera ignored = createVirtualCamera()) { in availabilityCallbacks_virtualDevice()
181 try (VirtualCamera ignored = createVirtualCamera()) { in availabilityCallbacks_defaultDevice()
189 private VirtualCamera createVirtualCamera() { in createVirtualCamera() method in VirtualCameraNdkTest
194 return mVirtualDevice.createVirtualCamera(config); in createVirtualCamera()
DVirtualCameraCaptureTest.java155 try (VirtualCamera virtualCamera = createVirtualCamera()) { in virtualCamera_inputBuffer_doesntBlock()
185 try (VirtualCamera virtualCamera = createVirtualCamera()) { in virtualCamera_captureImage_succeeds()
207 try (VirtualCamera virtualCamera = createVirtualCamera()) { in virtualCamera_captureWithNoInput_capturesBlackImage()
231 try (VirtualCamera virtualCamera = createVirtualCamera()) { in virtualCamera_captureDownscaled_succeeds()
252 try (VirtualCamera virtualCamera = createVirtualCamera(width, height, YUV_420_888)) { in virtualCamera_renderFromMediaCodec()
268 private VirtualCamera createVirtualCamera() { in createVirtualCamera() method in VirtualCameraCaptureTest
269 return createVirtualCamera(CAMERA_WIDTH, CAMERA_HEIGHT, CAMERA_INPUT_FORMAT); in createVirtualCamera()
272 private VirtualCamera createVirtualCamera(int inputWidth, int inputHeight, int inputFormat) { in createVirtualCamera() method in VirtualCameraCaptureTest
277 return mVirtualDevice.createVirtualCamera(config); in createVirtualCamera()
DVirtualCameraTest.java253 VirtualCamera virtualCamera = createVirtualCamera(LENS_FACING_BACK); in vdContext_virtualBackCamera_triggersCameraAvailabilityCallbacks()
324 createVirtualCamera(LENS_FACING_BACK); in vdContext_virtualBackCamera_presentInListOfCameras()
429 VirtualCamera virtualCamera = createVirtualCamera(lensFacing); in virtualCamera_hasCorrectLensFacing()
440 createVirtualCamera(lensFacing); in vdContext_virtualCamera_hasCorrectLensFacing()
450 createVirtualCamera(lensFacing); in createMultipleVirtualCameras_withSameLensFacing_fails()
453 assertThrows(IllegalArgumentException.class, () -> createVirtualCamera(lensFacing)); in createMultipleVirtualCameras_withSameLensFacing_fails()
462 assertThrows(IllegalArgumentException.class, () -> createVirtualCamera(lensFacing)); in createVirtualCamera_withDefaultPolicy_fails()
758 createVirtualCamera(LENS_FACING_BACK); in getConcurrentCameraIds_multipleVirtualCameras_returnsEmpty()
771 createVirtualCamera(LENS_FACING_BACK); in isConcurrentSessionConfigurationSupported_virtualCamera_returnsFalse()
789 return createVirtualCamera(LENS_FACING_FRONT); in createFrontVirtualCamera()
[all …]
DVirtualCameraConfigTest.java116 mVirtualDevice.createVirtualCamera( in virtualCameraConfig_largestWidth_succeeds()
128 () -> mVirtualDevice.createVirtualCamera( in virtualCameraConfig_tooLargeWidth_throwsException()
150 mVirtualDevice.createVirtualCamera( in virtualCameraConfig_largestHeight_succeeds()
162 () -> mVirtualDevice.createVirtualCamera( in virtualCameraConfig_tooLargeHeight_throwsException()
DVirtualCameraCameraXTest.kt149 createVirtualCamera( in <lambda>()
179 createVirtualCamera( in <lambda>()
248 private fun createVirtualCamera( in <lambda>() method
279 return virtualDevice!!.createVirtualCamera(config) in <lambda>()
DVirtualCameraPermissionTest.java117 createVirtualCamera(); in setUp()
165 private void createVirtualCamera() { in createVirtualCamera() method in VirtualCameraPermissionTest
170 mVirtualDevice.createVirtualCamera(config); in createVirtualCamera()
/cts/tests/tests/virtualdevice/common/src/android/virtualdevice/cts/common/
DVirtualDeviceRule.java524 try (VirtualCamera ignored = virtualDevice.createVirtualCamera(config)) { in getVirtualCameraSupport()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt3470 …TUAL_DEVICE) public android.companion.virtual.camera.VirtualCamera createVirtualCamera(@NonNull an…