/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
StreamCorruptedExceptionTest.java | 33 ObjectInputStream ois = new ObjectInputStream( local 37 ois.readObject(); 52 ObjectInputStream ois = new ObjectInputStream( local 56 ois.readObject();
|
SerializationStressTest.java | 87 protected transient ObjectInputStream ois; field in class:SerializationStressTest 234 ois = new ObjectInputStream(loadStream()); 237 return ois.readObject(); 239 ois.close(); 337 ois = new ObjectInputStream(loadStream()); 338 ois.close(); 354 ois = new ObjectInputStream(loadStream()); 355 ois.readFully(buf); 356 ois.close(); 375 ois = new ObjectInputStream(loadStream()) 579 ObjectInputStream ois = new ObjectInputStream(loadStream()); local [all...] |
ObjectOutputStreamTest.java | 66 private void readObject(ObjectInputStream ois) throws IOException { 69 ObjectInputStream.GetField fields = ois.readFields(); 568 protected ObjectInputStream ois; field in class:ObjectOutputStreamTest 642 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 643 sth = (SerializableTestHelper) (ois.readObject()); 661 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 662 ois.close(); 707 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 708 ExternalTest t2 = (ExternalTest) ois.readObject(); 709 ois.close() 985 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( local 1146 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( local 1177 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( local 1230 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( local [all...] |
ObjectInputStream2Test.java | 47 ObjectInputStream ois = new ObjectInputStream( local 49 ois.readUnshared(); 50 ois.readObject(); 51 ois.close(); 71 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( local 73 B b = (B) ois.readObject(); 74 ois.close(); 143 class OIS extends ObjectInputStream { 145 OIS() throws IOException { 158 new OIS().test() 197 ObjectInputStream ois; local [all...] |
ObjectStreamFieldTest.java | 166 ObjectInputStream ois = new ObjectInputStream(bais); local 167 SerializableObject obj = (SerializableObject) ois.readObject(); 187 MockObjectInputStream ois = new MockObjectInputStream(bais); local 188 ois.readObject(); 190 ObjectStreamClass oc = ois.getObjectStreamClass(); 205 ObjectInputStream ois = new ObjectInputStream(bais); local 206 SerializableObject2 newObj = (SerializableObject2) ois.readObject(); 238 final MyObjectInputStream ois = new MyObjectInputStream(bais); local 240 ois.readObject();
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
ObjectInputStreamTest.java | 74 private void readObject(ObjectInputStream ois) throws Exception { 76 ObjectInputStream.GetField fields = ois.readFields(); 124 ObjectInputStream ois; field in class:ObjectInputStreamTest 143 ois = new ObjectInputStream(sis); 161 ObjectInputStreamWithReadDesc ois = new ObjectInputStreamWithReadDesc( local 163 Object obj = ois.readObject(); 164 ois.close(); 173 ois = new ObjectInputStream(sis); 176 ois.available(); 182 ois.close() 929 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( local 1085 ObjectInputStream ois = new ObjectInputStreamWithResolve(bais); local 1128 ObjectInputStreamWithResolveObject ois = local 1150 ObjectInputStreamWithReadDesc1 ois = new ObjectInputStreamWithReadDesc1( local 1299 ObjectInputStream ois = new ObjectInputStream( local 1414 ObjectInputStream ois = new ObjectInputStream(in); local [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
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 = new ObjectInputStream [all...] |
OldObjectOutputStreamTest.java | 50 private void readObject(ObjectInputStream ois) throws IOException { 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.close() [all...] |
ObjectOutputStreamTest.java | 54 private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { 55 message = (String) ois.readObject(); 106 try (ObjectInputStream ois = new ObjectInputStream(bais)) { 107 read = (Serializable) ois.readObject();
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
SHA1PRNG_SecureRandomImpl.java | 494 private void readObject(ObjectInputStream ois) throws IOException, 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.readInt() [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/linear/ |
LinearObjectiveFunction.java | 137 * @param ois stream from which the object should be read 141 private void readObject(ObjectInputStream ois) 143 ois.defaultReadObject(); 144 MatrixUtils.deserializeRealVector(this, "coefficients", ois);
|
LinearConstraint.java | 223 * @param ois stream from which the object should be read 227 private void readObject(ObjectInputStream ois) 229 ois.defaultReadObject(); 230 MatrixUtils.deserializeRealVector(this, "coefficients", ois);
|
/external/slf4j/jcl-over-slf4j/src/test/java/org/apache/commons/logging/impl/ |
SerializationTest.java | 42 ObjectInputStream ois; field in class:SerializationTest 62 ois = new ObjectInputStream(bis); 64 Log resuscitatedLog = (Log) ois.readObject();
|
/libcore/ojluni/src/main/java/java/security/cert/ |
CertificateRevokedException.java | 215 private void readObject(ObjectInputStream ois) 219 ois.defaultReadObject(); 226 int size = ois.readInt(); 235 String oid = (String) ois.readObject(); 236 boolean critical = ois.readBoolean(); 237 int length = ois.readInt(); 239 ois.readFully(extVal);
|
/external/javassist/src/test/test/javassist/proxy/ |
ProxySimpleTest.java | 32 ObjectInputStream ois = new ObjectInputStream(new FileInputStream(fileName)); local 33 Object data2 = ois.readObject(); 34 ois.close();
|
/libcore/ojluni/src/main/java/java/security/ |
CodeSigner.java | 168 private void readObject(ObjectInputStream ois) 170 ois.defaultReadObject();
|
Timestamp.java | 158 private void readObject(ObjectInputStream ois) 160 ois.defaultReadObject();
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
NinePatch_Delegate.java | 118 ObjectInputStream ois = null; local 120 ois = new ObjectInputStream(bais); 121 chunk = (NinePatchChunk) ois.readObject(); 136 if (ois != null) { 138 ois.close();
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
SipProfileDb.java | 160 ObjectInputStream ois = null; local 162 ois = new ObjectInputStream(atomicFile.openRead()); 163 SipProfile p = (SipProfile) ois.readObject(); 168 if (ois!= null) ois.close();
|
/external/apache-harmony/support/src/test/java/tests/util/ |
SerializationTester.java | 75 ObjectInputStream ois = new ObjectInputStream(bis); local 76 Object outputObject = ois.readObject(); 78 ois.close();
|
/external/conscrypt/src/test/java/org/conscrypt/ |
OpenSSLX509CertificateTest.java | 74 ObjectInputStream ois = new ObjectInputStream(bais); local 75 OpenSSLX509Certificate cert = (OpenSSLX509Certificate) ois.readObject(); 76 ois.close();
|
/libcore/support/src/test/java/tests/util/ |
SerializationTester.java | 53 ObjectInputStream ois = new ObjectInputStream(bis); local 54 Object outputObject = ois.readObject(); 55 ois.close();
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
Utils.java | 105 public static String roamingConsortiumsToString(long[] ois) { 106 if (ois == null) { 109 List<Long> list = new ArrayList<Long>(ois.length); 110 for (long oi : ois) { 116 public static String roamingConsortiumsToString(Collection<Long> ois) { 119 for (long oi : ois) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
Utils.java | 102 public static String roamingConsortiumsToString(long[] ois) { 103 if (ois == null) { 106 List<Long> list = new ArrayList<Long>(ois.length); 107 for (long oi : ois) { 113 public static String roamingConsortiumsToString(Collection<Long> ois) { 116 for (long oi : ois) {
|
/libcore/support/src/test/java/tests/support/ |
Support_GetPutFields.java | 106 private void readObject(ObjectInputStream ois) throws Exception { 107 getField = ois.readFields();
|