Home
last modified time | relevance | path

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

/external/libphonenumber/repackaged/internal/prefixmapper/test/com/android/i18n/phonenumbers/prefixmapper/
DFlyweightMapStorageTest.java81 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in testWriteAndReadExternal() local
82 mapStorage.writeExternal(objectOutputStream); in testWriteAndReadExternal()
83 objectOutputStream.flush(); in testWriteAndReadExternal()
96 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in testReadExternalThrowsIOExceptionWithMalformedData() local
97 objectOutputStream.writeUTF("hello"); in testReadExternalThrowsIOExceptionWithMalformedData()
98 objectOutputStream.flush(); in testReadExternalThrowsIOExceptionWithMalformedData()
DMappingFileProviderTest.java64 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in testReadWriteExternal() local
65 mappingProvider.writeExternal(objectOutputStream); in testReadWriteExternal()
66 objectOutputStream.flush(); in testReadWriteExternal()
DPrefixTimeZonesMapTest.java161 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in createNewPrefixTimeZonesMap() local
162 prefixTimeZonesMap.writeExternal(objectOutputStream); in createNewPrefixTimeZonesMap()
163 objectOutputStream.flush(); in createNewPrefixTimeZonesMap()
DPhonePrefixMapTest.java166 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in createNewPhonePrefixMap() local
167 phonePrefixMap.writeExternal(objectOutputStream); in createNewPhonePrefixMap()
168 objectOutputStream.flush(); in createNewPhonePrefixMap()
/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/libphonenumber/repackaged/internal/prefixmapper/src/com/android/i18n/phonenumbers/prefixmapper/
DPhonePrefixMap.java66 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in getSizeOfPhonePrefixMapStorage() local
67 mapStorage.writeExternal(objectOutputStream); in getSizeOfPhonePrefixMapStorage()
68 objectOutputStream.flush(); in getSizeOfPhonePrefixMapStorage()
70 objectOutputStream.close(); in getSizeOfPhonePrefixMapStorage()
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DByteBuddyCrossClassLoaderSerializationSupport.java175 ObjectOutputStream objectOutputStream = new MockitoMockObjectOutputStream(out); in CrossClassLoaderSerializationProxy() local
177 objectOutputStream.writeObject(mockitoMock); in CrossClassLoaderSerializationProxy()
179 objectOutputStream.close(); in CrossClassLoaderSerializationProxy()
/external/sl4a/Common/src/com/googlecode/android_scripting/trigger/
DTriggerRepository.java163 final ObjectOutputStream objectOutputStream = new ObjectOutputStream(outputStream); in serializeTriggersToString() local
164 objectOutputStream.writeObject(triggers); in serializeTriggersToString()
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/
DOpenedSocket.java67 Writer objectOutputStream) { in OpenedSocket() argument
69 this.writer = objectOutputStream; in OpenedSocket()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPluralRulesTest.java1101 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteOut);
1102 objectOutputStream.writeObject(s);
1103 objectOutputStream.close();
DMeasureUnitTest.java2639 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteOut); in checkStreamingEquality() local
2640 objectOutputStream.writeObject(item); in checkStreamingEquality()
2641 objectOutputStream.close(); in checkStreamingEquality()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRulesTest.java1098 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteOut);
1099 objectOutputStream.writeObject(s);
1100 objectOutputStream.close();
DMeasureUnitTest.java2636 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteOut); in checkStreamingEquality() local
2637 objectOutputStream.writeObject(item); in checkStreamingEquality()
2638 objectOutputStream.close(); in checkStreamingEquality()
/external/guice/core/test/com/google/inject/internal/
DMultibinderTest.java352 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteStream); in testMultibinderSetIsSerializable() local
354 objectOutputStream.writeObject(set); in testMultibinderSetIsSerializable()
356 objectOutputStream.close(); in testMultibinderSetIsSerializable()