Home
last modified time | relevance | path

Searched refs:UUID (Results 1 – 8 of 8) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DUUIDTest.java20 import java.util.UUID;
32 UUID uuid = new UUID(0xf81d4fae7dec11d0L, 0xa76500a0c91e6bf6L); in test_ConstructorJJ()
45 UUID uuid = new UUID(0, 0); in test_getLeastSignificantBits()
47 uuid = new UUID(0, Long.MIN_VALUE); in test_getLeastSignificantBits()
49 uuid = new UUID(0, Long.MAX_VALUE); in test_getLeastSignificantBits()
57 UUID uuid = new UUID(0, 0); in test_getMostSignificantBits()
59 uuid = new UUID(Long.MIN_VALUE, 0); in test_getMostSignificantBits()
61 uuid = new UUID(Long.MAX_VALUE, 0); in test_getMostSignificantBits()
69 UUID uuid = new UUID(0, 0); in test_version()
71 uuid = new UUID(0x0000000000001000L, 0); in test_version()
[all …]
/libcore/ojluni/src/main/java/java/util/
DUUID.java70 public final class UUID implements java.io.Serializable, Comparable<UUID> { class
104 private UUID(byte[] data) { in UUID() method in UUID
128 public UUID(long mostSigBits, long leastSigBits) { in UUID() method in UUID
141 public static UUID randomUUID() { in randomUUID()
150 return new UUID(randomBytes); in randomUUID()
162 public static UUID nameUUIDFromBytes(byte[] name) { in nameUUIDFromBytes()
174 return new UUID(md5Bytes); in nameUUIDFromBytes()
191 public static UUID fromString(String name) { in fromString()
208 return new UUID(mostSigBits, leastSigBits); in fromString()
412 if ((null == obj) || (obj.getClass() != UUID.class)) in equals()
[all …]
/libcore/luni/src/test/java/libcore/java/util/
DUUIDTest.java19 import java.util.UUID;
28 UUID.fromString("+f81d4fae-7dec-11d0-a765-00a0c91e6bf6"); in testFromStringInvalidValues()
33 UUID.fromString("f81d4fae-+7dec-11d0-a765-00a0c91e6bf6"); in testFromStringInvalidValues()
38 UUID.fromString("f81d4fae-7dec-+11d0-a765-00a0c91e6bf6"); in testFromStringInvalidValues()
43 UUID.fromString("f81d4fae-7dec-11d0-+a765-00a0c91e6bf6"); in testFromStringInvalidValues()
48 UUID.fromString("f81d4fae-7dec-11d0-a765-+00a0c91e6bf6"); in testFromStringInvalidValues()
/libcore/ojluni/annotations/hiddenapi/java/util/
DUUID.java31 public final class UUID implements java.io.Serializable, java.lang.Comparable<java.util.UUID> { class
33 private UUID(byte[] data) { in UUID() method in UUID
37 public UUID(long mostSigBits, long leastSigBits) { in UUID() method in UUID
41 public static java.util.UUID randomUUID() { in randomUUID()
45 public static java.util.UUID nameUUIDFromBytes(byte[] name) { in nameUUIDFromBytes()
49 public static java.util.UUID fromString(java.lang.String name) { in fromString()
97 public int compareTo(java.util.UUID val) { in compareTo()
/libcore/luni/src/test/java/libcore/java/io/
DFileTest.java29 import java.util.UUID;
42 File directory = new File(base, UUID.randomUUID().toString()); in createTemporaryDirectory()
/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java73 import java.util.UUID;
823 File cacheDir = new File(tmp, "HttpCache-" + UUID.randomUUID()); in initResponseCache()
/libcore/
Dopenjdk_java_files.bp1188 "ojluni/src/main/java/java/util/UUID.java",
/libcore/api/
Dcurrent.txt14021 public final class UUID implements java.lang.Comparable<java.util.UUID> java.io.Serializable {
14022 ctor public UUID(long, long);
14024 method public int compareTo(java.util.UUID);
14025 method public static java.util.UUID fromString(String);
14028 method public static java.util.UUID nameUUIDFromBytes(byte[]);
14030 method public static java.util.UUID randomUUID();