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>, public XmlFileGroup<MatrixXmlFile> { struct
47 CompatibilityMatrix() : mType(SchemaType::FRAMEWORK) {} in CompatibilityMatrix() argument
72 bool addAll(Named<CompatibilityMatrix>* inputMatrix, std::string* error);
75 bool addAllKernels(CompatibilityMatrix* other, std::string* error);
81 bool addSepolicy(CompatibilityMatrix* other, std::string* error);
84 bool addAvbMetaVersion(CompatibilityMatrix* other, std::string* error);
87 bool addVndk(CompatibilityMatrix* other, std::string* error);
90 bool addVendorNdk(CompatibilityMatrix* other, std::string* error);
93 bool addSystemSdk(CompatibilityMatrix* other, std::string* error);
96 bool addAllAsOptional(Named<CompatibilityMatrix>* inputMatrix, std::string* error);
[all …]
DVintfObject.h99 virtual std::shared_ptr<const CompatibilityMatrix> getDeviceCompatibilityMatrix(
109 virtual std::shared_ptr<const CompatibilityMatrix> getFrameworkCompatibilityMatrix(
186 details::LockedSharedPtr<CompatibilityMatrix> mDeviceMatrix;
190 details::LockedSharedPtr<CompatibilityMatrix> mFrameworkMatrix;
191 details::LockedSharedPtr<CompatibilityMatrix> mCombinedFrameworkMatrix;
235 static std::shared_ptr<const CompatibilityMatrix> GetDeviceCompatibilityMatrix(
242 static std::shared_ptr<const CompatibilityMatrix> GetFrameworkCompatibilityMatrix(
307 CompatibilityMatrix* out, std::string* error = nullptr);
308 status_t getAllFrameworkMatrixLevels(std::vector<Named<CompatibilityMatrix>>* out,
310 status_t getOneMatrix(const std::string& path, Named<CompatibilityMatrix>* out,
[all …]
DHalManifest.h45 struct CompatibilityMatrix;
76 bool checkCompatibility(const CompatibilityMatrix &mat, std::string *error = nullptr) const;
79 CompatibilityMatrix generateCompatibleMatrix() const;
162 std::vector<std::string> checkIncompatibleHals(const CompatibilityMatrix& mat) const;
171 std::set<std::string> checkUnusedHals(const CompatibilityMatrix& mat) const;
DRuntimeInfo.h36 struct CompatibilityMatrix;
76 bool checkCompatibility(const CompatibilityMatrix& mat, std::string* error = nullptr,
DXmlFile.h47 friend struct CompatibilityMatrix;
Dparse_xml.h54 extern XmlConverter<CompatibilityMatrix>& gCompatibilityMatrixConverter;
DMatrixKernel.h61 friend struct CompatibilityMatrix;
DMatrixHal.h53 friend struct CompatibilityMatrix;
DVndk.h55 friend struct CompatibilityMatrix;
/system/libvintf/
DCompatibilityMatrix.cpp33 bool CompatibilityMatrix::addKernel(MatrixKernel&& kernel, std::string* error) { in addKernel()
90 SchemaType CompatibilityMatrix::type() const { in type()
94 Level CompatibilityMatrix::level() const { in level()
98 Version CompatibilityMatrix::getMinimumMetaVersion() const { in getMinimumMetaVersion()
104 status_t CompatibilityMatrix::fetchAllInformation(const FileSystem* fileSystem, in fetchAllInformation()
110 std::string CompatibilityMatrix::getXmlSchemaPath(const std::string& xmlFileName, in getXmlSchemaPath()
135 MatrixHal* CompatibilityMatrix::splitInstance(MatrixHal* existingHal, const std::string& interface, in splitInstance()
177 bool CompatibilityMatrix::addAllHalsAsOptional(CompatibilityMatrix* other, std::string* error) { in addAllHalsAsOptional()
229 bool CompatibilityMatrix::addAllXmlFilesAsOptional(CompatibilityMatrix* other, std::string* error) { in addAllXmlFilesAsOptional()
256 bool CompatibilityMatrix::addAllKernels(CompatibilityMatrix* other, std::string* error) { in addAllKernels()
[all …]
DVintfObjectAfterUpdate.h49 std::shared_ptr<const CompatibilityMatrix> getDeviceCompatibilityMatrix(
55 std::shared_ptr<const CompatibilityMatrix> getFrameworkCompatibilityMatrix(
77 bool set(const std::shared_ptr<CompatibilityMatrix>& o) { in set()
85 std::shared_ptr<CompatibilityMatrix> mDeviceMatrix;
86 std::shared_ptr<CompatibilityMatrix> mFrameworkMatrix;
DVintfObject.cpp112 std::shared_ptr<const CompatibilityMatrix> VintfObject::GetDeviceCompatibilityMatrix(bool skipCache… in GetDeviceCompatibilityMatrix()
116 std::shared_ptr<const CompatibilityMatrix> VintfObject::getDeviceCompatibilityMatrix( in getDeviceCompatibilityMatrix()
121 std::shared_ptr<const CompatibilityMatrix> VintfObject::GetFrameworkCompatibilityMatrix(bool skipCa… in GetFrameworkCompatibilityMatrix()
125 std::shared_ptr<const CompatibilityMatrix> VintfObject::getFrameworkCompatibilityMatrix( in getFrameworkCompatibilityMatrix()
140 std::bind(&CompatibilityMatrix::fetchAllInformation, _1, getFileSystem().get(), in getFrameworkCompatibilityMatrix()
145 const std::shared_ptr<const HalManifest>& deviceManifest, CompatibilityMatrix* out, in getCombinedFrameworkMatrix()
147 std::vector<Named<CompatibilityMatrix>> matrixFragments; in getCombinedFrameworkMatrix()
194 auto combined = CompatibilityMatrix::combine(deviceLevel, &matrixFragments, error); in getCombinedFrameworkMatrix()
333 status_t VintfObject::fetchDeviceMatrix(CompatibilityMatrix* out, std::string* error) { in fetchDeviceMatrix()
334 CompatibilityMatrix etcMatrix; in fetchDeviceMatrix()
[all …]
DAssembleVintf.cpp264 bool checkDualFile(const HalManifest& manifest, const CompatibilityMatrix& matrix) { in checkDualFile()
297 using CompatibilityMatrices = Schemas<CompatibilityMatrix>;
392 CompatibilityMatrix generatedMatrix = halManifest->generateCompatibleMatrix(); in assembleHalManifest()
411 CompatibilityMatrix checkMatrix; in assembleHalManifest()
426 bool assembleFrameworkCompatibilityMatrixKernels(CompatibilityMatrix* matrix) { in assembleFrameworkCompatibilityMatrixKernels()
500 CompatibilityMatrix* matrix = nullptr; in assembleCompatibilityMatrix()
502 std::unique_ptr<CompatibilityMatrix> builtMatrix; in assembleCompatibilityMatrix()
513 builtMatrix = CompatibilityMatrix::combineDeviceMatrices(matrices, &error); in assembleCompatibilityMatrix()
551 builtMatrix = CompatibilityMatrix::combine(deviceLevel, matrices, &error); in assembleCompatibilityMatrix()
DHalManifest.cpp181 std::vector<std::string> HalManifest::checkIncompatibleHals(const CompatibilityMatrix& mat) const { in checkIncompatibleHals()
217 std::set<std::string> HalManifest::checkUnusedHals(const CompatibilityMatrix& mat) const { in checkUnusedHals()
289 bool HalManifest::checkCompatibility(const CompatibilityMatrix &mat, std::string *error) const { in checkCompatibility()
344 CompatibilityMatrix HalManifest::generateCompatibleMatrix() const { in generateCompatibleMatrix()
345 CompatibilityMatrix matrix; in generateCompatibleMatrix()
DRuntimeInfo.cpp72 bool RuntimeInfo::checkCompatibility(const CompatibilityMatrix& mat, std::string* error, in checkCompatibility()
Dmain.cpp199 void insert(const CompatibilityMatrix* matrix, Table* table, const RowMutator& mutate) { in insert()
224 const CompatibilityMatrix* vcm, const CompatibilityMatrix* fcm) { in generateHalSummary()
DAndroid.bp42 "CompatibilityMatrix.cpp",
Dparse_xml.cpp1094 struct CompatibilityMatrixConverter : public XmlNodeConverter<CompatibilityMatrix> {
1096 void mutateNode(const CompatibilityMatrix &m, NodeType *root, DocType *d) const override { in mutateNode()
1099 void mutateNode(const CompatibilityMatrix& m, NodeType* root, DocType* d, in mutateNode()
1153 bool buildObject(CompatibilityMatrix* object, NodeType* root, in buildObject()
1250 XmlConverter<CompatibilityMatrix>& gCompatibilityMatrixConverter = compatibilityMatrixConverter;
/system/libvintf/test/
DLibVintfTest.cpp42 extern XmlConverter<CompatibilityMatrix>& gCompatibilityMatrixConverter;
59 bool add(CompatibilityMatrix &cm, MatrixHal &&hal) { in add()
62 bool add(CompatibilityMatrix &cm, MatrixKernel &&kernel) { in add()
71 void addXmlFile(CompatibilityMatrix& cm, std::string name, VersionRange range) { in addXmlFile()
79 void set(CompatibilityMatrix &cm, Sepolicy &&sepolicy) { in set()
82 void set(CompatibilityMatrix &cm, SchemaType type) { in set()
85 void set(CompatibilityMatrix &cm, VndkVersionRange &&range, std::set<std::string> &&libs) { in set()
93 void setAvb(CompatibilityMatrix &cm, Version &&avbVersion) { in setAvb()
96 Version getAvb(CompatibilityMatrix &cm) { in getAvb()
102 MatrixHal *getAnyHal(CompatibilityMatrix &cm, const std::string &name) { in getAnyHal()
[all …]
/system/libvintf/xsd/compatibilityMatrix/api/
Dcurrent.txt10 public class CompatibilityMatrix {
11 ctor public CompatibilityMatrix();
112 …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()