/frameworks/base/tools/aapt2/link/ |
D | ManifestFixer.cpp | 45 if (intent_filter_el->FindChildWithAttribute({}, "action", xml::kSchemaAndroid, "name", in HasDeepLink() 51 xml::Attribute* data_scheme_attr = data_el->FindAttribute(xml::kSchemaAndroid, "scheme"); in HasDeepLink() 58 if (intent_filter_el->FindChildWithAttribute({}, "category", xml::kSchemaAndroid, "name", in HasDeepLink() 67 xml::Attribute* attr = data_el->FindAttribute(xml::kSchemaAndroid, attr_name); in VerifyDeeplinkPathAttribute() 122 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name"); in RequiredNameIsNotEmpty() 159 if (xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name")) { in OptionalNameIsJavaClassName() 166 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name"); in RequiredNameIsJavaClassName() 176 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name"); in RequiredNameIsJavaPackage() 193 if (el->FindAttribute(xml::kSchemaAndroid, attr) == nullptr) { in RequiredAndroidAttribute() 205 xml::Attribute* attr1 = el->FindAttribute(xml::kSchemaAndroid, attrName1); in RequiredOneAndroidAttribute() [all …]
|
D | XmlReferenceLinker.cpp | 57 if (!el->FindAttribute(xml::kSchemaAndroid, "angle")) { in Visit() 58 el->attributes.push_back(xml::Attribute{xml::kSchemaAndroid, "angle", "0"}); in Visit()
|
D | FeatureFlagsFilter.cpp | 54 auto* attr = el->FindAttribute(xml::kSchemaAndroid, "featureFlag"); in ShouldRemove()
|
D | XmlCompatVersioner.cpp | 174 DegradeResult{xml::Attribute{xml::kSchemaAndroid, attr.name, src_attr.value, in Degrade()
|
D | ManifestFixer_test.cpp | 1048 EXPECT_EQ(manifest->root->namespace_decls[1].uri, xml::kSchemaAndroid); in TEST_F()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Util.cpp | 197 decl.uri = xml::kSchemaAndroid; in CreateAndroidNamespaceDecl() 241 xml::kSchemaAndroid, "versionCode", std::to_string(version_code), in GenerateSplitManifest() 249 xml::kSchemaAndroid, "versionCodeMajor", std::to_string(version_code_major), in GenerateSplitManifest() 257 xml::kSchemaAndroid, "revisionCode", std::to_string(revision_code), in GenerateSplitManifest() 289 xml::Attribute{xml::kSchemaAndroid, "hasCode", "false", CreateAttributeWithId(kHasCode), in GenerateSplitManifest() 417 manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCode")) { in ExtractAppInfoFromBinaryManifest() 428 manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCodeMajor")) { in ExtractAppInfoFromBinaryManifest() 439 manifest_el->FindAttribute(xml::kSchemaAndroid, "revisionCode")) { in ExtractAppInfoFromBinaryManifest() 462 uses_sdk_el->FindAttribute(xml::kSchemaAndroid, "minSdkVersion")) { in ExtractAppInfoFromBinaryManifest() 477 auto version_code = manifest->FindOrCreateAttribute(xml::kSchemaAndroid, "versionCode"); in SetLongVersionCode() [all …]
|
D | Link.cpp | 800 xml::Attribute* attr = manifest_xml->root->FindAttribute(xml::kSchemaAndroid, "versionCode"); in ExtractCompileSdkVersions() 823 xml::Attribute* attr = manifest_xml->root->FindAttribute(xml::kSchemaAndroid, "versionName"); in ExtractCompileSdkVersions() 949 manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCode")) { in ExtractAppInfoFromManifest() 960 manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCodeMajor")) { in ExtractAppInfoFromManifest() 972 manifest_el->FindAttribute(xml::kSchemaAndroid, "revisionCode")) { in ExtractAppInfoFromManifest() 990 uses_sdk_el->FindAttribute(xml::kSchemaAndroid, "minSdkVersion")) { in ExtractAppInfoFromManifest() 998 child_el->FindAttribute(xml::kSchemaAndroid, "name")) { in ExtractAppInfoFromManifest() 1079 application->FindAttribute(xml::kSchemaAndroid, "localeConfig"); in VerifyLocaleFormat() 1148 child_el->FindAttribute(xml::kSchemaAndroid, "name")) { in VerifyLocaleFormat() 1733 const xml::Attribute* icon = application->FindAttribute(xml::kSchemaAndroid, "icon"); in AliasAdaptiveIcon() [all …]
|
/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() 169 if (attr.namespace_uri == xml::kSchemaAndroid && attr.name == "onClick") { in Visit() 196 node->FindAttribute(xml::kSchemaAndroid, "fragment"); in Visit() 216 const auto& attr = node->FindAttribute(xml::kSchemaAndroid, "name"); in Visit() 271 xml::Attribute* attr = node->FindAttribute(xml::kSchemaAndroid, "backupAgent"); in Visit() 279 attr = node->FindAttribute(xml::kSchemaAndroid, "appComponentFactory"); in Visit() 288 attr = node->FindAttribute(xml::kSchemaAndroid, "zygotePreloadName"); in Visit() 298 xml::Attribute* default_process = node->FindAttribute(xml::kSchemaAndroid, "process"); in Visit() 308 xml::Attribute* component_process = node->FindAttribute(xml::kSchemaAndroid, "process"); in Visit() [all …]
|
D | ManifestClassGenerator.cpp | 59 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name"); in WriteSymbol()
|
/frameworks/base/tools/aapt2/optimize/ |
D | MultiApkGenerator.cpp | 46 using ::aapt::xml::kSchemaAndroid; 291 auto version_code = manifest_el->FindAttribute(kSchemaAndroid, "versionCode"); in UpdateManifest() 305 auto version_code_major = manifest_el->FindAttribute(kSchemaAndroid, "versionCodeMajor"); in UpdateManifest() 328 uses_sdk_el->FindAttribute(xml::kSchemaAndroid, "minSdkVersion")) { in UpdateManifest() 394 xml::Attribute* size = screen->FindOrCreateAttribute(kSchemaAndroid, "screenSize"); in AddScreens() 398 xml::Attribute* density = screen->FindOrCreateAttribute(kSchemaAndroid, "screenDensity"); in AddScreens()
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlUtil.h | 30 constexpr const char* kSchemaAndroid = "http://schemas.android.com/apk/res/android"; variable
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize_test.cpp | 262 decl.uri = xml::kSchemaAndroid; in TEST() 270 attr.namespace_uri = xml::kSchemaAndroid; in TEST() 310 EXPECT_THAT(actual_decl.uri, StrEq(xml::kSchemaAndroid)); in TEST() 317 EXPECT_THAT(actual_attr.namespace_uri, StrEq(xml::kSchemaAndroid)); in TEST()
|