Home
last modified time | relevance | path

Searched refs:ManifestHal (Results 1 – 10 of 10) sorted by relevance

/system/libvintf/
DManifestHal.cpp26 bool ManifestHal::isValid() const { in isValid()
37 bool ManifestHal::operator==(const ManifestHal &other) const { in operator ==()
51 bool ManifestHal::forEachInstance(const std::function<bool(const ManifestInstance&)>& func) const { in forEachInstance()
81 bool ManifestHal::isDisabledHal() const { in isDisabledHal()
91 void ManifestHal::appendAllVersions(std::set<Version>* ret) const { in appendAllVersions()
99 bool ManifestHal::verifyInstance(const FqInstance& fqInstance, std::string* error) const { in verifyInstance()
122 bool ManifestHal::insertInstances(const std::set<FqInstance>& fqInstances, std::string* error) { in insertInstances()
131 bool ManifestHal::insertInstance(const FqInstance& e, std::string* error) { in insertInstance()
DHalManifest.cpp42 bool HalManifest::shouldAdd(const ManifestHal& hal) const { in shouldAdd()
91 bool HalManifest::add(ManifestHal&& halToAdd) { in add()
153 for (const ManifestHal* hal : getHals(package)) { in forEachInstanceOfVersion()
191 for (const ManifestHal* manifestHal : getHals(matrixHal.name)) { in checkIncompatibleHals()
458 for (ManifestHal& hal : getHals()) { in insertInstance()
465 ManifestHal hal; in insertInstance()
DAndroid.bp50 "ManifestHal.cpp",
Dparse_xml.cpp667 struct ManifestHalConverter : public XmlNodeConverter<ManifestHal> {
669 void mutateNode(const ManifestHal& m, NodeType* root, DocType* d) const override { in mutateNode()
672 void mutateNode(const ManifestHal& hal, NodeType* root, DocType* d, in mutateNode()
692 bool buildObject(ManifestHal* object, NodeType* root, std::string* error) const override { in buildObject()
765 bool checkAdditionalRestrictionsOnHal(const ManifestHal& hal, std::string* error) const { in checkAdditionalRestrictionsOnHal()
970 std::vector<ManifestHal> hals; in buildObject()
1257 XmlConverter<ManifestHal>& gManifestHalConverter = manifestHalConverter;
Dparse_string.cpp350 bool parse(const std::string &s, ManifestHal *hal) { in parse()
368 std::ostream &operator<<(std::ostream &os, const ManifestHal &hal) { in operator <<()
/system/libvintf/include/vintf/
DManifestHal.h38 struct ManifestHal { struct
41 ManifestHal() = default; argument
43 ManifestHal(HalFormat fmt, std::string&& n, std::vector<Version>&& vs, TransportArch ta, in ManifestHal() function
51 bool operator==(const ManifestHal &other) const;
79 friend bool parse(const std::string &s, ManifestHal *hal); argument
DHalManifest.h55 struct HalManifest : public HalGroup<ManifestHal>, public XmlFileGroup<ManifestXmlFile> {
61 bool add(ManifestHal&& hal) override;
140 bool shouldAdd(const ManifestHal& toAdd) const override;
Dparse_string.h40 std::ostream &operator<<(std::ostream &os, const ManifestHal &hal);
51 std::ostream &operator<<(std::ostream &os, const ManifestHal &hal);
85 bool parse(const std::string &s, ManifestHal *hal);
DTransportArch.h46 friend struct ManifestHal;
/system/libvintf/test/
DLibVintfTest.cpp37 extern XmlConverter<ManifestHal>& gManifestHalConverter;
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()
114 bool isValid(const ManifestHal &mh) { in isValid()
140 vm.add(ManifestHal{HalFormat::HIDL, in testDeviceManifest()
146 vm.add(ManifestHal{HalFormat::HIDL, in testDeviceManifest()
165 vm.add(ManifestHal{HalFormat::HIDL, in testFrameworkManfiest()
242 expectedManifest.add(ManifestHal{HalFormat::HIDL, in TEST_F()
[all …]