Home
last modified time | relevance | path

Searched refs:AudioColumns (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DDataModel.java32 import android.provider.MediaStore.Audio.AudioColumns;
69 AudioColumns.ALBUM_KEY + "= ? or "
70 + AudioColumns.ARTIST_KEY + " = ? or "
71 + AudioColumns.TITLE_KEY + " = ? or "
72 + AudioColumns.DATA + " like ?";
102 .setKeyColumn(AudioColumns.ALBUM_KEY) in onQueryByAlbum()
103 .setTitleColumn(AudioColumns.ALBUM) in onQueryByAlbum()
114 .setKeyColumn(AudioColumns.ARTIST_KEY) in onQueryByArtist()
115 .setTitleColumn(AudioColumns.ARTIST) in onQueryByArtist()
154 cursor = mResolver.query(uri, null, AudioColumns.TITLE_KEY + " = ?", in getMetadata()
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DDatabaseHelperTest.java34 import android.provider.MediaStore.Audio.AudioColumns;
82 values.put(AudioColumns.TITLE, "Clocks"); in testFilterVolumeNames()
83 values.put(AudioColumns.ALBUM, "A Rush of Blood"); in testFilterVolumeNames()
84 values.put(AudioColumns.ARTIST, "Coldplay"); in testFilterVolumeNames()
85 values.put(AudioColumns.GENRE, "Rock"); in testFilterVolumeNames()
94 values.put(AudioColumns.TITLE, "Speed of Sound"); in testFilterVolumeNames()
95 values.put(AudioColumns.ALBUM, "X&Y"); in testFilterVolumeNames()
96 values.put(AudioColumns.ARTIST, "Coldplay"); in testFilterVolumeNames()
97 values.put(AudioColumns.GENRE, "Alternative rock"); in testFilterVolumeNames()
106 values.put(AudioColumns.TITLE, "Beautiful Day"); in testFilterVolumeNames()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaDocumentsProvider.java54 import android.provider.MediaStore.Audio.AudioColumns;
170 AUDIO_COLUMN_MAP.put(AudioColumns.ARTIST, MediaMetadata.METADATA_KEY_ARTIST); in AUDIO_COLUMN_MAP.put()
171 AUDIO_COLUMN_MAP.put(AudioColumns.COMPOSER, MediaMetadata.METADATA_KEY_COMPOSER); in AUDIO_COLUMN_MAP.put()
172 AUDIO_COLUMN_MAP.put(AudioColumns.ALBUM, MediaMetadata.METADATA_KEY_ALBUM); in AUDIO_COLUMN_MAP.put()
173 AUDIO_COLUMN_MAP.put(AudioColumns.YEAR, MediaMetadata.METADATA_KEY_YEAR); in AUDIO_COLUMN_MAP.put()
174 AUDIO_COLUMN_MAP.put(AudioColumns.DURATION, MediaMetadata.METADATA_KEY_DURATION); in AUDIO_COLUMN_MAP.put()
767 SongQuery.PROJECTION, AudioColumns.ALBUM_ID + "=?", in queryChildDocuments()
942 fileSizeOver, AudioColumns.TITLE, AudioColumns.MIME_TYPE, in querySearchDocuments()
943 AudioColumns.DATE_MODIFIED, AudioColumns.SIZE); in querySearchDocuments()
947 AudioColumns.DATE_MODIFIED + " DESC"); in querySearchDocuments()
[all …]
DMediaProvider.java137 import android.provider.MediaStore.Audio.AudioColumns;
1167 final String title = values.getAsString(AudioColumns.TITLE); in computeAudioLocalizedValues()
1168 final String titleRes = values.getAsString(AudioColumns.TITLE_RESOURCE_URI); in computeAudioLocalizedValues()
1173 values.put(AudioColumns.TITLE, localized); in computeAudioLocalizedValues()
1178 values.put(AudioColumns.TITLE, localized); in computeAudioLocalizedValues()
1179 values.put(AudioColumns.TITLE_RESOURCE_URI, title); in computeAudioLocalizedValues()
1190 AudioColumns.TITLE, AudioColumns.TITLE_KEY, null); in computeAudioKeyValues()
1192 AudioColumns.ALBUM, AudioColumns.ALBUM_KEY, AudioColumns.ALBUM_ID); in computeAudioKeyValues()
1194 AudioColumns.ARTIST, AudioColumns.ARTIST_KEY, AudioColumns.ARTIST_ID); in computeAudioKeyValues()
1196 AudioColumns.GENRE, AudioColumns.GENRE_KEY, AudioColumns.GENRE_ID); in computeAudioKeyValues()
[all …]
DDatabaseHelper.java934 sMigrateColumns.add(MediaStore.Audio.AudioColumns.BOOKMARK);
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java74 import android.provider.MediaStore.Audio.AudioColumns;
955 sAudioTypes.put(Environment.DIRECTORY_RINGTONES, AudioColumns.IS_RINGTONE); in sAudioTypes.put()
956 sAudioTypes.put(Environment.DIRECTORY_NOTIFICATIONS, AudioColumns.IS_NOTIFICATION); in sAudioTypes.put()
957 sAudioTypes.put(Environment.DIRECTORY_ALARMS, AudioColumns.IS_ALARM); in sAudioTypes.put()
958 sAudioTypes.put(Environment.DIRECTORY_PODCASTS, AudioColumns.IS_PODCAST); in sAudioTypes.put()
959 sAudioTypes.put(Environment.DIRECTORY_AUDIOBOOKS, AudioColumns.IS_AUDIOBOOK); in sAudioTypes.put()
960 sAudioTypes.put(Environment.DIRECTORY_MUSIC, AudioColumns.IS_MUSIC); in sAudioTypes.put()
981 op.withValue(AudioColumns.IS_MUSIC, 1); in scanItemAudio()
990 withOptionalValue(op, AudioColumns.TRACK, in scanItemAudio()
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DLegacyProviderMigrationTest.java41 import android.provider.MediaStore.Audio.AudioColumns;
167 values.put(AudioColumns.BOOKMARK, String.valueOf(42)); in testLegacy_Audio()
/packages/providers/MediaProvider/apex/framework/api/
Dremoved.txt4 …public static interface MediaStore.Audio.AudioColumns extends android.provider.MediaStore.MediaCol…
Dcurrent.txt122 …public static interface MediaStore.Audio.AudioColumns extends android.provider.MediaStore.MediaCol…
154 …l class MediaStore.Audio.Genres.Members implements android.provider.MediaStore.Audio.AudioColumns {
167 …atic final class MediaStore.Audio.Media implements android.provider.MediaStore.Audio.AudioColumns {
191 …lass MediaStore.Audio.Playlists.Members implements android.provider.MediaStore.Audio.AudioColumns {
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DMediaStore.java2405 public interface AudioColumns extends MediaColumns { interface in MediaStore.Audio
2643 public static final class Media implements AudioColumns {
2800 public static final class Members implements AudioColumns {
2924 public static final class Members implements AudioColumns {