Home
last modified time | relevance | path

Searched refs:unavailablePhysicalIds (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/camera/include/camera/
DCameraBase.h85 std::vector<std::string> unavailablePhysicalIds; member
104 unavailablePhysicalIds(unavailSubIds), clientPackage(clientPkg), deviceId(devId) {} in CameraStatus()
/frameworks/av/camera/
DCameraBase.cpp69 for (auto& id8 : unavailablePhysicalIds) { in writeToParcel()
95 unavailablePhysicalIds.push_back(toStdString(id16)); in readFromParcel()
/frameworks/av/services/camera/libcameraservice/hidl/
DUtils.cpp215 size_t numUnvailPhysicalCameras = statusAndId.unavailablePhysicalIds.size(); in convertToHidl()
218 a.unavailPhysicalCameraIds[j] = statusAndId.unavailablePhysicalIds[j]; in convertToHidl()
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp223 for (auto& unavailablePhysicalId : c.unavailablePhysicalIds) { in getCameraServiceLocked()
728 auto result = unavailablePhysicalIds.insert(physicalCameraId); in addUnavailablePhysicalId()
735 auto count = unavailablePhysicalIds.erase(physicalCameraId); in removeUnavailablePhysicalId()
741 return unavailablePhysicalIds; in getUnavailablePhysicalIds()
DACameraManager.h264 std::set<std::string> unavailablePhysicalIds; member
/frameworks/av/services/camera/libcameraservice/aidl/
DAidlUtils.cpp281 size_t numUnvailPhysicalCameras = statusAndId.unavailablePhysicalIds.size(); in convertToAidl()
284 a.unavailPhysicalCameraIds[j] = statusAndId.unavailablePhysicalIds[j]; in convertToAidl()
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsAidlCameraServiceTargetTest.cpp626 std::unordered_set<std::string> unavailablePhysicalIds(it.unavailPhysicalCameraIds.begin(), in TEST_P() local
628 EXPECT_EQ(unavailablePhysicalIds.size(), it.unavailPhysicalCameraIds.size()); in TEST_P()
629 for (auto& unavailablePhysicalId : unavailablePhysicalIds) { in TEST_P()
DVtsHalCameraServiceV2_0TargetTest.cpp631 std::unordered_set<std::string> unavailablePhysicalIds(it.unavailPhysicalCameraIds.begin(), in TEST_P() local
633 EXPECT_EQ(unavailablePhysicalIds.size(), it.unavailPhysicalCameraIds.size()); in TEST_P()
634 for (auto& unavailablePhysicalId : unavailablePhysicalIds) { in TEST_P()
/frameworks/av/services/camera/libcameraservice/tests/
DCameraProviderManagerTest.cpp883 std::unordered_map<std::string, std::set<std::string>> unavailablePhysicalIds; in TEST() local
884 auto cameraIds = providerManager->getCameraDeviceIds(&unavailablePhysicalIds); in TEST()
885 ASSERT_TRUE(unavailablePhysicalIds.count("0") > 0 && unavailablePhysicalIds["0"].count("2") > 0) in TEST()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp687 auto result = unavailablePhysicalIds.insert(physicalCameraId); in addUnavailablePhysicalId()
694 auto count = unavailablePhysicalIds.erase(physicalCameraId); in removeUnavailablePhysicalId()
700 return unavailablePhysicalIds; in getUnavailablePhysicalIds()
DACameraManager.h222 std::set<std::string> unavailablePhysicalIds; member
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h259 std::string, std::set<std::string>>* unavailablePhysicalIds = nullptr) const;
DCameraProviderManager.cpp271 std::string, std::set<std::string>>* unavailablePhysicalIds) const { in getCameraDeviceIds()
277 if (unavailablePhysicalIds != nullptr && in getCameraDeviceIds()
279 (*unavailablePhysicalIds)[id] = provider->mUnavailablePhysicalCameras.at(id); in getCameraDeviceIds()