Searched refs:kSchemaAndroid (Results 1 – 11 of 11) 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() 302 EnsureNamespaceIsDeclared("android", xml::kSchemaAndroid, &el->namespace_decls); in BuildRules() [all …]
|
D | XmlReferenceLinker.cpp | 90 if (!el->FindAttribute(xml::kSchemaAndroid, "angle")) { in Visit() 91 el->attributes.push_back(xml::Attribute{xml::kSchemaAndroid, "angle", "0"}); in Visit()
|
D | XmlCompatVersioner.cpp | 171 DegradeResult{xml::Attribute{xml::kSchemaAndroid, attr.name, src_attr.value, in Degrade()
|
D | ManifestFixer_test.cpp | 834 EXPECT_EQ(manifest->root->namespace_decls[1].uri, xml::kSchemaAndroid); in TEST_F()
|
/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 | 783 xml::Attribute* attr = manifest_xml->root->FindAttribute(xml::kSchemaAndroid, "versionCode"); in ExtractCompileSdkVersions() 806 xml::Attribute* attr = manifest_xml->root->FindAttribute(xml::kSchemaAndroid, "versionName"); in ExtractCompileSdkVersions() 931 manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCode")) { in ExtractAppInfoFromManifest() 942 manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCodeMajor")) { in ExtractAppInfoFromManifest() 954 manifest_el->FindAttribute(xml::kSchemaAndroid, "revisionCode")) { in ExtractAppInfoFromManifest() 972 uses_sdk_el->FindAttribute(xml::kSchemaAndroid, "minSdkVersion")) { in ExtractAppInfoFromManifest() 980 child_el->FindAttribute(xml::kSchemaAndroid, "name")) { in ExtractAppInfoFromManifest() 1586 xml::Attribute* icon = application->FindAttribute(xml::kSchemaAndroid, "icon"); in AliasAdaptiveIcon() 1587 xml::Attribute* round_icon = application->FindAttribute(xml::kSchemaAndroid, "roundIcon"); in AliasAdaptiveIcon()
|
/frameworks/base/tools/aapt2/java/ |
D | ProguardRules.cpp | 125 } else if (node->namespace_uri == xml::kSchemaAndroid) { in Visit() 139 } else if (attr.namespace_uri == xml::kSchemaAndroid && attr.name == "name") { in Visit() 143 } else if (attr.namespace_uri == xml::kSchemaAndroid && attr.name == "onClick") { in Visit() 174 if (attr.namespace_uri == xml::kSchemaAndroid && attr.name == "onClick") { in Visit() 201 node->FindAttribute(xml::kSchemaAndroid, "fragment"); in Visit() 221 const auto& attr = node->FindAttribute(xml::kSchemaAndroid, "name"); in Visit() 276 xml::Attribute* attr = node->FindAttribute(xml::kSchemaAndroid, "backupAgent"); in Visit() 283 attr = node->FindAttribute(xml::kSchemaAndroid, "appComponentFactory"); in Visit() 291 attr = node->FindAttribute(xml::kSchemaAndroid, "zygotePreloadName"); in Visit() 300 xml::Attribute* default_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; 285 auto version_code = manifest_el->FindAttribute(kSchemaAndroid, "versionCode"); in UpdateManifest() 298 auto version_code_major = manifest_el->FindAttribute(kSchemaAndroid, "versionCodeMajor"); in UpdateManifest() 321 uses_sdk_el->FindAttribute(xml::kSchemaAndroid, "minSdkVersion")) { in UpdateManifest() 385 xml::Attribute* size = screen->FindOrCreateAttribute(kSchemaAndroid, "screenSize"); in AddScreens() 389 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 | 190 decl.uri = xml::kSchemaAndroid; in TEST() 198 attr.namespace_uri = xml::kSchemaAndroid; in TEST() 238 EXPECT_THAT(actual_decl.uri, StrEq(xml::kSchemaAndroid)); in TEST() 245 EXPECT_THAT(actual_attr.namespace_uri, StrEq(xml::kSchemaAndroid)); in TEST()
|