Home
last modified time | relevance | path

Searched refs:oldFile (Results 1 – 6 of 6) sorted by relevance

/frameworks/multidex/library/src/android/support/multidex/
DMultiDexExtractor.java274 for (File oldFile : files) { in prepareDexDir()
275 Log.i(TAG, "Trying to delete old file " + oldFile.getPath() + " of size " + in prepareDexDir()
276 oldFile.length()); in prepareDexDir()
277 if (!oldFile.delete()) { in prepareDexDir()
278 Log.w(TAG, "Failed to delete old file " + oldFile.getPath()); in prepareDexDir()
280 Log.i(TAG, "Deleted old file " + oldFile.getPath()); in prepareDexDir()
DMultiDex.java349 for (File oldFile : files) { in clearOldDexDir()
350 Log.i(TAG, "Trying to delete old file " + oldFile.getPath() + " of size " in clearOldDexDir()
351 + oldFile.length()); in clearOldDexDir()
352 if (!oldFile.delete()) { in clearOldDexDir()
353 Log.w(TAG, "Failed to delete old file " + oldFile.getPath()); in clearOldDexDir()
355 Log.i(TAG, "Deleted old file " + oldFile.getPath()); in clearOldDexDir()
/frameworks/base/media/java/android/media/
DMiniThumbFile.java90 File oldFile = new File(oldPath); in removeOldFile() local
91 if (oldFile.exists()) { in removeOldFile()
93 oldFile.delete(); in removeOldFile()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java802 File oldFile = new File(path); in renameFile() local
809 boolean success = oldFile.renameTo(newFile); in renameFile()
829 newFile.renameTo(oldFile); in renameFile()
836 if (oldFile.getName().startsWith(".") && !newPath.startsWith(".")) { in renameFile()
846 if (oldFile.getName().toLowerCase(Locale.US).equals(".nomedia") in renameFile()
849 … mMediaProvider.call(mPackageName, MediaStore.UNHIDE_CALL, oldFile.getParent(), null); in renameFile()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java2734 File oldFile = new File(systemDir, DATABASE_NAME); in getDatabaseName() local
2735 if (oldFile.exists() && !databaseFile.exists()) { in getDatabaseName()
2743 if (!oldFile.renameTo(databaseFile)) { in getDatabaseName()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java2665 File oldFile = new File("/data/system/" + STATE_FILENAME); in getSavedStateFile() local
2668 oldFile.renameTo(settingsFile); in getSavedStateFile()