Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/evs/1.1/default/
DEvsEnumerator.cpp32 std::list<EvsEnumerator::CameraRecord> EvsEnumerator::sCameraList; member in android::hardware::automotive::evs::V1_1::implementation::EvsEnumerator
56 sCameraList.push_back(std::move(rec)); in EvsEnumerator()
90 const auto numCameras = sCameraList.size(); in getCameraList()
96 for (const auto& cam : sCameraList) { in getCameraList()
113 auto it = std::find_if(sCameraList.begin(), sCameraList.end(), [&cameraId](const auto& cam) { in openCamera()
116 if (it == sCameraList.end()) { in openCamera()
157 auto it = std::find_if(sCameraList.begin(), sCameraList.end(), [&cameraId](const auto& cam) { in closeCamera()
160 if (it == sCameraList.end()) { in closeCamera()
264 const auto numCameras = sCameraList.size(); in getCameraList_1_1()
270 std::for_each(sCameraList.begin(), sCameraList.end(), in getCameraList_1_1()
[all …]
DEvsEnumerator.h84 static std::list<CameraRecord> sCameraList; variable
/hardware/interfaces/automotive/evs/1.0/default/
DEvsEnumerator.cpp34 std::list<EvsEnumerator::CameraRecord> EvsEnumerator::sCameraList; member in android::hardware::automotive::evs::V1_0::implementation::EvsEnumerator
43 sCameraList.emplace_back(EvsCamera::kCameraName_Backup); in EvsEnumerator()
44 sCameraList.emplace_back("LaneView"); in EvsEnumerator()
45 sCameraList.emplace_back("right turn"); in EvsEnumerator()
53 const unsigned numCameras = sCameraList.size(); in getCameraList()
59 for (const auto& cam : sCameraList) { in getCameraList()
80 for (auto &&cam : sCameraList) { in openCamera()
131 for (auto &&cam : sCameraList) { in closeCamera()
DEvsEnumerator.h61 static std::list<CameraRecord> sCameraList; variable
/hardware/interfaces/automotive/evs/aidl/impl/default/src/
DEvsEnumerator.cpp51 std::unordered_map<std::string, EvsEnumerator::CameraRecord> EvsEnumerator::sCameraList; member in aidl::android::hardware::automotive::evs::implementation::EvsEnumerator
105 sCameraList.insert_or_assign(id, std::move(rec)); in enumerateCameras()
149 if (sCameraList.size() < 1) { in getCameraList()
153 [] { return sCameraList.size() > 0; })) { in getCameraList()
160 _aidl_return->resize(sCameraList.size()); in getCameraList()
162 for (const auto& [key, cam] : sCameraList) { in getCameraList()
170 if (sCameraList.find(id) != sCameraList.end()) { in getCameraList()
184 sCameraList.insert_or_assign(id, cam); in getCameraList()
190 LOG(DEBUG) << "Reporting " << sCameraList.size() << " cameras available"; in getCameraList()
488 auto found = sCameraList.find(cameraId); in findCameraById()
[all …]
/hardware/interfaces/automotive/evs/aidl/impl/default/include/
DEvsEnumerator.h125 static std::unordered_map<std::string, CameraRecord> sCameraList; variable