Home
last modified time | relevance | path

Searched refs:getFileName (Results 1 – 11 of 11) 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()
/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.java87 assertEquals(dummyPath, dummyPath.getFileName()); in test_getFileName()
88 assertEquals(dummyPath, dummyPath.toAbsolutePath().getFileName()); in test_getFileName()
90 assertEquals(Paths.get("data"), Paths.get("/data").getFileName()); in test_getFileName()
91 assertEquals(Paths.get("data"), Paths.get("/data/").getFileName()); in test_getFileName()
92 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());
DMimeTypesFileTypeDetector.java69 Path fn = path.getFileName(); in implProbeContentType()
DUnixFileSystemProvider.java348 UnixPath name = file.getFileName(); in isHidden()
DUnixPath.java272 public UnixPath getFileName() { in getFileName() method in UnixPath
/libcore/ojluni/annotations/hiddenapi/java/lang/
DStackTraceElement.java41 public java.lang.String getFileName() { in getFileName() method in StackTraceElement
/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