Home
last modified time | relevance | path

Searched refs:VOLUME_EXTERNAL_PRIMARY (Results 1 – 23 of 23) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java287 MediaStore.VOLUME_EXTERNAL_PRIMARY)); in testMetadata()
289 MediaStore.VOLUME_EXTERNAL_PRIMARY)); in testMetadata()
301 MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY, 42)); in testCreateRequest()
317 MediaStore.Audio.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY), values); in testCheckUriPermission()
393 .getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testBulkInsert()
509 final Uri uri = MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testBuildData_Simple()
520 final Uri uri = MediaStore.Files.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testBuildData_withUserId()
538 final Uri uri = MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testBuildData_Primary()
546 final Uri uri = MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testBuildData_Secondary()
553 final Uri uri = MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testBuildData_InvalidNames()
[all …]
DDatabaseHelperTest.java19 import static android.provider.MediaStore.VOLUME_EXTERNAL_PRIMARY;
89 values.put(FileColumns.VOLUME_NAME, VOLUME_EXTERNAL_PRIMARY); in testFilterVolumeNames()
139 helper.setFilterVolumeNames(ImmutableSet.of(VOLUME_EXTERNAL_PRIMARY, "0000-0000")); in testFilterVolumeNames()
171 values.put(FileColumns.VOLUME_NAME, VOLUME_EXTERNAL_PRIMARY); in testArtistsAndAlbumsIncludeOnlyMusic()
184 values.put(FileColumns.VOLUME_NAME, VOLUME_EXTERNAL_PRIMARY); in testArtistsAndAlbumsIncludeOnlyMusic()
197 values.put(FileColumns.VOLUME_NAME, VOLUME_EXTERNAL_PRIMARY); in testArtistsAndAlbumsIncludeOnlyMusic()
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DClientPlaylistTest.java20 import static android.provider.MediaStore.VOLUME_EXTERNAL_PRIMARY;
75 .getContentUri(VOLUME_EXTERNAL_PRIMARY);
77 .getContentUri(VOLUME_EXTERNAL_PRIMARY);
133 .getContentUri(VOLUME_EXTERNAL_PRIMARY, ContentUris.parseId(playlistUri)); in testAdd()
168 final Uri membersUri = Playlists.Members.getContentUri(VOLUME_EXTERNAL_PRIMARY, playlistId); in testMove()
221 final Uri membersUri = Playlists.Members.getContentUri(VOLUME_EXTERNAL_PRIMARY, playlistId); in testRemove()
224 MediaStore.Audio.Playlists.getContentUri(VOLUME_EXTERNAL_PRIMARY), playlistId); in testRemove()
261 .getContentUri(VOLUME_EXTERNAL_PRIMARY, ContentUris.parseId(playlist)); in testVolumeName()
299 .getContentUri(VOLUME_EXTERNAL_PRIMARY); in createPlaylist()
308 .getContentUri(VOLUME_EXTERNAL_PRIMARY, ContentUris.parseId(playlist)); in createPlaylist()
DPlaylistPerformanceTest.java19 import static android.provider.MediaStore.VOLUME_EXTERNAL_PRIMARY;
54 .getContentUri(VOLUME_EXTERNAL_PRIMARY);
56 .getContentUri(VOLUME_EXTERNAL_PRIMARY);
89 .getContentUri(VOLUME_EXTERNAL_PRIMARY, ContentUris.parseId(playlistUri)); in testBulkInsertPlaylistMembers()
110 .getContentUri(VOLUME_EXTERNAL_PRIMARY, ContentUris.parseId(playlistUri)); in testDeletePlaylistMembers()
DPublicVolumePlaylistTest.java20 import static android.provider.MediaStore.VOLUME_EXTERNAL_PRIMARY;
80 .getContentUri(VOLUME_EXTERNAL_PRIMARY); in testEjectedVolume()
DDelegatorTest.java58 .getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY);
DLegacyProviderMigrationTest.java96 private String mVolumeName = MediaStore.VOLUME_EXTERNAL_PRIMARY;
/packages/providers/MediaProvider/tools/dialogs/src/com/android/providers/media/tools/dialogs/
DDialogsActivity.java118 MediaStore.Files.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY), in doInBackground()
126 .getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY, id)); in doInBackground()
130 .getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY, id)); in doInBackground()
134 .getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY, id)); in doInBackground()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DMetricsTest.java40 final String volumeName = MediaStore.VOLUME_EXTERNAL_PRIMARY; in testSimple()
DFileUtilsTest.java519 assertEquals(MediaStore.VOLUME_EXTERNAL_PRIMARY, in testExtractVolumeName()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/metrics/
DStorageAccessMetricsTest.java89 3, MediaStore.VOLUME_EXTERNAL_PRIMARY); in testIncrementAccessViaMediaProvider_externalVolumes()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DMetrics.java160 case MediaStore.VOLUME_EXTERNAL_PRIMARY: in translateVolumeName()
DFileUtils.java1081 return MediaStore.VOLUME_EXTERNAL_PRIMARY;
/packages/providers/MediaProvider/src/com/android/providers/media/metrics/
DStorageAccessMetrics.java123 case MediaStore.VOLUME_EXTERNAL_PRIMARY: in logGeneralExternalStorageAccess()
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DMediaStore.java169 public static final String VOLUME_EXTERNAL_PRIMARY = "external_primary"; field in MediaStore
2097 return MediaStore.VOLUME_EXTERNAL_PRIMARY; in getVolumeName()
4063 } else if (VOLUME_EXTERNAL_PRIMARY.equals(volumeName)) { in checkArgumentVolumeName()
4115 return getVersion(context, VOLUME_EXTERNAL_PRIMARY); in getVersion()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DDrmTest.java152 MediaStore.Downloads.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY), values); in testForwardLock_130680734()
DModernMediaScannerTest.java877 .getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testScan_166063754()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java650 return MediaStore.VOLUME_EXTERNAL_PRIMARY; in extractVolumeName()
/packages/apps/Camera2/src/com/android/camera/
DVideoModule.java1117 MediaStore.VOLUME_EXTERNAL_PRIMARY); in initializeRecorder()
/packages/providers/MediaProvider/src/com/android/providers/media/
DDatabaseHelper.java202 mFilterVolumeNames.add(MediaStore.VOLUME_EXTERNAL_PRIMARY); in DatabaseHelper()
DMediaDocumentsProvider.java1555 } else if (!Objects.equals(volumeName, MediaStore.VOLUME_EXTERNAL_PRIMARY)) { in cleanUpMediaBucketName()
DMediaProvider.java4046 return MediaStore.VOLUME_EXTERNAL_PRIMARY; in resolveVolumeName()
4991 MediaStore.VOLUME_EXTERNAL_PRIMARY)); in getQueryBuilderInternal()
5065 MediaStore.VOLUME_EXTERNAL_PRIMARY)); in getQueryBuilderInternal()
6512 if (MediaStore.VOLUME_EXTERNAL_PRIMARY.equals(beforeVolume)
/packages/providers/MediaProvider/apex/framework/api/
Dcurrent.txt76 field public static final String VOLUME_EXTERNAL_PRIMARY = "external_primary";