Home
last modified time | relevance | path

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

/system/libvintf/
DCompatibilityMatrix.cpp32 if (mType != SchemaType::FRAMEWORK) { in add()
39 SchemaType CompatibilityMatrix::type() const { in type()
58 return "/"s + (type() == SchemaType::DEVICE ? "vendor" : "system") + "/etc/" + in getXmlSchemaPath()
69 (lft.mType != SchemaType::DEVICE || (lft.device.mVndk == rgt.device.mVndk)) && in operator ==()
70 (lft.mType != SchemaType::FRAMEWORK || in operator ==()
DHalManifest.cpp280 if (mType == SchemaType::FRAMEWORK) { in checkCompatibility()
312 } else if (mType == SchemaType::DEVICE) { in checkCompatibility()
347 if (mType == SchemaType::FRAMEWORK) { in generateCompatibleMatrix()
348 matrix.mType = SchemaType::DEVICE; in generateCompatibleMatrix()
350 } else if (mType == SchemaType::DEVICE) { in generateCompatibleMatrix()
351 matrix.mType = SchemaType::FRAMEWORK; in generateCompatibleMatrix()
363 SchemaType HalManifest::type() const { in type()
368 CHECK(mType == SchemaType::DEVICE); in sepolicyVersion()
373 CHECK(mType == SchemaType::FRAMEWORK); in vndks()
387 return "/"s + (type() == SchemaType::DEVICE ? "vendor" : "system") + "/etc/" + in getXmlFilePath()
[all …]
Dparse_xml.cpp752 if (m.mType == SchemaType::DEVICE) { in mutateNode()
754 } else if (m.mType == SchemaType::FRAMEWORK) { in mutateNode()
772 if (object->mType == SchemaType::DEVICE) { in buildObject()
780 } else if (object->mType == SchemaType::FRAMEWORK) { in buildObject()
861 if (m.mType == SchemaType::FRAMEWORK) { in mutateNode()
865 } else if (m.mType == SchemaType::DEVICE) { in mutateNode()
880 if (object->mType == SchemaType::FRAMEWORK) { in buildObject()
903 } else if (object->mType == SchemaType::DEVICE) { in buildObject()
DVintfObject.cpp118 if (ret->type() == SchemaType::FRAMEWORK) { in tryParse()
123 } else if (ret->type() == SchemaType::DEVICE) { in tryParse()
DRuntimeInfo.cpp106 if (mat.mType != SchemaType::FRAMEWORK) { in checkCompatibility()
Dassemble_vintf.cpp183 if (halManifest->mType == SchemaType::DEVICE) { in assembleHalManifest()
256 if (matrix->mType == SchemaType::FRAMEWORK) { in assembleCompatibilityMatrix()
Dparse_string.cpp99 DEFINE_PARSE_STREAMIN_FOR_ENUM(SchemaType);
/system/libvintf/include/vintf/
DCompatibilityMatrix.h40 CompatibilityMatrix() : mType(SchemaType::FRAMEWORK) {}; in CompatibilityMatrix()
42 SchemaType type() const;
71 SchemaType mType;
DHalManifest.h48 HalManifest() : mType(SchemaType::DEVICE) {} in HalManifest()
110 SchemaType type() const;
155 SchemaType mType;
DSchemaType.h27 enum class SchemaType : size_t { enum
Dparse_string.h36 std::ostream &operator<<(std::ostream &os, SchemaType ksv);
61 bool parse(const std::string &s, SchemaType *ver);
/system/libvintf/test/
Dmain.cpp74 void set(CompatibilityMatrix &cm, SchemaType type) { in set()
116 vm.mType = SchemaType::DEVICE; in testDeviceManifest()
150 vm.mType = SchemaType::FRAMEWORK; in testFrameworkManfiest()
619 set(cm, SchemaType::DEVICE); in TEST_F()