Home
last modified time | relevance | path

Searched refs:directory (Results 1 – 25 of 28) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/nio/file/
DWatchServiceTest.java125 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 …]
DLinuxPathTest.java370 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/
DProcessBuilder.java181 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();
DRuntime.java698 .directory(dir) in exec()
/libcore/luni/src/test/etc/loading-test-jar/
DREADME.txt1 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/
DREADME.txt1 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/
DProcessBuilderTest.java82 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/
DUnixSecureDirectoryStream.java109 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 …]
DUnixDirectoryStream.java79 protected final UnixPath directory() { in directory() method in UnixDirectoryStream
/libcore/ojluni/annotations/
DREADME1 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/
DProcessBuilderTest.java442 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/
DPathClassLoaderTest.java59 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()
DInMemoryDexClassLoaderTest.java443 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/
DAndroid.bp16 // 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/
DFileTreeWalker.java81 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/
DBaseDexClassLoader.java333 for (File directory : pathList.getNativeLibraryDirectories()) { in getLdLibraryPath()
337 result.append(directory); in getLdLibraryPath()
/libcore/luni/src/test/java/libcore/java/io/
DFileTest.java42 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/
DXsltXPathConformanceTestSuite.java275 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/
DFile.java1976 File directory) in createTempFile() argument
1985 File tmpdir = (directory != null) ? directory in createTempFile()
/libcore/tools/testmapping/
DREADME14 (Empty that directory if it exists already). This is interactive and allows
/libcore/tools/docs/crypto/
DREADME1 The tools in this directory are a scheme for autogenerating crypto doc support.
/libcore/ojluni/annotations/hiddenapi/java/nio/file/
DFileTreeWalker.java110 java.nio.file.Path directory() { in directory() method in FileTreeWalker.DirectoryNode
/libcore/ojluni/annotations/hiddenapi/java/io/
DFile.java244 java.lang.String prefix, java.lang.String suffix, java.io.File directory) in createTempFile() argument
/libcore/ojluni/annotations/sdk/nullability/java/io/
DFile.annotated.java134 …l.Nullable java.lang.String suffix, @libcore.util.Nullable java.io.File directory) throws java.io.… in createTempFile() argument
/libcore/metrictests/memory/
DREADME1 This directory contains android activities and host-side tests relating to libcore memory metrics.

12