/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | ObjectStreamClassTest.java | 27 import java.io.ObjectStreamClass; 64 ObjectStreamClass osc = ObjectStreamClass.lookup(FakeClass.class); in test_forClass() 73 ObjectStreamClass osc = ObjectStreamClass.lookup(FakeClass.class); in test_getFieldLjava_lang_String() 84 ObjectStreamClass osc = ObjectStreamClass.lookup(FakeClass.class); in test_getFields() 95 ObjectStreamClass osc = ObjectStreamClass.lookup(FakeClass.class); in test_getName() 106 ObjectStreamClass osc = ObjectStreamClass.lookup(FakeClass.class); in test_getSerialVersionUID() 131 ObjectStreamClass osc = ObjectStreamClass.lookup(FakeClass.class); in test_lookupLjava_lang_Class() 142 ObjectStreamClass osc = ObjectStreamClass.lookup(FakeClass.class); in test_toString() 153 ObjectStreamClass osc = ObjectStreamClass in testSerialization() 154 .lookup(ObjectStreamClass.class); in testSerialization() [all …]
|
D | ObjectStreamFieldTest.java | 27 import java.io.ObjectStreamClass; 52 ObjectStreamClass osc; 169 ObjectStreamClass oc = obj.getObjectStreamClass(); in test_getType_Deserialized() 190 ObjectStreamClass oc = ois.getObjectStreamClass(); in test_getType_MockObjectInputStream() 209 ObjectStreamClass objectStreamClass = getField.getObjectStreamClass(); in test_isUnshared() 248 osc = ObjectStreamClass.lookup(FakeClass.class); in setUp() 286 public ObjectStreamClass getObjectStreamClass() { in getObjectStreamClass() 292 private ObjectStreamClass temp = null; 303 public ObjectStreamClass readClassDescriptor() throws IOException, in readClassDescriptor() 305 ObjectStreamClass osc = super.readClassDescriptor(); in readClassDescriptor() [all …]
|
D | ComputeSerialVersionUIDTest.java | 3 import java.io.ObjectStreamClass; 84 return ObjectStreamClass.lookup(clazz).getSerialVersionUID(); in computeSerialVersionUID()
|
D | ObjectInputStream2Test.java | 29 import java.io.ObjectStreamClass; 177 protected Class resolveClass(ObjectStreamClass desc) in resolveClass()
|
D | ObjectOutputStreamTest.java | 33 import java.io.ObjectStreamClass; 1251 replaceObject = ObjectStreamClass.lookup(Integer.class); in test_replaceObject() 1285 oos.writeObject(ObjectStreamClass.lookup(Integer.class)); in test_replaceObject() 1302 ObjectStreamClass.class, obj3.getClass()); in test_replaceObject()
|
D | SerializationStressTest2.java | 28 import java.io.ObjectStreamClass; 264 if (objClass == ObjectStreamClass.class) in replaceObject() 1006 objToSave = ObjectStreamClass.lookup(SerialPersistentFields.class); // Test in test_18_47_writeObject() 1305 objToSave = ObjectStreamClass.lookup(FOO.getClass()); in test_18_58_writeObject()
|
D | SerializationStressTest.java | 31 import java.io.ObjectStreamClass; 103 public Class<?> resolveClass(ObjectStreamClass osClass) in resolveClass()
|
D | FileTest.java | 25 import java.io.ObjectStreamClass; 2143 ObjectStreamClass objectStreamClass = ObjectStreamClass in test_objectStreamClass_getFields()
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | ObjectStreamClass.java | 31 public class ObjectStreamClass implements java.io.Serializable { class 33 private ObjectStreamClass(java.lang.Class<?> cl) { in ObjectStreamClass() method in ObjectStreamClass 37 ObjectStreamClass() { in ObjectStreamClass() method in ObjectStreamClass 41 public static java.io.ObjectStreamClass lookup(java.lang.Class<?> cl) { in lookup() 45 public static java.io.ObjectStreamClass lookupAny(java.lang.Class<?> cl) { in lookupAny() 73 static java.io.ObjectStreamClass lookup(java.lang.Class<?> cl, boolean all) { in lookup() 80 java.io.ObjectStreamClass superDesc) in initProxy() 86 java.io.ObjectStreamClass model, in initNonProxy() 89 java.io.ObjectStreamClass superDesc) in initNonProxy() 123 java.io.ObjectStreamClass getSuperDesc() { in getSuperDesc() [all …]
|
D | ObjectOutputStream.java | 95 protected void writeClassDescriptor(java.io.ObjectStreamClass desc) throws java.io.IOException { in writeClassDescriptor() 203 private void writeClassDesc(java.io.ObjectStreamClass desc, boolean unshared) in writeClassDesc() 212 private void writeProxyDesc(java.io.ObjectStreamClass desc, boolean unshared) in writeProxyDesc() 217 private void writeNonProxyDesc(java.io.ObjectStreamClass desc, boolean unshared) in writeNonProxyDesc() 227 java.lang.Object array, java.io.ObjectStreamClass desc, boolean unshared) in writeArray() 232 private void writeEnum(java.lang.Enum<?> en, java.io.ObjectStreamClass desc, boolean unshared) in writeEnum() 238 java.lang.Object obj, java.io.ObjectStreamClass desc, boolean unshared) in writeOrdinaryObject() 247 private void writeSerialData(java.lang.Object obj, java.io.ObjectStreamClass desc) in writeSerialData() 252 private void defaultWriteFields(java.lang.Object obj, java.io.ObjectStreamClass desc) in defaultWriteFields() 507 java.io.ObjectStreamClass.WeakClassKey, java.lang.Boolean> [all …]
|
D | ObjectInputStream.java | 72 protected java.lang.Class<?> resolveClass(java.io.ObjectStreamClass desc) in resolveClass() 94 protected java.io.ObjectStreamClass readClassDescriptor() in readClassDescriptor() 212 private java.io.ObjectStreamClass readClassDesc(boolean unshared) throws java.io.IOException { in readClassDesc() 220 private java.io.ObjectStreamClass readProxyDesc(boolean unshared) throws java.io.IOException { in readProxyDesc() 224 private java.io.ObjectStreamClass readNonProxyDesc(boolean unshared) in readNonProxyDesc() 245 private void readExternalData(java.io.Externalizable obj, java.io.ObjectStreamClass desc) in readExternalData() 250 private void readSerialData(java.lang.Object obj, java.io.ObjectStreamClass desc) in readSerialData() 259 private void defaultReadFields(java.lang.Object obj, java.io.ObjectStreamClass desc) in defaultReadFields() 573 java.io.ObjectStreamClass.WeakClassKey, java.lang.Boolean> 594 public abstract java.io.ObjectStreamClass getObjectStreamClass(); in getObjectStreamClass() [all …]
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | ObjectStreamClassTest.java | 18 import java.io.ObjectStreamClass; 19 import java.io.ObjectStreamClass.DefaultSUIDCompatibilityListener; 129 = ObjectStreamClass.suidCompatibilityListener; in checkSerialVersionUID() 131 ObjectStreamClass.suidCompatibilityListener = (c, hash) -> { in checkSerialVersionUID() 143 ObjectStreamClass.class.getDeclaredMethod("computeDefaultSUID", Class.class); in checkSerialVersionUID() 150 ObjectStreamClass.suidCompatibilityListener = savedListener; in checkSerialVersionUID()
|
D | SerializationTest.java | 24 import java.io.ObjectStreamClass; 36 ObjectStreamClass osc = ObjectStreamClass.lookup(FieldMadeTransient.class); in testSerializeFieldMadeTransient() 60 ObjectStreamClass osc = ObjectStreamClass.lookup(FieldMadeStatic.class); in testSerializeFieldMadeStatic()
|
D | OldObjectStreamFieldTest.java | 20 import java.io.ObjectStreamClass; 60 ObjectStreamClass osc; 173 osc = ObjectStreamClass.lookup(FakeClass.class); in setUp()
|
/libcore/ojluni/src/main/java/java/io/ |
D | SerialCallbackContext.java | 41 private final ObjectStreamClass desc; 48 public SerialCallbackContext(Object obj, ObjectStreamClass desc) { in SerialCallbackContext() 59 public ObjectStreamClass getDesc() { in getDesc()
|
D | ObjectOutputStream.java | 29 import java.io.ObjectStreamClass.WeakClassKey; 38 import static java.io.ObjectStreamClass.processQueue; 461 ObjectStreamClass curDesc = ctx.getDesc(); in defaultWriteObject() 484 ObjectStreamClass curDesc = ctx.getDesc(); in putFields() 687 protected void writeClassDescriptor(ObjectStreamClass desc) in writeClassDescriptor() 1157 ObjectStreamClass desc; in writeObject0() 1179 desc = ObjectStreamClass.lookup(cl, true); in writeObject0() 1185 desc = ObjectStreamClass.lookup(cl, true); in writeObject0() 1193 desc = ObjectStreamClass.lookup(cl, true); in writeObject0() 1224 } else if (obj instanceof ObjectStreamClass) { in writeObject0() [all …]
|
D | ObjectInputStream.java | 29 import java.io.ObjectStreamClass.WeakClassKey; 44 import static java.io.ObjectStreamClass.processQueue; 555 ObjectStreamClass curDesc = ctx.getDesc(); in defaultReadObject() 594 ObjectStreamClass curDesc = ctx.getDesc(); in readFields() 677 protected Class<?> resolveClass(ObjectStreamClass desc) in resolveClass() 883 protected ObjectStreamClass readClassDescriptor() in readClassDescriptor() 886 ObjectStreamClass desc = new ObjectStreamClass(); in readClassDescriptor() 1145 public abstract ObjectStreamClass getObjectStreamClass(); in getObjectStreamClass() 1559 ObjectStreamClass desc = readClassDesc(false); in readClass() 1578 private ObjectStreamClass readClassDesc(boolean unshared) in readClassDesc() [all …]
|
D | ObjectStreamClass.java | 72 public class ObjectStreamClass implements Serializable { class 192 private ObjectStreamClass localDesc; 194 private ObjectStreamClass superDesc; 220 public static ObjectStreamClass lookup(Class<?> cl) { in lookup() 232 public static ObjectStreamClass lookupAny(Class<?> cl) { in lookupAny() 329 static ObjectStreamClass lookup(Class<?> cl, boolean all) { in lookup() 358 if (entry instanceof ObjectStreamClass) { // check common case first in lookup() 359 return (ObjectStreamClass) entry; in lookup() 377 entry = new ObjectStreamClass(cl); in lookup() 389 if (entry instanceof ObjectStreamClass) { in lookup() [all …]
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | SerializationBenchmark.java | 23 import java.io.ObjectStreamClass; 68 ObjectStreamClass osc = ObjectStreamClass.lookup(String.class); in timeReadObjectStreamClass() 80 ObjectStreamClass osc = ObjectStreamClass.lookup(String.class); in timeWriteObjectStreamClass()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
D | ObjectInputStreamTest.java | 41 import java.io.ObjectStreamClass; 601 public ObjectStreamClass readClassDescriptor() throws IOException, in readClassDescriptor() 603 return ObjectStreamClass.lookup(returnClass); in readClassDescriptor() 1023 public void writeClassDescriptor(ObjectStreamClass desc) in writeClassDescriptor() 1037 public void writeClassDescriptor(ObjectStreamClass desc) in writeClassDescriptor() 1052 public ObjectStreamClass readClassDescriptor() throws IOException, in readClassDescriptor() 1066 protected Class resolveClass(ObjectStreamClass desc) in resolveClass() 1143 ObjectStreamClass desc = ObjectStreamClass in test_readClassDescriptor() 1252 public ObjectStreamClass readClassDescriptor() throws IOException, in readClassDescriptor() 1254 ObjectStreamClass osc = super.readClassDescriptor(); in readClassDescriptor() [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
D | PatternSyntaxExceptionTest.java | 19 import java.io.ObjectStreamClass; 115 ObjectStreamClass objectStreamClass = ObjectStreamClass.lookup(PatternSyntaxException.class); in test_objectStreamField()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ThrowableTest.java | 19 import java.io.ObjectStreamClass; 341 ObjectStreamClass objectStreamClass = ObjectStreamClass.lookup(ThrowableSubclass.class); in testThrowableSubclassSerialVersionUIDComputation_target23()
|
/libcore/ojluni/src/main/native/ |
D | ObjectStreamClass.c | 114 NATIVE_METHOD(ObjectStreamClass, hasStaticInitializer, "(Ljava/lang/Class;Z)Z"),
|
D | Android.bp | 50 "ObjectStreamClass.c",
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | SealedObject.java | 464 protected Class<?> resolveClass(ObjectStreamClass v) in resolveClass()
|