Searched refs:rootPath (Results 1 – 5 of 5) sorted by relevance
/frameworks/support/v4/java/android/support/v4/content/ |
D | FileProvider.java | 670 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/ |
D | ExternalStorageProvider.java | 188 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/ |
D | ObbBackupService.java | 69 final String rootPath = obbDir.getCanonicalPath(); 77 rootPath, filePath, out);
|
/frameworks/base/include/androidfw/ |
D | BackupHelpers.h | 138 const String8& rootPath, const String8& filePath, BackupDataWriter* outputStream);
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupAgent.java | 434 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()
|