Home
last modified time | relevance | path

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

/system/libvintf/
DManifestHal.cpp27 bool ManifestHal::isValid(std::string* error) const { in isValid()
52 bool ManifestHal::operator==(const ManifestHal &other) const { in operator ==()
67 bool ManifestHal::forEachInstance(const std::function<bool(const ManifestInstance&)>& func) const { in forEachInstance()
97 bool ManifestHal::isDisabledHal() const { in isDisabledHal()
107 void ManifestHal::appendAllVersions(std::set<Version>* ret) const { in appendAllVersions()
115 bool ManifestHal::verifyInstance(const FqInstance& fqInstance, std::string* error) const { in verifyInstance()
138 bool ManifestHal::insertInstances(const std::set<FqInstance>& fqInstances, std::string* error) { in insertInstances()
147 bool ManifestHal::insertInstance(const FqInstance& e, std::string* error) { in insertInstance()
DHalManifest.cpp44 bool HalManifest::shouldAdd(const ManifestHal& hal, std::string* error) const { in shouldAdd()
58 std::map<size_t, std::tuple<const ManifestHal*, Version>> existing; in shouldAdd()
60 const ManifestHal& existingHal = it->second; in shouldAdd()
116 bool HalManifest::add(ManifestHal&& halToAdd, std::string* error) { in add()
206 for (const ManifestHal* hal : getHals(package)) { in forEachInstanceOfVersion()
245 for (const ManifestHal* manifestHal : getHals(matrixHal.name)) { in checkIncompatibleHals()
573 for (ManifestHal& hal : getHals()) { in insertInstance()
580 ManifestHal hal; in insertInstance()
DAndroid.bp46 "ManifestHal.cpp",
Dparse_xml.cpp685 struct ManifestHalConverter : public XmlNodeConverter<ManifestHal> {
687 void mutateNode(const ManifestHal& m, NodeType* root, DocType* d) const override { in mutateNode()
690 void mutateNode(const ManifestHal& hal, NodeType* root, DocType* d, in mutateNode()
715 bool buildObject(ManifestHal* object, NodeType* root, std::string* error) const override { in buildObject()
816 bool checkAdditionalRestrictionsOnHal(const ManifestHal& hal, std::string* error) const { in checkAdditionalRestrictionsOnHal()
1037 std::vector<ManifestHal> hals; in buildObject()
1322 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.h39 struct ManifestHal : public WithFileName { struct
42 ManifestHal() = default; argument
44 ManifestHal(HalFormat fmt, std::string&& n, std::vector<Version>&& vs, TransportArch ta, in ManifestHal() function
52 bool operator==(const ManifestHal &other) const;
80 friend bool parse(const std::string &s, ManifestHal *hal); argument
DHalManifest.h59 struct HalManifest : public HalGroup<ManifestHal>,
67 bool add(ManifestHal&& hal, std::string* error = nullptr) override;
150 bool shouldAdd(const ManifestHal& toAdd, std::string* error) const;
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.cpp39 extern XmlConverter<ManifestHal>& gManifestHalConverter;
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()
116 bool isValid(const ManifestHal &mh) { in isValid()
142 vm.add(ManifestHal{HalFormat::HIDL, in testDeviceManifest()
148 vm.add(ManifestHal{HalFormat::HIDL, in testDeviceManifest()
167 vm.add(ManifestHal{HalFormat::HIDL, in testFrameworkManfiest()
246 expectedManifest.add(ManifestHal{HalFormat::HIDL, in TEST_F()
[all …]