Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/lang/
DOldStackTraceElementTest.java54 ste1.getFileName(), in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
61 ste1.getFileName(), ste2.getFileName()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
69 ste2.getFileName(), in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
78 ste2.getFileName(), in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
103 ste1.getFileName(), in test_equalsLjava_lang_Object()
130 e.getStackTrace()[0].getFileName()); in test_getFileName()
133 e.getStackTrace()[1].getFileName()); in test_getFileName()
170 ste1.getFileName(), in test_hashCode()
DThreadTest.java335 assertEquals("ThreadTestHelper.java", ste.getFileName()); in getStackTrace_debugInfo()
357 assertEquals(null, ste.getFileName()); in getStackTrace_noDebugInfo()
/libcore/luni/src/test/java/libcore/java/nio/file/
DFiles2Test.java613 expectedDirMap.put(file1.getFileName(), VisitOption.VISIT_FILE); in test_walkFileTree$Path$Set$int$FileVisitor_symbolicLinkFollow()
614 expectedDirMap.put(file2.getFileName(), VisitOption.POST_VISIT_DIRECTORY); in test_walkFileTree$Path$Set$int$FileVisitor_symbolicLinkFollow()
615 expectedDirMap.put(dir3.getFileName(), VisitOption.POST_VISIT_DIRECTORY); in test_walkFileTree$Path$Set$int$FileVisitor_symbolicLinkFollow()
660 expectedDirMap.put(rootDir.getFileName(), VisitOption.POST_VISIT_DIRECTORY); in test_walkFileTree$Path$FileVisitor()
661 expectedDirMap.put(dir1.getFileName(), VisitOption.POST_VISIT_DIRECTORY); in test_walkFileTree$Path$FileVisitor()
662 expectedDirMap.put(dir2.getFileName(), VisitOption.POST_VISIT_DIRECTORY); in test_walkFileTree$Path$FileVisitor()
663 expectedDirMap.put(dir3.getFileName(), VisitOption.POST_VISIT_DIRECTORY); in test_walkFileTree$Path$FileVisitor()
664 expectedDirMap.put(file5.getFileName(), VisitOption.VISIT_FILE); in test_walkFileTree$Path$FileVisitor()
665 expectedDirMap.put(dir4.getFileName(), VisitOption.POST_VISIT_DIRECTORY); in test_walkFileTree$Path$FileVisitor()
666 expectedDirMap.put(file3.getFileName(), VisitOption.VISIT_FILE); in test_walkFileTree$Path$FileVisitor()
[all …]
DLinuxPathTest.java88 assertEquals(fakePath, fakePath.getFileName()); in test_getFileName()
89 assertEquals(fakePath, fakePath.toAbsolutePath().getFileName()); in test_getFileName()
91 assertEquals(Paths.get("data"), Paths.get("/data").getFileName()); in test_getFileName()
92 assertEquals(Paths.get("data"), Paths.get("/data/").getFileName()); in test_getFileName()
93 assertEquals(Paths.get(".."), Paths.get("/data/dir1/..").getFileName()); in test_getFileName()
/libcore/ojluni/src/main/java/sun/nio/fs/
DPollingWatchService.java261 entries.put(entry.getFileName(), new CacheEntry(lastModified, tickCount));
349 CacheEntry e = entries.get(entry.getFileName());
352 entries.put(entry.getFileName(),
357 signalEvent(StandardWatchEventKinds.ENTRY_CREATE, entry.getFileName());
365 … signalEvent(StandardWatchEventKinds.ENTRY_MODIFY, entry.getFileName());
375 entry.getFileName());
DUnixFileSystemProvider.java348 UnixPath name = file.getFileName(); in isHidden()
DUnixPath.java272 public UnixPath getFileName() { in getFileName() method in UnixPath
/libcore/ojluni/src/main/java/java/nio/file/
DPath.java135 Path getFileName(); in getFileName() method
DFiles.java522 return matcher.matches(entry.getFileName());
/libcore/ojluni/src/main/java/java/lang/
DStackTraceElement.java89 public String getFileName() { in getFileName() method in StackTraceElement