Home
last modified time | relevance | path

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

/system/libvintf/include/vintf/
DHalManifest.h96 bool add(ManifestHal &&hal);
115 std::vector<const ManifestHal *> getHals(const std::string &name) const;
116 std::vector<ManifestHal *> getHals(const std::string &name);
135 bool shouldAdd(const ManifestHal& toAdd) const;
139 ConstMultiMapValueIterable<std::string, ManifestHal> getHals() const;
146 ManifestHal *getAnyHal(const std::string &name);
157 std::multimap<std::string, ManifestHal> mHals;
DManifestHal.h34 struct ManifestHal { struct
36 bool operator==(const ManifestHal &other) const;
55 friend bool parse(const std::string &s, ManifestHal *hal); argument
Dparse_string.h37 std::ostream &operator<<(std::ostream &os, const ManifestHal &hal);
43 std::ostream &operator<<(std::ostream &os, const ManifestHal &hal);
69 bool parse(const std::string &s, ManifestHal *hal);
DTransportArch.h34 friend struct ManifestHal;
/system/libvintf/
DManifestHal.cpp23 bool ManifestHal::isValid() const { in isValid()
34 bool ManifestHal::operator==(const ManifestHal &other) const { in operator ==()
DHalManifest.cpp38 bool HalManifest::shouldAdd(const ManifestHal& hal) const { in shouldAdd()
58 bool HalManifest::add(ManifestHal&& hal) { in add()
86 for (const ManifestHal *hal : getHals(name)) { in getInterfaceNames()
94 ManifestHal *HalManifest::getAnyHal(const std::string &name) { in getAnyHal()
102 std::vector<const ManifestHal *> HalManifest::getHals(const std::string &name) const { in getHals()
103 std::vector<const ManifestHal *> ret; in getHals()
110 std::vector<ManifestHal *> HalManifest::getHals(const std::string &name) { in getHals()
111 std::vector<ManifestHal *> ret; in getHals()
122 for (const ManifestHal *hal : getHals(package)) { in getTransport()
149 ConstMultiMapValueIterable<std::string, ManifestHal> HalManifest::getHals() const { in getHals()
[all …]
DAndroid.bp45 "ManifestHal.cpp",
115 "ManifestHal.cpp",
Dparse_xml.cpp518 struct ManifestHalConverter : public XmlNodeConverter<ManifestHal> {
520 void mutateNode(const ManifestHal &hal, NodeType *root, DocType *d) const override { in mutateNode()
529 bool buildObject(ManifestHal *object, NodeType *root) const override { in buildObject()
623 std::vector<ManifestHal> hals; in buildObject()
743 const XmlConverter<ManifestHal> &gManifestHalConverter = manifestHalConverter;
Dparse_string.cpp301 bool parse(const std::string &s, ManifestHal *hal) { in parse()
319 std::ostream &operator<<(std::ostream &os, const ManifestHal &hal) { in operator <<()
/system/libvintf/test/
Dmain.cpp34 extern const XmlConverter<ManifestHal> &gManifestHalConverter;
52 bool add(HalManifest &vm, ManifestHal &&hal) { in add()
75 const ManifestHal *getAnyHal(HalManifest &vm, const std::string &name) { in getAnyHal()
81 ConstMultiMapValueIterable<std::string, ManifestHal> getHals(HalManifest &vm) { in getHals()
84 bool isValid(const ManifestHal &mh) { in isValid()
101 vm.add(ManifestHal{ in testDeviceManifest()
111 vm.add(ManifestHal{ in testDeviceManifest()
126 vm.add(ManifestHal{ in testFrameworkManfiest()
585 EXPECT_TRUE(isValid(ManifestHal())); in TEST_F()
587 ManifestHal invalidHal{ in TEST_F()