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 | 135 MatrixHal* CompatibilityMatrix::splitInstance(MatrixHal* existingHal, const std::string& interface, in splitInstance() 165 MatrixHal copy = *existingHal; in splitInstance() 184 MatrixHal& halToAdd = pair.second; in addAllHalsAsOptional() 194 MatrixHal* splitInstance = in addAllHalsAsOptional() 452 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() 421 std::vector<std::string> expandInstances(const MatrixHal& req) { in expandInstances()
|
D | Android.bp | 52 "MatrixHal.cpp",
|
D | parse_xml.cpp | 547 struct MatrixHalConverter : public XmlNodeConverter<MatrixHal> { 549 void mutateNode(const MatrixHal &hal, NodeType *root, DocType *d) const override { in mutateNode() 556 bool buildObject(MatrixHal* object, NodeType* root, std::string* error) const override { in buildObject() 587 bool checkAdditionalRestrictionsOnHal(const MatrixHal& hal, std::string* error) const { in checkAdditionalRestrictionsOnHal() 1156 std::vector<MatrixHal> hals; in buildObject() 1256 XmlConverter<MatrixHal>& gMatrixHalConverter = matrixHalConverter;
|
D | HalManifest.cpp | 183 for (const MatrixHal &matrixHal : mat.getHals()) { in checkIncompatibleHals() 348 matrix.add(MatrixHal{ in generateCompatibleMatrix()
|
D | VintfObject.cpp | 658 bool VintfObject::IsHalDeprecated(const MatrixHal& oldMatrixHal, in IsHalDeprecated() 783 for (const MatrixHal& hal : oldMatrix.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>, public XmlFileGroup<MatrixXmlFile> { 130 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 | 44 struct MatrixHal; 156 bool isCompatible(const details::Instances& instances, const MatrixHal& matrixHal) const;
|
D | VintfObject.h | 325 static bool IsHalDeprecated(const MatrixHal& oldMatrixHal,
|
/system/libvintf/test/ |
D | LibVintfTest.cpp | 38 extern XmlConverter<MatrixHal>& gMatrixHalConverter; 59 bool add(CompatibilityMatrix &cm, MatrixHal &&hal) { in add() 102 MatrixHal *getAnyHal(CompatibilityMatrix &cm, const std::string &name) { in getAnyHal() 111 std::vector<const MatrixHal*> getHals(const CompatibilityMatrix& cm, const std::string& name) { in getHals() 478 MatrixHal mh{HalFormat::NATIVE, "android.hardware.camera", in TEST_F() 499 MatrixHal mh2; in TEST_F() 590 EXPECT_TRUE(add(cm, MatrixHal{HalFormat::NATIVE, "android.hardware.camera", in TEST_F() 593 EXPECT_TRUE(add(cm, MatrixHal{HalFormat::NATIVE, "android.hardware.nfc", in TEST_F() 659 EXPECT_TRUE(add(cm, MatrixHal{HalFormat::NATIVE, "android.hidl.manager", in TEST_F() 767 EXPECT_TRUE(add(cm, MatrixHal{HalFormat::NATIVE, in TEST_F() [all …]
|