Home
last modified time | relevance | path

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

/packages/services/Car/cpp/evs/manager/1.0/
DEnumerator.cpp98 sp<VirtualCamera> clientCamera; in openCamera() local
100 clientCamera = hwCamera->makeVirtualCamera(); in openCamera()
104 if (clientCamera != nullptr) { in openCamera()
111 return clientCamera; in openCamera()
114 Return<void> Enumerator::closeCamera(const ::android::sp<IEvsCamera>& clientCamera) { in closeCamera() argument
117 if (clientCamera.get() == nullptr) { in closeCamera()
123 sp<VirtualCamera> virtualCamera = reinterpret_cast<VirtualCamera*>(clientCamera.get()); in closeCamera()
/packages/services/Car/cpp/evs/manager/1.1/
DEnumerator.cpp308 sp<VirtualCamera> clientCamera; in openCamera() local
310 clientCamera = hwCamera->makeVirtualCamera(); in openCamera()
314 if (clientCamera != nullptr) { in openCamera()
321 return clientCamera; in openCamera()
324 Return<void> Enumerator::closeCamera(const ::android::sp<IEvsCamera_1_0>& clientCamera) { in closeCamera() argument
327 if (clientCamera == nullptr) { in closeCamera()
333 sp<VirtualCamera> virtualCamera = reinterpret_cast<VirtualCamera*>(clientCamera.get()); in closeCamera()
431 sp<VirtualCamera> clientCamera = new VirtualCamera(sourceCameras); in openCamera_1_1() local
432 if (clientCamera == nullptr) { in openCamera_1_1()
439 clientCamera->setDescriptor(&mCameraDevices[cameraId]); in openCamera_1_1()
[all …]
/packages/services/Car/cpp/evs/manager/aidl/src/
DEnumerator.cpp425 std::shared_ptr<VirtualCamera> clientCamera = in openCamera() local
427 if (!clientCamera) { in openCamera()
436 clientCamera->setDescriptor(&mCameraDevices[id]); in openCamera()
441 if (!hwCamera->ownVirtualCamera(clientCamera)) { in openCamera()
449 mActiveCameraClients.push_back(clientCamera); in openCamera()
453 *cameraObj = std::move(clientCamera); in openCamera()