Home
last modified time | relevance | path

Searched refs:renameTo (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/test/java/libcore/java/io/
DFileTest.java130 assertFalse(f.renameTo(f)); in test_emptyFilename()
225 assertFalse(f.renameTo(new File(""))); in test_rename()
226 assertFalse(new File("").renameTo(f)); in test_rename()
227 assertFalse(f.renameTo(new File("."))); in test_rename()
228 assertTrue(f.renameTo(f)); in test_rename()
DOldFileTest.java142 f.renameTo(null); in test_renameToLjava_io_File()
/libcore/ojluni/src/main/java/java/util/prefs/
DFileSystemPreferences.java582 prefsFile.renameTo( new File( in loadCache()
623 if (!tmpFile.renameTo(prefsFile)) in writeBackCache()
/libcore/ojluni/annotations/hiddenapi/java/io/
DFile.java187 public boolean renameTo(java.io.File dest) { in renameTo() method in File
/libcore/ojluni/annotations/sdk/nullability/java/io/
DFile.annotated.java106 public boolean renameTo(@libcore.util.NonNull java.io.File dest) { throw new RuntimeException("Stub… in renameTo() method in File
/libcore/ojluni/src/main/java/java/util/logging/
DFileHandler.java661 f1.renameTo(f2); in rotate()
/libcore/ojluni/src/main/java/java/io/
DFile.java1398 public boolean renameTo(File dest) { in renameTo() method in File
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java1850 assertTrue("Test 1: File Rename Failed", f.renameTo(rfile)); in test_renameToLjava_io_File()
1859 assertTrue("Test 4: File Rename Failed", rfile.renameTo(f2)); in test_renameToLjava_io_File()
/libcore/api/
Dcurrent.txt1508 method public boolean renameTo(@NonNull java.io.File);