Home
last modified time | relevance | path

Searched refs:getCanonicalPath (Results 1 – 18 of 18) 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/apps/UnifiedEmail/src/org/apache/commons/io/
DFileUtils.java645 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/
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.java1929 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/Camera2/tests/src/com/android/camera/functional/
DCameraTest.java46 assertEquals(-1, f.getCanonicalPath().indexOf("test_fd_leak.3gp")); in testVideoCaptureIntentFdLeak()
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DClipStorageReader.java51 mCanonicalPath = file.getCanonicalPath(); // Resolve symlink in ClipStorageReader()
/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/google/android/traceur/
DPerfettoUtils.java261 Os.rename(TEMP_TRACE_LOCATION, outFile.getCanonicalPath()); in traceDump()
/packages/apps/TV/common/src/com/android/tv/common/recording/
DRecordingStorageStatusManager.java189 rootPath = root != null ? root.getCanonicalPath() : null; in getRecordingRootDataDirectory()
/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/providers/MediaProvider/src/com/android/providers/media/scan/
DPlaylistResolver.java179 new String[] { itemFile.getCanonicalPath() }, null)) { in resolvePlaylistItem() argument
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppReceiveFileInfo.java243 String canonicalPath = receiveFile.getCanonicalPath(); in safeCanonicalPath()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java526 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/
DComposeActivity.java1972 final String filePath = f.getCanonicalPath(); in handleAttachmentUrisFromIntent()