Searched defs:ois (Results 1 - 14 of 14) sorted by relevance

/dalvik/libcore/luni/src/test/java/tests/api/java/io/
H A DObjectInputStreamGetFieldTest.java64 private ObjectInputStream ois = null; field in class:ObjectInputStreamGetFieldTest
136 Support_GetPutFields object = (Support_GetPutFields) ois.readObject();
146 (Support_GetPutFieldsDefaulted) ois.readObject();
172 Support_GetPutFields object = (Support_GetPutFields) ois.readObject();
186 (Support_GetPutFieldsDefaulted) ois.readObject();
254 Support_GetPutFields object = (Support_GetPutFields) ois.readObject();
378 Support_GetPutFields object = (Support_GetPutFields) ois.readObject();
385 if (ois != null) {
386 ois.close();
388 ois
[all...]
H A DSerializationStressTest.java82 protected transient ObjectInputStream ois; field in class:SerializationStressTest
101 ois = new ObjectInputStream(loadStream());
103 int j = ois.readInt();
106 String l1 = (String) ois.readObject();
109 String l2 = (String) ois.readUTF();
112 byte[] bytes2 = (byte[]) ois.readObject();
116 ois.close();
252 ois = new ObjectInputStream(loadStream());
255 return ois.readObject();
257 ois
[all...]
H A DObjectInputStreamTest.java57 ObjectInputStream ois; field in class:ObjectInputStreamTest
83 ois = new BasicObjectInputStream();
104 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
105 ois.close();
109 ois = new ObjectInputStream(new ByteArrayInputStream(new byte[90]));
130 ois = new ObjectInputStream(sis);
162 ObjectInputStreamWithReadDesc ois = new ObjectInputStreamWithReadDesc(
164 Object obj = ois.readObject();
165 ois.close();
183 ois
1122 readObject(ObjectInputStream ois) argument
[all...]
H A DObjectOutputStreamTest.java91 private void readObject(ObjectInputStream ois) throws IOException { argument
94 ObjectInputStream.GetField fields = ois.readFields();
600 protected ObjectInputStream ois; field in class:ObjectOutputStreamTest
893 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
894 sth = (SerializableTestHelper) (ois.readObject());
928 ois = new ObjectInputStream(new ByteArrayInputStream(sos.toByteArray()));
929 assertEquals("Test 2: Incorrect object read.", o, ois.readObject());
930 assertEquals("Test 3: Incorrect object read.", o, ois.readObject());
931 assertEquals("Test 4: Incorrect object read.", o, ois.readObject());
932 ois
[all...]
/dalvik/libcore/awt-kernel/src/main/java/java/beans/
H A DPropertyChangeSupport.java413 private void readObject(ObjectInputStream ois) throws IOException, argument
415 children = (Hashtable<String, List<PropertyChangeListener>>) ois
426 sourceBean = ois.readObject();
427 propertyChangeSupportSerializedDataVersion = ois.readInt();
/dalvik/libcore/security/src/main/java/java/security/
H A DCodeSource.java595 private void readObject(ObjectInputStream ois) throws IOException, argument
598 ois.defaultReadObject();
600 int certsCount = ois.readInt();
605 String type = ois.readUTF();
614 int dataLen = ois.readInt();
616 ois.readFully(data);
627 signers = (CodeSigner[]) ois.readObject();
/dalvik/libcore/auth/src/main/java/javax/security/auth/
H A DPrivateCredentialPermission.java188 private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { argument
189 ois.defaultReadObject();
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
H A DObjectInputStreamTest.java46 ObjectInputStream ois; field in class:ObjectInputStreamTest
71 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
73 ois.readUnshared();
74 ois.readObject();
81 ois.readUnshared();
86 ois.close();
102 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
104 ois.readUnshared();
109 ois.close();
126 ois
[all...]
/dalvik/libcore/support/src/test/java/tests/support/
H A DSupport_GetPutFields.java106 private void readObject(ObjectInputStream ois) throws Exception { argument
107 getField = ois.readFields();
H A DSupport_GetPutFieldsDefaulted.java117 private void readObject(ObjectInputStream ois) throws Exception { argument
118 getField = ois.readFields();
H A DSupport_GetPutFieldsDeprecated.java108 private void readObject(ObjectInputStream ois) throws Exception { argument
/dalvik/libcore/luni/src/main/java/java/util/
H A DBitSet.java988 private void readObject(ObjectInputStream ois) throws IOException, argument
990 ois.defaultReadObject();
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/crypto/
H A DSHA1PRNG_SecureRandomImpl.java484 private void readObject(ObjectInputStream ois) throws IOException, argument
491 seedLength = ois.readLong();
492 counter = ois.readLong();
493 state = ois.readInt();
494 seed[BYTES_OFFSET] = ois.readInt();
501 seed[i] = ois.readInt();
504 seed[HASH_OFFSET + i] = ois.readInt();
510 seed[FRAME_LENGTH] = ois.readInt();
511 seed[FRAME_LENGTH + 1] = ois.readInt();
512 seed[FRAME_LENGTH + 14] = ois
[all...]
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/
H A DCopyOnWriteArrayList.java1166 * @param ois ObjectInputStream to read object from.
1169 private void readObject(ObjectInputStream ois) throws IOException, argument
1171 ois.defaultReadObject();
1172 int length = ois.readInt();
1178 back[i] = (E) ois.readObject();

Completed in 238 milliseconds