Home
last modified time | relevance | path

Searched refs:SchemaType (Results 1 – 12 of 12) sorted by relevance

/system/libvintf/
DHalManifest.cpp396 if (mType == SchemaType::FRAMEWORK) { in checkCompatibility()
404 } else if (mType == SchemaType::DEVICE) { in checkCompatibility()
447 if (mType == SchemaType::FRAMEWORK) { in generateCompatibleMatrix()
448 matrix.mType = SchemaType::DEVICE; in generateCompatibleMatrix()
450 } else if (mType == SchemaType::DEVICE) { in generateCompatibleMatrix()
451 matrix.mType = SchemaType::FRAMEWORK; in generateCompatibleMatrix()
464 SchemaType HalManifest::type() const { in type()
468 void HalManifest::setType(SchemaType type) { in setType()
481 CHECK(mType == SchemaType::DEVICE); in sepolicyVersion()
486 CHECK(mType == SchemaType::FRAMEWORK); in vendorNdks()
[all …]
DCompatibilityMatrix.cpp49 if (mType != SchemaType::FRAMEWORK) { in addKernel()
113 SchemaType CompatibilityMatrix::type() const { in type()
137 return "/"s + (type() == SchemaType::DEVICE ? "vendor" : "system") + "/etc/" + in getXmlSchemaPath()
323 (lft.mType != SchemaType::DEVICE || in operator ==()
331 (lft.mType != SchemaType::FRAMEWORK || in operator ==()
341 if (e.type() != SchemaType::FRAMEWORK) { in combine()
363 baseMatrix->mType = SchemaType::FRAMEWORK; in combine()
393 baseMatrix->mType = SchemaType::DEVICE; in combineDeviceMatrices()
465 return type() == SchemaType::DEVICE ? device.mVendorNdk.version() : ""; in getVendorNdkVersion()
DRuntimeInfo.cpp78 if (mat.mType != SchemaType::FRAMEWORK) { in checkCompatibility()
Dparse_xml.cpp989 if (m.mType == SchemaType::DEVICE) { in mutateNode()
1004 } else if (m.mType == SchemaType::FRAMEWORK) { in mutateNode()
1045 if (object->mType == SchemaType::DEVICE) { in buildObject()
1062 } else if (object->mType == SchemaType::FRAMEWORK) { in buildObject()
1175 if (m.mType == SchemaType::FRAMEWORK) { in mutateNode()
1192 } else if (m.mType == SchemaType::DEVICE) { in mutateNode()
1233 if (object->mType == SchemaType::FRAMEWORK) { in buildObject()
1262 } else if (object->mType == SchemaType::DEVICE) { in buildObject()
DAssembleVintf.cpp393 if (halManifest->mType == SchemaType::DEVICE) { in assembleHalManifest()
409 if (halManifest->mType == SchemaType::FRAMEWORK) { in assembleHalManifest()
549 if (matrices->front().mType == SchemaType::DEVICE) { in assembleCompatibilityMatrix()
576 if (matrices->front().mType == SchemaType::FRAMEWORK) { in assembleCompatibilityMatrix()
Dparse_string.cpp99 DEFINE_PARSE_STREAMIN_FOR_ENUM(SchemaType)
/system/libvintf/include/vintf/
DHalManifest.h65 HalManifest() : mType(SchemaType::DEVICE) {} in HalManifest()
101 SchemaType type() const;
102 void setType(SchemaType type);
214 SchemaType mType;
DCompatibilityMatrix.h49 CompatibilityMatrix() : mType(SchemaType::FRAMEWORK) {} in CompatibilityMatrix()
51 SchemaType type() const;
157 SchemaType mType;
DSchemaType.h27 enum class SchemaType : size_t { enum
Dparse_string.h36 std::ostream &operator<<(std::ostream &os, SchemaType ksv);
69 bool parse(const std::string &s, SchemaType *ver);
DSerializeFlags.h47 VINTF_SERIALIZE_FLAGS_FIELD(SchemaType, 11)
/system/libvintf/test/
DLibVintfTest.cpp84 void set(CompatibilityMatrix &cm, SchemaType type) { in set()
140 vm.mType = SchemaType::DEVICE; in testDeviceManifest()
166 vm.mType = SchemaType::FRAMEWORK; in testFrameworkManfiest()
666 set(cm, SchemaType::DEVICE); in TEST_F()