Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaScannerService.java58 private void openDatabase(String volumeName) { in openDatabase() argument
61 values.put("name", volumeName); in openDatabase()
87 private void scan(String[] directories, String volumeName) { in scan() argument
94 values.put(MediaStore.MEDIA_SCANNER_VOLUME, volumeName); in scan()
100 if (volumeName.equals(MediaProvider.EXTERNAL_VOLUME)) { in scan()
101 openDatabase(volumeName); in scan()
105 scanner.scanDirectories(directories, volumeName); in scan()
190 String volumeName = MediaProvider.EXTERNAL_VOLUME; in scanFile() local
191 openDatabase(volumeName); in scanFile()
196 return scanner.scanSingleFile(canonicalPath, volumeName, mimeType); in scanFile()
DMediaProvider.java3395 final String volumeName = getVolumeName(uri); in insertInternal() local
3438 getContext(), volumeName, FileColumns.MEDIA_TYPE_IMAGE, rowId); in insertInternal() local
3440 Images.Media.getContentUri(volumeName), rowId); in insertInternal()
3453 getContentUri(volumeName), rowId); in insertInternal()
3466 getContentUri(volumeName), rowId); in insertInternal()
3476 getContext(), volumeName, FileColumns.MEDIA_TYPE_AUDIO, rowId); in insertInternal() local
3478 Audio.Media.getContentUri(volumeName), rowId); in insertInternal()
3516 Audio.Genres.getContentUri(volumeName), rowId); in insertInternal()
3540 Audio.Playlists.getContentUri(volumeName), rowId); in insertInternal()
3563 getContext(), volumeName, FileColumns.MEDIA_TYPE_VIDEO, rowId); in insertInternal() local
[all …]
DMediaDocumentsProvider.java123 static void onMediaStoreInsert(Context context, String volumeName, int type, long id) { in onMediaStoreInsert() argument
124 if (!"external".equals(volumeName)) return; in onMediaStoreInsert()
141 static void onMediaStoreDelete(Context context, String volumeName, int type, long id) { in onMediaStoreDelete() argument
142 if (!"external".equals(volumeName)) return; in onMediaStoreDelete()