Searched refs:ManifestHal (Results 1 – 10 of 10) sorted by relevance
/system/libvintf/include/vintf/ |
D | HalManifest.h | 96 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;
|
D | ManifestHal.h | 34 struct ManifestHal { struct 36 bool operator==(const ManifestHal &other) const; 55 friend bool parse(const std::string &s, ManifestHal *hal); argument
|
D | parse_string.h | 37 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);
|
D | TransportArch.h | 34 friend struct ManifestHal;
|
/system/libvintf/ |
D | ManifestHal.cpp | 23 bool ManifestHal::isValid() const { in isValid() 34 bool ManifestHal::operator==(const ManifestHal &other) const { in operator ==()
|
D | HalManifest.cpp | 38 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 …]
|
D | Android.bp | 45 "ManifestHal.cpp", 115 "ManifestHal.cpp",
|
D | parse_xml.cpp | 518 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;
|
D | parse_string.cpp | 301 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/ |
D | main.cpp | 34 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()
|