Home
last modified time | relevance | path

Searched refs:topLevelDir (Results 1 – 2 of 2) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/util/
DFileUtils.java1275 final String topLevelDir = relativePathSegments.length > 0 ? relativePathSegments[0] : null;
1276 if (crossUserRoot != null && crossUserRoot.equals(topLevelDir)) {
1280 return topLevelDir;
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java4717 String topLevelDir = FileUtils.extractTopLevelDir(file.getPath()); in checkDefaultDirMissing() local
4718 if (topLevelDir != null && FileUtils.isDefaultDirectoryName(topLevelDir)) { in checkDefaultDirMissing()
4721 if (!new File(volumePath, topLevelDir).exists()) { in checkDefaultDirMissing()
10161 String topLevelDir = extractTopLevelDir(filePath);
10162 if (topLevelDir == null) {
10167 topLevelDir = topLevelDir.toLowerCase(Locale.ROOT);
10169 switch (topLevelDir) {