Lines Matching refs:clientCamera
248 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()
386 if (!hwCamera->ownVirtualCamera(clientCamera)) { in checkPermission()
396 return clientCamera; in checkPermission()