Searched refs:kSchemaAndroid (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/tools/aapt2/link/ |
D | ManifestFixer.cpp | 34 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name"); in RequiredNameIsNotEmpty() 72 if (xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name")) { in OptionalNameIsJavaClassName() 79 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name"); in RequiredNameIsJavaClassName() 89 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name"); in RequiredNameIsJavaPackage() 106 if (el->FindAttribute(xml::kSchemaAndroid, attr) == nullptr) { in RequiredAndroidAttribute() 126 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, kIsFeatureSplit); in AutoGenerateIsFeatureSplit() 139 el->attributes.push_back(xml::Attribute{xml::kSchemaAndroid, kIsFeatureSplit, "true"}); in AutoGenerateIsFeatureSplit() 190 if (xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name")) { in VerifyUsesFeature() 200 if (xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "glEsVersion")) { in VerifyUsesFeature() 277 el->RemoveAttribute(xml::kSchemaAndroid, "versionName"); in BuildRules() [all …]
|
D | XmlCompatVersioner.cpp | 171 DegradeResult{xml::Attribute{xml::kSchemaAndroid, attr.name, src_attr.value, in Degrade()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Util.cpp | 146 decl.uri = xml::kSchemaAndroid; in CreateAndroidNamespaceDecl() 190 xml::kSchemaAndroid, "versionCode", std::to_string(version_code), in GenerateSplitManifest() 198 xml::kSchemaAndroid, "versionCodeMajor", std::to_string(version_code_major), in GenerateSplitManifest() 206 xml::kSchemaAndroid, "revisionCode", std::to_string(revision_code), in GenerateSplitManifest() 238 xml::Attribute{xml::kSchemaAndroid, "hasCode", "false", CreateAttributeWithId(kHasCode), in GenerateSplitManifest() 364 manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCode")) { in ExtractAppInfoFromBinaryManifest() 375 manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCodeMajor")) { in ExtractAppInfoFromBinaryManifest() 386 manifest_el->FindAttribute(xml::kSchemaAndroid, "revisionCode")) { in ExtractAppInfoFromBinaryManifest() 408 uses_sdk_el->FindAttribute(xml::kSchemaAndroid, "minSdkVersion")) { in ExtractAppInfoFromBinaryManifest() 423 auto version_code = manifest->FindOrCreateAttribute(xml::kSchemaAndroid, "versionCode"); in SetLongVersionCode() [all …]
|
D | Link.cpp | 775 xml::Attribute* attr = manifest_xml->root->FindAttribute(xml::kSchemaAndroid, "versionCode"); in ExtractCompileSdkVersions() 798 xml::Attribute* attr = manifest_xml->root->FindAttribute(xml::kSchemaAndroid, "versionName"); in ExtractCompileSdkVersions() 923 manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCode")) { in ExtractAppInfoFromManifest() 934 manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCodeMajor")) { in ExtractAppInfoFromManifest() 946 manifest_el->FindAttribute(xml::kSchemaAndroid, "revisionCode")) { in ExtractAppInfoFromManifest() 964 uses_sdk_el->FindAttribute(xml::kSchemaAndroid, "minSdkVersion")) { in ExtractAppInfoFromManifest()
|
/frameworks/base/tools/aapt2/java/ |
D | ProguardRules.cpp | 134 } else if (attr.namespace_uri == xml::kSchemaAndroid && attr.name == "name") { in Visit() 138 } else if (attr.namespace_uri == xml::kSchemaAndroid && attr.name == "onClick") { in Visit() 158 if (attr.namespace_uri == xml::kSchemaAndroid) { in Visit() 190 node->FindAttribute(xml::kSchemaAndroid, "fragment"); in Visit() 210 const auto& attr = node->FindAttribute(xml::kSchemaAndroid, "name"); in Visit() 265 xml::Attribute* attr = node->FindAttribute(xml::kSchemaAndroid, "backupAgent"); in Visit() 272 attr = node->FindAttribute(xml::kSchemaAndroid, "appComponentFactory"); in Visit() 280 attr = node->FindAttribute(xml::kSchemaAndroid, "zygotePreloadName"); in Visit() 289 xml::Attribute* default_process = node->FindAttribute(xml::kSchemaAndroid, "process"); in Visit() 299 xml::Attribute* component_process = node->FindAttribute(xml::kSchemaAndroid, "process"); in Visit() [all …]
|
D | ManifestClassGenerator.cpp | 60 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name"); in WriteSymbol()
|
/frameworks/base/tools/aapt2/optimize/ |
D | MultiApkGenerator.cpp | 46 using ::aapt::xml::kSchemaAndroid; 281 auto version_code = manifest_el->FindAttribute(kSchemaAndroid, "versionCode"); in UpdateManifest() 294 auto version_code_major = manifest_el->FindAttribute(kSchemaAndroid, "versionCodeMajor"); in UpdateManifest() 317 uses_sdk_el->FindAttribute(xml::kSchemaAndroid, "minSdkVersion")) { in UpdateManifest() 381 xml::Attribute* size = screen->FindOrCreateAttribute(kSchemaAndroid, "screenSize"); in AddScreens() 385 xml::Attribute* density = screen->FindOrCreateAttribute(kSchemaAndroid, "screenDensity"); in AddScreens()
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlUtil.h | 31 constexpr const char* kSchemaAndroid = "http://schemas.android.com/apk/res/android"; variable
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize_test.cpp | 186 decl.uri = xml::kSchemaAndroid; in TEST() 194 attr.namespace_uri = xml::kSchemaAndroid; in TEST() 234 EXPECT_THAT(actual_decl.uri, StrEq(xml::kSchemaAndroid)); in TEST() 241 EXPECT_THAT(actual_attr.namespace_uri, StrEq(xml::kSchemaAndroid)); in TEST()
|