/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | StreamCorruptedExceptionTest.java | 21 import java.io.ObjectInputStream; 33 ObjectInputStream ois = new ObjectInputStream( in test_Constructor() 52 ObjectInputStream ois = new ObjectInputStream( in test_ConstructorLjava_lang_String()
|
D | ObjectOutputStreamTest.java | 30 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 …]
|
D | ObjectInputStream2Test.java | 25 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()
|
D | ObjectStreamFieldTest.java | 25 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 …]
|
D | ObjectOutputStream2Test.java | 23 import java.io.ObjectInputStream; 54 ObjectInputStream is = new ObjectInputStream(bis); in test_writeReadEnum()
|
D | SerializationStressTest.java | 29 import java.io.ObjectInputStream; 87 protected transient ObjectInputStream ois; 95 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 …]
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
D | ObjectInputStreamTest.java | 37 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/support/src/test/java/tests/util/ |
D | SerializationTester.java | 26 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/luni/src/main/java/java/security/ |
D | SignedObject.java | 23 import java.io.ObjectInputStream; 42 private void readObject(ObjectInputStream s) throws IOException, in readObject() 104 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( in getObject()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldObjectInputStreamGetFieldTest.java | 20 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()
|
D | OldObjectOutputStreamTest.java | 26 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()
|
D | OldAndroidSerializationTest.java | 22 import java.io.ObjectInputStream; 41 Object o = new ObjectInputStream(bin).readObject(); in testSerialization()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldNumberFormatFieldTest.java | 23 import java.io.ObjectInputStream; 57 ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())); in test_readResolve()
|
D | OldMessageFormatFieldTest.java | 23 import java.io.ObjectInputStream; 47 ObjectInputStream in = null; in test_readResolve() 62 in = new ObjectInputStream(new ByteArrayInputStream(bytes in test_readResolve()
|
D | DecimalFormatSymbolsTest.java | 21 import java.io.ObjectInputStream; 54 ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes)); in testSerialization()
|
D | OldDecimalFormatSymbolsTest.java | 20 import java.io.ObjectInputStream; 34 ObjectInputStream i = null; in test_RIHarmony_compatible() 37 i = new ObjectInputStream( in test_RIHarmony_compatible()
|
/libcore/luni/src/main/java/java/util/ |
D | InvalidPropertiesFormatException.java | 22 import java.io.ObjectInputStream; 65 private void readObject(ObjectInputStream in) in readObject()
|
/libcore/luni/src/main/java/javax/crypto/ |
D | SealedObject.java | 24 import java.io.ObjectInputStream; 61 private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException { in readObject() 64 ObjectInputStream.GetField fields = s.readFields(); in readObject() 73 private static byte[] getSafeCopy(ObjectInputStream.GetField fields, String fieldName) in getSafeCopy() 295 ObjectInputStream ois = null; in readSerialized() 297 ois = new ObjectInputStream(new ByteArrayInputStream(serialized)); in readSerialized()
|
/libcore/luni/src/main/java/java/util/prefs/ |
D | NodeChangeEvent.java | 21 import java.io.ObjectInputStream; 91 private void readObject (ObjectInputStream in) throws IOException, ClassNotFoundException { in readObject()
|
D | PreferenceChangeEvent.java | 21 import java.io.ObjectInputStream; 109 private void readObject(ObjectInputStream in) throws IOException{ in readObject()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_GetPutFieldsDefaulted.java | 21 import java.io.ObjectInputStream; 45 public ObjectInputStream.GetField getField; 117 private void readObject(ObjectInputStream ois) throws Exception { in readObject()
|
D | Support_GetPutFields.java | 21 import java.io.ObjectInputStream; 34 public ObjectInputStream.GetField getField; 106 private void readObject(ObjectInputStream ois) throws Exception { in readObject()
|
D | Support_GetPutFieldsDeprecated.java | 21 import java.io.ObjectInputStream; 36 public ObjectInputStream.GetField getField; 108 private void readObject(ObjectInputStream ois) throws Exception { in readObject()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | AttributedCharacterIteratorAttributeTest.java | 26 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/util/ |
D | SerializationTester.java | 22 import java.io.ObjectInputStream; 89 ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes)); in deserialize()
|