Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/content/
DFileProvider.java671 final String rootPath = root.getValue().getPath(); in getUriForFile() local
672 if (path.startsWith(rootPath) && (mostSpecific == null in getUriForFile()
673 || rootPath.length() > mostSpecific.getValue().getPath().length())) { in getUriForFile()
684 final String rootPath = mostSpecific.getValue().getPath(); in getUriForFile() local
685 if (rootPath.endsWith("/")) { in getUriForFile()
686 path = path.substring(rootPath.length()); in getUriForFile()
688 path = path.substring(rootPath.length() + 1); in getUriForFile()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java284 final String rootPath = mRoots.valueAt(i).path.getAbsolutePath(); in getDocIdForFileMaybeCreate() local
285 if (path.startsWith(rootPath) && (mostSpecificPath == null in getDocIdForFileMaybeCreate()
286 || rootPath.length() > mostSpecificPath.length())) { in getDocIdForFileMaybeCreate()
288 mostSpecificPath = rootPath; in getDocIdForFileMaybeCreate()
298 final String rootPath = mostSpecificPath; in getDocIdForFileMaybeCreate() local
299 if (rootPath.equals(path)) { in getDocIdForFileMaybeCreate()
301 } else if (rootPath.endsWith("/")) { in getDocIdForFileMaybeCreate()
302 path = path.substring(rootPath.length()); in getDocIdForFileMaybeCreate()
304 path = path.substring(rootPath.length() + 1); in getDocIdForFileMaybeCreate()
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
DObbBackupService.java69 final String rootPath = obbDir.getCanonicalPath();
77 rootPath, filePath, out);
/frameworks/base/include/androidfw/
DBackupHelpers.h140 const String8& rootPath, const String8& filePath, off_t* outSize,