Searched refs:extractVolumeName (Results 1 – 5 of 5) sorted by relevance
47 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()
864 return MediaStore.Files.getContentUri(extractVolumeName(path));1100 public static @Nullable String extractVolumeName(@Nullable String data) {1351 values.put(MediaColumns.VOLUME_NAME, extractVolumeName(data));
727 public static @Nullable String extractVolumeName(@Nullable String data) { in extractVolumeName() method in Helpers
1002 mediaValues.put(MediaStore.Downloads.VOLUME_NAME, Helpers.extractVolumeName(filePath)); in convertToMediaProviderValues()
143 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));