/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | ObjectStreamClassTest.java | 35 import java.io.ObjectStreamClass; 67 ObjectStreamClass osc = ObjectStreamClass.lookup(FakeClass.class); in test_forClass() 76 ObjectStreamClass osc = ObjectStreamClass.lookup(FakeClass.class); in test_getFieldLjava_lang_String() 87 ObjectStreamClass osc = ObjectStreamClass.lookup(FakeClass.class); in test_getFields() 98 ObjectStreamClass osc = ObjectStreamClass.lookup(FakeClass.class); in test_getName() 109 ObjectStreamClass osc = ObjectStreamClass.lookup(FakeClass.class); in test_getSerialVersionUID() 134 ObjectStreamClass osc = ObjectStreamClass.lookup(FakeClass.class); in test_lookupLjava_lang_Class() 145 ObjectStreamClass osc = ObjectStreamClass.lookup(FakeClass.class); in test_toString() 156 ObjectStreamClass osc = ObjectStreamClass in testSerialization() 157 .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 | 34 import java.io.ObjectStreamClass; 178 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()
|
/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 | ObjectStreamClassSuidTest.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/luni/src/test/java9compatibility/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()
|
/libcore/ojluni/src/test/java/io/Serializable/records/ |
D | RecordClassTest.java | 41 import java.io.ObjectStreamClass; 108 ObjectStreamClass osc = ObjectStreamClass.lookup(recordClass); in testSerialVersionUID() 112 osc = ObjectStreamClass.lookupAny(recordClass); in testSerialVersionUID() 138 ObjectStreamClass osc = ObjectStreamClass.lookup(recordClass); in testSerialVersionUIDNonSer() 142 osc = ObjectStreamClass.lookupAny(recordClass); in testSerialVersionUIDNonSer()
|
/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.RecordSupport; 30 import java.io.ObjectStreamClass.WeakClassKey; 46 import static java.io.ObjectStreamClass.processQueue; 558 ObjectStreamClass curDesc = ctx.getDesc(); in defaultReadObject() 597 ObjectStreamClass curDesc = ctx.getDesc(); in readFields() 680 protected Class<?> resolveClass(ObjectStreamClass desc) in resolveClass() 886 protected ObjectStreamClass readClassDescriptor() in readClassDescriptor() 889 ObjectStreamClass desc = new ObjectStreamClass(); in readClassDescriptor() 1175 public abstract ObjectStreamClass getObjectStreamClass(); in getObjectStreamClass() 1589 ObjectStreamClass desc = readClassDesc(false); in readClass() [all …]
|
D | ObjectStreamClass.java | 79 public class ObjectStreamClass implements Serializable { class 209 private ObjectStreamClass localDesc; 211 private ObjectStreamClass superDesc; 237 public static ObjectStreamClass lookup(Class<?> cl) { in lookup() 249 public static ObjectStreamClass lookupAny(Class<?> cl) { in lookupAny() 349 static ObjectStreamClass lookup(Class<?> cl, boolean all) { in lookup() 378 if (entry instanceof ObjectStreamClass) { // check common case first in lookup() 379 return (ObjectStreamClass) entry; in lookup() 397 entry = new ObjectStreamClass(cl); in lookup() 409 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/ojluni/src/test/java/net/UnixDomainSocketAddress/ |
D | UnixDomainSocketAddressSerializationTest.java | 33 import java.io.ObjectStreamClass; 73 long suid = ObjectStreamClass.lookup(UnixDomainSocketAddress.class).getSerialVersionUID(); in testUnixDomainSocketAddressInStream() 82 long suid = ObjectStreamClass.lookup(c).getSerialVersionUID(); in testSerialProxyNoStreamValues()
|
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
D | PatternSyntaxExceptionTest.java | 19 import java.io.ObjectStreamClass; 116 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 | 57 "ObjectStreamClass.c",
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | SealedObject.java | 464 protected Class<?> resolveClass(ObjectStreamClass v) in resolveClass()
|