Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java186 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeXmlAndPurge() local
273 ByteArrayOutputStream baos = writeXmlAndPurge(package10, uid10, true, 10); in testWriteXml_onlyBackupsTargetUser() local
298 ByteArrayOutputStream baos = writeXmlAndPurge(package0, uid0, true, 0); in testReadXml_onlyRestoresTargetUser() local
343 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, false, in testChannelXml() local
411 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testChannelXmlForBackup() local
460 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testBackupXml_backupCanonicalizedSoundUri() local
486 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testRestoreXml_withExistentCanonicalizedSoundUri() local
508 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testRestoreXml_withNonExistentCanonicalizedSoundUri() local
551 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testBackupRestoreXml_withNullSoundUri() local
584 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testChannelXml_backup() local
[all …]
DNotificationChannelTest.java74 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testEmptyVibration_noException() local
85 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testBackupEmptySound() local
DZenModeHelperTest.java167 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeXmlAndPurge() local
180 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeXmlAndPurgeForUser() local
192 private XmlPullParser getParserForByteStream(ByteArrayOutputStream baos) throws Exception { in getParserForByteStream()
730 ByteArrayOutputStream baos = writeXmlAndPurge(null); in testWriteXml() local
754 ByteArrayOutputStream baos = writeXmlAndPurgeForUser(null, 10); in testWriteXml_onlyBackupsTargetUser() local
777 ByteArrayOutputStream baos = writeXmlAndPurgeForUser(null, UserHandle.USER_SYSTEM); in testReadXmlRestore_forSystemUser() local
795 ByteArrayOutputStream baos = writeXmlAndPurgeForUser(null, UserHandle.USER_SYSTEM); in testReadXmlRestore_forNonSystemUser() local
842 ByteArrayOutputStream baos = writeXmlAndPurge(null); in testWriteXmlWithZenPolicy() local
883 ByteArrayOutputStream baos = writeXmlAndPurgeForUser(null, UserHandle.USER_SYSTEM); in testReadXmlRestoreWithZenPolicy_forSystemUser() local
910 ByteArrayOutputStream baos = writeXmlAndPurge(5); in testReadXmlRulesNotOverriden() local
[all …]
DZenModeConfigTest.java173 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml() local
DManagedServicesTest.java365 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_onlyBackupsForTargetUser() local
429 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_trimsMissingServices() local
461 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_writesSetting() local
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DFastXmlSerializerTest.java67 try (final ByteArrayOutputStream baos = new ByteArrayOutputStream()) { in checkPreserved()
90 try (final ByteArrayInputStream baos = new ByteArrayInputStream(data)) { in checkPreserved()
DXmlUtilsTest.java30 ByteArrayOutputStream baos = new ByteArrayOutputStream(1024); in testMapWithNullKeys() 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/core/java/com/android/server/backup/
DUsageStatsBackupHelper.java38 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getBackupPayload() local
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java78 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadUserInfo() local
/frameworks/base/services/core/java/com/android/server/timezone/
DCheckToken.java46 ByteArrayOutputStream baos = new ByteArrayOutputStream(12 /* (3 * sizeof(int)) */); in toByteArray() 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/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
DBrightnessTrackerTest.java540 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteThenRead() local
591 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWritePrunesOldEvents() local
/frameworks/base/telephony/java/android/telephony/
DUiccAccessRule.java72 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in encodeRules() local
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DSmsMessage.java903 ByteArrayOutputStream baos = new ByteArrayOutputStream(100); in privateGetSubmitPdu() local
940 ByteArrayOutputStream baos = new ByteArrayOutputStream(100); in createPdu() local
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DGeneratedMessageTest.java719 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testSerialize() local
736 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testSerializePartial() 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
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java541 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getLockSettings() local
866 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getNetworkPolicies() local
/frameworks/base/core/java/android/net/
DNetworkPolicy.java253 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getBytesForBackup() local
DNetworkTemplate.java511 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getBytesForBackup() local
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java931 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getBackupPayload() local
1097 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in serializeIntervalStats() local

12