Home
last modified time | relevance | path

Searched refs:fromString (Results 1 – 10 of 10) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DUUIDTest.java28 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/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DUUIDTest.java308 UUID actual = UUID.fromString("f81d4fae-7dec-11d0-a765-00a0c91e6bf6"); in test_fromString()
318 actual = UUID.fromString("00000000-0000-1000-8000-000000000000"); in test_fromString()
329 UUID.fromString(null); in test_fromString()
334 UUID.fromString(""); in test_fromString()
339 UUID.fromString("f81d4fae_7dec-11d0-a765-00a0c91e6bf6"); in test_fromString()
344 UUID.fromString("f81d4fae-7dec_11d0-a765-00a0c91e6bf6"); in test_fromString()
349 UUID.fromString("f81d4fae-7dec-11d0_a765-00a0c91e6bf6"); in test_fromString()
354 UUID.fromString("f81d4fae-7dec-11d0-a765_00a0c91e6bf6"); in test_fromString()
364 UUID uuid = UUID.fromString("0-0-0-0-0"); in test_fromString_LString_Exception()
367 uuid = UUID.fromString("0-0-0-0-"); in test_fromString_LString_Exception()
[all …]
/libcore/luni/src/test/java/libcore/java/nio/file/
DFilesTest.java150 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_createFile$String$Attr()
156 perm = PosixFilePermissions.fromString("rw-------"); in test_createFile$String$Attr()
172 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_createDirectory_delegation()
201 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_createDirectories$Path$Attr()
208 perm = PosixFilePermissions.fromString("rw-------"); in test_createDirectories$Path$Attr()
225 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_createDirectories$Path$Attr_NPE()
DFiles2Test.java223 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_getPosixFilePermissions()
239 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_setPosixFilePermissions()
247 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_setPosixFilePermissions_NPE()
525 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("-wxrwxrwx"); in test_isReadable()
547 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("r-xrwxrwx"); in test_isWritable()
569 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rw-rwxrwx"); in test_isExecutable()
1067 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("-w-------"); in test_newBufferedReader()
1128 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("r--------"); in test_newBufferedWriter()
1663 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_createTempDirectory$Path$String$FileAttributes()
1693 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_createTempDirectory$String$FileAttributes()
[all …]
DDefaultFileSystemProviderTest.java426 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_createDirectory$String$FileAttr()
432 perm = PosixFilePermissions.fromString("rw-------"); in test_createDirectory$String$FileAttr()
442 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_createDirectory$String$FileAttr_NPE()
503 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_createSymbolicLink$Path$Attr()
514 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_createSymbolicLink$Path$Attr_NPE()
DDefaultFileSystemProvider2Test.java534 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_newFileChannel_withFileAttributes()
/libcore/ojluni/annotations/hiddenapi/java/util/
DUUID.java49 public static java.util.UUID fromString(java.lang.String name) { in fromString() method in UUID
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DPosixFilePermissions.java126 public static Set<PosixFilePermission> fromString(String perms) { in fromString() method in PosixFilePermissions
/libcore/ojluni/src/test/java/nio/file/attribute/
DPosixFileAttributeViewTest.java56 Set<PosixFilePermission> perms = PosixFilePermissions.fromString(mode); in testPermissions()
102 Set<PosixFilePermission> requested = PosixFilePermissions.fromString(mode); in createWithPermissions()
/libcore/ojluni/src/main/java/java/util/
DUUID.java191 public static UUID fromString(String name) { in fromString() method in UUID