Searched refs:SchemaType (Results 1 – 14 of 14) sorted by relevance
312 if (mType == SchemaType::FRAMEWORK) { in checkCompatibility()320 } else if (mType == SchemaType::DEVICE) { in checkCompatibility()356 if (mType == SchemaType::FRAMEWORK) { in generateCompatibleMatrix()357 matrix.mType = SchemaType::DEVICE; in generateCompatibleMatrix()359 } else if (mType == SchemaType::DEVICE) { in generateCompatibleMatrix()360 matrix.mType = SchemaType::FRAMEWORK; in generateCompatibleMatrix()373 SchemaType HalManifest::type() const { in type()377 void HalManifest::setType(SchemaType type) { in setType()390 CHECK(mType == SchemaType::DEVICE); in sepolicyVersion()395 CHECK(mType == SchemaType::FRAMEWORK); in vendorNdks()[all …]
34 if (mType != SchemaType::FRAMEWORK) { in addKernel()90 SchemaType CompatibilityMatrix::type() const { in type()120 return "/"s + (type() == SchemaType::DEVICE ? "vendor" : "system") + "/etc/" + in getXmlSchemaPath()334 (lft.mType != SchemaType::DEVICE || in operator ==()342 (lft.mType != SchemaType::FRAMEWORK || in operator ==()352 if (e.object.type() != SchemaType::FRAMEWORK) { in combine()374 baseMatrix->mType = SchemaType::FRAMEWORK; in combine()404 baseMatrix->mType = SchemaType::DEVICE; in combineDeviceMatrices()477 return type() == SchemaType::DEVICE ? device.mVendorNdk.version() : ""; in getVendorNdkVersion()
90 if (o->type() == SchemaType::DEVICE) { in set()94 } else if (o->type() == SchemaType::FRAMEWORK) { in set()
74 if (mat.mType != SchemaType::FRAMEWORK) { in checkCompatibility()
934 if (m.mType == SchemaType::DEVICE) { in mutateNode()949 } else if (m.mType == SchemaType::FRAMEWORK) { in mutateNode()981 if (object->mType == SchemaType::DEVICE) { in buildObject()998 } else if (object->mType == SchemaType::FRAMEWORK) { in buildObject()1111 if (m.mType == SchemaType::FRAMEWORK) { in mutateNode()1128 } else if (m.mType == SchemaType::DEVICE) { in mutateNode()1163 if (object->mType == SchemaType::FRAMEWORK) { in buildObject()1192 } else if (object->mType == SchemaType::DEVICE) { in buildObject()
367 if (halManifest->mType == SchemaType::DEVICE) { in assembleHalManifest()379 if (halManifest->mType == SchemaType::FRAMEWORK) { in assembleHalManifest()512 if (matrices->front().object.mType == SchemaType::DEVICE) { in assembleCompatibilityMatrix()539 if (matrices->front().object.mType == SchemaType::FRAMEWORK) { in assembleCompatibilityMatrix()
501 if (ret->type() == SchemaType::FRAMEWORK) { in tryParse()503 } else if (ret->type() == SchemaType::DEVICE) { in tryParse()507 << static_cast<std::underlying_type_t<SchemaType>>(ret->type()); in tryParse()
99 DEFINE_PARSE_STREAMIN_FOR_ENUM(SchemaType);
59 HalManifest() : mType(SchemaType::DEVICE) {} in HalManifest()90 SchemaType type() const;91 void setType(SchemaType type);176 SchemaType mType;
47 CompatibilityMatrix() : mType(SchemaType::FRAMEWORK) {} in CompatibilityMatrix()49 SchemaType type() const;148 SchemaType mType;
27 enum class SchemaType : size_t { enum
36 std::ostream &operator<<(std::ostream &os, SchemaType ksv);69 bool parse(const std::string &s, SchemaType *ver);
47 VINTF_SERIALIZE_FLAGS_FIELD(SchemaType, 11)
82 void set(CompatibilityMatrix &cm, SchemaType type) { in set()138 vm.mType = SchemaType::DEVICE; in testDeviceManifest()164 vm.mType = SchemaType::FRAMEWORK; in testFrameworkManfiest()662 set(cm, SchemaType::DEVICE); in TEST_F()