Home
last modified time | relevance | path

Searched refs:xml (Results 1 – 25 of 411) sorted by relevance

12345678910>>...17

/frameworks/native/data/etc/
DAndroid.bp16 // Modules use the 'prebuilt.xml' suffix to prevent conflicting
26 name: "android.hardware.audio.low_latency.prebuilt.xml",
27 src: "android.hardware.audio.low_latency.xml",
32 name: "android.hardware.biometrics.face.prebuilt.xml",
33 src: "android.hardware.biometrics.face.xml",
38 name: "android.hardware.bluetooth_le.prebuilt.xml",
39 src: "android.hardware.bluetooth_le.xml",
44 name: "android.hardware.bluetooth.prebuilt.xml",
45 src: "android.hardware.bluetooth.xml",
50 name: "android.hardware.camera.concurrent.prebuilt.xml",
[all …]
/frameworks/base/tools/aapt2/link/
DManifestFixer.cpp33 static bool RequiredNameIsNotEmpty(xml::Element* el, SourcePathDiagnostics* diag) { in RequiredNameIsNotEmpty()
34 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name"); in RequiredNameIsNotEmpty()
50 static bool NameIsJavaClassName(xml::Element* el, xml::Attribute* attr, in NameIsJavaClassName()
71 static bool OptionalNameIsJavaClassName(xml::Element* el, SourcePathDiagnostics* diag) { in OptionalNameIsJavaClassName()
72 if (xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name")) { in OptionalNameIsJavaClassName()
78 static bool RequiredNameIsJavaClassName(xml::Element* el, SourcePathDiagnostics* diag) { in RequiredNameIsJavaClassName()
79 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name"); in RequiredNameIsJavaClassName()
88 static bool RequiredNameIsJavaPackage(xml::Element* el, SourcePathDiagnostics* diag) { in RequiredNameIsJavaPackage()
89 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name"); in RequiredNameIsJavaPackage()
104 static xml::XmlNodeAction::ActionFuncWithDiag RequiredAndroidAttribute(const std::string& attr) { in RequiredAndroidAttribute()
[all …]
DXmlCompatVersioner.cpp25 static xml::Attribute CopyAttr(const xml::Attribute& src, StringPool* out_string_pool) { in CopyAttr()
27 xml::Attribute dst{src.namespace_uri, src.name, src.value, src.compiled_attribute}; in CopyAttr()
36 static bool CopyAttribute(const xml::Attribute& src_attr, bool generated, xml::Element* dst_el, in CopyAttribute()
39 xml::Attribute* dst_attr = dst_el->FindAttribute(src_attr.namespace_uri, src_attr.name); in CopyAttribute()
56 void XmlCompatVersioner::ProcessRule(const xml::Element& src_el, const xml::Attribute& src_attr, in ProcessRule()
59 xml::Element* dst_el, in ProcessRule()
104 std::unique_ptr<xml::XmlResource> XmlCompatVersioner::ProcessDoc( in ProcessDoc()
105 ApiVersion target_api, ApiVersion max_api, xml::XmlResource* doc, in ProcessDoc()
109 std::unique_ptr<xml::XmlResource> cloned_doc = util::make_unique<xml::XmlResource>(doc->file); in ProcessDoc()
112 cloned_doc->root = doc->root->CloneElement([&](const xml::Element& el, xml::Element* out_el) { in ProcessDoc()
[all …]
DXmlCompatVersioner.h37 xml::Attribute attr;
46 virtual std::vector<DegradeResult> Degrade(const xml::Element& src_el,
47 const xml::Attribute& src_attr,
60 std::vector<std::unique_ptr<xml::XmlResource>> Process(IAaptContext* context,
61 xml::XmlResource* doc,
67 std::unique_ptr<xml::XmlResource> ProcessDoc(ApiVersion target_api, ApiVersion max_api,
68 xml::XmlResource* doc,
70 void ProcessRule(const xml::Element& src_el, const xml::Attribute& src_attr,
72 const util::Range<ApiVersion>& api_range, bool generated, xml::Element* dst_el,
89 std::vector<DegradeResult> Degrade(const xml::Element& src_el, const xml::Attribute& src_attr,
/frameworks/base/tools/aapt2/
DResourceParser.h64 xml::IPackageDeclStack* namespace_resolver;
76 bool Parse(xml::XmlPullParser* parser);
86 std::optional<FlattenedXmlSubTree> CreateFlattenSubTree(xml::XmlPullParser* parser);
95 bool FlattenXmlSubtree(xml::XmlPullParser* parser, std::string* out_raw_string,
106 std::unique_ptr<Item> ParseXml(xml::XmlPullParser* parser, const uint32_t type_mask,
109 bool ParseResources(xml::XmlPullParser* parser);
110 bool ParseResource(xml::XmlPullParser* parser, ParsedResource* out_resource);
112 bool ParseItem(xml::XmlPullParser* parser, ParsedResource* out_resource, uint32_t format);
113 bool ParseString(xml::XmlPullParser* parser, ParsedResource* out_resource);
114 bool ParseMacro(xml::XmlPullParser* parser, ParsedResource* out_resource);
[all …]
/frameworks/base/tests/privapp-permissions/
DAndroid.bp14 manifest: "system/AndroidManifest.xml",
15 required: ["privapp-permissions-test.xml"],
19 name: "privapp-permissions-test.xml",
20 src: "system/privapp-permissions-test.xml",
28 manifest: "vendor/AndroidManifest.xml",
30 required: ["vendorprivapp-permissions-test.xml"],
34 name: "vendorprivapp-permissions-test.xml",
35 src: "vendor/privapp-permissions-test.xml",
44 manifest: "product/AndroidManifest.xml",
46 required: ["productprivapp-permissions-test.xml"],
[all …]
/frameworks/base/core/tests/coretests/src/android/graphics/
DFontListParserTest.java58 String xml = "<?xml version='1.0' encoding='UTF-8'?>" in named() local
69 FontConfig.FontFamily family = readFamily(xml); in named()
75 String xml = "<?xml version='1.0' encoding='UTF-8'?>" in fallback() local
90 FontConfig.FontFamily family = readFamily(xml); in fallback()
96 String xml = "<?xml version='1.0' encoding='UTF-8'?>" in compact() local
107 FontConfig.FontFamily family = readFamily(xml); in compact()
113 String xml = "<?xml version='1.0' encoding='UTF-8'?>" in elegant() local
124 FontConfig.FontFamily family = readFamily(xml); in elegant()
130 String xml = "<?xml version='1.0' encoding='UTF-8'?>" in styles() local
148 FontConfig.FontFamily family = readFamily(xml); in styles()
[all …]
/frameworks/base/data/etc/
DAndroid.bp27 name: "framework-sysconfig.xml",
29 src: "framework-sysconfig.xml",
33 name: "preinstalled-packages-platform.xml",
35 src: "preinstalled-packages-platform.xml",
39 name: "preinstalled-packages-platform-overlays.xml",
42 src: "preinstalled-packages-platform-overlays.xml",
46 name: "hiddenapi-package-whitelist.xml",
48 src: "hiddenapi-package-whitelist.xml",
54 name: "platform.xml",
56 src: "platform.xml",
[all …]
DCleanSpec.mk46 …add-clean-step, rm -rf $(PRODUCT_OUT)/system/product/etc/permissions/com.android.carrierconfig.xml)
47 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/product/etc/permissions/com.android.carrierconfig.xml)
48 …all add-clean-step, rm -rf $(PRODUCT_OUT)/system/product/etc/permissions/com.android.emergency.xml)
49 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/product/etc/permissions/com.android.emergency.xml)
50 …all add-clean-step, rm -rf $(PRODUCT_OUT)/system/product/etc/permissions/com.android.provision.xml)
51 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/product/etc/permissions/com.android.provision.xml)
52 …call add-clean-step, rm -rf $(PRODUCT_OUT)/system/product/etc/permissions/com.android.settings.xml)
53 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/product/etc/permissions/com.android.settings.xml)
54 …all add-clean-step, rm -rf $(PRODUCT_OUT)/system/product/etc/permissions/com.android.launcher3.xml)
55 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/product/etc/permissions/com.android.launcher3.xml)
[all …]
/frameworks/base/tools/aapt2/compile/
DInlineXmlFormatParser.cpp31 xml::Element* el;
37 class Visitor : public xml::PackageAwareVisitor {
39 using xml::PackageAwareVisitor::Visit;
41 explicit Visitor(IAaptContext* context, xml::XmlResource* xml_resource) in Visitor()
44 void Visit(xml::Element* el) override { in Visit()
45 if (el->namespace_uri != xml::kSchemaAapt || el->name != "attr") { in Visit()
46 xml::PackageAwareVisitor::Visit(el); in Visit()
52 xml::Attribute* attr = el->FindAttribute({}, "name"); in Visit()
68 std::optional<xml::ExtractedPackage> maybe_pkg = TransformPackageAlias(name.package); in Visit()
76 const xml::ExtractedPackage& pkg = maybe_pkg.value(); in Visit()
[all …]
/frameworks/av/services/audiopolicy/config/
DAndroid.bp30 name: "a2dp_in_audio_policy_configuration.xml",
35 name: "a2dp_audio_policy_configuration.xml",
40 name: "audio_policy_configuration.xml",
45 name: "r_submix_audio_policy_configuration.xml",
50 name: "audio_policy_volumes.xml",
55 name: "default_volume_tables.xml",
60 name: "surround_sound_configuration_5_0.xml",
65 name: "usb_audio_policy_configuration.xml",
70 name: "primary_audio_policy_configuration.xml",
77 srcs: ["a2dp_in_audio_policy_configuration.xml"],
[all …]
/frameworks/base/cmds/idmap2/tests/
DXmlParserTests.cpp44 auto xml = CreateTestParser("AndroidManifest.xml"); in TEST() local
45 ASSERT_TRUE(xml) << xml.GetErrorMessage(); in TEST()
54 auto xml = CreateTestParser("res/xml/test.xml"); in TEST() local
55 ASSERT_TRUE(xml) << xml.GetErrorMessage(); in TEST()
57 auto root_iter = xml->tree_iterator(); in TEST()
84 auto xml = CreateTestParser("res/xml/test.xml"); in TEST() local
85 ASSERT_TRUE(xml) << xml.GetErrorMessage(); in TEST()
88 auto root_iter = xml->tree_iterator(); in TEST()
110 auto xml = CreateTestParser("res/xml/test.xml"); in TEST() local
111 ASSERT_TRUE(xml) << xml.GetErrorMessage(); in TEST()
[all …]
/frameworks/base/core/res/
DOWNERS30 # TODO(262451702): Move WindowManager configs out of config.xml in a separate file
31 per-file res/values/config.xml = file:/services/core/java/com/android/server/wm/OWNERS
32 per-file res/values/symbols.xml = file:/services/core/java/com/android/server/wm/OWNERS
35 per-file res/xml/public-staging.xml = file:/tools/aapt2/OWNERS
36 per-file res/xml/public-final.xml = file:/tools/aapt2/OWNERS
39 per-file res/xml/config_user_types.xml = file:/MULTIUSER_OWNERS
42 per-file res/values/dimens_car.xml = file:/platform/packages/services/Car:/OWNERS
48 per-file res/xml/power_profile.xml = file:/BATTERY_STATS_OWNERS
49 per-file res/xml/power_profile_test.xml = file:/BATTERY_STATS_OWNERS
52 per-file res/values/config_telephony.xml = file:/platform/frameworks/opt/telephony:/OWNERS
[all …]
/frameworks/base/tools/aapt2/cmd/
DUtil.cpp138 static xml::AaptAttribute CreateAttributeWithId(const ResourceId& id) { in CreateAttributeWithId()
139 return xml::AaptAttribute(Attribute(), id); in CreateAttributeWithId()
142 static xml::NamespaceDecl CreateAndroidNamespaceDecl() { in CreateAndroidNamespaceDecl()
143 xml::NamespaceDecl decl; in CreateAndroidNamespaceDecl()
145 decl.uri = xml::kSchemaAndroid; in CreateAndroidNamespaceDecl()
174 std::unique_ptr<xml::XmlResource> GenerateSplitManifest(const AppInfo& app_info, in GenerateSplitManifest()
181 std::unique_ptr<xml::Element> manifest_el = util::make_unique<xml::Element>(); in GenerateSplitManifest()
184 manifest_el->attributes.push_back(xml::Attribute{"", "package", app_info.package}); in GenerateSplitManifest()
188 manifest_el->attributes.push_back(xml::Attribute{ in GenerateSplitManifest()
189 xml::kSchemaAndroid, "versionCode", std::to_string(version_code), in GenerateSplitManifest()
[all …]
/frameworks/base/tools/aapt2/xml/
DXmlUtil_test.cpp24 ASSERT_FALSE(xml::ExtractPackageFromNamespace("com.android")); in TEST()
25 ASSERT_FALSE(xml::ExtractPackageFromNamespace("http://schemas.android.com/apk")); in TEST()
26 ASSERT_FALSE(xml::ExtractPackageFromNamespace("http://schemas.android.com/apk/res")); in TEST()
27 ASSERT_FALSE(xml::ExtractPackageFromNamespace("http://schemas.android.com/apk/res/")); in TEST()
28 ASSERT_FALSE(xml::ExtractPackageFromNamespace("http://schemas.android.com/apk/prv/res/")); in TEST()
30 std::optional<xml::ExtractedPackage> p = in TEST()
31 xml::ExtractPackageFromNamespace("http://schemas.android.com/apk/res/a"); in TEST()
36 p = xml::ExtractPackageFromNamespace("http://schemas.android.com/apk/prv/res/android"); in TEST()
41 p = xml::ExtractPackageFromNamespace("http://schemas.android.com/apk/prv/res/com.test"); in TEST()
46 p = xml::ExtractPackageFromNamespace("http://schemas.android.com/apk/res-auto"); in TEST()
/frameworks/base/apct-tests/perftests/core/src/android/util/
DXmlPerfTest.java119 TypedXmlPullParser xml = inFactory.get(); in doRead() local
120 xml.setInput(is, StandardCharsets.UTF_8.name()); in doRead()
121 read(xml); in doRead()
252 private static void read(TypedXmlPullParser xml) throws Exception { in read() argument
257 while ((type = xml.next()) != XmlPullParser.END_DOCUMENT) { in read()
258 final String tag = xml.getName(); in read()
261 xml.getAttributeValue(null, "name"); in read()
262 xml.getAttributeValue(null, "codePath"); in read()
263 xml.getAttributeValue(null, "nativeLibraryPath"); in read()
264 xml.getAttributeLong(null, "publicFlags"); in read()
[all …]
/frameworks/base/wifi/migration_samples/
DREADME.txt12 1) WifiConfigStore.xml - General storage for shared configurations. Includes
14 AOSP Path in Android 10: /data/misc/wifi/WifiConfigStore.xml
15 AOSP Path in Android 11: /data/misc/apexdata/com.android/wifi/WifiConfigStore.xml
16 Sample File (in this folder): Shared_WifiConfigStore.xml
18 2) WifiConfigStoreSoftAp.xml - Storage for user's softap/tethering configuration.
21 AOSP Path in Android 11: /data/misc/apexdata/com.android/wifi/WifiConfigStore.xml
22 Sample File (in this folder): Shared_WifiConfigStoreSoftAp.xml
26 3) WifiConfigStore.xml - General storage for user specific configurations. Includes
28 AOSP Path in Android 10: /data/misc_ce/<userId>/wifi/WifiConfigStore.xml
29 AOSP Path in Android 11: /data/misc_ce/<userId>/apexdata/com.android/wifi/WifiConfigStore.xml
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/apks/install_uses_sdk/
DAndroid.bp13 manifest: "AndroidManifest-q0.xml",
19 manifest: "AndroidManifest-q0-r0.xml",
25 manifest: "AndroidManifest-r-none.xml",
31 manifest: "AndroidManifest-r0.xml",
37 manifest: "AndroidManifest-r5.xml",
43 manifest: "AndroidManifest-r1000.xml",
49 manifest: "AndroidManifest-r0-s0.xml",
55 manifest: "AndroidManifest-r0-s1000.xml",
61 manifest: "AndroidManifest-r0-s5.xml",
67 manifest: "AndroidManifest-0.xml",
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationLegacySettingsTest.kt79 val xml = file.readText() in writeAndReadBackNormal() constant
82 assertWithMessage(xml).that(newSettings.remove("com.test.one")).isNull() in writeAndReadBackNormal()
83 assertWithMessage(xml).that(newSettings.getUserState("com.test.one", 0)) in writeAndReadBackNormal()
85 assertWithMessage(xml).that(newSettings.getUserState("com.test.one", 10)) in writeAndReadBackNormal()
89 assertWithMessage(xml).that(firstUserStates).isNotNull() in writeAndReadBackNormal()
90 assertWithMessage(xml).that(firstUserStates!!.size()).isEqualTo(2) in writeAndReadBackNormal()
91 assertWithMessage(xml).that(firstUserStates[0]) in writeAndReadBackNormal()
93 assertWithMessage(xml).that(firstUserStates[10]) in writeAndReadBackNormal()
96 assertWithMessage(xml).that(newSettings.remove("com.test.two")).isNull() in writeAndReadBackNormal()
97 assertWithMessage(xml).that(newSettings.getUserStates("com.test.two")).isNull() in writeAndReadBackNormal()
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/apks/keyset/
DAndroid.bp16 manifest: "uNone/AndroidManifest.xml",
24 manifest: "uA/AndroidManifest.xml",
32 manifest: "uB/AndroidManifest.xml",
40 manifest: "uAB/AndroidManifest.xml",
48 manifest: "uAuB/AndroidManifest.xml",
56 manifest: "permDef/AndroidManifest.xml",
64 manifest: "permUse/AndroidManifest.xml",
73 manifest: "uA/AndroidManifest.xml",
81 manifest: "uB/AndroidManifest.xml",
89 manifest: "permUse/AndroidManifest.xml",
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/config/example/phone/
DAndroid.bp35 name: "audio_policy_engine_configuration.xml",
39 ":audio_policy_engine_criterion_types.xml",
40 ":audio_policy_engine_criteria.xml",
41 ":audio_policy_engine_product_strategies.xml",
42 ":audio_policy_engine_volumes.xml",
46 name: "audio_policy_engine_product_strategies.xml",
48 src: "audio_policy_engine_product_strategies.xml",
51 name: "audio_policy_engine_stream_volumes.xml",
56 name: "audio_policy_engine_default_stream_volumes.xml",
61 name: "audio_policy_engine_criterion_types.xml",
[all …]
/frameworks/av/services/audiopolicy/enginedefault/config/example/
DAndroid.bp32 name: "audio_policy_engine_configuration.xml",
34 src: "phone/audio_policy_engine_configuration.xml",
36 ":audio_policy_engine_stream_volumes.xml",
37 ":audio_policy_engine_default_stream_volumes.xml",
38 ":audio_policy_engine_product_strategies.xml",
42 name: "audio_policy_engine_product_strategies.xml",
44 src: "phone/audio_policy_engine_product_strategies.xml",
47 name: "audio_policy_engine_stream_volumes.xml",
49 src: "phone/audio_policy_engine_stream_volumes.xml",
52 name: "audio_policy_engine_default_stream_volumes.xml",
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/config/example/automotive/
DAndroid.bp35 name: "audio_policy_engine_configuration.xml",
39 ":audio_policy_engine_criterion_types.xml",
40 ":audio_policy_engine_criteria.xml",
41 ":audio_policy_engine_product_strategies.xml",
42 ":audio_policy_engine_volumes.xml",
46 name: "audio_policy_engine_product_strategies.xml",
48 src: "audio_policy_engine_product_strategies.xml",
51 name: "audio_policy_engine_volumes.xml",
56 name: "audio_policy_engine_criterion_types.xml",
88 srcs: ["audio_policy_engine_configuration.xml"],
[all …]
/frameworks/base/core/xsd/schema/
Dcurrent.txt2 package com.android.xml.permission.configfile {
138 …method public java.util.List<com.android.xml.permission.configfile.OemPermissions.DenyPermission> …
139 …method public java.util.List<com.android.xml.permission.configfile.OemPermissions.Permission> getP…
164 …method public java.util.List<com.android.xml.permission.configfile.AllowAssociation> getAllowAssoc…
165 …method public java.util.List<com.android.xml.permission.configfile.AllowIgnoreLocationSettings> ge…
166 …method public java.util.List<com.android.xml.permission.configfile.AllowImplicitBroadcast> getAllo…
167 …method public java.util.List<com.android.xml.permission.configfile.AllowInDataUsageSave> getAllowI…
168 …method public java.util.List<com.android.xml.permission.configfile.AllowInPowerSaveExceptIdle> get…
169 …method public java.util.List<com.android.xml.permission.configfile.AllowInPowerSave> getAllowInPow…
170 …method public java.util.List<com.android.xml.permission.configfile.AllowUnthrottledLocation> getAl…
[all …]
/frameworks/base/tests/componentalias/
DAndroid.bp52 manifest: "AndroidManifest.xml",
54 "AndroidManifest_main.xml",
55 "AndroidManifest_service_aliases.xml",
56 "AndroidManifest_service_targets.xml",
58 test_config_template: "AndroidTest-template.xml",
67 manifest: "AndroidManifest.xml",
69 "AndroidManifest_sub1.xml",
70 "AndroidManifest_service_targets.xml",
72 test_config_template: "AndroidTest-template.xml",
81 manifest: "AndroidManifest.xml",
[all …]

12345678910>>...17