Home
last modified time | relevance | path

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

/external/libphonenumber/java/test/com/android/i18n/phonenumbers/geocoding/
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()
DAreaCodeMapTest.java163 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in createNewAreaCodeMap() local
164 areaCodeMap.writeExternal(objectOutputStream); in createNewAreaCodeMap()
165 objectOutputStream.flush(); in createNewAreaCodeMap()
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/
DAreaCodeMap.java64 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in getSizeOfAreaCodeMapStorage() local
65 mapStorage.writeExternal(objectOutputStream); in getSizeOfAreaCodeMapStorage()
66 objectOutputStream.flush(); in getSizeOfAreaCodeMapStorage()
68 objectOutputStream.close(); in getSizeOfAreaCodeMapStorage()