Home
last modified time | relevance | path

Searched defs:xml (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/graphics/
DFontListParserTest.java64 String xml = "<?xml version='1.0' encoding='UTF-8'?>" in named() local
80 String xml = "<?xml version='1.0' encoding='UTF-8'?>" in fallback() local
101 String xml = "<?xml version='1.0' encoding='UTF-8'?>" in compact() local
118 String xml = "<?xml version='1.0' encoding='UTF-8'?>" in elegant() local
135 String xml = "<?xml version='1.0' encoding='UTF-8'?>" in styles() local
159 String xml = "<?xml version='1.0' encoding='UTF-8'?>" in variable() local
188 String xml = "<?xml version='1.0' encoding='UTF-8'?>" in ttc() local
209 String xml = "<?xml version='1.0' encoding='UTF-8'?>" in psName() local
229 String xml = "<?xml version='1.0' encoding='UTF-8'?>" in invalidXml_unpaired_family() local
245 String xml = "<?xml version='1.0' encoding='UTF-8'?>" in invalidXml_unpaired_font() local
[all …]
DTypefaceSystemFallbackTest.java157 private static void buildSystemFallback( in buildSystemFallback()
237 final String xml = "<?xml version='1.0' encoding='UTF-8'?>" in testBuildSystemFallback_NonExistentFontShouldBeIgnored() local
263 final String xml = "<?xml version='1.0' encoding='UTF-8'?>" in testBuildSystemFallback_NamedFamily() local
309 final String xml = "<?xml version='1.0' encoding='UTF-8'?>" in testBuildSystemFallback_defaultFallback() local
348 final String xml = "<?xml version='1.0' encoding='UTF-8'?>" in testBuildSystemFallback_namedFallbackFamily() local
400 final String xml = "<?xml version='1.0' encoding='UTF-8'?>" in testBuildSystemFallback_namedFallbackFamily2() local
450 final String xml = "<?xml version='1.0' encoding='UTF-8'?>" in testBuildSystemFallback_ImplicitSansSerifFallback() local
489 final String xml = "<?xml version='1.0' encoding='UTF-8'?>" in testBuildSystemFallback_ElegantFallback() local
527 final String xml = "<?xml version='1.0' encoding='UTF-8'?>" in testBuildSystemFallback_ElegantFallback_customFallback() local
579 final String xml = "<?xml version='1.0' encoding='UTF-8'?>" in testBuildSystemFallback_multiLingualFamilies() local
[all …]
/frameworks/base/core/tests/vibrator/src/android/os/vibrator/persistence/
DVibrationEffectXmlSerializationTest.java77 String xml = "<vibration-effect>" in testParseElement_fromVibrationTag_succeedAndParserPointsToEndVibrationTag() local
144 String xml = "<vibration-select>" + vibrationXml1 + vibrationXml2 + "</vibration-select>"; in testParseElement_fromVibrationSelectTag_succeedAndParserPointsToEndVibrationSelectTag() local
186 String xml = in testParseElement_withHiddenApis_onlySucceedsWithFlag() local
239 String xml = "<vibration-effect>" in testPrimitives_allSucceed() local
259 String xml = in testParseDocument_withVibrationSelectTag_withHiddenApis_onlySucceedsWithFlag() local
278 String xml = "<vibration-effect>" in testWaveforms_allSucceed() local
301 String xml = String.format( in testPredefinedEffects_publicEffectsWithDefaultFallback_allSucceed() local
319 String xml = String.format( in testPredefinedEffects_hiddenEffects_onlySucceedsWithFlag() local
338 String xml = String.format( in testPredefinedEffects_allEffectsWithNonDefaultFallback_onlySucceedsWithFlag() local
352 private void assertPublicApisParserFails(String xml) throws IOException { in assertPublicApisParserFails()
[all …]
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DHapticFeedbackCustomizationTest.java98 String xml = "<haptic-feedback-constants>" in testParseCustomizations_featureFlagDisabled_returnsNull() local
111 String xml = "<haptic-feedback-constants>" in testParseCustomizations_oneVibrationCustomization_success() local
124 String xml = "<haptic-feedback-constants>" in testParseCustomizations_oneVibrationSelectCustomization_success() local
139 String xml = "<haptic-feedback-constants>" in testParseCustomizations_multipleCustomizations_success() local
172 String xml = "<haptic-feedback-constants>" in testParseCustomizations_multipleCustomizations_noSupportedVibration_success() local
201 String xml = "<haptic-feedback-constants>" in testParseCustomizations_multipleCustomizations_someUnsupportedVibration_success() local
404 String xml, SparseArray<VibrationEffect> expectedCustomizations) throws Exception { in assertParseCustomizationsSucceeds()
411 private void assertParseCustomizationsFails(String xml) throws Exception { in assertParseCustomizationsFails()
426 private void setupCustomizationFile(String xml) throws Exception { in setupCustomizationFile()
/frameworks/base/cmds/idmap2/tests/
DXmlParserTests.cpp44 auto xml = CreateTestParser("AndroidManifest.xml"); in TEST() local
54 auto xml = CreateTestParser("res/xml/test.xml"); in TEST() local
84 auto xml = CreateTestParser("res/xml/test.xml"); in TEST() local
110 auto xml = CreateTestParser("res/xml/test.xml"); in TEST() local
145 auto xml = CreateTestParser("res/xml/test.xml"); in TEST() local
/frameworks/base/tests/Input/src/com/android/server/input/
DConfigurationProcessorTest.java52 InputStream xml = mContext.getResources().openRawResource(res); in testGetInputPortAssociations() local
69 InputStream xml = mContext.getResources().openRawResource(res); in testGetInputPortAssociationsBadDisplayport() local
83 InputStream xml = mContext.getResources().openRawResource(res); in testGetInputPortAssociationsEmptyConfig() local
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAssistantsTest.java198 String xml = "<enabled_assistants version=\"4\" defaults=\"b/b\">" in testReadXml_userDisabled() local
221 String xml = "<enabled_assistants version=\"4\" defaults=\"b/b\">" in testReadXml_userDisabled_restore() local
248 String xml = "<enabled_assistants version=\"3\" defaults=\"b/b\">" in testReadXml_upgradeUserSet() local
268 String xml = "<enabled_assistants version=\"3\" defaults=\"b/b\">" in testReadXml_upgradeUserSet_preS_VersionThree() local
289 String xml = "<enabled_assistants version=\"1\" defaults=\"b/b\">" in testReadXml_upgradeUserSet_preS_VersionOne() local
310 String xml = "<enabled_assistants version=\"3\" defaults=\"b/b\">" in testReadXml_upgradeUserSet_preS_noUserSet() local
330 String xml = "<enabled_assistants version=\"3\" defaults=\"a/a\">" in testReadXml_upgradeUserSet_preS_noUserSet_diffDefault() local
354 String xml = "<enabled_assistants version=\"4\" defaults=\"b/b\">" in testReadXml_multiApproved() local
373 String xml = "<enabled_assistants version=\"2\" defaults=\"b\\b\">" in testXmlUpgradeExistingApprovedComponents() local
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser_test.cpp383 static constexpr const char* xml = R"xml( local
407 static constexpr const char* xml = local
425 static constexpr const char* xml = R"xml(<abi-group label="arm64-v8a"/>)xml"; local
435 static constexpr const char* xml = R"xml(<abi-group label="arm" order="2"/>)xml"; local
445 static constexpr const char* xml = R"xml( local
475 static constexpr const char* xml = local
496 static constexpr const char* xml = R"xml(<screen-density-group label="xhdpi"/>)xml"; local
506 static constexpr const char* xml = R"xml(<screen-density-group label="really-big-screen"/>)xml"; local
516 static constexpr const char* xml = R"xml( local
544 static constexpr const char* xml = R"xml(<locale-group label="en" version-code-order="6"/>)xml"; local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/
DAndroidPackageParsingValidationTest.kt558 var xml = "<application>$tags</application>" in <lambda>() variable
588 val xml = "<$tag $attr=\"$name\" />" in <lambda>() constant
630 val xml = "<$tag $attr=\"$name\" />" in <lambda>() constant
664 val xml = "<$tag $name=\"$value\" />" in <lambda>() constant
696 val xml = "<$tag $name=\"$value\" />" in <lambda>() constant
720 val xml = "<$parentTag>$tags</$parentTag>" in <lambda>() constant
733 val xml = "<$parentTag>$tags</$parentTag>" in <lambda>() constant
744 val xml = "<manifest package=\"test\">$dataTags</manifest>" in <lambda>() constant
/frameworks/base/core/tests/coretests/src/android/util/
DBinaryXmlTest.java120 TypedXmlSerializer xml = Xml.newFastSerializer(); in testResolve_File() local
131 TypedXmlSerializer xml = Xml.newBinarySerializer(); in testResolve_File() local
146 TypedXmlSerializer xml = Xml.newFastSerializer(); in testResolve_Memory() local
163 TypedXmlSerializer xml = Xml.newBinarySerializer(); in testResolve_Memory() local
/frameworks/base/services/core/java/com/android/server/input/
DConfigurationProcessor.java37 static List<String> processExcludedDeviceNames(InputStream xml) throws Exception { in processExcludedDeviceNames()
87 static Map<String, Integer> processInputPortAssociations(InputStream xml) in processInputPortAssociations()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerSettingsTests.java237 ByteArrayInputStream xml = new ByteArrayInputStream(os.toByteArray()); in testPersistEmpty() local
250 ByteArrayInputStream xml = new ByteArrayInputStream(os.toByteArray()); in testPersistDifferentOverlaysSameUser() local
269 ByteArrayInputStream xml = new ByteArrayInputStream(os.toByteArray()); in testPersistSameOverlayDifferentUsers() local
288 ByteArrayInputStream xml = new ByteArrayInputStream(os.toByteArray()); in testPersistEnabled() local
296 final String xml = in testRestoreEmpty() local
308 final String xml = in testRestoreSingleUserSingleOverlay() local
/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/
DPersistentSystemFontConfigTest.java76 String xml = "<fontConfig>" in testWrongType() local
88 private static FontUpdateRequest.Family parseFontFamily(String xml) throws Exception { in parseFontFamily()
/frameworks/base/core/java/android/util/
DXml.java110 public static void parse(String xml, ContentHandler contentHandler) in parse()
238 final TypedXmlPullParser xml; in resolvePullParser() local
309 final TypedXmlSerializer xml; in resolveSerializer() local
323 final TypedXmlSerializer xml = new BinaryXmlSerializer(); in resolveSerializer$ravenwood() local
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewFallbackLineSpacingTest.java83 final String xml = "<?xml version='1.0' encoding='UTF-8'?>" in testFallbackLineSpacing() local
94 new FontFallbackSetup("DynamicLayout", testFontFiles, xml)) { in testFallbackLineSpacing() argument
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationLegacySettingsTest.kt79 val xml = file.readText() in writeAndReadBackNormal() constant
DDomainVerificationPackageTest.kt182 val xml = """ in <lambda>() constant
232 val xml = """ in <lambda>() constant
282 val xml = """ in <lambda>() constant
318 val xml = addPackagePendingOrRestoredWithInvalidDomains() in <lambda>() constant
342 val xml = addPackagePendingOrRestoredWithInvalidDomains() in <lambda>() constant
DDomainVerificationPersistenceTest.kt123 val xml = file.readText() in <lambda>() constant
210 val xml = """ in <lambda>() constant
/frameworks/base/core/java/android/content/
DRestrictionsManager.java612 XmlResourceParser xml = in getManifestRestrictions() local
618 XmlResourceParser xml) { in loadManifestRestrictions()
650 private RestrictionEntry loadRestrictionElement(Context appContext, XmlResourceParser xml) in loadRestrictionElement()
663 … private RestrictionEntry loadRestriction(Context appContext, TypedArray a, XmlResourceParser xml) in loadRestriction()
/frameworks/base/apct-tests/perftests/core/src/android/util/
DXmlPerfTest.java121 TypedXmlPullParser xml = inFactory.get(); in doRead() local
254 private static void read(TypedXmlPullParser xml) throws Exception { in read()
/frameworks/base/tools/aapt2/cmd/
DConvert.cpp74 bool SerializeXml(const xml::XmlResource* xml, const std::string& path, bool utf16, in SerializeXml()
117 unique_ptr<xml::XmlResource> xml = DeserializeXmlResourceFromPb(pb_node, &error); in SerializeFile() local
157 bool SerializeXml(const xml::XmlResource* xml, const std::string& path, bool utf16, in SerializeXml()
181 std::unique_ptr<xml::XmlResource> xml = xml::Inflate(data->data(), data->size(), &error); in SerializeFile() local
DApkInfo.cpp49 auto xml = apk->LoadXml(xml_resource, diag); in ExportApkInfo() local
/frameworks/base/tools/aapt2/xml/
DXmlPullParser_test.cpp32 namespace xml { namespace
/frameworks/base/sax/tests/saxtests/src/android/sax/
DSafeSaxTest.java78 String xml = "<feed xmlns='http://www.w3.org/2005/Atom'>\n" in testListener() local
111 String xml = "<feed></feed>"; in testMissingRequiredChild() local
125 String xml = "<feed><entry></entry></feed>"; in testMixedContent() local
/frameworks/base/core/tests/coretests/src/android/text/
DDynamicLayoutTest.java224 final String xml = "<?xml version='1.0' encoding='UTF-8'?>" in testFallbackLineSpacing() local
235 new FontFallbackSetup("DynamicLayout", testFontFiles, xml)) { in testFallbackLineSpacing() argument

123