Home
last modified time | relevance | path

Searched refs:volumeName (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DMediaStoreAudioTestHelper.java58 public abstract ContentValues getContentValues(String volumeName); in getContentValues() argument
60 public Uri insert(ContentResolver contentResolver, String volumeName) { in insert() argument
61 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() argument
110 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() argument
172 if (MediaStore.VOLUME_INTERNAL.equals(volumeName)) { in getContentValues()
175 data = new File(ProviderTestUtils.stageDir(volumeName), FILE_NAME); in getContentValues()
[all …]
DProviderTestUtils.java80 static String resolveVolumeName(String volumeName) { in resolveVolumeName() argument
81 if (MediaStore.VOLUME_EXTERNAL.equals(volumeName)) { in resolveVolumeName()
84 return volumeName; in resolveVolumeName()
178 static File stageDir(String volumeName) throws IOException { in stageDir() argument
179 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() argument
187 if (MediaStore.VOLUME_EXTERNAL.equals(volumeName)) { in stageDownloadDir()
188 volumeName = MediaStore.VOLUME_EXTERNAL_PRIMARY; in stageDownloadDir()
[all …]