Searched refs:CompatibilityMatrix (Results 1 – 15 of 15) sorted by relevance
/system/libvintf/ |
D | CompatibilityMatrix.cpp | 24 constexpr Version CompatibilityMatrix::kVersion; 26 bool CompatibilityMatrix::add(MatrixHal &&hal) { in add() 31 bool CompatibilityMatrix::add(MatrixKernel &&kernel) { in add() 39 ConstMultiMapValueIterable<std::string, MatrixHal> CompatibilityMatrix::getHals() const { in getHals() 43 MatrixHal *CompatibilityMatrix::getAnyHal(const std::string &name) { in getAnyHal() 51 const MatrixKernel *CompatibilityMatrix::findKernel(const KernelVersion &v) const { in findKernel() 64 SchemaType CompatibilityMatrix::type() const { in type() 69 status_t CompatibilityMatrix::fetchAllInformation(const std::string &path) { in fetchAllInformation() 73 bool operator==(const CompatibilityMatrix &lft, const CompatibilityMatrix &rgt) { in operator ==()
|
D | VintfObject.cpp | 38 static LockedUniquePtr<CompatibilityMatrix> gDeviceMatrix; 39 static LockedUniquePtr<CompatibilityMatrix> gFrameworkMatrix; 73 const CompatibilityMatrix *VintfObject::GetDeviceCompatibilityMatrix(bool skipCache) { in GetDeviceCompatibilityMatrix() 75 std::bind(&CompatibilityMatrix::fetchAllInformation, std::placeholders::_1, in GetDeviceCompatibilityMatrix() 80 const CompatibilityMatrix *VintfObject::GetFrameworkCompatibilityMatrix(bool skipCache) { in GetFrameworkCompatibilityMatrix() 82 std::bind(&CompatibilityMatrix::fetchAllInformation, std::placeholders::_1, in GetFrameworkCompatibilityMatrix() 156 std::unique_ptr<CompatibilityMatrix> matrix; 165 const CompatibilityMatrix *matrix;
|
D | assemble_vintf.cpp | 73 CompatibilityMatrix generatedMatrix = halManifest->generateCompatibleMatrix(); in assembleHalManifest() 92 CompatibilityMatrix checkMatrix; in assembleHalManifest() 107 bool assembleCompatibilityMatrix(CompatibilityMatrix* matrix) { in assembleCompatibilityMatrix() 156 CompatibilityMatrix matrix; in assemble()
|
D | main.cpp | 40 const CompatibilityMatrix *vcm = VintfObject::GetDeviceCompatibilityMatrix(); in main() 46 const CompatibilityMatrix *fcm = VintfObject::GetFrameworkCompatibilityMatrix(); in main()
|
D | Android.bp | 40 "CompatibilityMatrix.cpp", 110 "CompatibilityMatrix.cpp",
|
D | HalManifest.cpp | 245 std::vector<std::string> HalManifest::checkIncompatibility(const CompatibilityMatrix &mat, in checkIncompatibility() 260 bool HalManifest::checkCompatibility(const CompatibilityMatrix &mat, std::string *error) const { in checkCompatibility() 331 CompatibilityMatrix HalManifest::generateCompatibleMatrix() const { in generateCompatibleMatrix() 332 CompatibilityMatrix matrix; in generateCompatibleMatrix()
|
D | parse_xml.cpp | 678 struct CompatibilityMatrixConverter : public XmlNodeConverter<CompatibilityMatrix> { 680 void mutateNode(const CompatibilityMatrix &m, NodeType *root, DocType *d) const override { in mutateNode() 681 appendAttr(root, "version", CompatibilityMatrix::kVersion); in mutateNode() 692 bool buildObject(CompatibilityMatrix *object, NodeType *root) const override { in buildObject() 717 if (version != CompatibilityMatrix::kVersion) { in buildObject() 735 const XmlConverter<CompatibilityMatrix> &gCompatibilityMatrixConverter
|
D | RuntimeInfo.cpp | 72 bool RuntimeInfo::checkCompatibility(const CompatibilityMatrix &mat, in checkCompatibility()
|
/system/libvintf/include/vintf/ |
D | CompatibilityMatrix.h | 36 struct CompatibilityMatrix { struct 39 CompatibilityMatrix() : mType(SchemaType::FRAMEWORK) {}; in CompatibilityMatrix() function 67 friend bool operator==(const CompatibilityMatrix &, const CompatibilityMatrix &); argument
|
D | HalManifest.h | 36 struct CompatibilityMatrix; 80 std::vector<std::string> checkIncompatibility(const CompatibilityMatrix &mat, 90 bool checkCompatibility(const CompatibilityMatrix &mat, std::string *error = nullptr) const; 93 CompatibilityMatrix generateCompatibleMatrix() const;
|
D | VintfObject.h | 68 static const CompatibilityMatrix *GetDeviceCompatibilityMatrix(bool skipCache = false); 74 static const CompatibilityMatrix *GetFrameworkCompatibilityMatrix(bool skipCache = false);
|
D | RuntimeInfo.h | 31 struct CompatibilityMatrix; 70 bool checkCompatibility(const CompatibilityMatrix &mat,
|
D | parse_xml.h | 39 extern const XmlConverter<CompatibilityMatrix> &gCompatibilityMatrixConverter;
|
D | Vndk.h | 53 friend struct CompatibilityMatrix;
|
/system/libvintf/test/ |
D | main.cpp | 38 extern const XmlConverter<CompatibilityMatrix> &gCompatibilityMatrixConverter; 46 bool add(CompatibilityMatrix &cm, MatrixHal &&hal) { in add() 49 bool add(CompatibilityMatrix &cm, MatrixKernel &&kernel) { in add() 55 void set(CompatibilityMatrix &cm, Sepolicy &&sepolicy) { in set() 58 void set(CompatibilityMatrix &cm, SchemaType type) { in set() 61 void set(CompatibilityMatrix &cm, VndkVersionRange &&range, std::set<std::string> &&libs) { in set() 69 void setAvb(CompatibilityMatrix &cm, Version &&avbVersion) { in setAvb() 72 Version getAvb(CompatibilityMatrix &cm) { in getAvb() 78 MatrixHal *getAnyHal(CompatibilityMatrix &cm, const std::string &name) { in getAnyHal() 487 CompatibilityMatrix cm; in TEST_F() [all …]
|