Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/content/
DFileProvider.java670 final String rootPath = root.getValue().getPath(); in getUriForFile() local
671 if (path.startsWith(rootPath) && (mostSpecific == null in getUriForFile()
672 || rootPath.length() > mostSpecific.getValue().getPath().length())) { in getUriForFile()
683 final String rootPath = mostSpecific.getValue().getPath(); in getUriForFile() local
684 if (rootPath.endsWith("/")) { in getUriForFile()
685 path = path.substring(rootPath.length()); in getUriForFile()
687 path = path.substring(rootPath.length() + 1); in getUriForFile()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java188 final String rootPath = root.getValue().getPath(); in getDocIdForFile() local
189 if (path.startsWith(rootPath) && (mostSpecific == null in getDocIdForFile()
190 || rootPath.length() > mostSpecific.getValue().getPath().length())) { in getDocIdForFile()
201 final String rootPath = mostSpecific.getValue().getPath(); in getDocIdForFile() local
202 if (rootPath.equals(path)) { in getDocIdForFile()
204 } else if (rootPath.endsWith("/")) { in getDocIdForFile()
205 path = path.substring(rootPath.length()); in getDocIdForFile()
207 path = path.substring(rootPath.length() + 1); in getDocIdForFile()
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
DObbBackupService.java69 final String rootPath = obbDir.getCanonicalPath();
77 rootPath, filePath, out);
/frameworks/base/include/androidfw/
DBackupHelpers.h138 const String8& rootPath, const String8& filePath, BackupDataWriter* outputStream);
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java434 protected final void fullBackupFileTree(String packageName, String domain, String rootPath, in fullBackupFileTree() argument
436 File rootFile = new File(rootPath); in fullBackupFileTree()
474 FullBackup.backupToTar(packageName, domain, null, rootPath, filePath, in fullBackupFileTree()