Searched refs:getCanonicalPath (Results 1 – 18 of 18) sorted by relevance
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | MmsFileProvider.java | 68 if (!filePath.getCanonicalPath() in getFile() 69 .startsWith(getDirectory(context).getCanonicalPath())) { in getFile() 71 + filePath.getCanonicalPath() in getFile() 73 + getDirectory(context).getCanonicalPath()); in getFile()
|
D | MediaScratchFileProvider.java | 97 if (!filePath.getCanonicalPath() in getFileWithExtension() 98 .startsWith(getDirectory(context).getCanonicalPath())) { in getFileWithExtension() 100 + filePath.getCanonicalPath() in getFileWithExtension() 102 + getDirectory(context).getCanonicalPath()); in getFileWithExtension()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
D | FileUtils.java | 645 if (srcFile.getCanonicalPath().equals(destFile.getCanonicalPath())) { in copyFile() 875 if (srcDir.getCanonicalPath().equals(destDir.getCanonicalPath())) { in copyDirectory() 881 if (destDir.getCanonicalPath().startsWith(srcDir.getCanonicalPath())) { in copyDirectory() 887 exclusionList.add(copiedFile.getCanonicalPath()); in copyDirectory() 929 if (exclusionList == null || !exclusionList.contains(files[i].getCanonicalPath())) { in doCopyDirectory()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | MmsProvider.java | 474 .getDir(PARTS_DIR_NAME, 0).getCanonicalPath(); in insert() 475 if (!new File(path).getCanonicalPath().startsWith(partsDirPath)) { in insert() 920 if (!filePath.getCanonicalPath() in safeOpenFileHelper() 921 .startsWith(getContext().getDir(PARTS_DIR_NAME, 0).getCanonicalPath())) { in safeOpenFileHelper() 923 + filePath.getCanonicalPath() in safeOpenFileHelper() 925 + getContext().getDir(PARTS_DIR_NAME, 0).getCanonicalPath()); in safeOpenFileHelper()
|
D | MmsSmsDatabaseHelper.java | 1929 newPartsDirPath = mContext.getDir(MmsProvider.PARTS_DIR_NAME, 0).getCanonicalPath(); in upgradeDatabaseToVersion62()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerStorageCleanUpService.java | 125 recordedProgramDirs.add(recordedProgramDir.getCanonicalPath()); in getRecordedProgramsDirs() 153 if (!recordedProgramDirs.contains(recordingDir.getCanonicalPath())) { in doInBackground()
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | DictionaryMaker.java | 91 if (new File(path1).getCanonicalPath().equals(new File(path2).getCanonicalPath())) { in checkNotSameFile()
|
/packages/apps/Camera2/tests/src/com/android/camera/functional/ |
D | CameraTest.java | 46 assertEquals(-1, f.getCanonicalPath().indexOf("test_fd_leak.3gp")); in testVideoCaptureIntentFdLeak()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
D | ClipStorageReader.java | 51 mCanonicalPath = file.getCanonicalPath(); // Resolve symlink in ClipStorageReader()
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/ |
D | CameraTest.java | 52 assertEquals(-1, f.getCanonicalPath().indexOf("test_fd_leak.3gp")); in testVideoCaptureIntentFdLeak()
|
/packages/apps/Traceur/src/com/google/android/traceur/ |
D | PerfettoUtils.java | 261 Os.rename(TEMP_TRACE_LOCATION, outFile.getCanonicalPath()); in traceDump()
|
/packages/apps/TV/common/src/com/android/tv/common/recording/ |
D | RecordingStorageStatusManager.java | 189 rootPath = root != null ? root.getCanonicalPath() : null; in getRecordingRootDataDirectory()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | DownloadProviderFunctionalTest.java | 79 assertStartsWith(getContext().getCacheDir().getCanonicalPath(), in testDownloadToCache()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | ContactPhotoUtils.java | 186 return !file.getCanonicalPath().startsWith("/storage/"); in isFilePathAndNotStorage()
|
/packages/providers/MediaProvider/src/com/android/providers/media/scan/ |
D | PlaylistResolver.java | 179 new String[] { itemFile.getCanonicalPath() }, null)) { in resolvePlaylistItem() argument
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppReceiveFileInfo.java | 243 String canonicalPath = receiveFile.getCanonicalPath(); in safeCanonicalPath()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadProvider.java | 526 canonicalPath = new File(filePath).getCanonicalPath(); in canonicalizeDataPaths() 1005 filePath = new File(info.mFileName).getCanonicalPath(); in convertToMediaProviderValues() 1027 .getCanonicalPath(); in convertToMediaProviderValues() 1492 filteredValues.put(Downloads.Impl._DATA, new File(filename).getCanonicalPath()); in update()
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
D | ComposeActivity.java | 1972 final String filePath = f.getCanonicalPath(); in handleAttachmentUrisFromIntent()
|