Searched refs:getCanonicalPath (Results 1 – 15 of 15) 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/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 | 1912 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/DocumentsUI/src/com/android/documentsui/clipping/ |
D | ClipStorageReader.java | 51 mCanonicalPath = file.getCanonicalPath(); // Resolve symlink in ClipStorageReader()
|
/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/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/android/traceur/ |
D | PerfettoUtils.java | 281 Os.rename(TEMP_TRACE_LOCATION, outFile.getCanonicalPath()); in traceDump()
|
/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/apps/TV/common/src/com/android/tv/common/recording/ |
D | RecordingStorageStatusManager.java | 196 rootPath = root != null ? root.getCanonicalPath() : null; in getRecordingRootDataDirectory()
|
/packages/providers/MediaProvider/src/com/android/providers/media/scan/ |
D | PlaylistResolver.java | 179 new String[] { itemFile.getCanonicalPath() }, null)) { in resolvePlaylistItem() argument
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadProvider.java | 534 canonicalPath = new File(filePath).getCanonicalPath(); in canonicalizeDataPaths() 1040 filePath = new File(info.mFileName).getCanonicalPath(); in convertToMediaProviderValues() 1501 filteredValues.put(Downloads.Impl._DATA, new File(filename).getCanonicalPath()); in update()
|