Searched refs:MatrixHal (Results 1 – 11 of 11) sorted by relevance
/system/libvintf/include/vintf/ |
D | CompatibilityMatrix.h | 46 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;
|
D | MatrixHal.h | 32 struct MatrixHal { struct 34 bool operator==(const MatrixHal &other) const;
|
D | HalManifest.h | 35 struct MatrixHal; 151 bool isCompatible(const MatrixHal& matrixHal) const;
|
D | parse_string.h | 44 std::ostream &operator<<(std::ostream &os, const MatrixHal &req); 70 bool parse(const std::string &s, MatrixHal *req);
|
/system/libvintf/ |
D | CompatibilityMatrix.cpp | 26 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()
|
D | MatrixHal.cpp | 22 bool MatrixHal::operator==(const MatrixHal &other) const { in operator ==()
|
D | HalManifest.cpp | 184 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()
|
D | Android.bp | 46 "MatrixHal.cpp", 116 "MatrixHal.cpp",
|
D | parse_xml.cpp | 469 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;
|
D | parse_string.cpp | 326 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/ |
D | main.cpp | 35 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()
|