Home
last modified time | relevance | path

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

/system/libvintf/include/vintf/
DCompatibilityMatrix.h45 struct CompatibilityMatrix : public HalGroup<MatrixHal>, struct
49 CompatibilityMatrix() : mType(SchemaType::FRAMEWORK) {} in CompatibilityMatrix() argument
69 bool addAllHals(CompatibilityMatrix* other, std::string* error = nullptr);
78 bool addAll(CompatibilityMatrix* inputMatrix, std::string* error);
81 bool addAllKernels(CompatibilityMatrix* other, std::string* error);
87 bool addSepolicy(CompatibilityMatrix* other, std::string* error);
90 bool addAvbMetaVersion(CompatibilityMatrix* other, std::string* error);
93 bool addVndk(CompatibilityMatrix* other, std::string* error);
96 bool addVendorNdk(CompatibilityMatrix* other, std::string* error);
99 bool addSystemSdk(CompatibilityMatrix* other, std::string* error);
[all …]
DVintfObject.h107 virtual std::shared_ptr<const CompatibilityMatrix> getDeviceCompatibilityMatrix();
116 virtual std::shared_ptr<const CompatibilityMatrix> getFrameworkCompatibilityMatrix();
231 details::LockedSharedPtr<CompatibilityMatrix> mDeviceMatrix;
235 details::LockedSharedPtr<CompatibilityMatrix> mFrameworkMatrix;
236 details::LockedSharedPtr<CompatibilityMatrix> mCombinedFrameworkMatrix;
279 static std::shared_ptr<const CompatibilityMatrix> GetDeviceCompatibilityMatrix();
285 static std::shared_ptr<const CompatibilityMatrix> GetFrameworkCompatibilityMatrix();
305 CompatibilityMatrix* out, std::string* error = nullptr);
306 status_t getAllFrameworkMatrixLevels(std::vector<CompatibilityMatrix>* out,
308 status_t getOneMatrix(const std::string& path, CompatibilityMatrix* out,
[all …]
DHalManifest.h49 struct CompatibilityMatrix;
85 bool checkCompatibility(const CompatibilityMatrix& mat, std::string* error = nullptr,
89 CompatibilityMatrix generateCompatibleMatrix() const;
176 std::vector<std::string> checkIncompatibleHals(const CompatibilityMatrix& mat) const;
186 const CompatibilityMatrix& mat,
DRuntimeInfo.h40 struct CompatibilityMatrix;
82 bool checkCompatibility(const CompatibilityMatrix& mat, std::string* error = nullptr,
DXmlFile.h47 friend struct CompatibilityMatrix;
Dparse_xml.h54 extern XmlConverter<CompatibilityMatrix>& gCompatibilityMatrixConverter;
DMatrixKernel.h62 friend struct CompatibilityMatrix;
DMatrixHal.h53 friend struct CompatibilityMatrix;
DVndk.h55 friend struct CompatibilityMatrix;
/system/libvintf/
DCompatibilityMatrix.cpp34 bool CompatibilityMatrix::add(MatrixHal&& halToAdd, std::string*) { in add()
39 bool CompatibilityMatrix::addAllHals(CompatibilityMatrix* other, std::string*) { in addAllHals()
48 bool CompatibilityMatrix::addKernel(MatrixKernel&& kernel, std::string* error) { in addKernel()
113 SchemaType CompatibilityMatrix::type() const { in type()
117 Level CompatibilityMatrix::level() const { in level()
121 status_t CompatibilityMatrix::fetchAllInformation(const FileSystem* fileSystem, in fetchAllInformation()
127 std::string CompatibilityMatrix::getXmlSchemaPath(const std::string& xmlFileName, in getXmlSchemaPath()
152 MatrixHal* CompatibilityMatrix::splitInstance(MatrixHal* existingHal, const std::string& interface, in splitInstance()
194 bool CompatibilityMatrix::addAllHalsAsOptional(CompatibilityMatrix* other, std::string* error) { in addAllHalsAsOptional()
251 bool CompatibilityMatrix::addAllXmlFilesAsOptional(CompatibilityMatrix* other, std::string* error) { in addAllXmlFilesAsOptional()
[all …]
DVintfObject.cpp120 std::shared_ptr<const CompatibilityMatrix> VintfObject::GetDeviceCompatibilityMatrix() { in GetDeviceCompatibilityMatrix()
124 std::shared_ptr<const CompatibilityMatrix> VintfObject::getDeviceCompatibilityMatrix() { in getDeviceCompatibilityMatrix()
128 std::shared_ptr<const CompatibilityMatrix> VintfObject::GetFrameworkCompatibilityMatrix() { in GetFrameworkCompatibilityMatrix()
132 std::shared_ptr<const CompatibilityMatrix> VintfObject::getFrameworkCompatibilityMatrix() { in getFrameworkCompatibilityMatrix()
146 std::bind(&CompatibilityMatrix::fetchAllInformation, _1, getFileSystem().get(), in getFrameworkCompatibilityMatrix()
151 const std::shared_ptr<const HalManifest>& deviceManifest, CompatibilityMatrix* out, in getCombinedFrameworkMatrix()
153 std::vector<CompatibilityMatrix> matrixFragments; in getCombinedFrameworkMatrix()
200 auto combined = CompatibilityMatrix::combine(deviceLevel, &matrixFragments, error); in getCombinedFrameworkMatrix()
368 status_t VintfObject::fetchDeviceMatrix(CompatibilityMatrix* out, std::string* error) { in fetchDeviceMatrix()
369 CompatibilityMatrix etcMatrix; in fetchDeviceMatrix()
[all …]
DAssembleVintf.cpp288 bool checkDualFile(const HalManifest& manifest, const CompatibilityMatrix& matrix) { in checkDualFile()
300 using CompatibilityMatrices = std::vector<CompatibilityMatrix>;
422 CompatibilityMatrix generatedMatrix = halManifest->generateCompatibleMatrix(); in assembleHalManifest()
441 CompatibilityMatrix checkMatrix; in assembleHalManifest()
457 bool assembleFrameworkCompatibilityMatrixKernels(CompatibilityMatrix* matrix) { in assembleFrameworkCompatibilityMatrixKernels()
536 CompatibilityMatrix* matrix = nullptr; in assembleCompatibilityMatrix()
538 std::unique_ptr<CompatibilityMatrix> builtMatrix; in assembleCompatibilityMatrix()
550 builtMatrix = CompatibilityMatrix::combineDeviceMatrices(matrices, &error); in assembleCompatibilityMatrix()
588 builtMatrix = CompatibilityMatrix::combine(deviceLevel, matrices, &error); in assembleCompatibilityMatrix()
Dmain.cpp198 void insert(const CompatibilityMatrix* matrix, Table* table, const RowMutator& mutate) { in insert()
222 const CompatibilityMatrix* vcm, const CompatibilityMatrix* fcm) { in generateHalSummary()
DRuntimeInfo.cpp76 bool RuntimeInfo::checkCompatibility(const CompatibilityMatrix& mat, std::string* error, in checkCompatibility()
DHalManifest.cpp235 std::vector<std::string> HalManifest::checkIncompatibleHals(const CompatibilityMatrix& mat) const { in checkIncompatibleHals()
272 const CompatibilityMatrix& mat, const std::vector<HidlInterfaceMetadata>& hidlMetadata) const { in checkUnusedHals()
372 bool HalManifest::checkCompatibility(const CompatibilityMatrix& mat, std::string* error, in checkCompatibility()
435 CompatibilityMatrix HalManifest::generateCompatibleMatrix() const { in generateCompatibleMatrix()
436 CompatibilityMatrix matrix; in generateCompatibleMatrix()
DAndroid.bp38 "CompatibilityMatrix.cpp",
Dparse_xml.cpp1158 struct CompatibilityMatrixConverter : public XmlNodeConverter<CompatibilityMatrix> {
1160 void mutateNode(const CompatibilityMatrix &m, NodeType *root, DocType *d) const override { in mutateNode()
1163 void mutateNode(const CompatibilityMatrix& m, NodeType* root, DocType* d, in mutateNode()
1217 bool buildObject(CompatibilityMatrix* object, NodeType* root, in buildObject()
1315 XmlConverter<CompatibilityMatrix>& gCompatibilityMatrixConverter = compatibilityMatrixConverter;
/system/libvintf/test/
DLibVintfTest.cpp44 extern XmlConverter<CompatibilityMatrix>& gCompatibilityMatrixConverter;
61 bool add(CompatibilityMatrix &cm, MatrixHal &&hal) { in add()
64 bool add(CompatibilityMatrix &cm, MatrixKernel &&kernel) { in add()
73 void addXmlFile(CompatibilityMatrix& cm, std::string name, VersionRange range) { in addXmlFile()
81 void set(CompatibilityMatrix &cm, Sepolicy &&sepolicy) { in set()
84 void set(CompatibilityMatrix &cm, SchemaType type) { in set()
87 void set(CompatibilityMatrix &cm, VndkVersionRange &&range, std::set<std::string> &&libs) { in set()
95 void setAvb(CompatibilityMatrix &cm, Version &&avbVersion) { in setAvb()
98 Version getAvb(CompatibilityMatrix &cm) { in getAvb()
104 MatrixHal *getAnyHal(CompatibilityMatrix &cm, const std::string &name) { in getAnyHal()
[all …]
Dvintf_object_tests.cpp1603 Instances GetInstances(const CompatibilityMatrix* fcm) { in GetInstances()
/system/libvintf/xsd/compatibilityMatrix/api/
Dcurrent.txt10 public class CompatibilityMatrix {
11 ctor public CompatibilityMatrix();
114 …method public static compatibility.matrix.CompatibilityMatrix read(java.io.InputStream) throws jav…
/system/libvintf/analyze_matrix/
Danalyze_matrix.cpp49 std::optional<std::set<std::string>> getInterfaces(const CompatibilityMatrix& mat) { in getInterfaces()