Home
last modified time | relevance | path

Searched refs:mHalCamera (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/cpp/evs/manager/1.1/
DVirtualCamera.cpp56 mHalCamera.try_emplace(cam->getId(), cam); in VirtualCamera()
88 for (auto&& [key, hwCamera] : mHalCamera) { in shutdown()
119 mHalCamera.clear(); in shutdown()
125 for (auto&& [key, cam] : mHalCamera) { in getHalCameras()
261 if (mHalCamera.size() > 1) { in getCameraInfo()
267 auto halCamera = mHalCamera.begin()->second.promote(); in getCameraInfo()
283 for (auto&& [key, hwCamera] : mHalCamera) { in setMaxFramesInFlight()
344 auto iter = mHalCamera.begin(); in startVideoStream()
345 while (iter != mHalCamera.end()) { in startVideoStream()
371 auto rb = mHalCamera.begin(); in startVideoStream()
[all …]
DVirtualCamera.h107 std::unordered_map<std::string, wp<HalCamera>> mHalCamera; variable
/packages/services/Car/cpp/evs/manager/aidl/src/
DVirtualCamera.cpp54 mHalCamera.insert_or_assign(cam->getId(), cam); in VirtualCamera()
120 auto pHwCamera = mHalCamera.begin()->second.lock(); in forcePrimaryClient()
122 LOG(ERROR) << "Camera device " << mHalCamera.begin()->first << " is not alive."; in forcePrimaryClient()
140 auto pHwCamera = mHalCamera.begin()->second.lock(); in getCameraInfo()
159 auto pHwCamera = mHalCamera.begin()->second.lock(); in getExtendedInfo()
161 LOG(ERROR) << "Camera device " << mHalCamera.begin()->first << " is not alive."; in getExtendedInfo()
177 auto pHwCamera = mHalCamera.begin()->second.lock(); in getIntParameter()
179 LOG(ERROR) << "Camera device " << mHalCamera.begin()->first << " is not alive."; in getIntParameter()
196 auto pHwCamera = mHalCamera.begin()->second.lock(); in getIntParameterRange()
198 LOG(ERROR) << "Camera device " << mHalCamera.begin()->first << " is not alive."; in getIntParameterRange()
[all …]
/packages/services/Car/cpp/evs/manager/1.0/
DVirtualCamera.cpp33 VirtualCamera::VirtualCamera(sp<HalCamera> halCamera) : mHalCamera(halCamera) {} in VirtualCamera()
55 mHalCamera->doneWithFrame(heldBuffer); in shutdown()
61 mHalCamera->clientStreamEnding(); in shutdown()
65 mHalCamera = nullptr; in shutdown()
103 return mHalCamera->getHwCamera()->getCameraInfo(info_cb); in getCameraInfo()
111 bool result = mHalCamera->changeFramesInFlight(bufferCountChange); in setMaxFramesInFlight()
137 Return<EvsResult> result = mHalCamera->clientStreamStarting(); in startVideoStream()
172 mHalCamera->doneWithFrame(buffer); in doneWithFrame()
198 mHalCamera->clientStreamEnding(); in stopVideoStream()
206 return mHalCamera->getHwCamera()->getExtendedInfo(opaqueIdentifier); in getExtendedInfo()
[all …]
DVirtualCamera.h49 sp<HalCamera> getHalCamera() { return mHalCamera; }; in getHalCamera()
66 sp<HalCamera> mHalCamera; // The low level camera interface that backs this proxy
/packages/services/Car/cpp/evs/manager/aidl/include/
DVirtualCamera.h98 bool isLogicalCamera() const { return mHalCamera.size() > 1; } in isLogicalCamera()
99 bool isValid() const { return !mHalCamera.empty(); } in isValid()
102 std::unordered_map<std::string, std::weak_ptr<HalCamera>> mHalCamera; variable