Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java56 import android.provider.MediaStore.Audio.AudioColumns;
1098 valuesOne.put(AudioColumns.TITLE, "Clocks"); in testComputeAudioKeyValues_167339595_differentAlbumIds()
1099 valuesOne.put(AudioColumns.ALBUM, "A Rush of Blood"); in testComputeAudioKeyValues_167339595_differentAlbumIds()
1100 valuesOne.put(AudioColumns.ALBUM_ARTIST, "Coldplay"); in testComputeAudioKeyValues_167339595_differentAlbumIds()
1101 valuesOne.put(AudioColumns.GENRE, "Rock"); in testComputeAudioKeyValues_167339595_differentAlbumIds()
1102 valuesOne.put(AudioColumns.IS_MUSIC, true); in testComputeAudioKeyValues_167339595_differentAlbumIds()
1108 valuesTwo.put(AudioColumns.TITLE, "Sounds"); in testComputeAudioKeyValues_167339595_differentAlbumIds()
1109 valuesTwo.put(AudioColumns.ALBUM, "A Rush of Blood"); in testComputeAudioKeyValues_167339595_differentAlbumIds()
1110 valuesTwo.put(AudioColumns.ALBUM_ARTIST, "ColdplayTwo"); in testComputeAudioKeyValues_167339595_differentAlbumIds()
1111 valuesTwo.put(AudioColumns.GENRE, "Alternative rock"); in testComputeAudioKeyValues_167339595_differentAlbumIds()
[all …]
DDatabaseHelperTest.java40 import android.provider.MediaStore.Audio.AudioColumns;
91 values.put(AudioColumns.TITLE, "Clocks"); in testFilterVolumeNames()
92 values.put(AudioColumns.ALBUM, "A Rush of Blood"); in testFilterVolumeNames()
93 values.put(AudioColumns.ARTIST, "Coldplay"); in testFilterVolumeNames()
94 values.put(AudioColumns.GENRE, "Rock"); in testFilterVolumeNames()
95 values.put(AudioColumns.IS_MUSIC, true); in testFilterVolumeNames()
104 values.put(AudioColumns.TITLE, "Speed of Sound"); in testFilterVolumeNames()
105 values.put(AudioColumns.ALBUM, "X&Y"); in testFilterVolumeNames()
106 values.put(AudioColumns.ARTIST, "Coldplay"); in testFilterVolumeNames()
107 values.put(AudioColumns.GENRE, "Alternative rock"); in testFilterVolumeNames()
[all …]
/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/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1 Landroid/provider/MediaStore$Audio$AudioColumns;->ALBUM_ARTIST:Ljava/lang/String;
2 Landroid/provider/MediaStore$Audio$AudioColumns;->COMPILATION:Ljava/lang/String;
3 Landroid/provider/MediaStore$Audio$AudioColumns;->GENRE:Ljava/lang/String;
4 Landroid/provider/MediaStore$Audio$AudioColumns;->TITLE_RESOURCE_URI:Ljava/lang/String;
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaDocumentsProvider.java56 import android.provider.MediaStore.Audio.AudioColumns;
173 AUDIO_COLUMN_MAP.put(AudioColumns.ARTIST, MediaMetadata.METADATA_KEY_ARTIST); in AUDIO_COLUMN_MAP.put()
174 AUDIO_COLUMN_MAP.put(AudioColumns.COMPOSER, MediaMetadata.METADATA_KEY_COMPOSER); in AUDIO_COLUMN_MAP.put()
175 AUDIO_COLUMN_MAP.put(AudioColumns.ALBUM, MediaMetadata.METADATA_KEY_ALBUM); in AUDIO_COLUMN_MAP.put()
176 AUDIO_COLUMN_MAP.put(AudioColumns.YEAR, MediaMetadata.METADATA_KEY_YEAR); in AUDIO_COLUMN_MAP.put()
177 AUDIO_COLUMN_MAP.put(AudioColumns.DURATION, MediaMetadata.METADATA_KEY_DURATION); in AUDIO_COLUMN_MAP.put()
792 SongQuery.PROJECTION, AudioColumns.ALBUM_ID + "=?", in queryChildDocuments()
967 fileSizeOver, AudioColumns.DISPLAY_NAME, AudioColumns.MIME_TYPE, in querySearchDocuments()
968 AudioColumns.DATE_MODIFIED, AudioColumns.SIZE); in querySearchDocuments()
972 AudioColumns.DATE_MODIFIED + " DESC"); in querySearchDocuments()
[all …]
DMediaProvider.java164 import android.provider.MediaStore.Audio.AudioColumns;
1601 final String title = values.getAsString(AudioColumns.TITLE); in computeAudioLocalizedValues()
1602 final String titleRes = values.getAsString(AudioColumns.TITLE_RESOURCE_URI); in computeAudioLocalizedValues()
1607 values.put(AudioColumns.TITLE, localized); in computeAudioLocalizedValues()
1612 values.put(AudioColumns.TITLE, localized); in computeAudioLocalizedValues()
1613 values.put(AudioColumns.TITLE_RESOURCE_URI, title); in computeAudioLocalizedValues()
1623 computeAudioKeyValue(values, AudioColumns.TITLE, AudioColumns.TITLE_KEY, /* focusId */ in computeAudioKeyValues()
1625 computeAudioKeyValue(values, AudioColumns.ARTIST, AudioColumns.ARTIST_KEY, in computeAudioKeyValues()
1626 AudioColumns.ARTIST_ID, /* hashValue */ 0); in computeAudioKeyValues()
1627 computeAudioKeyValue(values, AudioColumns.GENRE, AudioColumns.GENRE_KEY, in computeAudioKeyValues()
[all …]
DDatabaseHelper.java1147 sMigrateColumns.add(MediaStore.Audio.AudioColumns.BOOKMARK);
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java78 import android.provider.MediaStore.Audio.AudioColumns;
1221 sAudioTypes.put(Environment.DIRECTORY_RINGTONES, AudioColumns.IS_RINGTONE); in sAudioTypes.put()
1222 sAudioTypes.put(Environment.DIRECTORY_NOTIFICATIONS, AudioColumns.IS_NOTIFICATION); in sAudioTypes.put()
1223 sAudioTypes.put(Environment.DIRECTORY_ALARMS, AudioColumns.IS_ALARM); in sAudioTypes.put()
1224 sAudioTypes.put(Environment.DIRECTORY_PODCASTS, AudioColumns.IS_PODCAST); in sAudioTypes.put()
1225 sAudioTypes.put(Environment.DIRECTORY_AUDIOBOOKS, AudioColumns.IS_AUDIOBOOK); in sAudioTypes.put()
1226 sAudioTypes.put(Environment.DIRECTORY_MUSIC, AudioColumns.IS_MUSIC); in sAudioTypes.put()
1228 sAudioTypes.put(Environment.DIRECTORY_RECORDINGS, AudioColumns.IS_RECORDING); in sAudioTypes.put()
1230 sAudioTypes.put(FileUtils.DIRECTORY_RECORDINGS, AudioColumns.IS_RECORDING); in sAudioTypes.put()
1242 op.withValue(AudioColumns.TRACK, null); in scanItemAudio()
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DModernMediaScannerTest.java65 import android.provider.MediaStore.Audio.AudioColumns;
819 assertEquals(1, cursor.getInt(cursor.getColumnIndex(AudioColumns.IS_RECORDING))); in testScan_audio_recording()
820 assertEquals(0, cursor.getInt(cursor.getColumnIndex(AudioColumns.IS_MUSIC))); in testScan_audio_recording()
840 assertThat(cursor.getString(cursor.getColumnIndex(AudioColumns.IS_MUSIC))) in testScan_148316354()
1247 assertEquals(2, cursor.getInt(cursor.getColumnIndex(AudioColumns.TRACK))); in testScan_TrackNumber()
1258 assertThat(cursor.getString(cursor.getColumnIndex(AudioColumns.TRACK))).isNull(); in testScan_TrackNumber()
/packages/providers/MediaProvider/apex/framework/api/
Dremoved.txt4 …public static interface MediaStore.Audio.AudioColumns extends android.provider.MediaStore.MediaCol…
Dcurrent.txt131 …public static interface MediaStore.Audio.AudioColumns extends android.provider.MediaStore.MediaCol…
164 …l class MediaStore.Audio.Genres.Members implements android.provider.MediaStore.Audio.AudioColumns {
177 …atic final class MediaStore.Audio.Media implements android.provider.MediaStore.Audio.AudioColumns {
201 …lass MediaStore.Audio.Playlists.Members implements android.provider.MediaStore.Audio.AudioColumns {
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DMediaStore.java2688 public interface AudioColumns extends MediaColumns { interface in MediaStore.Audio
2968 public static final class Media implements AudioColumns {
3125 public static final class Members implements AudioColumns {
3253 public static final class Members implements AudioColumns {
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DLegacyProviderMigrationTest.java47 import android.provider.MediaStore.Audio.AudioColumns;
212 values.put(AudioColumns.BOOKMARK, String.valueOf(42)); in testLegacy_Audio()