Searched refs:renameTo (Results 1 – 8 of 8) sorted by relevance
122 assertFalse(f.renameTo(f)); in test_emptyFilename()217 assertFalse(f.renameTo(new File(""))); in test_rename()218 assertFalse(new File("").renameTo(f)); in test_rename()219 assertFalse(f.renameTo(new File("."))); in test_rename()220 assertTrue(f.renameTo(f)); in test_rename()
142 f.renameTo(null); in test_renameToLjava_io_File()
123 if (!from.renameTo(to)) { in rename()
582 prefsFile.renameTo( new File( in loadCache()623 if (!tmpFile.renameTo(prefsFile)) in writeBackCache()
554 f1.renameTo(f2); in rotate()
425 assertTrue(odexForDexClassLoader.renameTo(odexForPathClassLoader)); in testDexThenPathClassLoader()
1314 public boolean renameTo(File dest) { in renameTo() method in File
1845 assertTrue("Test 1: File Rename Failed", f.renameTo(rfile)); in test_renameToLjava_io_File()1854 assertTrue("Test 4: File Rename Failed", rfile.renameTo(f2)); in test_renameToLjava_io_File()