Home
last modified time | relevance | path

Searched refs:clientCamera (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/evs/manager/1.0/
DEnumerator.cpp102 sp<VirtualCamera> clientCamera; in openCamera() local
104 clientCamera = hwCamera->makeVirtualCamera(); in openCamera()
108 if (clientCamera != nullptr) { in openCamera()
115 return clientCamera; in openCamera()
119 Return<void> Enumerator::closeCamera(const ::android::sp<IEvsCamera>& clientCamera) { in closeCamera() argument
122 if (clientCamera.get() == nullptr) { in closeCamera()
128 sp<VirtualCamera> virtualCamera = reinterpret_cast<VirtualCamera*>(clientCamera.get()); in closeCamera()
/packages/services/Car/evs/manager/1.1/
DEnumerator.cpp248 sp<VirtualCamera> clientCamera; in checkPermission() local
250 clientCamera = hwCamera->makeVirtualCamera(); in checkPermission()
254 if (clientCamera != nullptr) { in checkPermission()
262 return clientCamera; in checkPermission()
266 Return<void> Enumerator::closeCamera(const ::android::sp<IEvsCamera_1_0>& clientCamera) { in checkPermission() argument
269 if (clientCamera.get() == nullptr) { in checkPermission()
275 sp<VirtualCamera> virtualCamera = reinterpret_cast<VirtualCamera *>(clientCamera.get()); in checkPermission()
373 sp<VirtualCamera> clientCamera = new VirtualCamera(sourceCameras); in checkPermission() local
374 if (clientCamera == nullptr) { in checkPermission()
381 clientCamera->setDescriptor(&mCameraDevices[cameraId]); in checkPermission()
[all …]