Searched refs:SchemaType (Results 1 – 12 of 12) sorted by relevance
32 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 ==()
280 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 …]
752 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()
118 if (ret->type() == SchemaType::FRAMEWORK) { in tryParse()123 } else if (ret->type() == SchemaType::DEVICE) { in tryParse()
106 if (mat.mType != SchemaType::FRAMEWORK) { in checkCompatibility()
183 if (halManifest->mType == SchemaType::DEVICE) { in assembleHalManifest()256 if (matrix->mType == SchemaType::FRAMEWORK) { in assembleCompatibilityMatrix()
99 DEFINE_PARSE_STREAMIN_FOR_ENUM(SchemaType);
40 CompatibilityMatrix() : mType(SchemaType::FRAMEWORK) {}; in CompatibilityMatrix()42 SchemaType type() const;71 SchemaType mType;
48 HalManifest() : mType(SchemaType::DEVICE) {} in HalManifest()110 SchemaType type() const;155 SchemaType mType;
27 enum class SchemaType : size_t { enum
36 std::ostream &operator<<(std::ostream &os, SchemaType ksv);61 bool parse(const std::string &s, SchemaType *ver);
74 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()