/frameworks/base/core/tests/coretests/src/android/util/ |
D | BinaryXmlTest.java | 56 final TypedXmlSerializer out = Xml.newBinarySerializer(); in testLargeInterned_Binary() 66 final TypedXmlPullParser in = Xml.newBinaryPullParser(); in testLargeInterned_Binary() 75 doTranscode(Xml.newFastSerializer(), Xml.newFastPullParser(), in testTranscode_FastToBinary() 76 Xml.newBinarySerializer(), Xml.newBinaryPullParser()); in testTranscode_FastToBinary() 81 doTranscode(Xml.newBinarySerializer(), Xml.newBinaryPullParser(), in testTranscode_BinaryToFast() 82 Xml.newFastSerializer(), Xml.newFastPullParser()); in testTranscode_BinaryToFast() 99 Xml.copy(firstIn, secondOut); in doTranscode() 112 TypedXmlSerializer xml = Xml.newFastSerializer(); in testResolve_File() 117 doVerifyRead(Xml.resolvePullParser(is)); in testResolve_File() 123 TypedXmlSerializer xml = Xml.newBinarySerializer(); in testResolve_File() [all …]
|
D | XmlTest.java | 45 doLargeValues(XmlUtils.makeTyped(Xml.newSerializer()), in testLargeValues_Normal() 46 XmlUtils.makeTyped(Xml.newPullParser())); in testLargeValues_Normal() 51 doLargeValues(Xml.newFastSerializer(), in testLargeValues_Fast() 52 Xml.newFastPullParser()); in testLargeValues_Fast() 57 final TypedXmlSerializer out = Xml.newFastSerializer(); in testLargeValues_FastIndenting() 60 Xml.newFastPullParser()); in testLargeValues_FastIndenting() 65 doLargeValues(Xml.newBinarySerializer(), in testLargeValues_Binary() 66 Xml.newBinaryPullParser()); in testLargeValues_Binary() 100 doPersistableBundle(XmlUtils.makeTyped(Xml.newSerializer()), in testPersistableBundle_Normal() 101 XmlUtils.makeTyped(Xml.newPullParser())); in testPersistableBundle_Normal() [all …]
|
/frameworks/base/cmds/abx/src/com/android/commands/abx/ |
D | Abx.java | 19 import android.util.Xml; 72 in = Xml.newBinaryPullParser(); in mainInternal() 73 out = Xml.newSerializer(); in mainInternal() 75 in = Xml.newPullParser(); in mainInternal() 76 out = Xml.newBinarySerializer(); in mainInternal() 90 Xml.copy(in, out); in mainInternal()
|
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
D | SafeSaxTest.java | 31 import android.util.Xml; 103 Xml.parse(xml, root.getContentHandler()); in testListener() 120 Xml.parse(xml, root.getContentHandler()); in testMissingRequiredChild() 138 Xml.parse(xml, root.getContentHandler()); in testMixedContent() 175 Xml.parse(inputStream, Xml.Encoding.UTF_8, new YouTubeContentHandler(videoAdapter)); in pureSaxTest() 183 Xml.parse(inputStream, Xml.Encoding.UTF_8, newContentHandler(videoAdapter)); in saxyModelTest() 191 Xml.parse(inputStream, Xml.Encoding.UTF_8, contentHandler); in saxyModelTest()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | XmlUtilsTest.java | 23 import android.util.Xml; 54 TypedXmlSerializer serializer = Xml.newFastSerializer(); in testreadWriteXmlByteArrayValue() 61 TypedXmlPullParser pullParser = Xml.newFastPullParser(); in testreadWriteXmlByteArrayValue()
|
/frameworks/base/apct-tests/perftests/core/src/android/util/ |
D | XmlPerfTest.java | 57 doWrite(() -> Xml.newFastSerializer()); in timeWrite_Fast() 62 doWrite(() -> Xml.newBinarySerializer()); in timeWrite_Binary() 92 doRead(() -> Xml.newFastSerializer(), () -> Xml.newFastPullParser()); in timeRead_Fast() 97 doRead(() -> Xml.newBinarySerializer(), () -> Xml.newBinaryPullParser()); in timeRead_Binary()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | ConfigurationProcessor.java | 22 import android.util.Xml; 40 TypedXmlPullParser parser = Xml.resolvePullParser(xml); in processExcludedDeviceNames() 91 TypedXmlPullParser parser = Xml.resolvePullParser(xml); in processInputPortAssociations()
|
/frameworks/base/core/java/android/content/ |
D | DefaultDataHandler.java | 20 import android.util.Xml; 90 Xml.parse(in, Xml.Encoding.UTF_8, this); in insert() 96 Xml.parse(in, this); in insert()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationAssistantsTest.java | 50 import android.util.Xml; 146 final TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadXml_userDisabled() 169 final TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadXml_upgradeUserSet() 189 final TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadXml_upgradeUserSet_preS_VersionThree() 210 final TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadXml_upgradeUserSet_preS_VersionOne() 230 final TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadXml_upgradeUserSet_preS_noUserSet() 250 final TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadXml_upgradeUserSet_preS_noUserSet_diffDefault() 275 final TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadXml_multiApproved() 293 TypedXmlPullParser parser = Xml.newFastPullParser(); in testXmlUpgradeExistingApprovedComponents() 309 TypedXmlPullParser parser = Xml.newFastPullParser(); in testXmlMigratingAllowedAdjustments()
|
/frameworks/base/services/core/java/com/android/server/integrity/parser/ |
D | RuleMetadataParser.java | 21 import android.util.Xml; 45 TypedXmlPullParser xmlPullParser = Xml.resolvePullParser(inputStream); in parse()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsXml.java | 20 import android.util.Xml; 36 XmlPullParser parser = Xml.newPullParser(); in read()
|
/frameworks/base/services/core/java/com/android/server/integrity/serializer/ |
D | RuleMetadataSerializer.java | 23 import android.util.Xml; 38 TypedXmlSerializer xmlSerializer = Xml.resolveSerializer(outputStream); in serialize()
|
/frameworks/base/services/core/java/com/android/server/sensorprivacy/ |
D | AllSensorStateController.java | 26 import android.util.Xml; 72 TypedXmlPullParser parser = Xml.resolvePullParser(inputStream); in AllSensorStateController() 133 TypedXmlSerializer serializer = Xml.resolveSerializer(outputStream); in persist()
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | WatchlistSettings.java | 25 import android.util.Xml; 97 TypedXmlPullParser parser = Xml.resolvePullParser(stream); in reloadSettings() 149 TypedXmlSerializer out = Xml.resolveSerializer(stream); in saveSettings()
|
/frameworks/base/services/core/java/com/android/server/graphics/fonts/ |
D | PersistentSystemFontConfig.java | 26 import android.util.Xml; 58 TypedXmlPullParser parser = Xml.resolvePullParser(is); in loadFromXml() 98 TypedXmlSerializer out = Xml.resolveSerializer(os); in writeToXml()
|
/frameworks/base/core/tests/coretests/src/android/security/ |
D | CredentialManagementAppTest.java | 24 import android.util.Xml; 118 XmlSerializer xml = Xml.newSerializer(); in writeToXml() 133 final XmlPullParser parser = Xml.newPullParser(); in readFromXml()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | FactoryResetProtectionPolicyTest.java | 28 import android.util.Xml; 103 TypedXmlPullParser parser = Xml.newFastPullParser(); in testSerializationAndDeserialization() 125 final TypedXmlSerializer outXml = Xml.newFastSerializer(); in serialize()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest4.java | 28 import android.util.Xml; 114 Assume.assumeFalse(Xml.ENABLE_BINARY_DEFAULT); in testPersistingWeirdCharacters()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/ |
D | ControlsFavoritePersistenceWrapper.kt | 23 import android.util.Xml in <lambda>() 105 Xml.newSerializer().apply { in <lambda>() 168 val parser = Xml.newPullParser() in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameManagerSettings.java | 26 import android.util.Xml; 112 final TypedXmlSerializer serializer = Xml.resolveSerializer(fstr); in writePersistentDataLocked() 156 final TypedXmlPullParser parser = Xml.resolvePullParser(str); in readPersistentDataLocked()
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/ |
D | DomainVerificationPersistenceTest.kt | 25 import android.util.Xml in <lambda>() 49 Xml.newBinarySerializer() in <lambda>() 70 val parser = Xml.resolvePullParser(it) in <lambda>() 285 .readFromXml(Xml.resolvePullParser(xml.byteInputStream())) in <lambda>()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/ |
D | PersistentSystemFontConfigTest.java | 23 import android.util.Xml; 89 XmlPullParser parser = Xml.newPullParser(); in parseFontFamily()
|
/frameworks/base/core/java/android/app/ |
D | AliasActivity.java | 28 import android.util.Xml; 92 AttributeSet attrs = Xml.asAttributeSet(parser); in parseAlias()
|
/frameworks/base/services/core/java/com/android/server/locales/ |
D | SystemAppUpdateTracker.java | 33 import android.util.Xml; 130 final TypedXmlPullParser parser = Xml.newFastPullParser(); in readFromXml() 214 final TypedXmlSerializer xml = Xml.newFastSerializer(); in writeToXmlLocked()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackageItem.java | 26 import android.util.Xml; 170 itemOut = Xml.newFastSerializer(); in saveToFileLocked() 173 itemOut = Xml.resolveSerializer(os); in saveToFileLocked()
|