Searched refs:crossUserRoot (Results 1 – 2 of 2) sorted by relevance
1196 static boolean isExternalMediaDirectory(@NonNull String path, String crossUserRoot) {1205 if (!TextUtils.isEmpty(crossUserRoot)) {1206 return StringUtils.startsWithIgnoreCase(relativePath, crossUserRoot + "/Android/media");1272 static String extractTopLevelDir(String[] relativePathSegments, String crossUserRoot) {1276 if (crossUserRoot != null && crossUserRoot.equals(topLevelDir)) {
606 final String crossUserRoot = SystemProperties.get("external_storage.cross_user.root", null); in testExtractTopLevelDirForCrossUser() local607 Assume.assumeFalse(TextUtils.isEmpty(crossUserRoot)); in testExtractTopLevelDirForCrossUser()621 extractTopLevelDir(prefix + crossUserRoot + "/foo.jpg")); in testExtractTopLevelDirForCrossUser()623 extractTopLevelDir(prefix + crossUserRoot + "/DCIM/foo.jpg")); in testExtractTopLevelDirForCrossUser()625 extractTopLevelDir(prefix + crossUserRoot + "/DCIM/My Vacation/foo.jpg")); in testExtractTopLevelDirForCrossUser()