Searched refs:oldFile (Results 1 – 9 of 9) sorted by relevance
/frameworks/multidex/library/src/androidx/multidex/ |
D | MultiDexExtractor.java | 364 for (File oldFile : files) { in clearDexDir() 365 Log.i(TAG, "Trying to delete old file " + oldFile.getPath() + " of size " + in clearDexDir() 366 oldFile.length()); in clearDexDir() 367 if (!oldFile.delete()) { in clearDexDir() 368 Log.w(TAG, "Failed to delete old file " + oldFile.getPath()); in clearDexDir() 370 Log.i(TAG, "Deleted old file " + oldFile.getPath()); in clearDexDir()
|
D | MultiDex.java | 441 for (File oldFile : files) { in clearOldDexDir() 442 Log.i(TAG, "Trying to delete old file " + oldFile.getPath() + " of size " in clearOldDexDir() 443 + oldFile.length()); in clearOldDexDir() 444 if (!oldFile.delete()) { in clearOldDexDir() 445 Log.w(TAG, "Failed to delete old file " + oldFile.getPath()); in clearOldDexDir() 447 Log.i(TAG, "Deleted old file " + oldFile.getPath()); in clearOldDexDir()
|
/frameworks/av/media/mtp/ |
D | MtpUtils.cpp | 143 string oldFile = fromPathStr + name; in copyRecursive() local 148 ret += copyRecursive(oldFile.c_str(), newFile.c_str()); in copyRecursive() 150 ret += copyFile(oldFile.c_str(), newFile.c_str()); in copyRecursive()
|
/frameworks/base/media/java/android/media/ |
D | MiniThumbFile.java | 91 File oldFile = new File(oldPath); in removeOldFile() local 92 if (oldFile.exists()) { in removeOldFile() 94 oldFile.delete(); in removeOldFile()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | RegisteredServicesCacheTest.java | 161 String oldFile = "<?xml version='1.0' encoding='utf-8' standalone='yes' ?>\n" in testMigration() local 168 FileUtils.copyToFile(new ByteArrayInputStream(oldFile.getBytes()), file); in testMigration()
|
/frameworks/base/core/java/android/content/pm/ |
D | RegisteredServicesCache.java | 705 AtomicFile oldFile = new AtomicFile(new File(syncDir, mInterfaceName + ".xml")); in migrateIfNecessaryLocked() local 706 boolean oldFileExists = oldFile.getBaseFile().exists(); in migrateIfNecessaryLocked() 717 is = oldFile.openRead(); in migrateIfNecessaryLocked()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportProgressService.java | 1744 for (File oldFile : screenshotFiles) { in renameScreenshots() 1745 final String oldName = oldFile.getName(); in renameScreenshots() 1750 Log.d(TAG, "Renaming screenshot file " + oldFile + " to " + renamedFile); in renameScreenshots() 1751 newFile = oldFile.renameTo(renamedFile) ? renamedFile : oldFile; in renameScreenshots() 1754 newFile = oldFile; in renameScreenshots()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 6245 File oldFile = new File(systemDir, PRE_N_DATABASE_NAME); 6246 if (oldFile.exists() && !databaseFile.exists()) { 6255 if (!oldFile.renameTo(databaseFile)) {
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 3256 File oldFile = new File("/data/system/" + STATE_FILENAME); in getSavedStateFile() local 3259 oldFile.renameTo(settingsFile); in getSavedStateFile()
|