/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeConfigTest.java | 564 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 …]
|
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
|
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
|
D | PreferencesHelperTest.java | 389 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 …]
|
D | ZenModeHelperTest.java | 393 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 …]
|
D | ManagedServicesTest.java | 447 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/ |
D | XmlUtilsTest.java | 45 ByteArrayOutputStream baos = new ByteArrayOutputStream(1024); in testMapWithNullKeys() local 61 ByteArrayOutputStream baos = new ByteArrayOutputStream(1024); in testreadWriteXmlByteArrayValue() local
|
D | FastXmlSerializerTest.java | 82 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/ |
D | PersistentDataStoreTest.java | 158 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
|
D | AmbientBrightnessStatsTrackerTest.java | 333 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteThenReadAmbientBrightnessStats() local
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
D | MainActivityTest.java | 32 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/ |
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
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceUserInfoTest.java | 115 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadUserInfo() local 141 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadDevicePolicyUserRestrictions() local 337 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testUserRestrictionsUpgradeFromV9() local
|
D | UserManagerServiceUserPropertiesTest.java | 99 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadXml() local
|
/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/contextsync/ |
D | BitmapUtils.java | 61 final ByteArrayOutputStream baos = new ByteArrayOutputStream(bitmap.getByteCount()); in renderBitmapToByteArray() local
|
/frameworks/base/services/core/java/com/android/server/backup/ |
D | UsageStatsBackupHelper.java | 46 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getBackupPayload() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/ |
D | PersistentSystemFontConfigTest.java | 57 try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) { in testWriteRead()
|
/frameworks/base/identity/java/android/security/identity/ |
D | Util.java | 64 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in publicKeyEncodeUncompressedForm() local
|
/frameworks/base/core/java/android/content/pm/ |
D | AppSearchShortcutPerson.java | 189 try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) { in transformToByteArray()
|
D | ArchivedActivityInfo.java | 139 try (ByteArrayOutputStream baos = new ByteArrayOutputStream( in bytesFromBitmap()
|
/frameworks/base/core/java/android/net/ |
D | NetworkPolicy.java | 281 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/ |
D | AggregatedPowerStatsTest.java | 83 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in xmlPersistence() local
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | UserData.java | 144 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getBackupPayload() local
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | BrightnessConfigurationTest.java | 164 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteReadXml() local
|
/frameworks/base/telephony/java/android/telephony/ |
D | UiccAccessRule.java | 88 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in encodeRules() local
|