/libcore/luni/src/test/java/libcore/java/io/ |
D | OldObjectInputStreamGetFieldTest.java | 71 Support_GetPutFields object = (Support_GetPutFields) ois.readObject(); in test_get() 81 (Support_GetPutFieldsDefaulted) ois.readObject(); in test_get() 99 Support_GetPutFields object = (Support_GetPutFields) ois.readObject(); in test_defaultedLjava_lang_String() 113 (Support_GetPutFieldsDefaulted) ois.readObject(); in test_defaultedLjava_lang_String() 123 Support_GetPutFields object = (Support_GetPutFields) ois.readObject(); in test_getException() 239 Support_GetPutFields object = (Support_GetPutFields) ois.readObject(); in test_getObjectStreamClass()
|
D | ObjectOutputStreamTest.java | 54 private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { in readObject() method in ObjectOutputStreamTest.CallsCloseInWriteObjectMethod 55 message = (String) ois.readObject(); in readObject() 107 read = (Serializable) ois.readObject(); in roundTrip()
|
D | OldObjectOutputStreamTest.java | 50 private void readObject(ObjectInputStream ois) throws IOException { in readObject() method in OldObjectOutputStreamTest.SerializableTestHelper 255 sth = (SerializableTestHelper) (ois.readObject()); in test_putFields() 282 assertEquals("Test 2: Incorrect object read.", o, ois.readObject()); in test_reset() 283 assertEquals("Test 3: Incorrect object read.", o, ois.readObject()); in test_reset() 284 assertEquals("Test 4: Incorrect object read.", o, ois.readObject()); in test_reset() 412 return ois.readObject(); in reload()
|
/libcore/support/src/test/java/tests/util/ |
D | SerializationTester.java | 54 Object outputObject = ois.readObject(); in getDeserilizedObject() 93 return obj == readObject(obj, fileName); in assertCompabilitySame() 107 return obj.equals(readObject(obj, fileName)); in assertCompabilityEquals() 118 public static Object readObject(Object obj, String fileName) in readObject() method in SerializationTester 132 Object newObj = oinput.readObject(); in readObject()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | ObjectOutputStreamTest.java | 66 private void readObject(ObjectInputStream ois) throws IOException { in readObject() method in ObjectOutputStreamTest.SerializableTestHelper 170 private void readObject(java.io.ObjectInputStream in) in readObject() method in ObjectOutputStreamTest.ReadWriteObject 173 in.readObject(); in readObject() 192 public void readObject(java.io.ObjectInputStream in) in readObject() method in ObjectOutputStreamTest.PublicReadWriteObject 195 in.readObject(); in readObject() 222 private void readObject(java.io.ObjectInputStream in) in readObject() method in ObjectOutputStreamTest.JustReadObject 318 private void readObject(java.io.ObjectInputStream in) in readObject() method in ObjectOutputStreamTest.MyExceptionWhenDumping 352 private void readObject(java.io.ObjectInputStream in) in readObject() method in ObjectOutputStreamTest.MyUnserializableExceptionWhenDumping 399 private void readObject(java.io.ObjectInputStream in) in readObject() method in ObjectOutputStreamTest.SerialPersistentFields 427 private void readObject(java.io.ObjectInputStream in) in readObject() method in ObjectOutputStreamTest.WriteFieldsWithoutFetchingPutFields [all …]
|
D | SerializationStressTest.java | 237 return ois.readObject(); in reload() 581 obj1 = ois.readObject(); in test_25_available() 583 obj2 = ois.readObject(); in test_25_available() 620 String l1 = (String) ois.readObject(); in t_MixPrimitivesAndObjects() 626 byte[] bytes2 = (byte[]) ois.readObject(); in t_MixPrimitivesAndObjects() 640 ois.readObject(); in test_resolveClass() 671 assertEquals("Wrong result from readObject()", "R", ois.readObject()); in test_reset() 716 result = (ResolveObjectTest) ois.readObject(); in test_1_resolveObject() 740 result = (ResolveObjectTest) ois.readObject(); in test_2_resolveObject() 764 result = (ResolveObjectTest) ois.readObject(); in test_3_resolveObject() [all …]
|
D | StreamCorruptedExceptionTest.java | 37 ois.readObject(); in test_Constructor() 56 ois.readObject(); in test_ConstructorLjava_lang_String()
|
D | ObjectStreamFieldTest.java | 167 SerializableObject obj = (SerializableObject) ois.readObject(); in test_getType_Deserialized() 188 ois.readObject(); in test_getType_MockObjectInputStream() 206 SerializableObject2 newObj = (SerializableObject2) ois.readObject(); in test_isUnshared() 240 ois.readObject(); in test_ObjectWithPrimitiveField() 279 private void readObject(ObjectInputStream in) throws NotActiveException, in readObject() method in SerializableObject 343 private void readObject(ObjectInputStream in) throws NotActiveException, in readObject() method in SerializableObject2
|
D | ObjectInputStream2Test.java | 55 ois.readObject(); in test_readUnshared() 78 B b = (B) ois.readObject(); in test_readObject_Hierarchy() 212 ois.readObject(); in test_resolveClass_invalidClassName() 260 Object o2 = ois.readObject(); in test_sameName()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/ |
D | TCKWeekFieldsSerialization.java | 114 Object o = in.readObject(); in test_invalid_serialform() 125 in.readObject(); in test_invalid_serialform() 136 in.readObject(); in test_invalid_serialform() 147 in.readObject(); in test_invalid_serialform()
|
D | TCKValueRangeSerialization.java | 149 in.readObject(); in test_invalid_serialform() 160 in.readObject(); in test_invalid_serialform() 171 in.readObject(); in test_invalid_serialform()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldNumberFormatFieldTest.java | 58 NumberFormat.Field nfield2 = (NumberFormat.Field) in.readObject(); in test_readResolve() 62 in.readObject(); in test_readResolve()
|
D | OldMessageFormatFieldTest.java | 66 mfield2 = (MessageFormat.Field) in.readObject(); in test_readResolve() 73 in.readObject(); in test_readResolve()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
D | ObjectInputStreamTest.java | 74 private void readObject(ObjectInputStream ois) throws Exception { in readObject() method in ObjectInputStreamTest.SerializableTestHelper 163 Object obj = ois.readObject(); in test_ClassDescriptor() 792 sth = (SerializableTestHelper) (ois.readObject()); in test_readFields() 858 assertEquals("Read incorrect Object value", s, ois.readObject()); in test_readObject() 931 Object o = ois.readObject(); in test_readObject() 935 assertNull(new ObjectInputStream() {}.readObject()); in test_readObject() 947 in.readObject(); in test_readObjectCorrupt() 1009 Test another = (Test) in.readObject(); in test_readObject_withPrimitiveClass() 1087 .readObject(); in test_resolveClass() 1130 Integer actual = (Integer) ois.readObject(); in test_resolveObjectLjava_lang_Object() [all …]
|
/libcore/ojluni/src/main/java/java/security/ |
D | SignedObject.java | 180 Object obj = a.readObject(); in getObject() 251 private void readObject(java.io.ObjectInputStream s) in readObject() method in SignedObject
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectInput.java | 50 public Object readObject() in readObject() method
|
D | UncheckedIOException.java | 82 private void readObject(ObjectInputStream s) in readObject() method in UncheckedIOException
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | SealedObject.java | 302 Object obj = a.readObject(); in getObject() 432 Object obj = a.readObject(); in unseal() 444 private void readObject(java.io.ObjectInputStream s) in readObject() method in SealedObject
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | LogRecord.java | 492 private void readObject(ObjectInputStream in) in readObject() method in LogRecord 511 parameters[i] = in.readObject(); in readObject() 516 params.add(in.readObject()); in readObject()
|
/libcore/ojluni/src/main/java/java/util/ |
D | InvalidPropertiesFormatException.java | 87 private void readObject(java.io.ObjectInputStream in) in readObject() method in InvalidPropertiesFormatException
|
D | HashSet.java | 294 private void readObject(java.io.ObjectInputStream s) in readObject() method in HashSet 333 E e = (E) s.readObject(); in readObject()
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | NodeChangeEvent.java | 96 private void readObject(java.io.ObjectInputStream in) in readObject() method in NodeChangeEvent
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | DirectoryIteratorException.java | 79 private void readObject(ObjectInputStream s) in readObject() method in DirectoryIteratorException
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoZonedDateTimeImpl.java | 346 private void readObject(ObjectInputStream s) throws InvalidObjectException { in readObject() method in ChronoZonedDateTimeImpl 357 ChronoLocalDateTime<?> dateTime = (ChronoLocalDateTime<?>) in.readObject(); in readExternal() 358 ZoneOffset offset = (ZoneOffset) in.readObject(); in readExternal() 359 ZoneId zone = (ZoneId) in.readObject(); in readExternal()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | CertificateRevokedException.java | 217 private void readObject(ObjectInputStream ois) in readObject() method in CertificateRevokedException 237 String oid = (String) ois.readObject(); in readObject()
|