Home
last modified time | relevance | path

Searched refs:serialBytes (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/test/java/util/Collections/
DReverseOrder.java43 static byte[] serialBytes(Object o) { in serialBytes() method in ReverseOrder
60 (new ByteArrayInputStream(serialBytes(o))); in serialClone()
/libcore/jsr166-tests/src/test/java/jsr166/
DJSR166TestCase.java1797 assertTrue(Arrays.equals(serialBytes(x), serialBytes(y)));
1801 assertFalse(Arrays.equals(serialBytes(x), serialBytes(y)));
1804 byte[] serialBytes(Object o) {
1822 (new ByteArrayInputStream(serialBytes(o)));
/libcore/ojluni/src/test/java/util/concurrent/tck/
DJSR166TestCase.java2069 assertTrue(Arrays.equals(serialBytes(x), serialBytes(y)));
2073 assertFalse(Arrays.equals(serialBytes(x), serialBytes(y)));
2076 byte[] serialBytes(Object o) {
2103 (new ByteArrayInputStream(serialBytes(o)));
/libcore/support/src/test/java/libcore/java/security/
DTestKeyStore.java708 byte[] serialBytes = new byte[16]; in createCertificate()
709 new SecureRandom().nextBytes(serialBytes); in createCertificate()
710 serialNumber = new BigInteger(1, serialBytes); in createCertificate()