Searched refs:extractVolumeName (Results 1 – 5 of 5) sorted by relevance
45 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()
862 return MediaStore.Files.getContentUri(extractVolumeName(path));1075 public static @Nullable String extractVolumeName(@Nullable String data) {1275 values.put(MediaColumns.VOLUME_NAME, extractVolumeName(data));
644 public static @Nullable String extractVolumeName(@Nullable String data) { in extractVolumeName() method in Helpers
984 mediaValues.put(MediaStore.Downloads.VOLUME_NAME, Helpers.extractVolumeName(filePath)); in convertToMediaProviderValues()
76 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));