Searched refs:renameTo (Results 1 – 9 of 9) sorted by relevance
130 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()
142 f.renameTo(null); in test_renameToLjava_io_File()
582 prefsFile.renameTo( new File( in loadCache()623 if (!tmpFile.renameTo(prefsFile)) in writeBackCache()
187 public boolean renameTo(java.io.File dest) { in renameTo() method in File
106 public boolean renameTo(@libcore.util.NonNull java.io.File dest) { throw new RuntimeException("Stub… in renameTo() method in File
661 f1.renameTo(f2); in rotate()
1398 public boolean renameTo(File dest) { in renameTo() method in File
1850 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()
1508 method public boolean renameTo(@NonNull java.io.File);