Home
last modified time | relevance | path

Searched refs:objectOutputStream (Results 1 – 13 of 13) sorted by relevance

/external/libphonenumber/internal/prefixmapper/test/com/google/i18n/phonenumbers/prefixmapper/
DFlyweightMapStorageTest.java79 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in testWriteAndReadExternal() local
80 mapStorage.writeExternal(objectOutputStream); in testWriteAndReadExternal()
81 objectOutputStream.flush(); in testWriteAndReadExternal()
94 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in testReadExternalThrowsIOExceptionWithMalformedData() local
95 objectOutputStream.writeUTF("hello"); in testReadExternalThrowsIOExceptionWithMalformedData()
96 objectOutputStream.flush(); in testReadExternalThrowsIOExceptionWithMalformedData()
DMappingFileProviderTest.java62 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in testReadWriteExternal() local
63 mappingProvider.writeExternal(objectOutputStream); in testReadWriteExternal()
64 objectOutputStream.flush(); in testReadWriteExternal()
DPhonePrefixMapTest.java164 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in createNewPhonePrefixMap() local
165 phonePrefixMap.writeExternal(objectOutputStream); in createNewPhonePrefixMap()
166 objectOutputStream.flush(); in createNewPhonePrefixMap()
DPrefixTimeZonesMapTest.java159 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in createNewPrefixTimeZonesMap() local
160 prefixTimeZonesMap.writeExternal(objectOutputStream); in createNewPrefixTimeZonesMap()
161 objectOutputStream.flush(); in createNewPrefixTimeZonesMap()
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/
DPhonePrefixMap.java64 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in getSizeOfPhonePrefixMapStorage() local
65 mapStorage.writeExternal(objectOutputStream); in getSizeOfPhonePrefixMapStorage()
66 objectOutputStream.flush(); in getSizeOfPhonePrefixMapStorage()
68 objectOutputStream.close(); in getSizeOfPhonePrefixMapStorage()
/external/mockito/src/org/mockito/internal/creation/
DAcrossJVMSerializationFeature.java197 ObjectOutputStream objectOutputStream = new MockitoMockObjectOutputStream(out); in AcrossJVMMockSerializationProxy() local
199 objectOutputStream.writeObject(mockitoMock); in AcrossJVMMockSerializationProxy()
201 objectOutputStream.close(); in AcrossJVMMockSerializationProxy()
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/
DOpenedSocket.java67 Writer objectOutputStream) { in OpenedSocket() argument
69 this.writer = objectOutputStream; in OpenedSocket()
/external/sl4a/Common/src/com/googlecode/android_scripting/trigger/
DTriggerRepository.java165 final ObjectOutputStream objectOutputStream = new ObjectOutputStream(outputStream); in serializeTriggersToString() local
166 objectOutputStream.writeObject(triggers); in serializeTriggersToString()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPluralRulesTest.java1069 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteOut);
1070 objectOutputStream.writeObject(s);
1071 objectOutputStream.close();
DMeasureUnitTest.java1796 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteOut); in checkStreamingEquality() local
1797 objectOutputStream.writeObject(item); in checkStreamingEquality()
1798 objectOutputStream.close(); in checkStreamingEquality()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRulesTest.java1065 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteOut);
1066 objectOutputStream.writeObject(s);
1067 objectOutputStream.close();
DMeasureUnitTest.java1792 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteOut); in checkStreamingEquality() local
1793 objectOutputStream.writeObject(item); in checkStreamingEquality()
1794 objectOutputStream.close(); in checkStreamingEquality()
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DMultibinderTest.java295 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteStream); in testMultibinderSetIsSerializable() local
297 objectOutputStream.writeObject(set); in testMultibinderSetIsSerializable()
299 objectOutputStream.close(); in testMultibinderSetIsSerializable()