Searched refs:ManifestHal (Results 1 – 10 of 10) sorted by relevance
/system/libvintf/ |
D | ManifestHal.cpp | 27 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()
|
D | HalManifest.cpp | 44 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()
|
D | Android.bp | 46 "ManifestHal.cpp",
|
D | parse_xml.cpp | 685 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;
|
D | parse_string.cpp | 350 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/ |
D | ManifestHal.h | 39 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
|
D | HalManifest.h | 59 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;
|
D | parse_string.h | 40 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);
|
D | TransportArch.h | 46 friend struct ManifestHal;
|
/system/libvintf/test/ |
D | LibVintfTest.cpp | 39 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 …]
|