Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/lang/
DOldStackTraceElementTest.java58 ste1.getFileName(), in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
65 ste1.getFileName(), ste2.getFileName()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
73 ste2.getFileName(), in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
82 ste2.getFileName(), in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
107 ste1.getFileName(), in test_equalsLjava_lang_Object()
134 e.getStackTrace()[0].getFileName()); in test_getFileName()
137 e.getStackTrace()[1].getFileName()); in test_getFileName()
174 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/test/java/nio/file/Path/
DMisc.java113 assertTrue(link.toRealPath(NOFOLLOW_LINKS).getFileName().equals(link.getFileName())); in testToRealPath()
122 assertTrue(link.toRealPath(NOFOLLOW_LINKS).getFileName().equals(link.getFileName())); in testToRealPath()
DPathOps.java95 check(path.getFileName(), expected); in name()
/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.java354 UnixPath name = file.getFileName(); in isHidden()
DUnixPath.java272 public UnixPath getFileName() { in getFileName() method in UnixPath
/libcore/ojluni/src/test/java/lang/StackWalker/
DStackRecorderUtil.java99 ste.getFileName().equals(tf.fileName)) { in compareFrame()
105 || !Objects.equals(ste.getFileName(), sf.getFileName()) in compareFrame()
DDumpStackTest.java71 String getFileName() { in getFileName() method in DumpStackTest.CallFrame
79 return classname + "." + methodname + "(" + getFileName() + ")"; in toString()
253 !actual.getFileName().equals(expected.getFileName()) || in assertEquals()
DEmbeddedStackWalkTest.java145 assertEquals(f.getFileName(), fileName); in verify()
152 assertEquals(st.getFileName(), fileName); in verify()
DNativeMethod.java66 assertTrue(f.getFileName() != null, "source file expected to be found"); in walk()
DMultiThreadStackWalk.java148 : "(" + sfi.toStackTraceElement().getFileName() in consume()
206 "(" + st.getFileName() in consume()
/libcore/ojluni/src/main/java/java/lang/
DStackTraceElement.java165 public String getFileName() { in getFileName() method in StackTraceElement
549 sfi.getFileName(), sfi.getLineNumber()); in of()
DStackFrameInfo.java122 public String getFileName() { in getFileName() method in StackFrameInfo
DStackWalker.java201 public String getFileName(); in getFileName() method
/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.java249 Path getFileName(); in getFileName() method
DFiles.java522 return matcher.matches(entry.getFileName());
/libcore/ojluni/src/test/java/util/Properties/
DLoadAndStoreXML.java235 System.out.println("testLoadWithMalformedDoc, file=" + file.getFileName()); in testLoadWithMalformedDoc()
/libcore/ojluni/src/main/java/java/time/chrono/
DHijrahChronology.java1059 .map(p -> p.getFileName().toString()) in registerCustomChrono()
/libcore/api/
Dcurrent.txt3962 method public String getFileName();
3989 method public String getFileName();
7469 method public java.nio.file.Path getFileName();