/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldObjectInputStreamGetFieldTest.java | 57 private ObjectInputStream ois = null; field in class:OldObjectInputStreamGetFieldTest 71 Support_GetPutFields object = (Support_GetPutFields) ois.readObject(); 81 (Support_GetPutFieldsDefaulted) ois.readObject(); 99 Support_GetPutFields object = (Support_GetPutFields) ois.readObject(); 113 (Support_GetPutFieldsDefaulted) ois.readObject(); 123 Support_GetPutFields object = (Support_GetPutFields) ois.readObject(); 239 Support_GetPutFields object = (Support_GetPutFields) ois.readObject(); 245 if (ois != null) { 246 ois.close(); 248 ois [all...] |
H A D | OldObjectOutputStreamTest.java | 50 private void readObject(ObjectInputStream ois) throws IOException { argument 53 ObjectInputStream.GetField fields = ois.readFields(); 136 protected ObjectInputStream ois; field in class:OldObjectOutputStreamTest 254 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 255 sth = (SerializableTestHelper) (ois.readObject()); 281 ois = new ObjectInputStream(new ByteArrayInputStream(sos.toByteArray())); 282 assertEquals("Test 2: Incorrect object read.", o, ois.readObject()); 283 assertEquals("Test 3: Incorrect object read.", o, ois.readObject()); 284 assertEquals("Test 4: Incorrect object read.", o, ois.readObject()); 285 ois [all...] |
/libcore/support/src/test/java/tests/support/ |
H A D | Support_GetPutFields.java | 106 private void readObject(ObjectInputStream ois) throws Exception { argument 107 getField = ois.readFields();
|
H A D | Support_GetPutFieldsDefaulted.java | 117 private void readObject(ObjectInputStream ois) throws Exception { argument 118 getField = ois.readFields();
|
H A D | Support_GetPutFieldsDeprecated.java | 108 private void readObject(ObjectInputStream ois) throws Exception { argument
|
/libcore/luni/src/main/java/java/text/ |
H A D | DateFormatSymbols.java | 153 private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { argument 154 ois.defaultReadObject();
|
/libcore/luni/src/main/java/java/util/ |
H A D | BitSet.java | 747 private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { argument 748 ois.defaultReadObject();
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
H A D | SHA1PRNG_SecureRandomImpl.java | 494 private void readObject(ObjectInputStream ois) throws IOException, argument 501 seedLength = ois.readLong(); 502 counter = ois.readLong(); 503 state = ois.readInt(); 504 seed[BYTES_OFFSET] = ois.readInt(); 511 seed[i] = ois.readInt(); 514 seed[HASH_OFFSET + i] = ois.readInt(); 520 seed[FRAME_LENGTH] = ois.readInt(); 521 seed[FRAME_LENGTH + 1] = ois.readInt(); 522 seed[FRAME_LENGTH + 14] = ois [all...] |
/libcore/luni/src/test/java/tests/api/java/io/ |
H A D | ObjectInputStreamTest.java | 43 ObjectInputStream ois; field in class:ObjectInputStreamTest 62 ois = new ObjectInputStream(sis); 80 ObjectInputStreamWithReadDesc ois = new ObjectInputStreamWithReadDesc( 82 Object obj = ois.readObject(); 83 ois.close(); 93 ois = new ObjectInputStream(sis); 94 assertEquals("Test 1: Incorrect number of bytes;", testLength, ois.available()); 95 ois.close(); 103 ois = new ObjectInputStream(sis); 106 ois [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
H A D | ObjectInputStreamTest.java | 60 ObjectInputStream ois; field in class:ObjectInputStreamTest 82 private void readObject(ObjectInputStream ois) throws Exception { argument 84 ObjectInputStream.GetField fields = ois.readFields(); 148 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 149 ois.close(); 153 ois = new ObjectInputStream(new ByteArrayInputStream(new byte[90])); 167 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 216 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 217 assertEquals("Read incorrect bytes", 10, ois.available()); 218 ois [all...] |