Home
last modified time | relevance | path

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

/frameworks/av/camera/include/camera/
DCameraBase.h86 std::vector<String8> unavailablePhysicalIds; member
98 unavailablePhysicalIds(unavailSubIds), clientPackage(clientPkg) {} in CameraStatus()
/frameworks/av/camera/
DCameraBase.cpp68 for (auto& id8 : unavailablePhysicalIds) { in writeToParcel()
91 unavailablePhysicalIds.push_back(String8(id16)); in readFromParcel()
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp130 for (auto& unavailablePhysicalId : c.unavailablePhysicalIds) { in getCameraServiceLocked()
613 auto result = unavailablePhysicalIds.insert(physicalCameraId); in addUnavailablePhysicalId()
620 auto count = unavailablePhysicalIds.erase(physicalCameraId); in removeUnavailablePhysicalId()
626 return unavailablePhysicalIds; in getUnavailablePhysicalIds()
DACameraManager.h241 std::set<String8> unavailablePhysicalIds; member
/frameworks/av/services/camera/libcameraservice/hidl/
DUtils.cpp209 size_t numUnvailPhysicalCameras = statusAndId.unavailablePhysicalIds.size(); in convertToHidl()
212 a.unavailPhysicalCameraIds[j] = statusAndId.unavailablePhysicalIds[j].c_str(); in convertToHidl()
/frameworks/av/services/camera/libcameraservice/tests/
DCameraProviderManagerTest.cpp713 std::unordered_map<std::string, std::set<std::string>> unavailablePhysicalIds; in TEST() local
714 auto cameraIds = providerManager->getCameraDeviceIds(&unavailablePhysicalIds); in TEST()
715 ASSERT_TRUE(unavailablePhysicalIds.count("0") > 0 && unavailablePhysicalIds["0"].count("2") > 0) in TEST()
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsHalCameraServiceV2_0TargetTest.cpp622 std::unordered_set<std::string> unavailablePhysicalIds(it.unavailPhysicalCameraIds.begin(), in TEST_P() local
624 EXPECT_EQ(unavailablePhysicalIds.size(), it.unavailPhysicalCameraIds.size()); in TEST_P()
625 for (auto& unavailablePhysicalId : unavailablePhysicalIds) { in TEST_P()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp640 auto result = unavailablePhysicalIds.insert(physicalCameraId); in addUnavailablePhysicalId()
647 auto count = unavailablePhysicalIds.erase(physicalCameraId); in removeUnavailablePhysicalId()
653 return unavailablePhysicalIds; in getUnavailablePhysicalIds()
DACameraManager.h228 std::set<hidl_string> unavailablePhysicalIds; member
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h229 std::string, std::set<std::string>>* unavailablePhysicalIds = nullptr) const;
DCameraProviderManager.cpp201 std::string, std::set<std::string>>* unavailablePhysicalIds) const { in getCameraDeviceIds()
207 if (unavailablePhysicalIds != nullptr && in getCameraDeviceIds()
209 (*unavailablePhysicalIds)[id] = provider->mUnavailablePhysicalCameras.at(id); in getCameraDeviceIds()