Searched refs:SchemaType (Results 1 – 14 of 14) sorted by relevance
406 if (mType == SchemaType::FRAMEWORK) { in checkCompatibility()414 } else if (mType == SchemaType::DEVICE) { in checkCompatibility()471 if (mType == SchemaType::FRAMEWORK) { in generateCompatibleMatrix()472 matrix.mType = SchemaType::DEVICE; in generateCompatibleMatrix()474 } else if (mType == SchemaType::DEVICE) { in generateCompatibleMatrix()475 matrix.mType = SchemaType::FRAMEWORK; in generateCompatibleMatrix()488 SchemaType HalManifest::type() const { in type()492 void HalManifest::setType(SchemaType type) { in setType()505 CHECK(mType == SchemaType::DEVICE); in sepolicyVersion()510 CHECK(mType == SchemaType::FRAMEWORK); in vendorNdks()[all …]
49 if (mType != SchemaType::FRAMEWORK) { in addKernel()113 SchemaType CompatibilityMatrix::type() const { in type()136 return "/"s + (type() == SchemaType::DEVICE ? "vendor" : "system") + "/etc/" + in getXmlSchemaPath()322 (lft.mType != SchemaType::DEVICE || in operator ==()330 (lft.mType != SchemaType::FRAMEWORK || in operator ==()340 if (e.type() != SchemaType::FRAMEWORK) { in combine()362 baseMatrix->mType = SchemaType::FRAMEWORK; in combine()392 baseMatrix->mType = SchemaType::DEVICE; in combineDeviceMatrices()464 if (type() == SchemaType::FRAMEWORK) return framework.mSepolicy.sepolicyVersions(); in getSepolicyVersions()469 return type() == SchemaType::DEVICE ? device.mVendorNdk.version() : ""; in getVendorNdkVersion()
1036 if (m.mType == SchemaType::DEVICE) { in mutateNode()1051 } else if (m.mType == SchemaType::FRAMEWORK) { in mutateNode()1092 if (object->mType == SchemaType::DEVICE) { in buildObject()1109 } else if (object->mType == SchemaType::FRAMEWORK) { in buildObject()1221 if (m.mType == SchemaType::FRAMEWORK) { in mutateNode()1238 } else if (m.mType == SchemaType::DEVICE) { in mutateNode()1279 if (object->mType == SchemaType::FRAMEWORK) { in buildObject()1308 } else if (object->mType == SchemaType::DEVICE) { in buildObject()
378 if (halManifest->mType == SchemaType::DEVICE) { in assembleHalManifest()392 if (halManifest->mType == SchemaType::FRAMEWORK) { in assembleHalManifest()532 if (matrices->front().mType == SchemaType::DEVICE) { in assembleCompatibilityMatrix()559 if (matrices->front().mType == SchemaType::FRAMEWORK) { in assembleCompatibilityMatrix()
81 if (mat.mType != SchemaType::FRAMEWORK) { in checkCompatibility()
102 DEFINE_PARSE_STREAMIN_FOR_ENUM(SchemaType)
43 using vintf::SchemaType;116 if (manifest == nullptr || manifest->type() != SchemaType::DEVICE) { in android_os_VintfObject_getSepolicyVersion()127 if (matrix == nullptr || matrix->type() != SchemaType::FRAMEWORK) { in android_os_VintfObject_getPlatformSepolicyVersion()148 if (manifest == nullptr || manifest->type() != SchemaType::FRAMEWORK) { in android_os_VintfObject_getVndkSnapshots()
69 HalManifest() : mType(SchemaType::DEVICE) {} in HalManifest()105 SchemaType type() const;106 void setType(SchemaType type);233 SchemaType mType;
53 CompatibilityMatrix() : mType(SchemaType::FRAMEWORK) {} in CompatibilityMatrix()55 SchemaType type() const;164 SchemaType mType;
27 enum class SchemaType : size_t { enum
36 std::ostream &operator<<(std::ostream &os, SchemaType ksv);67 bool parse(const std::string &s, SchemaType *ver);
47 VINTF_SERIALIZE_FLAGS_FIELD(SchemaType, 11)
55 vintf::SchemaType toSchemaType(Partition p) { in toSchemaType()56 return (p == Partition::SYSTEM) ? vintf::SchemaType::FRAMEWORK : vintf::SchemaType::DEVICE; in toSchemaType()59 Partition toPartition(vintf::SchemaType t) { in toPartition()61 case vintf::SchemaType::FRAMEWORK: return Partition::SYSTEM; in toPartition()63 case vintf::SchemaType::DEVICE: return Partition::VENDOR; in toPartition()
86 void set(CompatibilityMatrix &cm, SchemaType type) { in set()148 vm.mType = SchemaType::DEVICE; in testDeviceManifest()174 vm.mType = SchemaType::FRAMEWORK; in testFrameworkManfiest()673 set(cm, SchemaType::DEVICE); in TEST_F()