Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeConfigTest.java564 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml_classic() local
624 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml() local
669 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml_weirdEffects() local
686 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml_pkg_component() local
699 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml_pkg_configActivity() local
713 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml_getPkg_nullPkg() local
728 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml_emptyConditionId() local
743 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml_customInterruptionFilter() local
755 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testZenPolicyXml_allUnset() local
771 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml_userModifiedField() local
[all …]
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.java132 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXML_afterReading_noNPE() local
166 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testReadValidSnoozedFromCorrectly_timeDeadline() local
190 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testReadExpiredSnoozedNotification() local
258 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testLongTagPersistedNotification() local
DPreferencesHelperTest.java389 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeXmlAndPurge() local
536 ByteArrayOutputStream baos = writeXmlAndPurge(package10, uid10, true, 10); in testWriteXml_onlyBackupsTargetUser() local
567 ByteArrayOutputStream baos = writeXmlAndPurge(package0, uid0, true, 0); in testReadXml_onlyRestoresTargetUser() local
616 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, false, in testChannelXml() local
691 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testChannelXmlForBackup() local
1155 ByteArrayOutputStream baos = writeXmlAndPurge( in testChannelXmlForNonBackup_postMigration() local
1240 ByteArrayOutputStream baos = writeXmlAndPurge( in testChannelXmlForBackup_postMigration() local
1327 ByteArrayOutputStream baos = writeXmlAndPurge( in testChannelXmlForBackup_postMigration_noExternal() local
1379 ByteArrayOutputStream baos = writeXmlAndPurge( in testChannelXmlForBackup_postMigration_noLocalSettings() local
1400 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testBackupXml_backupCanonicalizedSoundUri() local
[all …]
DZenModeHelperTest.java393 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeXmlAndPurge() local
407 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeXmlAndPurgeForUser() local
420 private TypedXmlPullParser getParserForByteStream(ByteArrayOutputStream baos) throws Exception { in getParserForByteStream()
1107 ByteArrayOutputStream baos = writeXmlAndPurge(null); in testWriteXml() local
1180 ByteArrayOutputStream baos = writeXmlAndPurge(5); in testProtoWithDefaultAutoRules() local
1409 ByteArrayOutputStream baos = writeXmlAndPurgeForUser(null, 10); in testWriteXml_onlyBackupsTargetUser() local
1440 ByteArrayOutputStream baos = writeXmlAndPurgeForUser(null, UserHandle.USER_SYSTEM); in testReadXmlRestore_forSystemUser() local
1459 ByteArrayOutputStream baos = writeXmlAndPurgeForUser(null, UserHandle.USER_SYSTEM); in testReadXmlRestore_forNonSystemUser() local
1512 ByteArrayOutputStream baos = writeXmlAndPurge(null); in testWriteXmlWithZenPolicy() local
1559 ByteArrayOutputStream baos = writeXmlAndPurgeForUser(null, UserHandle.USER_SYSTEM); in testReadXmlRestoreWithZenPolicy_forSystemUser() local
[all …]
DManagedServicesTest.java447 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadXml_writeReadDefaults() local
621 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_onlyBackupsForTargetUser() local
685 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_trimsMissingServices() local
717 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_writesSetting() local
749 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_doesNotWriteSetting() local
773 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_writesUserSet() local
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DXmlUtilsTest.java45 ByteArrayOutputStream baos = new ByteArrayOutputStream(1024); in testMapWithNullKeys() local
61 ByteArrayOutputStream baos = new ByteArrayOutputStream(1024); in testreadWriteXmlByteArrayValue() local
DFastXmlSerializerTest.java82 try (final ByteArrayOutputStream baos = new ByteArrayOutputStream()) { in checkPreserved()
105 try (final ByteArrayInputStream baos = new ByteArrayInputStream(data)) { in checkPreserved()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DPersistentDataStoreTest.java158 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testSetBrightness_brightnessTagWithNoUserId_updatesToBrightnessTagWithUserId() local
300 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStoreAndReloadOfDisplayBrightnessConfigurations() local
362 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStoreAndReloadOfBrightnessConfigurations() local
416 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStoreAndRestoreResolution() local
452 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStoreAndRestoreRefreshRate() local
488 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testBrightnessInitialisesWithInvalidFloat() local
507 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/apct-tests/perftests/core/src/android/libcore/regression/
DSerializationPerfTest.java43 ByteArrayOutputStream baos = new ByteArrayOutputStream(1024); in bytes() local
111 ByteArrayOutputStream baos = new ByteArrayOutputStream(1024); in timeWriteNoObjects() local
134 ByteArrayOutputStream baos = new ByteArrayOutputStream(1024); in writeSingleObject() local
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java115 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadUserInfo() local
141 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadDevicePolicyUserRestrictions() local
337 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testUserRestrictionsUpgradeFromV9() local
DUserManagerServiceUserPropertiesTest.java99 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadXml() local
/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/contextsync/
DBitmapUtils.java61 final ByteArrayOutputStream baos = new ByteArrayOutputStream(bitmap.getByteCount()); in renderBitmapToByteArray() local
/frameworks/base/services/core/java/com/android/server/backup/
DUsageStatsBackupHelper.java46 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/core/java/android/content/pm/
DAppSearchShortcutPerson.java189 try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) { in transformToByteArray()
DArchivedActivityInfo.java139 try (ByteArrayOutputStream baos = new ByteArrayOutputStream( in bytesFromBitmap()
/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/tests/powerstatstests/src/com/android/server/power/stats/
DAggregatedPowerStatsTest.java83 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in xmlPersistence() local
/frameworks/base/services/people/java/com/android/server/people/data/
DUserData.java144 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getBackupPayload() local
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DBrightnessConfigurationTest.java164 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadXml() local
/frameworks/base/telephony/java/android/telephony/
DUiccAccessRule.java88 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in encodeRules() local

12