/dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
ComputeSerialVersionUIDTest.java | 23 ObjectInputStream ois = new ObjectInputStream(getClass() local 25 SerializationTestClass.TestClassName1 o1 = (SerializationTestClass.TestClassName1) ois 27 SerializationTestClass.TestClassName2T_T$T o2 = (SerializationTestClass.TestClassName2T_T$T) ois 29 SerializationTestClass.TestClassModifierPublic o6 = (SerializationTestClass.TestClassModifierPublic) ois 31 SerializationTestClass.TestClassModifierAbstract o3 = (SerializationTestClass.TestClassModifierAbstract) ois 33 SerializationTestClass.TestClassModifierFinal o4 = (SerializationTestClass.TestClassModifierFinal) ois 35 SerializationTestClass.TestClassModifierInterface o5 = (SerializationTestClass.TestClassModifierInterface) ois 37 ois.close(); 47 ObjectInputStream ois = new ObjectInputStream(getClass() local 49 SerializationTestClass.TestIntefaces o1 = (SerializationTestClass.TestIntefaces) ois 85 ObjectInputStream ois = new ObjectInputStream(getClass() local 129 ObjectInputStream ois = new ObjectInputStream(getClass() local 157 ObjectInputStream ois = new ObjectInputStream(getClass() local [all...] |
ObjectInputStreamTest.java | 57 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( local 164 Object obj = ois.readObject(); 165 ois.close(); 183 ois = new ObjectInputStream(sis) 711 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( local 1278 ObjectInputStream ois = new ObjectInputStreamWithResolve(bais); local 1325 ObjectInputStreamWithResolveObject ois = local 1366 ObjectInputStreamWithReadDesc1 ois = new ObjectInputStreamWithReadDesc1( local 1467 ObjectInputStream ois = new ObjectInputStream( local [all...] |
SerializationStressTest0.java | 170 ois = new ObjectInputStream(loadStream()); 171 ois.close(); 193 ois = new ObjectInputStream(loadStream()); 194 ois.readFully(buf); 195 ois.close(); 220 ois = new ObjectInputStream(loadStream()); 221 ois.readFully(buf); 222 ois.close(); 243 ois = new ObjectInputStream(loadStream()); 244 assertEquals("Read incorrect byte", 'T', ois.read()) 509 ObjectInputStream ois = new ObjectInputStream(loadStream()); local [all...] |
ObjectOutputStreamTest.java | 91 private void readObject(ObjectInputStream ois) throws IOException { 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.close() 1290 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( local 1456 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream (baos.toByteArray())); local 1492 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream (baos.toByteArray())); local 1555 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream (baos.toByteArray())); local [all...] |
ObjectInputStreamGetFieldTest.java | 64 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 = new ObjectInputStream [all...] |
SerializationStressTest.java | 82 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.close() [all...] |
ObjectStreamFieldTest.java | 314 ObjectInputStream ois = new ObjectInputStream(bais); local 315 SerializableObject obj = (SerializableObject) ois.readObject(); 357 MockObjectInputStream ois = new MockObjectInputStream(bais); local 358 ois.readObject(); 360 ObjectStreamClass oc = ois.getObjectStreamClass(); 404 ObjectInputStream ois = new ObjectInputStream(bais); local 405 SerializableObject2 newObj = (SerializableObject2) ois.readObject();
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
ObjectInputStreamTest.java | 46 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 = new ObjectInputStream(sis) 154 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(baos.toByteArray())); local 291 ObjectInputStream ois; local [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/crypto/ |
SHA1PRNG_SecureRandomImpl.java | 484 private void readObject(ObjectInputStream ois) throws IOException, 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.readInt() [all...] |
/cts/tools/signature-tools/src/signature/io/impl/ |
BinaryApi.java | 68 ObjectInputStream ois = new ObjectInputStream(
local 72 sig = (IApi) ois.readObject();
80 ois.close();
|
/dalvik/libcore/luni/src/test/java/com/google/coretests/ |
CoreTestRunnable.java | 157 ObjectInputStream ois = new ObjectInputStream(fis); local 158 throwable = (Throwable)ois.readObject(); 159 ois.close();
|
/dalvik/libcore/security/src/main/java/java/security/ |
SignedObject.java | 104 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( local 107 return ois.readObject(); 109 ois.close();
|
CodeSource.java | 595 private void readObject(ObjectInputStream ois) throws IOException, 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/support/src/test/java/tests/util/ |
SerializationTester.java | 77 ObjectInputStream ois = new ObjectInputStream(bis); local 78 Object outputObject = ois.readObject(); 80 ois.close();
|
/dalvik/libcore/crypto/src/main/java/javax/crypto/ |
SealedObject.java | 170 ObjectInputStream ois = local 173 return ois.readObject(); 221 ObjectInputStream ois = local 224 return ois.readObject(); 266 ObjectInputStream ois = local 269 return ois.readObject();
|
/frameworks/base/packages/VpnServices/src/com/android/server/vpn/ |
VpnServiceBinder.java | 142 ObjectInputStream ois = new ObjectInputStream(new FileInputStream( local 144 mService = (VpnService<? extends VpnProfile>) ois.readObject(); 146 ois.close();
|
/dalvik/libcore/support/src/test/java/tests/support/ |
Support_GetPutFields.java | 106 private void readObject(ObjectInputStream ois) throws Exception { 107 getField = ois.readFields();
|
Support_GetPutFieldsDefaulted.java | 117 private void readObject(ObjectInputStream ois) throws Exception { 118 getField = ois.readFields();
|
Support_GetPutFieldsDeprecated.java | 108 private void readObject(ObjectInputStream ois) throws Exception {
|
/dalvik/libcore/security/src/test/java/tests/security/permissions/ |
JavaIoObjectInputStreamTest.java | 114 TestObjectInputStream ois = new TestObjectInputStream(new FileInputStream(f)); local 120 ois.enableResolveObject(true);
|
JavaIoObjectOutputStreamTest.java | 94 TestObjectOutputStream ois = new TestObjectOutputStream(new FileOutputStream(f)); local 100 ois.enableReplaceObject(true);
|
/dalvik/libcore/awt-kernel/src/main/java/java/beans/ |
PropertyChangeSupport.java | 413 private void readObject(ObjectInputStream ois) throws IOException, 415 children = (Hashtable<String, List<PropertyChangeListener>>) ois 426 sourceBean = ois.readObject(); 427 propertyChangeSupportSerializedDataVersion = ois.readInt();
|
/dalvik/libcore/luni-kernel/src/main/java/org/apache/harmony/lang/annotation/ |
AnnotationMember.java | 318 ObjectInputStream ois = new ObjectInputStream(bis); local 319 error = (Throwable)ois.readObject(); 320 ois.close();
|
/dalvik/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/ |
SerializationTest.java | 226 ObjectInputStream ois = new ObjectInputStream(is); local 227 Object result = ois.readObject(); 228 ois.close();
|
/dalvik/libcore/auth/src/main/java/javax/security/auth/ |
PrivateCredentialPermission.java | 188 private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { 189 ois.defaultReadObject();
|