Home
last modified time | relevance | path

Searched refs:byteArrayOutputStream (Results 1 – 6 of 6) sorted by relevance

/external/libphonenumber/java/test/com/android/i18n/phonenumbers/geocoding/
DFlyweightMapStorageTest.java78 ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in testWriteAndReadExternal() local
79 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in testWriteAndReadExternal()
85 new ObjectInputStream(new ByteArrayInputStream(byteArrayOutputStream.toByteArray())); in testWriteAndReadExternal()
93 ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in testReadExternalThrowsIOExceptionWithMalformedData() local
94 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in testReadExternalThrowsIOExceptionWithMalformedData()
98 new ObjectInputStream(new ByteArrayInputStream(byteArrayOutputStream.toByteArray())); in testReadExternalThrowsIOExceptionWithMalformedData()
DMappingFileProviderTest.java61 ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in testReadWriteExternal() local
62 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in testReadWriteExternal()
68 new ObjectInputStream(new ByteArrayInputStream(byteArrayOutputStream.toByteArray()))); in testReadWriteExternal()
DAreaCodeMapTest.java162 ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in createNewAreaCodeMap() local
163 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in createNewAreaCodeMap()
169 new ObjectInputStream(new ByteArrayInputStream(byteArrayOutputStream.toByteArray()))); in createNewAreaCodeMap()
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/
DAreaCodeMap.java63 ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in getSizeOfAreaCodeMapStorage() local
64 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in getSizeOfAreaCodeMapStorage()
67 int sizeOfStorage = byteArrayOutputStream.size(); in getSizeOfAreaCodeMapStorage()
/external/proguard/src/proguard/classfile/io/
DProgramClassWriter.java241 ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in visitAnyAttribute() local
245 dataOutput = new RuntimeDataOutput(new DataOutputStream(byteArrayOutputStream)); in visitAnyAttribute()
256 byte[] info = byteArrayOutputStream.toByteArray(); in visitAnyAttribute()
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
DInflaterTest.java456 ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in testInflateZero() local
458 byteArrayOutputStream); in testInflateZero()
460 byte[] input = byteArrayOutputStream.toByteArray(); in testInflateZero()