Searched refs:rootPath (Results 1 – 4 of 4) sorted by relevance
671 final String rootPath = root.getValue().getPath(); in getUriForFile() local672 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() local685 if (rootPath.endsWith("/")) { in getUriForFile()686 path = path.substring(rootPath.length()); in getUriForFile()688 path = path.substring(rootPath.length() + 1); in getUriForFile()
284 final String rootPath = mRoots.valueAt(i).path.getAbsolutePath(); in getDocIdForFileMaybeCreate() local285 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() local299 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()
69 final String rootPath = obbDir.getCanonicalPath();77 rootPath, filePath, out);
140 const String8& rootPath, const String8& filePath, off_t* outSize,