Home
last modified time | relevance | path

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

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java513 if (containsCanonical(buildExternalStorageAppDataDirs(packageName), file) || in isFilenameValidInExternalPackage()
514 containsCanonical(buildExternalStorageAppObbDirs(packageName), file) || in isFilenameValidInExternalPackage()
515 containsCanonical(buildExternalStorageAppMediaDirs(packageName), file)) { in isFilenameValidInExternalPackage()
528 if (containsCanonical(buildExternalStoragePublicDirs( in isFilenameValidInPublicDownloadsDir()
560 if (containsCanonical(context.getFilesDir(), file) in isFilenameValid()
561 || containsCanonical(context.getCacheDir(), file) in isFilenameValid()
562 || containsCanonical(Environment.getDownloadCacheDirectory(), file)) { in isFilenameValid()
570 if (containsCanonical(volume.getPathFile(), file)) { in isFilenameValid()
582 private static boolean containsCanonical(File dir, File file) throws IOException { in containsCanonical() method in Helpers
586 private static boolean containsCanonical(File[] dirs, File file) throws IOException { in containsCanonical() method in Helpers
[all …]