Searched refs:suid (Results 1 – 6 of 6) sorted by relevance
/libcore/ojluni/src/test/java/net/UnixDomainSocketAddress/ |
D | UnixDomainSocketAddressSerializationTest.java | 73 long suid = ObjectStreamClass.lookup(UnixDomainSocketAddress.class).getSerialVersionUID(); in testUnixDomainSocketAddressInStream() local 74 byte[] bytes = byteStreamFor(UnixDomainSocketAddress.class.getName(), suid); in testUnixDomainSocketAddressInStream() 82 long suid = ObjectStreamClass.lookup(c).getSerialVersionUID(); in testSerialProxyNoStreamValues() local 83 byte[] bytes = byteStreamFor(c.getName(), suid); in testSerialProxyNoStreamValues() 110 static byte[] byteStreamFor(String classname, long suid) throws Exception { in byteStreamFor() argument 118 dos.writeLong(suid); in byteStreamFor()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | ObjectStreamClassSuidTest.java | 109 public void computeDefaultSUID_current(Class<?> clazz, long suid, in computeDefaultSUID_current() argument 111 checkSerialVersionUID(suid, clazz, false); in computeDefaultSUID_current() 117 public void computeDefaultSUID_targetSdkVersion_23(Class<?> clazz, long suid, long suid23) { in computeDefaultSUID_targetSdkVersion_23() argument 119 boolean expectedWarning = suid23 != suid; in computeDefaultSUID_targetSdkVersion_23()
|
/libcore/luni/src/test/java9compatibility/java/libcore/java/io/ |
D | ObjectStreamClassTest.java | 109 public void computeDefaultSUID_current(Class<?> clazz, long suid, in computeDefaultSUID_current() argument 111 checkSerialVersionUID(suid, clazz, false); in computeDefaultSUID_current() 117 public void computeDefaultSUID_targetSdkVersion_23(Class<?> clazz, long suid, long suid23) { in computeDefaultSUID_targetSdkVersion_23() argument 119 boolean expectedWarning = suid23 != suid; in computeDefaultSUID_targetSdkVersion_23()
|
/libcore/ojluni/src/test/java/io/Serializable/records/ |
D | SerialVersionUIDTest.java | 109 LongStream.of(0L, 1L, 100L, 10_000L, 1_000_000L).forEach(suid -> in recordClasses() 111 .map(cl -> new Object[] {cl, suid}) in recordClasses() 121 public void testSerializeFromClass(Class<? extends Record> cl, long suid) in testSerializeFromClass() argument 125 byte[] bytes = byteStreamFor(cl.getName(), suid); in testSerializeFromClass()
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 120 private volatile Long suid; field in ObjectStreamClass 274 if (suid == null) { in getSerialVersionUID() 278 suid = AccessController.doPrivileged( in getSerialVersionUID() 286 return suid.longValue(); in getSerialVersionUID() 504 suid = Long.valueOf(0); in ObjectStreamClass() 513 suid = getDeclaredSUID(cl); in ObjectStreamClass() 548 suid = Long.valueOf(0); in ObjectStreamClass() 607 suid = Long.valueOf(0); in initProxy() 631 long suid = Long.valueOf(model.getSerialVersionUID()); in initNonProxy() local 647 suid != osc.getSerialVersionUID()) { in initNonProxy() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | ObjectStreamClass.java | 440 private volatile java.lang.Long suid; field in ObjectStreamClass
|