Searched refs:mVolumeName (Results 1 – 4 of 4) sorted by relevance
/packages/providers/MediaProvider/src/com/android/providers/media/dao/ |
D | FileRow.java | 25 private String mVolumeName; field in FileRow 40 private String mVolumeName; field in FileRow.Builder 65 this.mVolumeName = volumeName; in setVolumeName() 113 fileRow.mVolumeName = this.mVolumeName; in build() 148 return mVolumeName; in getVolumeName()
|
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/ |
D | LegacyProviderMigrationTest.java | 96 private String mVolumeName = MediaStore.VOLUME_EXTERNAL_PRIMARY; field in LegacyProviderMigrationTest 114 Log.d(TAG, "Using volume " + mVolumeName); in setUp() 115 mExternalAudio = MediaStore.Audio.Media.getContentUri(mVolumeName); in setUp() 116 mExternalVideo = MediaStore.Video.Media.getContentUri(mVolumeName); in setUp() 117 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 118 mExternalDownloads = MediaStore.Downloads.getContentUri(mVolumeName); in setUp() 120 Uri playlists = MediaStore.Audio.Playlists.getContentUri(mVolumeName); in setUp() 135 .getStorageVolume(MediaStore.Files.getContentUri(mVolumeName)).getDirectory(); in generateValues() 149 values.put(MediaColumns.VOLUME_NAME, mVolumeName); in generateValues() 290 MediaStore.Audio.Playlists.Members.getContentUri(mVolumeName, playlistId) in testLegacy_PlaylistMap() [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/scan/ |
D | ModernMediaScanner.java | 358 private final String mVolumeName; field in ModernMediaScanner.Scan 404 mVolumeName = mVolume.getName(); in Scan() 405 mFilesUri = MediaStore.Files.getContentUri(mVolumeName); in Scan() 408 mStartGeneration = MediaStore.getGeneration(mResolver, mVolumeName); in Scan() 446 Metrics.logScan(mVolumeName, mReason, mFileCount, durationMillis, in runInternal() 581 final Uri uri = MediaStore.Files.getContentUri(mVolumeName, id).buildUpon() in reconcileAndClean() 591 Metrics.logDeletionPersistent(mVolumeName, scanReason, countPerMediaType); in reconcileAndClean() 632 if (MediaStore.VOLUME_INTERNAL.equals(mVolumeName)) return; in resolvePlaylists() 634 final Uri playlistsUri = MediaStore.Audio.Playlists.getContentUri(mVolumeName); in resolvePlaylists() 855 mVolumeName); in visitFile() [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | DatabaseHelper.java | 190 final String mVolumeName; field in DatabaseHelper 290 mVolumeName = MediaStore.VOLUME_INTERNAL; in DatabaseHelper() 292 mVolumeName = MediaStore.VOLUME_EXTERNAL; in DatabaseHelper() 303 mMigrationFileName = "." + mVolumeName; in DatabaseHelper() 1167 Log.e(TAG, "Failed to create a migration file: ." + mVolumeName, e); in createLatestSchema() 1221 .rewriteToLegacy(MediaStore.Files.getContentUri(mVolumeName)); in migrateFromLegacy() 1231 mMigrationListener.onStarted(client, mVolumeName); in migrateFromLegacy() 1326 mMigrationListener.onProgress(client, mVolumeName, progress, total); in migrateFromLegacy() 1343 mMigrationListener.onFinished(client, mVolumeName); in migrateFromLegacy() 1361 .rewriteToLegacy(MediaStore.Files.getContentUri(mVolumeName)); in migratePlaylistFiles() [all …]
|