Searched refs:createVirtualCamera (Results 1 – 8 of 8) sorted by relevance
115 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 VirtualCameraNdkTest194 return mVirtualDevice.createVirtualCamera(config); in createVirtualCamera()
155 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 VirtualCameraCaptureTest269 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 VirtualCameraCaptureTest277 return mVirtualDevice.createVirtualCamera(config); in createVirtualCamera()
253 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 …]
116 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()
149 createVirtualCamera( in <lambda>()179 createVirtualCamera( in <lambda>()248 private fun createVirtualCamera( in <lambda>() method279 return virtualDevice!!.createVirtualCamera(config) in <lambda>()
117 createVirtualCamera(); in setUp()165 private void createVirtualCamera() { in createVirtualCamera() method in VirtualCameraPermissionTest170 mVirtualDevice.createVirtualCamera(config); in createVirtualCamera()
524 try (VirtualCamera ignored = virtualDevice.createVirtualCamera(config)) { in getVirtualCameraSupport()
3470 …TUAL_DEVICE) public android.companion.virtual.camera.VirtualCamera createVirtualCamera(@NonNull an…