Home
last modified time | relevance | path

Searched refs:volName (Results 1 – 4 of 4) sorted by relevance

/packages/providers/MediaProvider/tests/utils/src/com/android/providers/media/tests/utils/
DPublicVolumeSetupHelper.java119 final String[] volName = new String[1]; in getPublicVolumeString() local
121 volName[0] = getCurrentPublicVolumeString(); in getPublicVolumeString()
122 return volName[0] != null; in getPublicVolumeString()
125 return volName[0]; in getPublicVolumeString()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/stableuris/job/
DStableUriIdleMaintenanceServiceTest.java199 for (String volName : volNames) { in testDataMigrationForPublicVolume()
200 if (!MediaStore.VOLUME_EXTERNAL_PRIMARY.equalsIgnoreCase(volName) in testDataMigrationForPublicVolume()
201 && !MediaStore.VOLUME_INTERNAL.equalsIgnoreCase(volName)) { in testDataMigrationForPublicVolume()
209 File volPath = getVolumePath(context, volName); in testDataMigrationForPublicVolume()
229 verifyLevelDbPresence(resolver, PUBLIC_VOLUME_BACKUP_NAME + volName); in testDataMigrationForPublicVolume()
234 MediaStore.readBackup(resolver, volName, filePath)); in testDataMigrationForPublicVolume()
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DDownloadProviderTest.java94 for (String volName : volNames) { in createOtherPackageExternalFilesDir()
95 File volPath = getVolumePath(context, volName); in createOtherPackageExternalFilesDir()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java10154 final String volName;
10156 volName = FileUtils.getVolumeName(getContext(), new File(filePath));
10160 Uri uri = Files.getContentUri(volName);
10176 uri = Audio.Media.getContentUri(volName);
10180 uri = Audio.Playlists.getContentUri(volName);
10183 uri = Audio.Media.getContentUri(volName);
10188 uri = Audio.Playlists.getContentUri(volName);
10191 uri = Video.Media.getContentUri(volName);
10197 uri = Images.Media.getContentUri(volName);
10199 uri = Video.Media.getContentUri(volName);