Home
last modified time | relevance | path

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

/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStoreTest.java152 Set<String> volumeNames = MediaStore.getExternalVolumeNames(getContext()); in testGetExternalVolumeNames() local
154 assertFalse(volumeNames.contains(MediaStore.VOLUME_INTERNAL)); in testGetExternalVolumeNames()
155 assertFalse(volumeNames.contains(MediaStore.VOLUME_EXTERNAL)); in testGetExternalVolumeNames()
156 assertTrue(volumeNames.contains(MediaStore.VOLUME_EXTERNAL_PRIMARY)); in testGetExternalVolumeNames()
161 Set<String> volumeNames = MediaStore.getRecentExternalVolumeNames(getContext()); in testGetRecentExternalVolumeNames() local
163 assertFalse(volumeNames.contains(MediaStore.VOLUME_INTERNAL)); in testGetRecentExternalVolumeNames()
164 assertFalse(volumeNames.contains(MediaStore.VOLUME_EXTERNAL)); in testGetRecentExternalVolumeNames()
165 assertTrue(volumeNames.contains(MediaStore.VOLUME_EXTERNAL_PRIMARY)); in testGetRecentExternalVolumeNames()
DMediaProviderTestUtils.java89 final Set<String> volumeNames = MediaStore.getExternalVolumeNames( in getSharedVolumeNames() local
92 for (String vol : volumeNames) { in getSharedVolumeNames()