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.java47 import static com.android.providers.media.util.FileUtils.extractVolumeName;
535 extractVolumeName("/storage/emulated/0/foo.jpg")); in testExtractVolumeName()
537 extractVolumeName("/storage/0000-0000/foo.jpg")); in testExtractVolumeName()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DFileUtils.java864 return MediaStore.Files.getContentUri(extractVolumeName(path));
1100 public static @Nullable String extractVolumeName(@Nullable String data) {
1351 values.put(MediaColumns.VOLUME_NAME, extractVolumeName(data));
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java727 public static @Nullable String extractVolumeName(@Nullable String data) { in extractVolumeName() method in Helpers
DDownloadProvider.java1002 mediaValues.put(MediaStore.Downloads.VOLUME_NAME, Helpers.extractVolumeName(filePath)); in convertToMediaProviderValues()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java143 import static com.android.providers.media.util.FileUtils.extractVolumeName;
4839 values.put(FileColumns.VOLUME_NAME, extractVolumeName(path)); in insertDirectory()
8248 final String beforeVolume = extractVolumeName(beforePath);
8255 final String probeVolume = extractVolumeName(probePath);
8275 String afterVolume = extractVolumeName(afterPath);
9921 Uri fileUri = MediaStore.Files.getContentUri(extractVolumeName(path),
10105 final Uri mediaUri = getMediaUriForFuse(extractVolumeName(path), mediaType, id);
10251 values.put(FileColumns.VOLUME_NAME, extractVolumeName(path));