/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A 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
|
H A D | ZenModeConfigTest.java | 220 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
|
H A D | SnoozeHelperTest.java | 132 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
|
H A D | PreferencesHelperTest.java | 358 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeXmlAndPurge() local 475 ByteArrayOutputStream baos = writeXmlAndPurge(package10, uid10, true, 10); in testWriteXml_onlyBackupsTargetUser() local 507 ByteArrayOutputStream baos = writeXmlAndPurge(package0, uid0, true, 0); in testReadXml_onlyRestoresTargetUser() local 557 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, false, in testChannelXml() local 632 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testChannelXmlForBackup() local 1108 ByteArrayOutputStream baos = writeXmlAndPurge( in testChannelXmlForNonBackup_postMigration() local 1194 ByteArrayOutputStream baos = writeXmlAndPurge( in testChannelXmlForBackup_postMigration() local 1282 ByteArrayOutputStream baos = writeXmlAndPurge( in testChannelXmlForBackup_postMigration_noExternal() local 1335 ByteArrayOutputStream baos = writeXmlAndPurge( in testChannelXmlForBackup_postMigration_noLocalSettings() local 4329 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_O, UID_O, true, in testChannelXml_backupDefaultApp() local [all …]
|
H A D | ZenModeHelperTest.java | 235 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeXmlAndPurge() local 249 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeXmlAndPurgeForUser() local 904 ByteArrayOutputStream baos = writeXmlAndPurge(null); in testWriteXml() local 1067 ByteArrayOutputStream baos = writeXmlAndPurgeForUser(null, 10); in testWriteXml_onlyBackupsTargetUser() local 1091 ByteArrayOutputStream baos = writeXmlAndPurgeForUser(null, UserHandle.USER_SYSTEM); in testReadXmlRestore_forSystemUser() local 1158 ByteArrayOutputStream baos = writeXmlAndPurge(null); in testWriteXmlWithZenPolicy() local 1226 ByteArrayOutputStream baos = writeXmlAndPurge(5); in testReadXmlRulesNotOverriden() local 1358 ByteArrayOutputStream baos = writeXmlAndPurge(5); in testReadXmlResetDefaultRules() local 1394 ByteArrayOutputStream baos = writeXmlAndPurge(5); in testReadXmlAllDisabledRulesResetDefaultRules() local 1446 ByteArrayOutputStream baos = writeXmlAndPurge(5); in testReadXmlOnlyOneDefaultRuleExists() local [all …]
|
H A D | ManagedServicesTest.java | 442 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadXml_writeReadDefaults() local 616 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_onlyBackupsForTargetUser() local 680 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_trimsMissingServices() local 712 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_writesSetting() local 744 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_doesNotWriteSetting() local 768 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXml_writesUserSet() local
|
/aosp14/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
H A D | XmlUtilsTest.java | 39 ByteArrayOutputStream baos = new ByteArrayOutputStream(1024); in testMapWithNullKeys() local 54 ByteArrayOutputStream baos = new ByteArrayOutputStream(1024); in testreadWriteXmlByteArrayValue() local
|
H A D | FastXmlSerializerTest.java | 67 try (final ByteArrayOutputStream baos = new ByteArrayOutputStream()) { in checkPreserved() 90 try (final ByteArrayInputStream baos = new ByteArrayInputStream(data)) { in checkPreserved()
|
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
H A D | PersistentDataStoreTest.java | 150 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testSetBrightness_brightnessTagWithNoUserId_updatesToBrightnessTagWithUserId() local 291 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStoreAndReloadOfDisplayBrightnessConfigurations() local 352 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStoreAndReloadOfBrightnessConfigurations() local 405 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStoreAndRestoreResolution() local 440 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStoreAndRestoreRefreshRate() local 475 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testBrightnessInitialisesWithInvalidFloat() local 494 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStoreAndRestoreBrightnessNitsForDefaultDisplay() local
|
H A D | AmbientBrightnessStatsTrackerTest.java | 333 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteThenReadAmbientBrightnessStats() local
|
/aosp14/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
H A D | MainActivityTest.java | 32 ByteArrayOutputStream baos = new ByteArrayOutputStream(1024 * 1024); in encode() local 52 private Object createEncoder(ByteArrayOutputStream baos) throws ClassNotFoundException, in createEncoder()
|
/aosp14/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/contextsync/ |
H A D | BitmapUtils.java | 61 final ByteArrayOutputStream baos = new ByteArrayOutputStream(bitmap.getByteCount()); in renderBitmapToByteArray() local
|
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
H A D | SerializationPerfTest.java | 43 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
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | UserManagerServiceUserInfoTest.java | 114 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadUserInfo() local 139 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadDevicePolicyUserRestrictions() local 322 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testUserRestrictionsUpgradeFromV9() local
|
H A D | UserManagerServiceUserPropertiesTest.java | 83 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadXml() local
|
/aosp14/frameworks/base/services/core/java/com/android/server/backup/ |
H A D | UsageStatsBackupHelper.java | 46 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getBackupPayload() local
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/ |
H A D | PersistentSystemFontConfigTest.java | 57 try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) { in testWriteRead()
|
/aosp14/frameworks/base/identity/java/android/security/identity/ |
H A D | Util.java | 64 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in publicKeyEncodeUncompressedForm() local
|
/aosp14/frameworks/base/core/java/android/content/pm/ |
H A D | AppSearchShortcutPerson.java | 189 try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) { in transformToByteArray()
|
/aosp14/frameworks/base/core/java/android/net/ |
H A D | NetworkPolicy.java | 281 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getBytesForBackup() local 335 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getNetworkTemplateBytesForBackup() local
|
/aosp14/frameworks/base/services/people/java/com/android/server/people/data/ |
H A D | UserData.java | 144 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getBackupPayload() local
|
H A D | ConversationStore.java | 218 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getBackupPayload() local
|
/aosp14/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | NotificationChannelTest.java | 298 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteXmlForBackup_customLookup() local
|
/aosp14/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
H A D | BrightnessConfigurationTest.java | 164 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadXml() local
|
/aosp14/frameworks/base/services/core/java/com/android/server/security/rkp/ |
H A D | RemoteProvisioningShellCommand.java | 223 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in encode() local
|