Searched refs:volumeName (Results 1 – 9 of 9) sorted by relevance
62 public abstract ContentValues getContentValues(String volumeName); in getContentValues() argument64 public Uri insert(ContentResolver contentResolver, String volumeName) { in insert() argument65 final Uri dirUri = MediaStore.Audio.Media.getContentUri(volumeName); in insert()66 final ContentValues values = getContentValues(volumeName); in insert()110 public ContentValues getContentValues(String volumeName) { in getContentValues() argument114 if (MediaStore.VOLUME_INTERNAL.equals(volumeName)) { in getContentValues()117 data = new File(MediaProviderTestUtils.stageDir(volumeName), FILE_NAME); in getContentValues()172 public ContentValues getContentValues(String volumeName) { in getContentValues() argument176 if (MediaStore.VOLUME_INTERNAL.equals(volumeName)) { in getContentValues()179 data = new File(MediaProviderTestUtils.stageDir(volumeName), FILE_NAME); in getContentValues()[all …]
103 public static String resolveVolumeName(String volumeName) { in resolveVolumeName() argument104 if (MediaStore.VOLUME_EXTERNAL.equals(volumeName)) { in resolveVolumeName()107 return volumeName; in resolveVolumeName()131 public static File getVolumePath(String volumeName) { in getVolumePath() argument134 .getStorageVolume(MediaStore.Files.getContentUri(volumeName)).getDirectory(); in getVolumePath()137 public static File stageDir(String volumeName) throws IOException { in stageDir() argument138 if (MediaStore.VOLUME_EXTERNAL.equals(volumeName)) { in stageDir()139 volumeName = MediaStore.VOLUME_EXTERNAL_PRIMARY; in stageDir()143 .getStorageVolume(MediaStore.Files.getContentUri(volumeName)); in stageDir()146 Log.d(TAG, "stageDir(" + volumeName + "): returning " + dir); in stageDir()[all …]
36 final String volumeName = TestUtils.getPublicVolumeName(); in setup() local37 assertThat(volumeName).isNotNull(); in setup()38 TestUtils.setExternalStorageVolume(volumeName); in setup()
37 final String volumeName = TestUtils.getPublicVolumeName(); in setup() local38 assertThat(volumeName).isNotNull(); in setup()39 TestUtils.setExternalStorageVolume(volumeName); in setup()
53 public void setupExternalStorage(String volumeName) throws Exception { in setupExternalStorage() argument54 assertThat(volumeName).isNotNull(); in setupExternalStorage()56 if (volumeName.equals(MediaStore.VOLUME_EXTERNAL)) { in setupExternalStorage()
2145 for (String volumeName : MediaStore.getExternalVolumeNames(getContext())) { in isFuseReady()2146 final Uri uri = MediaStore.Files.getContentUri(volumeName); in isFuseReady()
164 final String volumeName = MediaStore.getVolumeName(mediaStoreUri); in getMediaStoreColumnValue() local169 MediaStore.Audio.Media.getContentUri(volumeName), id); in getMediaStoreColumnValue()173 MediaStore.Images.Media.getContentUri(volumeName), id); in getMediaStoreColumnValue()177 MediaStore.Video.Media.getContentUri(volumeName), id); in getMediaStoreColumnValue()
343 String volumeName = StorageManagerHelper.createUSBVirtualDisk(); in testGetStorageVolumeUSB() local344 Log.d(TAG, "testGetStorageVolumeUSB#volumeName: " + volumeName); in testGetStorageVolumeUSB()348 sv != null && sv.getPath() != null && sv.getPath().contains(volumeName) in testGetStorageVolumeUSB()360 String volumeName = StorageManagerHelper.createSDCardVirtualDisk(); in testGetStorageVolumeSDCard() local361 Log.d(TAG, "testGetStorageVolumeSDCard#volumeName: " + volumeName); in testGetStorageVolumeSDCard()365 sv != null && sv.getPath() != null && sv.getPath().contains(volumeName) in testGetStorageVolumeSDCard()
412 public File getVolumePath(String volumeName) { in getVolumePath() argument414 .getStorageVolume(MediaStore.Files.getContentUri(volumeName)).getDirectory(); in getVolumePath()