/aosp_15_r20/system/security/identity/util/test/java/com/android/security/identity/internal/ |
H A D | UtilUnitTests.java | 64 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in prettyPrintMultipleCompleteTypes() local 82 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in prettyPrintString() local 89 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in prettyPrintBytestring() local 96 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in prettyPrintUnsignedInteger() local 103 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in prettyPrintNegativeInteger() local 110 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in prettyPrintDouble() local 125 ByteArrayOutputStream baos; in prettyPrintFloat() local 145 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in prettyPrintHalfFloat() local 160 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in prettyPrintFalse() local 167 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in prettyPrintTrue() local [all …]
|
/aosp_15_r20/packages/modules/GeoTZ/s2storage/src/test/java/com/android/storage/table/packed/ |
D | PackedTableReaderWriterTest.java | 79 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in headerFields() local 102 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in entryGetValue_int() local 121 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in entryGetValue_long() local 153 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in valueSizeMax_unsigned() local 177 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in valueSizeMax_signed() local 197 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in addEntry_outOfOrder() local 224 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getSharedData() local 240 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getEntry_unsignedValue() local 259 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getEntry_signedValue() local 278 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getEntry_emptyTable() local [all …]
|
D | IntValuePackedTableTest.java | 46 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in valueSizeTooBig() local 63 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in valueSizeMax_unsigned() local 86 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in valueSizeMax_signed() local 108 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in addEntry_outOfOrder() local 134 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getSharedData() local 149 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getEntry_unsignedValue() local 168 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getEntryByIndex() local 191 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getEntry_signedValue() local 210 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getEntry_emptyTable() local 224 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getEntry_badKey() local [all …]
|
/aosp_15_r20/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | ZenModeConfigTest.java | 579 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testBackupRestore() local 698 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml_classic() local 761 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml() local 809 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml_weirdEffects() local 826 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml_pkg_component() local 839 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml_pkg_configActivity() local 853 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml_getPkg_nullPkg() local 868 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml_emptyConditionId() local 883 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml_customInterruptionFilter() local 896 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testRuleXml_invalidInterruptionFilter_readsDefault() local [all …]
|
H A D | PreferencesHelperTest.java | 410 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeXmlAndPurge() local 568 ByteArrayOutputStream baos = writeXmlAndPurge(package10, uid10, true, 10); in testWriteXml_onlyBackupsTargetUser() local 599 ByteArrayOutputStream baos = writeXmlAndPurge(package0, uid0, true, 0); in testReadXml_onlyRestoresTargetUser() local 662 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, false, in testChannelXml() local 748 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testChannelXmlForBackup() local 1212 ByteArrayOutputStream baos = writeXmlAndPurge( in testChannelXmlForNonBackup_postMigration() local 1296 ByteArrayOutputStream baos = writeXmlAndPurge( in testChannelXmlForBackup_postMigration() local 1382 ByteArrayOutputStream baos = writeXmlAndPurge( in testChannelXmlForBackup_postMigration_noExternal() local 1433 ByteArrayOutputStream baos = writeXmlAndPurge( in testChannelXmlForBackup_postMigration_noLocalSettings() local 1454 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, true, in testBackupXml_backupCanonicalizedSoundUri() local [all …]
|
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
|
/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | PropertiesTest.java | 151 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in test_listLjava_io_PrintStream() local 181 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in test_listLjava_io_PrintWriter() local 965 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStore_scenario0() local 974 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStore_scenario1() local 983 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStore_scenario2() local 992 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStore_scenario3() local 1001 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStore_scenario4() local 1010 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStore_scenario5() local 1019 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStore_scenario6() local 1028 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStore_scenario7() local [all …]
|
/aosp_15_r20/system/timezone/testing/src/main/java/libcore/timezone/testing/ |
H A D | ZoneInfoTestHelper.java | 110 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in build() local 164 ByteArrayOutputStream baos, int[] offsetsSeconds, int[] isDsts) { in writeTypes() 179 ByteArrayOutputStream baos, int tzh_charcnt, int tzh_leapcnt, in writeTrailingUnusued32BitData() 193 private static void writeHeader(ByteArrayOutputStream baos, int magic, int tzh_timecnt, in writeHeader() 273 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in build() local 342 static void writeByteArray(ByteArrayOutputStream baos, byte[] array) { in writeByteArray() 346 static void writeByteList(ByteArrayOutputStream baos, List<Byte> list) { in writeByteList() 352 static void writeByte(ByteArrayOutputStream baos, int value) { in writeByte() 356 static void writeLongArray(ByteArrayOutputStream baos, long[] array) { in writeLongArray() 362 static void writeIntList(ByteArrayOutputStream baos, List<Integer> list) { in writeIntList()
|
/aosp_15_r20/external/aws-eventstream-java/src/test/java/software/amazon/eventstream/ |
H A D | MessageDecoderTest.java | 28 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testDecoder() local 51 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testDecoder_WithOffset() local 79 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in preludeFedFirst_DecodesCorrectly() local 110 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in preludeFedInParts_DecodesCorrectly() local 146 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in bufferNeedsToGrow() local 170 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in multipleMessagesDoesNotGrowBuffer() local 194 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in multipleLargeMessages_GrowsBufferAsNeeded() local
|
H A D | MessageTest.java | 38 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in emptyVector() local 92 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in generativeTest() local 123 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in headerOrder() local 136 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in roundTrip() local
|
/aosp_15_r20/prebuilts/runtime/mainline/tzdata/test-exports/java/ |
HD | tzdata-testing.jar | ... $TzDataBuilder$ZicDatum zicDatum
java.io.ByteArrayOutputStream baos
byte[] headerMagicBytes
int indexOffsetOffset
int dataOffsetOffset
int finalOffsetOffset ... |
/aosp_15_r20/external/cbor-java/src/test/java/co/nstant/in/cbor/decoder/ |
H A D | LanguageTaggedStringDecoderTest.java | 25 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in shouldThrowException() local 39 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testExceptionOnNotAnArray() local 53 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testExceptionOnNot2ElementArray() local 67 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testExceptionOnNotFirstElementIsString() local 81 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testExceptionOnNotSecondElementIsString() local 95 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testDecoding() local
|
H A D | CborDecoderTest.java | 85 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in shouldThrowOnRationalNumberDecode1() local 99 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in shouldThrowOnRationalNumberDecode2() local 113 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in shouldThrowOnRationalNumberDecode3() local 127 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in shouldThrowOnRationalNumberDecode4() local 141 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in shouldDecodeRationalNumber() local 169 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in shouldDecodeTaggedRationalNumber() local
|
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | FixedByteArrayOutputStreamTest.java | 57 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeTextIntoStreamAndReturn() local 58 StreamUtil.copyStreams(mOutStream.getData(), baos); in writeTextIntoStreamAndReturn() local 119 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testLessThanBufferWithOffset() local 120 StreamUtil.copyStreams(mOutStream.getData(), baos); in testLessThanBufferWithOffset() local 140 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testWriteWithOffsetAndWrap() local 141 StreamUtil.copyStreams(mOutStream.getData(), baos); in testWriteWithOffsetAndWrap() local
|
/aosp_15_r20/libcore/ojluni/src/test/java/util/Properties/ |
H A D | PropertiesTest.java | 132 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in BlankLines() local 194 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in EscapeSpace() local 254 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in SaveEncoding() local 356 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in SaveLoadBasher() local 376 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in SaveSeparator() local 433 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in checkMalformedUnicodeEscape() local 484 ByteArrayOutputStream baos; in SaveComments() local
|
/aosp_15_r20/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
H A 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 487 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testBrightnessInitialisesWithInvalidFloat() local 506 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testStoreAndRestoreBrightnessNitsForDefaultDisplay() local
|
/aosp_15_r20/external/aws-sdk-java-v2/test/protocol-tests/src/test/java/software/amazon/awssdk/protocol/tests/ |
H A D | RestXmlEventStreamProtocolTest.java | 77 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in eventStreamOperation_unmarshallsHeaderMembersIntoResponse() local 93 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in unknownEventType_unmarshallsToUnknown() local 107 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in eventPayloadEvent_unmarshallsToEventPayloadEvent() local 123 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in secondEventPayloadEvent_unmarshallsToSecondEventPayloadEvent() local 139 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in nonEventPayloadEvent_unmarshallsToNonEventPayloadEvent() local
|
/aosp_15_r20/system/tools/xsdc/tests/src/com/android/xsdc/tests/ |
D | XmlParserTest.java | 60 try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) { in testPurchaseSimple() 102 try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) { in testSimpleComplexContent() 213 try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) { in testPredefinedTypes() 240 try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) { in testSimpleType() 265 try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) { in testSimpleTypeRoot() 290 try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) { in testReference()
|
/aosp_15_r20/system/security/identity/util/src/java/com/android/security/identity/internal/ |
H A D | Util.java | 100 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in canonicalizeCbor() local 293 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in encodeCbor() local 366 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in signatureDerToCose() local 387 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in encodePositiveBigInteger() local 410 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in signatureCoseToDer() local 734 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in cborEncode() local 914 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in signPublicKeyWithPrivateKey() local 991 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in prependSemanticTagForEncodedCbor() local 1184 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in buildSessionTranscript() local 1283 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in createItemsRequest() local
|
/aosp_15_r20/external/apache-commons-io/src/test/java/org/apache/commons/io/ |
H A D | EndianUtilsTest.java | 221 final ByteArrayOutputStream baos = new ByteArrayOutputStream(8); in testWriteSwappedDouble() local 244 final ByteArrayOutputStream baos = new ByteArrayOutputStream(4); in testWriteSwappedFloat() local 262 final ByteArrayOutputStream baos = new ByteArrayOutputStream(4); in testWriteSwappedInteger() local 284 final ByteArrayOutputStream baos = new ByteArrayOutputStream(8); in testWriteSwappedLong() local 304 final ByteArrayOutputStream baos = new ByteArrayOutputStream(2); in testWriteSwappedShort() local
|
/aosp_15_r20/packages/modules/GeoTZ/s2storage/src/test/java/com/android/storage/io/ |
D | TypedStreamsTest.java | 40 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeReadOk() local 142 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeVarByteValueUnusedBitsCheck() local 184 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeBoundChecks() local 209 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeReadLargeBufferOk() local
|
/aosp_15_r20/libcore/ojluni/src/test/java/time/tck/java/time/serial/ |
H A D | TCKLocalTimeSerialization.java | 96 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in test_serialization_format_h() local 107 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in test_serialization_format_hm() local 119 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in test_serialization_format_hms() local 132 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in test_serialization_format_hmsn() local
|
/aosp_15_r20/external/volley/core/src/test/java/com/android/volley/toolbox/ |
H A D | DiskBasedCacheTest.java | 378 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testReadHeaderListWithNegativeSize() local 392 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testReadHeaderListWithGinormousSize() local 509 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in serializeInt() local 525 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in serializeLong() local 545 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in serializeString() local 558 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in serializeHeaders() local
|
/aosp_15_r20/libcore/luni/src/test/java/libcore/javax/xml/xpath/ |
H A D | XPathExceptionTest.java | 81 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in printStackTraceWithPrintStream_nullCause() local 92 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in printStackTraceWithPrintStream_nonNullCause() local 104 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in printStackTraceWithPrintWriter_nullCause() local 115 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in printStackTraceWithPrintWriter_nonNullCause() local
|
/aosp_15_r20/packages/modules/GeoTZ/s2storage/src/test/java/com/android/storage/block/read/ |
D | BlockDataTest.java | 38 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getSize() local 54 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getByteBuffer() local 75 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in slice() local 134 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in typedRandomAccess() local
|