Home
last modified time | relevance | path

Searched defs:baos (Results 1 – 25 of 37) 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
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
DZenModeHelperTest.java199 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeXmlAndPurge() local
212 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeXmlAndPurgeForUser() local
224 private XmlPullParser getParserForByteStream(ByteArrayOutputStream baos) throws Exception { in getParserForByteStream()
838 ByteArrayOutputStream baos = writeXmlAndPurge(null); in testWriteXml() local
958 ByteArrayOutputStream baos = writeXmlAndPurgeForUser(null, 10); in testWriteXml_onlyBackupsTargetUser() local
981 ByteArrayOutputStream baos = writeXmlAndPurgeForUser(null, UserHandle.USER_SYSTEM); in testReadXmlRestore_forSystemUser() local
999 ByteArrayOutputStream baos = writeXmlAndPurgeForUser(null, UserHandle.USER_SYSTEM); in testReadXmlRestore_forNonSystemUser() local
1046 ByteArrayOutputStream baos = writeXmlAndPurge(null); in testWriteXmlWithZenPolicy() local
1087 ByteArrayOutputStream baos = writeXmlAndPurgeForUser(null, UserHandle.USER_SYSTEM); in testReadXmlRestoreWithZenPolicy_forSystemUser() local
1114 ByteArrayOutputStream baos = writeXmlAndPurge(5); in testReadXmlRulesNotOverriden() local
[all …]
DPreferencesHelperTest.java230 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeXmlAndPurge() local
338 ByteArrayOutputStream baos = writeXmlAndPurge(package10, uid10, true, 10); in testWriteXml_onlyBackupsTargetUser() local
363 ByteArrayOutputStream baos = writeXmlAndPurge(package0, uid0, true, 0); in testReadXml_onlyRestoresTargetUser() local
410 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, false, in testChannelXml() local
481 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testChannelXmlForBackup() local
534 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testBackupXml_backupCanonicalizedSoundUri() local
561 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testRestoreXml_withExistentCanonicalizedSoundUri() local
583 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testRestoreXml_withNonExistentCanonicalizedSoundUri() local
627 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testBackupRestoreXml_withNullSoundUri() local
660 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testChannelXml_backup() local
[all …]
DZenModeConfigTest.java203 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml() local
DManagedServicesTest.java355 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadXml_writeReadDefaults() local
516 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_onlyBackupsForTargetUser() local
580 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_trimsMissingServices() local
612 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_writesSetting() local
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DXmlUtilsTest.java39 ByteArrayOutputStream baos = new ByteArrayOutputStream(1024); in testMapWithNullKeys() local
54 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/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSoftApBackupRestoreTest.java114 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getBytesForBackup() local
299 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in retrieveVersion5BackupDataFromSoftApConfiguration() local
351 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in retrieveVersion6BackupDataFromSoftApConfiguration() local
/frameworks/base/services/core/java/com/android/server/backup/
DUsageStatsBackupHelper.java38 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getBackupPayload() 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/identity/java/android/security/identity/
DUtil.java64 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in publicKeyEncodeUncompressedForm() local
/frameworks/layoutlib/bridge/src/android/graphics/
DNinePatch_Delegate.java77 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in serialize() local
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DURLFetcher.java139 ByteArrayOutputStream baos = new ByteArrayOutputStream(length); in inputStreamToString() local
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSoftApBackupRestore.java78 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in retrieveBackupDataFromSoftApConfiguration() local
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java100 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadUserInfo() local
/frameworks/base/services/people/java/com/android/server/people/data/
DUserData.java144 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getBackupPayload() local
DConversationStore.java205 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getBackupPayload() local
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DPersistentDataStoreTest.java157 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStoreAndReloadOfBrightnessConfigurations() local
DAmbientBrightnessStatsTrackerTest.java333 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteThenReadAmbientBrightnessStats() local
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DBrightnessConfigurationTest.java165 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadXml() local
/frameworks/base/telephony/java/android/telephony/
DUiccAccessRule.java77 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