Searched refs:MatrixHal (Results 1 - 10 of 10) sorted by relevance

/system/libvintf/
H A DMatrixHal.cpp17 #include "MatrixHal.h"
22 bool MatrixHal::operator==(const MatrixHal &other) const {
H A DCompatibilityMatrix.cpp27 bool CompatibilityMatrix::add(MatrixHal &&hal) {
28 return HalGroup<MatrixHal>::add(std::move(hal));
H A DHalManifest.cpp185 static bool satisfyVersion(const MatrixHal& matrixHal, const Version& manifestHalVersion) {
197 static bool satisfyAllInstances(const MatrixHal& matrixHal,
216 bool HalManifest::isCompatible(const MatrixHal& matrixHal) const {
249 for (const MatrixHal &matrixHal : mat.getHals()) {
336 MatrixHal matrixHal{
H A Dparse_xml.cpp482 struct MatrixHalConverter : public XmlNodeConverter<MatrixHal> {
484 void mutateNode(const MatrixHal &hal, NodeType *root, DocType *d) const override {
491 bool buildObject(MatrixHal *object, NodeType *root) const override {
521 bool checkAdditionalRestrictionsOnHal(const MatrixHal& hal) const {
873 std::vector<MatrixHal> hals;
954 const XmlConverter<MatrixHal> &gMatrixHalConverter = matrixHalConverter;
H A Dparse_string.cpp342 bool parse(const std::string &s, MatrixHal *req) {
361 std::ostream &operator<<(std::ostream &os, const MatrixHal &req) {
/system/libvintf/include/vintf/
H A DMatrixHal.h32 struct MatrixHal { struct in namespace:android::vintf
34 bool operator==(const MatrixHal &other) const;
H A DCompatibilityMatrix.h27 #include "MatrixHal.h"
38 struct CompatibilityMatrix : public HalGroup<MatrixHal>, public XmlFileGroup<MatrixXmlFile> {
58 bool add(MatrixHal &&hal);
H A DHalManifest.h37 struct MatrixHal;
150 bool isCompatible(const MatrixHal& matrixHal) const;
H A Dparse_string.h45 std::ostream &operator<<(std::ostream &os, const MatrixHal &req);
72 bool parse(const std::string &s, MatrixHal *req);
/system/libvintf/test/
H A Dmain.cpp37 extern const XmlConverter<MatrixHal> &gMatrixHalConverter;
54 bool add(CompatibilityMatrix &cm, MatrixHal &&hal) {
94 MatrixHal *getAnyHal(CompatibilityMatrix &cm, const std::string &name) {
435 MatrixHal mh{HalFormat::NATIVE, "android.hardware.camera",
456 MatrixHal mh2;
547 EXPECT_TRUE(add(cm, MatrixHal{HalFormat::NATIVE, "android.hardware.camera",
550 EXPECT_TRUE(add(cm, MatrixHal{HalFormat::NATIVE, "android.hardware.nfc",
616 EXPECT_TRUE(add(cm, MatrixHal{HalFormat::NATIVE, "android.hidl.manager",
1158 MatrixHal *camera = getAnyHal(matrix, "android.hardware.camera");

Completed in 263 milliseconds