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.cpp34 bool CompatibilityMatrix::add(MatrixHal&& halToAdd, std::string*) { in add()
152 MatrixHal* CompatibilityMatrix::splitInstance(MatrixHal* existingHal, const std::string& interface, in splitInstance()
182 MatrixHal copy = *existingHal; in splitInstance()
201 MatrixHal& halToAdd = pair.second; in addAllHalsAsOptional()
216 MatrixHal* splitInstance = in addAllHalsAsOptional()
439 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()
431 std::vector<std::string> expandInstances(const MatrixHal& req) { in expandInstances()
DAndroid.bp48 "MatrixHal.cpp",
Dparse_xml.cpp545 struct MatrixHalConverter : public XmlNodeConverter<MatrixHal> {
547 void mutateNode(const MatrixHal &hal, NodeType *root, DocType *d) const override { in mutateNode()
557 bool buildObject(MatrixHal* object, NodeType* root, std::string* error) const override { in buildObject()
598 bool checkAdditionalRestrictionsOnHal(const MatrixHal& hal, std::string* error) const { in checkAdditionalRestrictionsOnHal()
1227 std::vector<MatrixHal> hals; in buildObject()
1321 XmlConverter<MatrixHal>& gMatrixHalConverter = matrixHalConverter;
DHalManifest.cpp237 for (const MatrixHal &matrixHal : mat.getHals()) { in checkIncompatibleHals()
439 matrix.add(MatrixHal{ in generateCompatibleMatrix()
DVintfObject.cpp643 bool VintfObject::IsHalDeprecated(const MatrixHal& oldMatrixHal, in IsHalDeprecated()
869 for (const MatrixHal& hal : namedMatrix.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>,
67 bool add(MatrixHal&&, std::string* error = nullptr) override;
134 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.h48 struct MatrixHal;
170 bool isCompatible(const details::Instances& instances, const MatrixHal& matrixHal) const;
DVintfObject.h321 static bool IsHalDeprecated(const MatrixHal& oldMatrixHal,
/system/libvintf/test/
DLibVintfTest.cpp40 extern XmlConverter<MatrixHal>& gMatrixHalConverter;
61 bool add(CompatibilityMatrix &cm, MatrixHal &&hal) { in add()
104 MatrixHal *getAnyHal(CompatibilityMatrix &cm, const std::string &name) { in getAnyHal()
113 std::vector<const MatrixHal*> getHals(const CompatibilityMatrix& cm, const std::string& name) { in getHals()
482 MatrixHal mh{HalFormat::NATIVE, "android.hardware.camera", in TEST_F()
503 MatrixHal mh2; in TEST_F()
594 EXPECT_TRUE(add(cm, MatrixHal{HalFormat::NATIVE, "android.hardware.camera", in TEST_F()
597 EXPECT_TRUE(add(cm, MatrixHal{HalFormat::NATIVE, "android.hardware.nfc", in TEST_F()
663 EXPECT_TRUE(add(cm, MatrixHal{HalFormat::NATIVE, "android.hidl.manager", in TEST_F()
771 EXPECT_TRUE(add(cm, MatrixHal{HalFormat::NATIVE, in TEST_F()
[all …]