Home
last modified time | relevance | path

Searched defs:baos (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationHistoryProtoHelperTest.java93 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
DZenModeConfigTest.java220 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml() local
247 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml_pkg_component() local
260 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml_pkg_configActivity() local
274 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml_getPkg_nullPkg() local
289 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml_emptyConditionId() local
301 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testZenPolicyXml_allUnset() local
326 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testZenPolicyXml() local
DSnoozeHelperTest.java122 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXML_afterReading_noNPE() local
156 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testReadValidSnoozedFromCorrectly_timeDeadline() local
180 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testReadExpiredSnoozedNotification() local
248 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testLongTagPersistedNotification() local
DZenModeHelperTest.java225 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeXmlAndPurge() local
238 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeXmlAndPurgeForUser() local
250 private TypedXmlPullParser getParserForByteStream(ByteArrayOutputStream baos) throws Exception { in getParserForByteStream()
869 ByteArrayOutputStream baos = writeXmlAndPurge(null); in testWriteXml() local
1029 ByteArrayOutputStream baos = writeXmlAndPurgeForUser(null, 10); in testWriteXml_onlyBackupsTargetUser() local
1052 ByteArrayOutputStream baos = writeXmlAndPurgeForUser(null, UserHandle.USER_SYSTEM); in testReadXmlRestore_forSystemUser() local
1070 ByteArrayOutputStream baos = writeXmlAndPurgeForUser(null, UserHandle.USER_SYSTEM); in testReadXmlRestore_forNonSystemUser() local
1117 ByteArrayOutputStream baos = writeXmlAndPurge(null); in testWriteXmlWithZenPolicy() local
1158 ByteArrayOutputStream baos = writeXmlAndPurgeForUser(null, UserHandle.USER_SYSTEM); in testReadXmlRestoreWithZenPolicy_forSystemUser() local
1185 ByteArrayOutputStream baos = writeXmlAndPurge(5); in testReadXmlRulesNotOverriden() local
[all …]
DPreferencesHelperTest.java314 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeXmlAndPurge() local
429 ByteArrayOutputStream baos = writeXmlAndPurge(package10, uid10, true, 10); in testWriteXml_onlyBackupsTargetUser() local
460 ByteArrayOutputStream baos = writeXmlAndPurge(package0, uid0, true, 0); in testReadXml_onlyRestoresTargetUser() local
506 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, false, in testChannelXml() local
575 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testChannelXmlForBackup() local
1049 ByteArrayOutputStream baos = writeXmlAndPurge( in testChannelXmlForNonBackup_postMigration() local
1129 ByteArrayOutputStream baos = writeXmlAndPurge( in testChannelXmlForBackup_postMigration() local
1211 ByteArrayOutputStream baos = writeXmlAndPurge( in testChannelXmlForBackup_postMigration_noExternal() local
1264 ByteArrayOutputStream baos = writeXmlAndPurge( in testChannelXmlForBackup_postMigration_noLocalSettings() local
1284 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testBackupXml_backupCanonicalizedSoundUri() local
[all …]
DManagedServicesTest.java430 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadXml_writeReadDefaults() local
604 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_onlyBackupsForTargetUser() local
668 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_trimsMissingServices() local
700 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_writesSetting() local
732 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_doesNotWriteSetting() local
756 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_writesUserSet() local
DNotificationListenersTest.java196 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteExtraTag() local
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DXmlUtilsTest.java38 ByteArrayOutputStream baos = new ByteArrayOutputStream(1024); in testMapWithNullKeys() local
53 ByteArrayOutputStream baos = new ByteArrayOutputStream(1024); in testreadWriteXmlByteArrayValue() local
DFastXmlSerializerTest.java67 try (final ByteArrayOutputStream baos = new ByteArrayOutputStream()) { in checkPreserved()
90 try (final ByteArrayInputStream baos = new ByteArrayInputStream(data)) { in checkPreserved()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DPersistentDataStoreTest.java183 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStoreAndReloadOfDisplayBrightnessConfigurations() local
244 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStoreAndReloadOfBrightnessConfigurations() local
297 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStoreAndRestoreResolution() local
332 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStoreAndRestoreRefreshRate() local
367 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testBrightnessInitialisesWithInvalidFloat() local
386 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStoreAndRestoreBrightnessNitsForDefaultDisplay() local
DAmbientBrightnessStatsTrackerTest.java333 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteThenReadAmbientBrightnessStats() local
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
DMainActivityTest.java32 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/
DUsageStatsBackupHelper.java38 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getBackupPayload() local
/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/
DPersistentSystemFontConfigTest.java57 try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) { in testWriteRead()
/frameworks/base/identity/java/android/security/identity/
DUtil.java64 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in publicKeyEncodeUncompressedForm() local
/frameworks/base/services/core/java/com/android/server/timezone/
DCheckToken.java46 ByteArrayOutputStream baos = new ByteArrayOutputStream(12 /* (3 * sizeof(int)) */); in toByteArray() local
/frameworks/base/core/java/android/content/pm/
DAppSearchShortcutPerson.java189 try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) { in transformToByteArray()
/frameworks/base/core/java/android/net/
DNetworkPolicy.java281 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getBytesForBackup() local
335 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getNetworkTemplateBytesForBackup() local
/frameworks/base/services/people/java/com/android/server/people/data/
DUserData.java144 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getBackupPayload() local
DConversationStore.java218 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getBackupPayload() local
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DBrightnessConfigurationTest.java163 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadXml() local
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java104 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadUserInfo() local
/frameworks/base/telephony/java/android/telephony/
DUiccAccessRule.java88 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in encodeRules() local
/frameworks/base/core/tests/coretests/src/android/util/
DBase64Test.java446 ByteArrayOutputStream baos; in testOutputStream() local
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
DBitmapUtils.java242 ByteArrayOutputStream baos = new ByteArrayOutputStream(65536); in compressToBytes() local

12