Searched refs:volumeName (Results 1 – 2 of 2) sorted by relevance
58 public abstract ContentValues getContentValues(String volumeName); in getContentValues() argument60 public Uri insert(ContentResolver contentResolver, String volumeName) { in insert() argument61 final Uri dirUri = MediaStore.Audio.Media.getContentUri(volumeName); in insert()62 final ContentValues values = getContentValues(volumeName); in insert()106 public ContentValues getContentValues(String volumeName) { in getContentValues() argument110 if (MediaStore.VOLUME_INTERNAL.equals(volumeName)) { in getContentValues()113 data = new File(ProviderTestUtils.stageDir(volumeName), FILE_NAME); in getContentValues()168 public ContentValues getContentValues(String volumeName) { in getContentValues() argument172 if (MediaStore.VOLUME_INTERNAL.equals(volumeName)) { in getContentValues()175 data = new File(ProviderTestUtils.stageDir(volumeName), FILE_NAME); in getContentValues()[all …]
80 static String resolveVolumeName(String volumeName) { in resolveVolumeName() argument81 if (MediaStore.VOLUME_EXTERNAL.equals(volumeName)) { in resolveVolumeName()84 return volumeName; in resolveVolumeName()178 static File stageDir(String volumeName) throws IOException { in stageDir() argument179 if (MediaStore.VOLUME_EXTERNAL.equals(volumeName)) { in stageDir()180 volumeName = MediaStore.VOLUME_EXTERNAL_PRIMARY; in stageDir()182 return Environment.buildPath(MediaStore.getVolumePath(volumeName), "Android", "media", in stageDir()186 static File stageDownloadDir(String volumeName) throws IOException { in stageDownloadDir() argument187 if (MediaStore.VOLUME_EXTERNAL.equals(volumeName)) { in stageDownloadDir()188 volumeName = MediaStore.VOLUME_EXTERNAL_PRIMARY; in stageDownloadDir()[all …]