/system/libvintf/ |
D | HalManifest.cpp | 42 bool HalManifest::shouldAdd(const ManifestHal& hal) const { in shouldAdd() 77 void HalManifest::removeHals(const std::string& name, size_t majorVer) { in removeHals() 91 bool HalManifest::add(ManifestHal&& halToAdd) { in add() 107 bool HalManifest::shouldAddXmlFile(const ManifestXmlFile& xmlFile) const { in shouldAddXmlFile() 117 std::set<std::string> HalManifest::getHalNames() const { in getHalNames() 125 std::set<std::string> HalManifest::getHalNamesAndVersions() const { in getHalNamesAndVersions() 134 Transport HalManifest::getTransport(const std::string &package, const Version &v, in getTransport() 150 bool HalManifest::forEachInstanceOfVersion( in forEachInstanceOfVersion() 181 std::vector<std::string> HalManifest::checkIncompatibleHals(const CompatibilityMatrix& mat) const { in checkIncompatibleHals() 217 std::set<std::string> HalManifest::checkUnusedHals(const CompatibilityMatrix& mat) const { in checkUnusedHals() [all …]
|
D | VintfObjectAfterUpdate.h | 39 std::shared_ptr<const HalManifest> getDeviceHalManifest(bool skipCache = false) override { 44 std::shared_ptr<const HalManifest> getFrameworkHalManifest(bool skipCache = false) override { 73 bool set(const std::shared_ptr<HalManifest>& o) { in set() 83 std::shared_ptr<HalManifest> mDeviceManifest; 84 std::shared_ptr<HalManifest> mFrameworkManifest;
|
D | VintfObject.cpp | 94 std::shared_ptr<const HalManifest> VintfObject::GetDeviceHalManifest(bool skipCache) { in GetDeviceHalManifest() 98 std::shared_ptr<const HalManifest> VintfObject::getDeviceHalManifest(bool skipCache) { in getDeviceHalManifest() 103 std::shared_ptr<const HalManifest> VintfObject::GetFrameworkHalManifest(bool skipCache) { in GetFrameworkHalManifest() 107 std::shared_ptr<const HalManifest> VintfObject::getFrameworkHalManifest(bool skipCache) { in getFrameworkHalManifest() 145 const std::shared_ptr<const HalManifest>& deviceManifest, CompatibilityMatrix* out, in getCombinedFrameworkMatrix() 203 status_t VintfObject::addDirectoryManifests(const std::string& directory, HalManifest* manifest, in addDirectoryManifests() 214 HalManifest fragmentManifest; in addDirectoryManifests() 237 status_t VintfObject::fetchDeviceHalManifest(HalManifest* out, std::string* error) { in fetchDeviceHalManifest() 250 HalManifest odmManifest; in fetchDeviceHalManifest() 286 status_t VintfObject::fetchOdmHalManifest(HalManifest* out, std::string* error) { in fetchOdmHalManifest() [all …]
|
D | AssembleVintf.cpp | 264 bool checkDualFile(const HalManifest& manifest, const CompatibilityMatrix& matrix) { in checkDualFile() 296 using HalManifests = Schemas<HalManifest>; 312 bool setDeviceManifestKernel(HalManifest* manifest) { in setDeviceManifestKernel() 343 HalManifest* halManifest = &halManifests->front().object; in assembleHalManifest() 346 HalManifest& manifestToAdd = it->object; in assembleHalManifest() 446 bool setDeviceFcmVersion(HalManifest* manifest) { in setDeviceFcmVersion() 501 std::unique_ptr<HalManifest> checkManifest; in assembleCompatibilityMatrix() 505 checkManifest = std::make_unique<HalManifest>(); in assembleCompatibilityMatrix()
|
D | main.cpp | 189 void insert(const HalManifest* manifest, Table* table, const RowMutator& mutate) { in insert() 223 Table generateHalSummary(const HalManifest* vm, const HalManifest* fm, in generateHalSummary()
|
D | Android.bp | 44 "HalManifest.cpp",
|
D | parse_xml.cpp | 917 struct HalManifestConverter : public XmlNodeConverter<HalManifest> { 919 void mutateNode(const HalManifest &m, NodeType *root, DocType *d) const override { in mutateNode() 922 void mutateNode(const HalManifest& m, NodeType* root, DocType* d, in mutateNode() 969 bool buildObject(HalManifest* object, NodeType* root, std::string* error) const override { in buildObject() 1249 XmlConverter<HalManifest>& gHalManifestConverter = halManifestConverter;
|
D | parse_string.cpp | 447 std::string dump(const HalManifest &vm) { in dump()
|
/system/libvintf/test/ |
D | LibVintfTest.cpp | 41 extern XmlConverter<HalManifest>& gHalManifestConverter; 68 bool add(HalManifest &vm, ManifestHal &&hal) { in add() 99 const ManifestHal *getAnyHal(HalManifest &vm, const std::string &name) { in getAnyHal() 105 ConstMultiMapValueIterable<std::string, ManifestHal> getHals(const HalManifest& vm) { in getHals() 108 std::vector<const ManifestHal*> getHals(const HalManifest& vm, const std::string& name) { in getHals() 125 std::set<std::string> checkUnusedHals(const HalManifest& m, const CompatibilityMatrix& cm) { in checkUnusedHals() 136 HalManifest testDeviceManifest() { in testDeviceManifest() 137 HalManifest vm; in testDeviceManifest() 154 HalManifest testDeviceManifestWithXmlFile() { in testDeviceManifestWithXmlFile() 155 HalManifest vm = testDeviceManifest(); in testDeviceManifestWithXmlFile() [all …]
|
D | vintf_object_tests.cpp | 850 bool containsVendorManifest(const std::shared_ptr<const HalManifest>& p) { in containsVendorManifest() 854 bool containsVendorEtcManifest(const std::shared_ptr<const HalManifest>& p) { in containsVendorEtcManifest() 858 bool vendorEtcManifestOverridden(const std::shared_ptr<const HalManifest>& p) { in vendorEtcManifestOverridden() 862 bool containsOdmManifest(const std::shared_ptr<const HalManifest>& p) { in containsOdmManifest() 866 bool containsOdmProductManifest(const std::shared_ptr<const HalManifest>& p) { in containsOdmProductManifest() 889 std::shared_ptr<const HalManifest> get() { in get() 955 std::shared_ptr<const HalManifest> get() { in get()
|
/system/libvintf/include/vintf/ |
D | VintfObject.h | 87 virtual std::shared_ptr<const HalManifest> getDeviceHalManifest(bool skipCache = false); 93 virtual std::shared_ptr<const HalManifest> getFrameworkHalManifest(bool skipCache = false); 184 details::LockedSharedPtr<HalManifest> mDeviceManifest; 185 details::LockedSharedPtr<HalManifest> mFrameworkManifest; 223 static std::shared_ptr<const HalManifest> GetDeviceHalManifest(bool skipCache = false); 229 static std::shared_ptr<const HalManifest> GetFrameworkHalManifest(bool skipCache = false); 306 status_t getCombinedFrameworkMatrix(const std::shared_ptr<const HalManifest>& deviceManifest, 312 status_t addDirectoryManifests(const std::string& directory, HalManifest* manifests, 314 status_t fetchDeviceHalManifest(HalManifest* out, std::string* error = nullptr); 316 status_t fetchOdmHalManifest(HalManifest* out, std::string* error = nullptr); [all …]
|
D | HalManifest.h | 55 struct HalManifest : public HalGroup<ManifestHal>, public XmlFileGroup<ManifestXmlFile> { struct 59 HalManifest() : mType(SchemaType::DEVICE) {} in HalManifest() function 136 [[nodiscard]] bool addAll(HalManifest* other, std::string* error = nullptr); 148 friend std::string dump(const HalManifest &vm); argument 149 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 | 78 friend struct HalManifest;
|
D | CompatibilityMatrix.h | 138 friend struct HalManifest;
|
D | parse_string.h | 104 std::string dump(const HalManifest &vm);
|
/system/hwservicemanager/ |
D | Vintf.cpp | 31 const std::shared_ptr<const vintf::HalManifest>& vm) { in getTransportFromManifest()
|