Home
last modified time | relevance | path

Searched refs:ObjectInputStream (Results 1 – 25 of 103) sorted by relevance

12345

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DObjectInputStreamTest.java33 import java.io.ObjectInputStream;
61 ObjectInputStream ois;
83 private void readObject(ObjectInputStream ois) throws Exception { in readObject()
85 ObjectInputStream.GetField fields = ois.readFields(); in readObject()
149 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); in test_ConstructorLjava_io_InputStream()
154 ois = new ObjectInputStream(new ByteArrayInputStream(new byte[90])); in test_ConstructorLjava_io_InputStream()
168 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); in test_resolveProxyClass()
171 Class[] clazzs = { java.io.ObjectInputStream.class, in test_resolveProxyClass()
197 class MockObjectInputStream extends ObjectInputStream {
217 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); in test_available()
[all …]
DObjectOutputStreamTest.java30 import java.io.ObjectInputStream;
66 private void readObject(ObjectInputStream ois) throws IOException { in readObject()
69 ObjectInputStream.GetField fields = ois.readFields(); in readObject()
168 private void readObject(java.io.ObjectInputStream in) in readObject()
190 public void readObject(java.io.ObjectInputStream in) in readObject()
220 private void readObject(java.io.ObjectInputStream in) in readObject()
314 private void readObject(java.io.ObjectInputStream in) in readObject()
346 private void readObject(java.io.ObjectInputStream in) in readObject()
393 private void readObject(java.io.ObjectInputStream in) in readObject()
395 ObjectInputStream.GetField fields = in.readFields(); in readObject()
[all …]
DStreamCorruptedExceptionTest.java21 import java.io.ObjectInputStream;
33 ObjectInputStream ois = new ObjectInputStream( in test_Constructor()
52 ObjectInputStream ois = new ObjectInputStream( in test_ConstructorLjava_lang_String()
DObjectStreamFieldTest.java25 import java.io.ObjectInputStream;
166 ObjectInputStream ois = new ObjectInputStream(bais); in test_getType_Deserialized()
205 ObjectInputStream ois = new ObjectInputStream(bais); in test_isUnshared()
208 ObjectInputStream.GetField getField = newObj.getGetField(); in test_isUnshared()
257 public ObjectInputStream.GetField getField = null;
279 private void readObject(ObjectInputStream in) throws NotActiveException, in readObject()
291 class MockObjectInputStream extends ObjectInputStream {
327 private ObjectInputStream.GetField getField;
331 public ObjectInputStream.GetField getGetField() { in getGetField()
343 private void readObject(ObjectInputStream in) throws NotActiveException, in readObject()
[all …]
DObjectInputStream2Test.java25 import java.io.ObjectInputStream;
47 ObjectInputStream ois = new ObjectInputStream( in test_readUnshared()
71 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( in test_readObject_Hierarchy()
143 class OIS extends ObjectInputStream {
165 static class TestObjectInputStream extends ObjectInputStream {
197 ObjectInputStream ois; in test_resolveClass_invalidClassName()
DSerializationStressTest.java29 import java.io.ObjectInputStream;
88 protected transient ObjectInputStream ois;
96 private static class ObjectInputStreamSubclass extends ObjectInputStream {
234 ois = new ObjectInputStream(loadStream()); in reload()
337 ois = new ObjectInputStream(loadStream()); in test_5_reset()
354 ois = new ObjectInputStream(loadStream()); in test_6_write()
375 ois = new ObjectInputStream(loadStream()); in test_6a_write()
391 ois = new ObjectInputStream(loadStream()); in test_7_write()
405 ois = new ObjectInputStream(loadStream()); in test_8_write()
420 ois = new ObjectInputStream(loadStream()); in test_9_writeBoolean()
[all …]
DObjectOutputStream2Test.java23 import java.io.ObjectInputStream;
53 ObjectInputStream is = new ObjectInputStream(bis); in test_writeReadEnum()
DSerializationStressTest2.java26 import java.io.ObjectInputStream;
54 private void readObject(java.io.ObjectInputStream in) in readObject()
112 private void readObject(java.io.ObjectInputStream in) in readObject()
114 ObjectInputStream.GetField fields = in.readFields(); in readObject()
142 private void readObject(java.io.ObjectInputStream in) in readObject()
144 ObjectInputStream.GetField fields = in.readFields(); in readObject()
163 private void readObject(java.io.ObjectInputStream in) in readObject()
165 ObjectInputStream.GetField fields = in.readFields(); in readObject()
206 private void readObject(ObjectInputStream stream) throws IOException, in readObject()
208 ObjectInputStream.GetField fields = stream.readFields(); in readObject()
[all …]
/external/guava/guava/src/com/google/common/collect/
DSerialization.java20 import java.io.ObjectInputStream;
49 static int readCount(ObjectInputStream stream) throws IOException { in readCount()
74 static <K, V> void populateMap(Map<K, V> map, ObjectInputStream stream) in populateMap()
85 static <K, V> void populateMap(Map<K, V> map, ObjectInputStream stream, in populateMap()
119 Multiset<E> multiset, ObjectInputStream stream) in populateMultiset()
131 Multiset<E> multiset, ObjectInputStream stream, int distinctElements) in populateMultiset()
168 Multimap<K, V> multimap, ObjectInputStream stream) in populateMultimap()
180 Multimap<K, V> multimap, ObjectInputStream stream, int distinctKeys) in populateMultimap()
DImmutableAsList.java22 import java.io.ObjectInputStream;
61 private void readObject(ObjectInputStream stream) in readObject()
DHashMultiset.java23 import java.io.ObjectInputStream;
90 private void readObject(ObjectInputStream stream) in readObject()
DLinkedHashMultiset.java23 import java.io.ObjectInputStream;
98 private void readObject(ObjectInputStream stream) in readObject()
DEnumMultiset.java23 import java.io.ObjectInputStream;
79 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { in readObject()
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/geocoding/
DFlyweightMapStorageTest.java24 import java.io.ObjectInputStream;
84 ObjectInputStream objectInputStream = in testWriteAndReadExternal()
85 new ObjectInputStream(new ByteArrayInputStream(byteArrayOutputStream.toByteArray())); in testWriteAndReadExternal()
97 ObjectInputStream objectInputStream = in testReadExternalThrowsIOExceptionWithMalformedData()
98 new ObjectInputStream(new ByteArrayInputStream(byteArrayOutputStream.toByteArray())); in testReadExternalThrowsIOExceptionWithMalformedData()
/external/apache-harmony/support/src/test/java/tests/util/
DSerializationTester.java26 import java.io.ObjectInputStream;
77 ObjectInputStream ois = new ObjectInputStream(bis); in getDeserilizedObject()
159 ObjectInputStream oinput = null; in readObject()
170 oinput = new ObjectInputStream(input); in readObject()
/external/guava/guava-testlib/src/com/google/common/testing/
DPlatform.java24 import java.io.ObjectInputStream;
43 ObjectInputStream in = new ObjectInputStream( in reserialize()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DReserializingTestCollectionGenerator.java22 import java.io.ObjectInputStream;
58 ObjectInputStream in = new ObjectInputStream( in reserialize()
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/
DPhoneNumberOfflineGeocoder.java24 import java.io.ObjectInputStream;
62 ObjectInputStream in = null; in loadMappingFileProvider()
64 in = new ObjectInputStream(source); in loadMappingFileProvider()
88 ObjectInputStream in = null; in loadAreaCodeMapFromFile()
90 in = new ObjectInputStream(source); in loadAreaCodeMapFromFile()
/external/javassist/src/main/javassist/tools/rmi/
DAppletServer.java147 ObjectInputStream in = new ObjectInputStream(ins); in processRMI()
188 private Object[] readParameters(ObjectInputStream in) in readParameters()
224 ObjectInputStream in = new ObjectInputStream(ins); in lookupName()
DObjectImporter.java167 ObjectInputStream din = new ObjectInputStream(in); in lookupObject()
239 ObjectInputStream din = new ObjectInputStream(ins); in call()
/external/javassist/src/test/test/javassist/proxy/
DProxySimpleTest.java7 import java.io.ObjectInputStream;
32 ObjectInputStream ois = new ObjectInputStream(new FileInputStream(fileName)); in testReadWrite()
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DAttributedCharacterIteratorAttributeTest.java26 import java.io.ObjectInputStream;
73 ObjectInputStream in = null; in test_readResolve()
93 in = new ObjectInputStream(new ByteArrayInputStream(bytes in test_readResolve()
DDataFormatFieldTest.java24 import java.io.ObjectInputStream;
176 ObjectInputStream in = null; in test_readResolve()
193 in = new ObjectInputStream(new ByteArrayInputStream(bytes in test_readResolve()
/external/javassist/src/main/javassist/util/proxy/
DProxyObjectInputStream.java20 import java.io.ObjectInputStream;
30 public class ProxyObjectInputStream extends ObjectInputStream
/external/junit/src/org/junit/experimental/max/
DMaxHistory.java7 import java.io.ObjectInputStream;
49 ObjectInputStream stream= new ObjectInputStream(file); in readHistory()

12345