Home
last modified time | relevance | path

Searched refs:getCanonicalPath (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMmsFileProvider.java68 if (!filePath.getCanonicalPath() in getFile()
69 .startsWith(getDirectory(context).getCanonicalPath())) { in getFile()
71 + filePath.getCanonicalPath() in getFile()
73 + getDirectory(context).getCanonicalPath()); in getFile()
DMediaScratchFileProvider.java97 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/
DMmsProvider.java474 .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()
DMmsSmsDatabaseHelper.java1912 newPartsDirPath = mContext.getDir(MmsProvider.PARTS_DIR_NAME, 0).getCanonicalPath(); in upgradeDatabaseToVersion62()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerStorageCleanUpService.java125 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/
DDictionaryMaker.java91 if (new File(path1).getCanonicalPath().equals(new File(path2).getCanonicalPath())) { in checkNotSameFile()
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DClipStorageReader.java51 mCanonicalPath = file.getCanonicalPath(); // Resolve symlink in ClipStorageReader()
/packages/apps/Camera2/tests/src/com/android/camera/functional/
DCameraTest.java46 assertEquals(-1, f.getCanonicalPath().indexOf("test_fd_leak.3gp")); in testVideoCaptureIntentFdLeak()
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
DCameraTest.java52 assertEquals(-1, f.getCanonicalPath().indexOf("test_fd_leak.3gp")); in testVideoCaptureIntentFdLeak()
/packages/apps/Traceur/src/com/android/traceur/
DPerfettoUtils.java281 Os.rename(TEMP_TRACE_LOCATION, outFile.getCanonicalPath()); in traceDump()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DDownloadProviderFunctionalTest.java79 assertStartsWith(getContext().getCacheDir().getCanonicalPath(), in testDownloadToCache()
/packages/apps/Contacts/src/com/android/contacts/util/
DContactPhotoUtils.java186 return !file.getCanonicalPath().startsWith("/storage/"); in isFilePathAndNotStorage()
/packages/apps/TV/common/src/com/android/tv/common/recording/
DRecordingStorageStatusManager.java196 rootPath = root != null ? root.getCanonicalPath() : null; in getRecordingRootDataDirectory()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DPlaylistResolver.java179 new String[] { itemFile.getCanonicalPath() }, null)) { in resolvePlaylistItem() argument
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java534 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()