Home
last modified time | relevance | path

Searched refs:MatrixHal (Results 1 – 13 of 13) sorted by relevance

/system/libvintf/
DMatrixHal.cpp26 bool MatrixHal::operator==(const MatrixHal &other) const { in operator ==()
39 bool MatrixHal::containsVersion(const Version& version) const { in containsVersion()
46 bool MatrixHal::forEachInstance(const std::function<bool(const MatrixInstance&)>& func) const { in forEachInstance()
55 bool MatrixHal::forEachInstance(const VersionRange& vr, in forEachInstance()
77 bool MatrixHal::forEachInstance( in forEachInstance()
92 bool MatrixHal::isCompatible(const std::set<FqInstance>& providedInstances, in isCompatible()
100 bool MatrixHal::isCompatible(const VersionRange& vr, const std::set<FqInstance>& providedInstances, in isCompatible()
129 void MatrixHal::setOptional(bool o) { in setOptional()
133 void MatrixHal::insertVersionRanges(const std::vector<VersionRange>& other) { in insertVersionRanges()
147 void MatrixHal::insertInstance(const std::string& interface, const std::string& instance, in insertInstance()
[all …]
DCompatibilityMatrix.cpp135 MatrixHal* CompatibilityMatrix::splitInstance(MatrixHal* existingHal, const std::string& interface, in splitInstance()
165 MatrixHal copy = *existingHal; in splitInstance()
184 MatrixHal& halToAdd = pair.second; in addAllHalsAsOptional()
194 MatrixHal* splitInstance = in addAllHalsAsOptional()
452 for (const MatrixHal* hal : getHals(package)) { in forEachInstanceOfVersion()
Dparse_string.cpp375 bool parse(const std::string &s, MatrixHal *req) { in parse()
394 std::ostream &operator<<(std::ostream &os, const MatrixHal &req) { in operator <<()
401 std::string expandInstances(const MatrixHal& req, const VersionRange& vr, bool brace) { in expandInstances()
421 std::vector<std::string> expandInstances(const MatrixHal& req) { in expandInstances()
DAndroid.bp52 "MatrixHal.cpp",
Dparse_xml.cpp547 struct MatrixHalConverter : public XmlNodeConverter<MatrixHal> {
549 void mutateNode(const MatrixHal &hal, NodeType *root, DocType *d) const override { in mutateNode()
556 bool buildObject(MatrixHal* object, NodeType* root, std::string* error) const override { in buildObject()
587 bool checkAdditionalRestrictionsOnHal(const MatrixHal& hal, std::string* error) const { in checkAdditionalRestrictionsOnHal()
1156 std::vector<MatrixHal> hals; in buildObject()
1256 XmlConverter<MatrixHal>& gMatrixHalConverter = matrixHalConverter;
DHalManifest.cpp183 for (const MatrixHal &matrixHal : mat.getHals()) { in checkIncompatibleHals()
348 matrix.add(MatrixHal{ in generateCompatibleMatrix()
DVintfObject.cpp658 bool VintfObject::IsHalDeprecated(const MatrixHal& oldMatrixHal, in IsHalDeprecated()
783 for (const MatrixHal& hal : oldMatrix.getHals()) { in checkDeprecation()
/system/libvintf/include/vintf/
DMatrixHal.h34 struct MatrixHal { struct
37 bool operator==(const MatrixHal &other) const; argument
54 friend std::string expandInstances(const MatrixHal& req, const VersionRange& vr, bool brace); argument
55 friend std::vector<std::string> expandInstances(const MatrixHal& req);
DCompatibilityMatrix.h45 struct CompatibilityMatrix : public HalGroup<MatrixHal>, public XmlFileGroup<MatrixXmlFile> {
130 MatrixHal* splitInstance(MatrixHal* existingHal, const std::string& interface,
Dparse_string.h52 std::ostream &operator<<(std::ostream &os, const MatrixHal &req);
86 bool parse(const std::string &s, MatrixHal *req);
108 std::vector<std::string> expandInstances(const MatrixHal& req);
DHalManifest.h44 struct MatrixHal;
156 bool isCompatible(const details::Instances& instances, const MatrixHal& matrixHal) const;
DVintfObject.h325 static bool IsHalDeprecated(const MatrixHal& oldMatrixHal,
/system/libvintf/test/
DLibVintfTest.cpp38 extern XmlConverter<MatrixHal>& gMatrixHalConverter;
59 bool add(CompatibilityMatrix &cm, MatrixHal &&hal) { in add()
102 MatrixHal *getAnyHal(CompatibilityMatrix &cm, const std::string &name) { in getAnyHal()
111 std::vector<const MatrixHal*> getHals(const CompatibilityMatrix& cm, const std::string& name) { in getHals()
478 MatrixHal mh{HalFormat::NATIVE, "android.hardware.camera", in TEST_F()
499 MatrixHal mh2; in TEST_F()
590 EXPECT_TRUE(add(cm, MatrixHal{HalFormat::NATIVE, "android.hardware.camera", in TEST_F()
593 EXPECT_TRUE(add(cm, MatrixHal{HalFormat::NATIVE, "android.hardware.nfc", in TEST_F()
659 EXPECT_TRUE(add(cm, MatrixHal{HalFormat::NATIVE, "android.hidl.manager", in TEST_F()
767 EXPECT_TRUE(add(cm, MatrixHal{HalFormat::NATIVE, in TEST_F()
[all …]