Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DFileUtilsTest.java45 import static com.android.providers.media.util.FileUtils.extractVolumeName;
520 extractVolumeName("/storage/emulated/0/foo.jpg")); in testExtractVolumeName()
522 extractVolumeName("/storage/0000-0000/foo.jpg")); in testExtractVolumeName()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DFileUtils.java862 return MediaStore.Files.getContentUri(extractVolumeName(path));
1075 public static @Nullable String extractVolumeName(@Nullable String data) {
1275 values.put(MediaColumns.VOLUME_NAME, extractVolumeName(data));
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java644 public static @Nullable String extractVolumeName(@Nullable String data) { in extractVolumeName() method in Helpers
DDownloadProvider.java984 mediaValues.put(MediaStore.Downloads.VOLUME_NAME, Helpers.extractVolumeName(filePath)); in convertToMediaProviderValues()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java76 import static com.android.providers.media.util.FileUtils.extractVolumeName;
3595 values.put(FileColumns.VOLUME_NAME, extractVolumeName(path)); in insertDirectory()
6482 final String beforeVolume = extractVolumeName(beforePath);
6489 final String probeVolume = extractVolumeName(probePath);
6508 String afterVolume = extractVolumeName(afterPath);
8148 Uri fileUri = MediaStore.Files.getContentUri(extractVolumeName(path), id);
8221 final Uri mediaUri = getMediaUriForFuse(extractVolumeName(path), mediaType, id);
8365 values.put(FileColumns.VOLUME_NAME, extractVolumeName(path));