Searched refs:MatrixHal (Results 1 – 13 of 13) sorted by relevance
/system/libvintf/ |
D | MatrixHal.cpp | 26 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 …]
|
D | CompatibilityMatrix.cpp | 34 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()
|
D | parse_string.cpp | 375 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()
|
D | Android.bp | 48 "MatrixHal.cpp",
|
D | parse_xml.cpp | 545 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;
|
D | HalManifest.cpp | 237 for (const MatrixHal &matrixHal : mat.getHals()) { in checkIncompatibleHals() 439 matrix.add(MatrixHal{ in generateCompatibleMatrix()
|
D | VintfObject.cpp | 643 bool VintfObject::IsHalDeprecated(const MatrixHal& oldMatrixHal, in IsHalDeprecated() 869 for (const MatrixHal& hal : namedMatrix.getHals()) { in checkDeprecation()
|
/system/libvintf/include/vintf/ |
D | MatrixHal.h | 34 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);
|
D | CompatibilityMatrix.h | 45 struct CompatibilityMatrix : public HalGroup<MatrixHal>, 67 bool add(MatrixHal&&, std::string* error = nullptr) override; 134 MatrixHal* splitInstance(MatrixHal* existingHal, const std::string& interface,
|
D | parse_string.h | 52 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);
|
D | HalManifest.h | 48 struct MatrixHal; 170 bool isCompatible(const details::Instances& instances, const MatrixHal& matrixHal) const;
|
D | VintfObject.h | 321 static bool IsHalDeprecated(const MatrixHal& oldMatrixHal,
|
/system/libvintf/test/ |
D | LibVintfTest.cpp | 40 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 …]
|