Searched refs:newFilePath (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/ |
D | EthernetConfigStore.java | 59 private void writeLegacyIpConfigToApexPath(final String newFilePath, final String oldFilePath, in writeLegacyIpConfigToApexPath() argument 61 final File directory = new File(newFilePath); in writeLegacyIpConfigToApexPath() 68 final AtomicFile dst = new AtomicFile(new File(newFilePath + filename)); in writeLegacyIpConfigToApexPath() 89 void read(final String newFilePath, final String oldFilePath, final String filename) { in read() argument 92 if (doesConfigFileExist(newFilePath + filename)) { in read() 93 loadConfigFileLocked(newFilePath + filename); in read() 103 writeLegacyIpConfigToApexPath(newFilePath, oldFilePath, filename); in read()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | Storage.java | 317 public boolean renameFile(File inputPath, File newFilePath) { in renameFile() argument 318 if (newFilePath.exists()) { in renameFile() 319 Log.e(TAG, "File path already exists: " + newFilePath.getAbsolutePath()); in renameFile() 326 if (!createDirectoryIfNeeded(newFilePath.getAbsolutePath())) { in renameFile() 328 newFilePath.getAbsolutePath()); in renameFile() 331 return inputPath.renameTo(newFilePath); in renameFile()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | CallLogProvider.java | 1214 Path newFilePath = callComposerDir.resolve(uri.getLastPathSegment()); in syncCallComposerPics() local 1215 enforceValidCallLogPath(callComposerDir, newFilePath,"syncCallComposerPics"); in syncCallComposerPics() 1219 Files.newOutputStream(newFilePath, StandardOpenOption.CREATE_NEW)) { in syncCallComposerPics()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 3606 final String newFilePath = newPath + "/" + filePath; in renameDirectoryUncheckedForFuse() local 3607 final String mimeType = MimeUtils.resolveMimeType(new File(newFilePath)); in renameDirectoryUncheckedForFuse() 3608 if(!updateDatabaseForFuseRename(helper, oldPath + "/" + filePath, newFilePath, in renameDirectoryUncheckedForFuse() 3609 getContentValuesForFuseRename(newFilePath, mimeType, wasHidden, isHidden, in renameDirectoryUncheckedForFuse()
|