Home
last modified time | relevance | path

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

/system/libvintf/include/vintf/
DCompatibilityMatrix.h46 bool add(MatrixHal &&hal);
54 ConstMultiMapValueIterable<std::string, MatrixHal> getHals() const;
57 MatrixHal *getAnyHal(const std::string &name);
72 std::multimap<std::string, MatrixHal> mHals;
DMatrixHal.h32 struct MatrixHal { struct
34 bool operator==(const MatrixHal &other) const;
DHalManifest.h35 struct MatrixHal;
151 bool isCompatible(const MatrixHal& matrixHal) const;
Dparse_string.h44 std::ostream &operator<<(std::ostream &os, const MatrixHal &req);
70 bool parse(const std::string &s, MatrixHal *req);
/system/libvintf/
DCompatibilityMatrix.cpp26 bool CompatibilityMatrix::add(MatrixHal &&hal) { in add()
39 ConstMultiMapValueIterable<std::string, MatrixHal> CompatibilityMatrix::getHals() const { in getHals()
40 return ConstMultiMapValueIterable<std::string, MatrixHal>(mHals); in getHals()
43 MatrixHal *CompatibilityMatrix::getAnyHal(const std::string &name) { in getAnyHal()
DMatrixHal.cpp22 bool MatrixHal::operator==(const MatrixHal &other) const { in operator ==()
DHalManifest.cpp184 static bool satisfyVersion(const MatrixHal& matrixHal, const Version& manifestHalVersion) { in satisfyVersion()
196 static bool satisfyAllInstances(const MatrixHal& matrixHal, in satisfyAllInstances()
215 bool HalManifest::isCompatible(const MatrixHal& matrixHal) const { in isCompatible()
248 for (const MatrixHal &matrixHal : mat.getHals()) { in checkIncompatibility()
335 MatrixHal matrixHal{ in generateCompatibleMatrix()
DAndroid.bp46 "MatrixHal.cpp",
116 "MatrixHal.cpp",
Dparse_xml.cpp469 struct MatrixHalConverter : public XmlNodeConverter<MatrixHal> {
471 void mutateNode(const MatrixHal &hal, NodeType *root, DocType *d) const override { in mutateNode()
478 bool buildObject(MatrixHal *object, NodeType *root) const override { in buildObject()
694 std::vector<MatrixHal> hals; in buildObject()
742 const XmlConverter<MatrixHal> &gMatrixHalConverter = matrixHalConverter;
Dparse_string.cpp326 bool parse(const std::string &s, MatrixHal *req) { in parse()
345 std::ostream &operator<<(std::ostream &os, const MatrixHal &req) { in operator <<()
/system/libvintf/test/
Dmain.cpp35 extern const XmlConverter<MatrixHal> &gMatrixHalConverter;
46 bool add(CompatibilityMatrix &cm, MatrixHal &&hal) { in add()
78 MatrixHal *getAnyHal(CompatibilityMatrix &cm, const std::string &name) { in getAnyHal()
376 MatrixHal mh{HalFormat::NATIVE, "android.hardware.camera", in TEST_F()
397 MatrixHal mh2; in TEST_F()
488 EXPECT_TRUE(add(cm, MatrixHal{HalFormat::NATIVE, "android.hardware.camera", in TEST_F()
491 EXPECT_TRUE(add(cm, MatrixHal{HalFormat::NATIVE, "android.hardware.nfc", in TEST_F()
557 EXPECT_TRUE(add(cm, MatrixHal{HalFormat::NATIVE, "android.hidl.manager", in TEST_F()
1072 MatrixHal *camera = getAnyHal(matrix, "android.hardware.camera"); in TEST_F()