Home
last modified time | relevance | path

Searched refs:CompatibilityMatrix (Results 1 – 15 of 15) sorted by relevance

/system/libvintf/
DCompatibilityMatrix.cpp24 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 ==()
DVintfObject.cpp38 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;
Dassemble_vintf.cpp73 CompatibilityMatrix generatedMatrix = halManifest->generateCompatibleMatrix(); in assembleHalManifest()
92 CompatibilityMatrix checkMatrix; in assembleHalManifest()
107 bool assembleCompatibilityMatrix(CompatibilityMatrix* matrix) { in assembleCompatibilityMatrix()
156 CompatibilityMatrix matrix; in assemble()
Dmain.cpp40 const CompatibilityMatrix *vcm = VintfObject::GetDeviceCompatibilityMatrix(); in main()
46 const CompatibilityMatrix *fcm = VintfObject::GetFrameworkCompatibilityMatrix(); in main()
DAndroid.bp40 "CompatibilityMatrix.cpp",
110 "CompatibilityMatrix.cpp",
DHalManifest.cpp245 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()
Dparse_xml.cpp678 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
DRuntimeInfo.cpp72 bool RuntimeInfo::checkCompatibility(const CompatibilityMatrix &mat, in checkCompatibility()
/system/libvintf/include/vintf/
DCompatibilityMatrix.h36 struct CompatibilityMatrix { struct
39 CompatibilityMatrix() : mType(SchemaType::FRAMEWORK) {}; in CompatibilityMatrix() function
67 friend bool operator==(const CompatibilityMatrix &, const CompatibilityMatrix &); argument
DHalManifest.h36 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;
DVintfObject.h68 static const CompatibilityMatrix *GetDeviceCompatibilityMatrix(bool skipCache = false);
74 static const CompatibilityMatrix *GetFrameworkCompatibilityMatrix(bool skipCache = false);
DRuntimeInfo.h31 struct CompatibilityMatrix;
70 bool checkCompatibility(const CompatibilityMatrix &mat,
Dparse_xml.h39 extern const XmlConverter<CompatibilityMatrix> &gCompatibilityMatrixConverter;
DVndk.h53 friend struct CompatibilityMatrix;
/system/libvintf/test/
Dmain.cpp38 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 …]