/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | WatchServiceTest.java | 125 Path directory = Paths.get(filesSetup.getTestDir(), "directory"); in test_singleFile() local 127 Files.createDirectories(directory); in test_singleFile() 128 WatchKey directoryKey1 = directory.register(watchService, ALL_EVENTS_KINDS); in test_singleFile() 169 Path directory = Paths.get(filesSetup.getTestDir(), "directory"); in test_EventMask() local 171 Files.createDirectories(directory); in test_EventMask() 172 WatchKey directoryKey1 = directory.register(watchService, events); in test_EventMask() 191 Path directory = Paths.get(filesSetup.getTestDir(), "directory"); in test_singleDirectory() local 193 Files.createDirectories(directory); in test_singleDirectory() 194 WatchKey directoryKey1 = directory.register(watchService, ALL_EVENTS_KINDS); in test_singleDirectory() 220 Path directory = Paths.get(filesSetup.getTestDir(), "directory"); in test_cancel() local [all …]
|
D | LinuxPathTest.java | 370 Path directory = Paths.get(filesSetup.getTestDir(), "directory"); in test_register$WatchService$WatchEvent_Kind() local 371 Files.createDirectories(directory); in test_register$WatchService$WatchEvent_Kind() 372 WatchKey key = directory.register(watchService, events); in test_register$WatchService$WatchEvent_Kind() 383 assertEquals(directory, key.watchable()); in test_register$WatchService$WatchEvent_Kind() 403 Path directory = Paths.get(filesSetup.getTestDir(), "directory"); in test_register$WatchService$WatchEvent_Kind_NPE() local 404 Files.createDirectories(directory); in test_register$WatchService$WatchEvent_Kind_NPE() 406 directory.register(null, events); in test_register$WatchService$WatchEvent_Kind_NPE() 411 directory.register(watchService, (WatchEvent.Kind<?>) null); in test_register$WatchService$WatchEvent_Kind_NPE() 419 Path directory = Paths.get(filesSetup.getTestDir(), "directory1"); in test_register$WatchService$WatchEvent_Kind_Exception() local 420 Files.createFile(directory); in test_register$WatchService$WatchEvent_Kind_Exception() [all …]
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ProcessBuilder.java | 181 private File directory; field in ProcessBuilder 392 public File directory() { in directory() method in ProcessBuilder 393 return directory; in directory() 409 public ProcessBuilder directory(File directory) { in directory() argument 410 this.directory = directory; in directory() 1020 String dir = directory == null ? null : directory.toString();
|
D | Runtime.java | 698 .directory(dir) in exec()
|
/libcore/luni/src/test/etc/loading-test-jar/ |
D | README.txt | 1 This directory contains the source code for the loading-test jar and 7 build.sh in this directory, which copies resulting files into the luni 8 test resources directory.
|
/libcore/luni/src/test/etc/loading-test2-jar/ |
D | README.txt | 1 This directory contains the source code for the loading-test2 jar and 7 build.sh in this directory, which copies resulting files into the luni 8 test resources directory.
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ProcessBuilderTest.java | 82 assertNull(pb.directory()); in testDirectory() 88 ProcessBuilder pbReturn = pb.directory(dir); in testDirectoryFile() 90 assertEquals(dir, pb.directory()); in testDirectoryFile() 92 pbReturn = pb.directory(null); in testDirectoryFile() 94 assertNull(pb.directory()); in testDirectoryFile()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixSecureDirectoryStream.java | 109 UnixPath child = ds.directory().resolve(file); in newDirectoryStream() 164 String pathToCheck = ds.directory().resolve(file).getPathForPermissionCheck(); in newByteChannel() 193 ds.directory().resolve(file).checkDelete(); in implDelete() 258 this.ds.directory().resolve(from).checkWrite(); in move() 259 that.ds.directory().resolve(to).checkWrite(); in move() 356 ds.directory().checkWrite(); in checkWriteAccess() 358 ds.directory().resolve(file).checkWrite(); in checkWriteAccess() 378 ds.directory().checkRead(); in readAttributes() 380 ds.directory().resolve(file).checkRead(); in readAttributes() 472 ds.directory().checkRead(); in readAttributes() [all …]
|
D | UnixDirectoryStream.java | 79 protected final UnixPath directory() { in directory() method in UnixDirectoryStream
|
/libcore/ojluni/annotations/ |
D | README | 1 This directory contains annotated stub files which can be merged into 17 - To add some new files under this directory: 21 - To see the effect of the files under this directory: 28 - To add some new files under this directory: 38 - To see the effect of the files under this directory:
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ProcessBuilderTest.java | 442 File directory = new File("/tmp/fake/directory/for/" + TAG); in testDirectory_setAndGet() local 443 assertEquals(directory, new ProcessBuilder().directory(directory).directory()); in testDirectory_setAndGet() 444 assertNull(new ProcessBuilder().directory()); in testDirectory_setAndGet() 446 .directory(directory) in testDirectory_setAndGet() 447 .directory(null) in testDirectory_setAndGet() 448 .directory()); in testDirectory_setAndGet()
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | PathClassLoaderTest.java | 59 private File makeTempFile(File directory, String name) throws IOException { in makeTempFile() argument 60 directory.mkdirs(); in makeTempFile() 61 File result = new File(directory, name); in makeTempFile()
|
D | InMemoryDexClassLoaderTest.java | 443 private static File makeEmptyFile(File directory, String name) throws IOException { in makeEmptyFile() argument 444 assertTrue(directory.mkdirs()); in makeEmptyFile() 445 File result = new File(directory, name); in makeEmptyFile()
|
/libcore/ojluni/ |
D | Android.bp | 16 // directory, detect that it is a GPL license and then copy all the files 17 // from this directory and its subdirectories in to the
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | FileTreeWalker.java | 81 Path directory() { in directory() method in FileTreeWalker.DirectoryNode 248 if (Files.isSameFile(dir, ancestor.directory())) { in wouldLoop() 368 return new Event(EventType.END_DIRECTORY, top.directory(), ioe); in next()
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | BaseDexClassLoader.java | 333 for (File directory : pathList.getNativeLibraryDirectories()) { in getLdLibraryPath() 337 result.append(directory); in getLdLibraryPath()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | FileTest.java | 42 File directory = new File(base, UUID.randomUUID().toString()); in createTemporaryDirectory() local 43 assertTrue(directory.mkdirs()); in createTemporaryDirectory() 44 return directory; in createTemporaryDirectory()
|
/libcore/luni/src/test/java/libcore/xml/ |
D | XsltXPathConformanceTestSuite.java | 275 private File findFile(File directory, String name) throws FileNotFoundException { in findFile() argument 276 File file = new File(directory, name); in findFile() 281 for (String child : directory.list()) { in findFile() 283 return new File(directory, child); in findFile()
|
/libcore/ojluni/src/main/java/java/io/ |
D | File.java | 1976 File directory) in createTempFile() argument 1985 File tmpdir = (directory != null) ? directory in createTempFile()
|
/libcore/tools/testmapping/ |
D | README | 14 (Empty that directory if it exists already). This is interactive and allows
|
/libcore/tools/docs/crypto/ |
D | README | 1 The tools in this directory are a scheme for autogenerating crypto doc support.
|
/libcore/ojluni/annotations/hiddenapi/java/nio/file/ |
D | FileTreeWalker.java | 110 java.nio.file.Path directory() { in directory() method in FileTreeWalker.DirectoryNode
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | File.java | 244 java.lang.String prefix, java.lang.String suffix, java.io.File directory) in createTempFile() argument
|
/libcore/ojluni/annotations/sdk/nullability/java/io/ |
D | File.annotated.java | 134 …l.Nullable java.lang.String suffix, @libcore.util.Nullable java.io.File directory) throws java.io.… in createTempFile() argument
|
/libcore/metrictests/memory/ |
D | README | 1 This directory contains android activities and host-side tests relating to libcore memory metrics.
|