Home
last modified time | relevance | path

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

123456789

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DStreamCorruptedExceptionTest.java21 import java.io.ObjectInputStream;
33 ObjectInputStream ois = new ObjectInputStream( in test_Constructor()
52 ObjectInputStream ois = new ObjectInputStream( in test_ConstructorLjava_lang_String()
DObjectOutputStreamTest.java30 import java.io.ObjectInputStream;
66 private void readObject(ObjectInputStream ois) throws IOException { in readObject()
69 ObjectInputStream.GetField fields = ois.readFields(); in readObject()
170 private void readObject(java.io.ObjectInputStream in) in readObject()
192 public void readObject(java.io.ObjectInputStream in) in readObject()
222 private void readObject(java.io.ObjectInputStream in) in readObject()
318 private void readObject(java.io.ObjectInputStream in) in readObject()
352 private void readObject(java.io.ObjectInputStream in) in readObject()
399 private void readObject(java.io.ObjectInputStream in) in readObject()
401 ObjectInputStream.GetField fields = in.readFields(); in readObject()
[all …]
DObjectInputStream2Test.java27 import java.io.ObjectInputStream;
52 ObjectInputStream ois = new ObjectInputStream( in test_readUnshared()
76 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( in test_readObject_Hierarchy()
148 class OIS extends ObjectInputStream {
170 static class TestObjectInputStream extends ObjectInputStream {
202 ObjectInputStream ois; in test_resolveClass_invalidClassName()
258 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( in test_sameName()
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 …]
DObjectOutputStream2Test.java23 import java.io.ObjectInputStream;
54 ObjectInputStream is = new ObjectInputStream(bis); in test_writeReadEnum()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
DObjectInputStreamTest.java37 import java.io.ObjectInputStream;
74 private void readObject(ObjectInputStream ois) throws Exception { in readObject()
76 ObjectInputStream.GetField fields = ois.readFields(); in readObject()
124 ObjectInputStream ois;
143 ois = new ObjectInputStream(sis); in test_ConstructorLjava_io_InputStream_IOException()
173 ois = new ObjectInputStream(sis); in test_available_IOException()
191 ois = new ObjectInputStream(sis); in test_close()
218 ois = new ObjectInputStream(sis); in test_read_IOException()
235 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); in test_read$BII_Exception()
258 ois = new ObjectInputStream(sis); in test_read$BII_Exception()
[all …]
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/
DTCKWeekFieldsSerialization.java69 import java.io.ObjectInputStream;
113 try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(val))) { in test_invalid_serialform()
124 try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(val))) { in test_invalid_serialform()
135 try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(val))) { in test_invalid_serialform()
146 try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(val))) { in test_invalid_serialform()
DTCKValueRangeSerialization.java69 import java.io.ObjectInputStream;
148 try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(val))) { in test_invalid_serialform()
159 try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(val))) { in test_invalid_serialform()
170 try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(val))) { in test_invalid_serialform()
/libcore/support/src/test/java/tests/util/
DSerializationTester.java26 import java.io.ObjectInputStream;
53 ObjectInputStream ois = new ObjectInputStream(bis); in getDeserilizedObject()
121 ObjectInputStream oinput = null; in readObject()
131 oinput = new ObjectInputStream(input); in readObject()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DParseExceptionTest.java20 import java.io.ObjectInputStream;
55 ObjectInputStream ois = new ObjectInputStream(inputStream)) { in test_serialize()
DAttributedCharacterIteratorAttributeTest.java26 import java.io.ObjectInputStream;
73 ObjectInputStream in = null; in test_readResolve()
93 in = new ObjectInputStream(new ByteArrayInputStream(bytes in test_readResolve()
/libcore/luni/src/test/java/libcore/java/io/
DObjectOutputStreamTest.java22 import java.io.ObjectInputStream;
54 private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { in readObject()
106 try (ObjectInputStream ois = new ObjectInputStream(bais)) { in roundTrip()
DOldObjectInputStreamGetFieldTest.java20 import java.io.ObjectInputStream;
57 private ObjectInputStream ois = null;
100 ObjectInputStream.GetField fields = object.getField; in test_defaultedLjava_lang_String()
124 ObjectInputStream.GetField fields = object.getField; in test_getException()
248 ois = new ObjectInputStream( in initOis()
DOldObjectOutputStreamTest.java26 import java.io.ObjectInputStream;
50 private void readObject(ObjectInputStream ois) throws IOException { in readObject()
53 ObjectInputStream.GetField fields = ois.readFields(); in readObject()
136 protected ObjectInputStream ois;
254 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); in test_putFields()
281 ois = new ObjectInputStream(new ByteArrayInputStream(sos.toByteArray())); in test_reset()
290 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); in test_write$BII()
403 ois = new ObjectInputStream(new FileInputStream(xFileName + "-" in reload()
407 ois = new ObjectInputStream(new ByteArrayInputStream(bao in reload()
DOldAndroidSerializationTest.java22 import java.io.ObjectInputStream;
41 Object o = new ObjectInputStream(bin).readObject(); in testSerialization()
/libcore/luni/src/test/java/libcore/java/text/
DOldNumberFormatFieldTest.java23 import java.io.ObjectInputStream;
57 ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())); in test_readResolve()
DOldMessageFormatFieldTest.java23 import java.io.ObjectInputStream;
47 ObjectInputStream in = null; in test_readResolve()
62 in = new ObjectInputStream(new ByteArrayInputStream(bytes in test_readResolve()
DOldDecimalFormatSymbolsTest.java20 import java.io.ObjectInputStream;
34 ObjectInputStream i = null; in test_RIHarmony_compatible()
36 i = new ObjectInputStream( in test_RIHarmony_compatible()
/libcore/ojluni/src/test/java/time/tck/java/time/zone/serial/
DTCKFixedZoneRulesSerialization.java67 import java.io.ObjectInputStream;
109 ObjectInputStream in = new ObjectInputStream(bais); in test_serialization()
/libcore/ojluni/src/main/java/java/nio/file/
DDirectoryIteratorException.java31 import java.io.ObjectInputStream;
79 private void readObject(ObjectInputStream s) in readObject()
/libcore/luni/src/test/java/libcore/libcore/util/
DZoneInfoTest.java22 import java.io.ObjectInputStream;
46 ObjectInputStream ois = new ObjectInputStream(is)) { in testReadSerialized()
DSerializationTester.java22 import java.io.ObjectInputStream;
91 ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes)); in deserialize()
/libcore/ojluni/src/main/java/java/security/
DSignedObject.java179 ObjectInput a = new ObjectInputStream(b); in getObject()
251 private void readObject(java.io.ObjectInputStream s) in readObject()
253 java.io.ObjectInputStream.GetField fields = s.readFields(); in readObject()
/libcore/support/src/test/java/tests/support/
DSupport_GetPutFieldsDefaulted.java21 import java.io.ObjectInputStream;
45 public ObjectInputStream.GetField getField;
117 private void readObject(ObjectInputStream ois) throws Exception { in readObject()
DSupport_GetPutFields.java21 import java.io.ObjectInputStream;
34 public ObjectInputStream.GetField getField;
106 private void readObject(ObjectInputStream ois) throws Exception { in readObject()

123456789