| /frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
| D | NotificationHistoryProtoHelperTest.java | 93 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testReadWriteNotifications() local 119 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testReadWriteNotifications_stringFieldsPersistedEvenIfNoPool() local 157 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testReadNotificationsWithPkgFilter() local 199 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testReadNotificationsWithNumberFilter() local 251 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testReadNotificationsWithNumberFilter_preExistingNotifs() local 289 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testReadMergeIntoExistingHistory() local
|
| D | ZenModeConfigTest.java | 206 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml() local 244 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml_pkg_component() local 268 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml_pkg_configActivity() local 293 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml_getPkg_nullPkg() local
|
| D | SnoozeHelperTest.java | 124 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXML_afterReading_noNPE() local 158 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testReadValidSnoozedFromCorrectly_timeDeadline() local 182 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testReadExpiredSnoozedNotification() local
|
| D | ZenModeHelperTest.java | 223 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeXmlAndPurge() local 236 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeXmlAndPurgeForUser() local 248 private TypedXmlPullParser getParserForByteStream(ByteArrayOutputStream baos) throws Exception { in getParserForByteStream() 867 ByteArrayOutputStream baos = writeXmlAndPurge(null); in testWriteXml() local 1027 ByteArrayOutputStream baos = writeXmlAndPurgeForUser(null, 10); in testWriteXml_onlyBackupsTargetUser() local 1050 ByteArrayOutputStream baos = writeXmlAndPurgeForUser(null, UserHandle.USER_SYSTEM); in testReadXmlRestore_forSystemUser() local 1068 ByteArrayOutputStream baos = writeXmlAndPurgeForUser(null, UserHandle.USER_SYSTEM); in testReadXmlRestore_forNonSystemUser() local 1115 ByteArrayOutputStream baos = writeXmlAndPurge(null); in testWriteXmlWithZenPolicy() local 1156 ByteArrayOutputStream baos = writeXmlAndPurgeForUser(null, UserHandle.USER_SYSTEM); in testReadXmlRestoreWithZenPolicy_forSystemUser() local 1183 ByteArrayOutputStream baos = writeXmlAndPurge(5); in testReadXmlRulesNotOverriden() local [all …]
|
| D | PreferencesHelperTest.java | 286 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeXmlAndPurge() local 402 ByteArrayOutputStream baos = writeXmlAndPurge(package10, uid10, true, 10); in testWriteXml_onlyBackupsTargetUser() local 427 ByteArrayOutputStream baos = writeXmlAndPurge(package0, uid0, true, 0); in testReadXml_onlyRestoresTargetUser() local 474 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, false, in testChannelXml() local 544 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testChannelXmlForBackup() local 597 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testBackupXml_backupCanonicalizedSoundUri() local 623 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testRestoreXml_withExistentCanonicalizedSoundUri() local 646 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testRestoreXml_withNonExistentCanonicalizedSoundUri_ignoreChannel() local 691 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testBackupRestoreXml_withNullSoundUri() local 724 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testChannelXml_backup() local [all …]
|
| D | ManagedServicesTest.java | 418 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadXml_writeReadDefaults() local 592 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_onlyBackupsForTargetUser() local 656 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_trimsMissingServices() local 688 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_writesSetting() local 720 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_doesNotWriteSetting() local 744 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_writesUserSet() local
|
| D | NotificationListenersTest.java | 120 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteExtraTag() local
|
| /frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
| D | XmlUtilsTest.java | 38 ByteArrayOutputStream baos = new ByteArrayOutputStream(1024); in testMapWithNullKeys() local 53 ByteArrayOutputStream baos = new ByteArrayOutputStream(1024); in testreadWriteXmlByteArrayValue() local
|
| D | FastXmlSerializerTest.java | 67 try (final ByteArrayOutputStream baos = new ByteArrayOutputStream()) { in checkPreserved() 90 try (final ByteArrayInputStream baos = new ByteArrayInputStream(data)) { in checkPreserved()
|
| /frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
| D | MainActivityTest.java | 32 ByteArrayOutputStream baos = new ByteArrayOutputStream(1024 * 1024); in encode() local 52 private Object createEncoder(ByteArrayOutputStream baos) throws ClassNotFoundException, in createEncoder()
|
| /frameworks/base/services/core/java/com/android/server/backup/ |
| D | UsageStatsBackupHelper.java | 38 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getBackupPayload() local
|
| /frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/ |
| D | PersistentSystemFontConfigTest.java | 57 try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) { in testWriteRead()
|
| /frameworks/base/services/core/java/com/android/server/timezone/ |
| D | CheckToken.java | 46 ByteArrayOutputStream baos = new ByteArrayOutputStream(12 /* (3 * sizeof(int)) */); in toByteArray() local
|
| /frameworks/base/identity/java/android/security/identity/ |
| D | Util.java | 69 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in publicKeyEncodeUncompressedForm() local
|
| /frameworks/layoutlib/bridge/src/android/graphics/ |
| D | NinePatch_Delegate.java | 77 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in serialize() local
|
| /frameworks/base/services/people/java/com/android/server/people/data/ |
| D | UserData.java | 144 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getBackupPayload() local
|
| D | ConversationStore.java | 218 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getBackupPayload() local
|
| /frameworks/base/core/tests/coretests/src/android/hardware/display/ |
| D | BrightnessConfigurationTest.java | 163 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadXml() local
|
| /frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
| D | PersistentDataStoreTest.java | 157 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStoreAndReloadOfBrightnessConfigurations() local
|
| D | AmbientBrightnessStatsTrackerTest.java | 333 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteThenReadAmbientBrightnessStats() local
|
| /frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
| D | UserManagerServiceUserInfoTest.java | 102 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadUserInfo() local
|
| /frameworks/base/telephony/java/android/telephony/ |
| D | UiccAccessRule.java | 88 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in encodeRules() local
|
| /frameworks/base/core/tests/coretests/src/android/util/ |
| D | Base64Test.java | 446 ByteArrayOutputStream baos; in testOutputStream() local
|
| /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
| D | BitmapUtils.java | 242 ByteArrayOutputStream baos = new ByteArrayOutputStream(65536); in compressToBytes() local
|
| /frameworks/base/core/java/android/net/ |
| D | NetworkPolicy.java | 254 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getBytesForBackup() local
|