/system/libvintf/ |
D | HalManifest.cpp | 44 bool HalManifest::shouldAdd(const ManifestHal& hal, std::string* error) const { in shouldAdd() 102 void HalManifest::removeHals(const std::string& name, size_t majorVer) { in removeHals() 116 bool HalManifest::add(ManifestHal&& halToAdd, std::string* error) { in add() 137 bool HalManifest::addAllHals(HalManifest* other, std::string* error) { in addAllHals() 150 bool HalManifest::shouldAddXmlFile(const ManifestXmlFile& xmlFile) const { in shouldAddXmlFile() 160 std::set<std::string> HalManifest::getHalNames() const { in getHalNames() 168 std::set<std::string> HalManifest::getHalNamesAndVersions() const { in getHalNamesAndVersions() 186 Transport HalManifest::getHidlTransport(const std::string& package, const Version& v, in getHidlTransport() 203 bool HalManifest::forEachInstanceOfVersion( in forEachInstanceOfVersion() 235 std::vector<std::string> HalManifest::checkIncompatibleHals(const CompatibilityMatrix& mat) const { in checkIncompatibleHals() [all …]
|
D | VintfObject.cpp | 102 std::shared_ptr<const HalManifest> VintfObject::GetDeviceHalManifest() { in GetDeviceHalManifest() 106 std::shared_ptr<const HalManifest> VintfObject::getDeviceHalManifest() { in getDeviceHalManifest() 111 std::shared_ptr<const HalManifest> VintfObject::GetFrameworkHalManifest() { in GetFrameworkHalManifest() 115 std::shared_ptr<const HalManifest> VintfObject::getFrameworkHalManifest() { in getFrameworkHalManifest() 151 const std::shared_ptr<const HalManifest>& deviceManifest, CompatibilityMatrix* out, in getCombinedFrameworkMatrix() 209 status_t VintfObject::addDirectoryManifests(const std::string& directory, HalManifest* manifest, in addDirectoryManifests() 220 HalManifest fragmentManifest; in addDirectoryManifests() 243 status_t VintfObject::fetchDeviceHalManifest(HalManifest* out, std::string* error) { in fetchDeviceHalManifest() 244 HalManifest vendorManifest; in fetchDeviceHalManifest() 258 HalManifest odmManifest; in fetchDeviceHalManifest() [all …]
|
D | AssembleVintf.cpp | 288 bool checkDualFile(const HalManifest& manifest, const CompatibilityMatrix& matrix) { in checkDualFile() 299 using HalManifests = std::vector<HalManifest>; 315 bool setDeviceManifestKernel(HalManifest* manifest) { in setDeviceManifestKernel() 352 void inferDeviceManifestKernelFcm(HalManifest* manifest) { in inferDeviceManifestKernelFcm() 369 HalManifest* halManifest = &halManifests->front(); in assembleHalManifest() 372 HalManifest& manifestToAdd = *it; in assembleHalManifest() 477 bool setDeviceFcmVersion(HalManifest* manifest) { in setDeviceFcmVersion() 537 std::unique_ptr<HalManifest> checkManifest; in assembleCompatibilityMatrix() 541 checkManifest = std::make_unique<HalManifest>(); in assembleCompatibilityMatrix()
|
D | main.cpp | 189 void insert(const HalManifest* manifest, Table* table, const RowMutator& mutate) { in insert() 221 Table generateHalSummary(const HalManifest* vm, const HalManifest* fm, in generateHalSummary()
|
D | Android.bp | 40 "HalManifest.cpp",
|
D | parse_xml.cpp | 972 struct HalManifestConverter : public XmlNodeConverter<HalManifest> { 974 void mutateNode(const HalManifest &m, NodeType *root, DocType *d) const override { in mutateNode() 977 void mutateNode(const HalManifest& m, NodeType* root, DocType* d, in mutateNode() 1024 bool buildObject(HalManifest* object, NodeType* root, std::string* error) const override { in buildObject() 1314 XmlConverter<HalManifest>& gHalManifestConverter = halManifestConverter;
|
D | parse_string.cpp | 457 std::string dump(const HalManifest &vm) { in dump()
|
/system/libvintf/include/vintf/ |
D | VintfObject.h | 95 virtual std::shared_ptr<const HalManifest> getDeviceHalManifest(); 101 virtual std::shared_ptr<const HalManifest> getFrameworkHalManifest(); 229 details::LockedSharedPtr<HalManifest> mDeviceManifest; 230 details::LockedSharedPtr<HalManifest> mFrameworkManifest; 267 static std::shared_ptr<const HalManifest> GetDeviceHalManifest(); 273 static std::shared_ptr<const HalManifest> GetFrameworkHalManifest(); 304 status_t getCombinedFrameworkMatrix(const std::shared_ptr<const HalManifest>& deviceManifest, 310 status_t addDirectoryManifests(const std::string& directory, HalManifest* manifests, 312 status_t fetchDeviceHalManifest(HalManifest* out, std::string* error = nullptr); 314 status_t fetchOdmHalManifest(HalManifest* out, std::string* error = nullptr); [all …]
|
D | HalManifest.h | 59 struct HalManifest : public HalGroup<ManifestHal>, struct 65 HalManifest() : mType(SchemaType::DEVICE) {} in HalManifest() function 69 bool addAllHals(HalManifest* other, std::string* error = nullptr); 146 [[nodiscard]] bool addAll(HalManifest* other, std::string* error = nullptr); 162 friend std::string dump(const HalManifest &vm); argument 163 friend bool operator==(const HalManifest &lft, const HalManifest &rgt);
|
D | parse_xml.h | 52 extern XmlConverter<HalManifest>& gHalManifestConverter;
|
D | MatrixHal.h | 52 friend struct HalManifest;
|
D | Vndk.h | 54 friend struct HalManifest;
|
D | ManifestHal.h | 79 friend struct HalManifest;
|
D | CompatibilityMatrix.h | 146 friend struct HalManifest;
|
D | parse_string.h | 104 std::string dump(const HalManifest &vm);
|
/system/libvintf/test/ |
D | LibVintfTest.cpp | 43 extern XmlConverter<HalManifest>& gHalManifestConverter; 70 bool add(HalManifest &vm, ManifestHal &&hal) { in add() 101 const ManifestHal *getAnyHal(HalManifest &vm, const std::string &name) { in getAnyHal() 107 ConstMultiMapValueIterable<std::string, ManifestHal> getHals(const HalManifest& vm) { in getHals() 110 std::vector<const ManifestHal*> getHals(const HalManifest& vm, const std::string& name) { in getHals() 127 std::set<std::string> checkUnusedHals(const HalManifest& m, const CompatibilityMatrix& cm) { in checkUnusedHals() 138 HalManifest testDeviceManifest() { in testDeviceManifest() 139 HalManifest vm; in testDeviceManifest() 156 HalManifest testDeviceManifestWithXmlFile() { in testDeviceManifestWithXmlFile() 157 HalManifest vm = testDeviceManifest(); in testDeviceManifestWithXmlFile() [all …]
|
D | vintf_object_tests.cpp | 704 bool containsVendorManifest(const std::shared_ptr<const HalManifest>& p) { in containsVendorManifest() 708 bool containsVendorEtcManifest(const std::shared_ptr<const HalManifest>& p) { in containsVendorEtcManifest() 712 bool vendorEtcManifestOverridden(const std::shared_ptr<const HalManifest>& p) { in vendorEtcManifestOverridden() 716 bool containsOdmManifest(const std::shared_ptr<const HalManifest>& p) { in containsOdmManifest() 720 bool containsOdmProductManifest(const std::shared_ptr<const HalManifest>& p) { in containsOdmProductManifest() 735 std::shared_ptr<const HalManifest> get() { in get() 807 std::shared_ptr<const HalManifest> get() { in get()
|
/system/hwservicemanager/ |
D | Vintf.cpp | 31 const std::shared_ptr<const vintf::HalManifest>& vm) { in getTransportFromManifest() 75 const std::shared_ptr<const vintf::HalManifest>& manifest, in insertManifestInstances()
|