/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_ArtistsTest.java | 81 // the artist items are inserted when inserting audio media 85 String selection = Artists.ARTIST + "=?"; 86 String[] selectionArgs = new String[] { Audio1.ARTIST }; 93 assertEquals(Audio1.ARTIST, c.getString(c.getColumnIndex(Artists.ARTIST))); 103 artistValues.put(Artists.ARTIST, Audio2.ALBUM); 121 .appendQueryParameter("filter", Audio1.ARTIST).build(); 136 // the artist items are deleted when deleting the audio media which belongs to the album
|
MediaStore_Audio_Artists_AlbumsTest.java | 83 // get artist id 109 assertEquals(Audio1.ARTIST, c.getString(c.getColumnIndex(Albums.ARTIST)));
|
MediaStore_Audio_AlbumsTest.java | 104 assertEquals(Audio1.ARTIST, c.getString(c.getColumnIndex(Albums.ARTIST))); 146 .appendQueryParameter("filter", Audio1.ARTIST).build();
|
MediaStore_Audio_MediaTest.java | 119 assertEquals(Audio1.ARTIST, c.getString(c.getColumnIndex(Media.ARTIST))); 159 assertEquals(Audio2.ARTIST, c.getString(c.getColumnIndex(Media.ARTIST))); 177 .appendQueryParameter("filter", Audio2.ARTIST).build();
|
MediaStore_Audio_Playlists_MembersTest.java | 44 Members.ARTIST, 74 Members.ARTIST, 187 assertEquals(Audio1.ARTIST, c.getString(c.getColumnIndex(Members.ARTIST))); 236 assertEquals(Audio2.ARTIST, c.getString(c.getColumnIndex(Members.ARTIST)));
|
MediaStore_Video_MediaTest.java | 72 values.put(Media.ARTIST, "cts team"); 107 assertEquals("cts team", c.getString(c.getColumnIndex(Media.ARTIST))); 133 values.put(Media.ARTIST, "cts team1"); 160 assertEquals("cts team1", c.getString(c.getColumnIndex(Media.ARTIST)));
|
MediaStore_Audio_Genres_MembersTest.java | 142 assertEquals(Audio1.ARTIST, c.getString(c.getColumnIndex(Members.ARTIST)));
|
/cts/tests/src/android/provider/cts/ |
MediaStoreAudioTestHelper.java | 97 public static final String ARTIST = "Michael Jackson"; 130 values.put(Media.ARTIST, ARTIST); 173 public static final String ARTIST = 209 values.put(Media.ARTIST, ARTIST);
|
/packages/apps/Music/src/com/android/music/ |
MediaPickerActivity.java | 139 MediaStore.Audio.Media.ARTIST, 149 MediaStore.Audio.Media.ARTIST, 236 mArtistIdx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.ARTIST);
|
VideoBrowserActivity.java | 95 MediaStore.Video.Media.ARTIST
|
ArtistAlbumBrowserActivity.java | 274 // unknown album, so we should include the artist ID to limit the songs to songs only by that artist 277 intent.putExtra("artist", mCurrentArtistId); 335 Log.d("Artist/Album", "no group"); 341 mCurrentArtistName = mArtistCursor.getString(mArtistCursor.getColumnIndexOrThrow(MediaStore.Audio.Artists.ARTIST)); 356 Log.d("Artist/Album", "no child"); 367 mArtistCursor.getColumnIndexOrThrow(MediaStore.Audio.Artists.ARTIST)); 387 // play everything by the selected artist 527 MediaStore.Audio.Artists.ARTIST, 614 mGroupArtistIdx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Artists.ARTIST); 671 String artist = cursor.getString(mGroupArtistIdx); local [all...] |
AudioPreview.java | 136 int artistIdx = cursor.getColumnIndex(MediaStore.Audio.Media.ARTIST); 148 String artist = cursor.getString(artistIdx); 149 mTextLine2.setText(artist); 171 // try to get title and artist from the media content provider 173 MediaStore.Audio.Media.TITLE, MediaStore.Audio.Media.ARTIST}, 187 MediaStore.Audio.Media.TITLE, MediaStore.Audio.Media.ARTIST},
|
QueryBrowserActivity.java | 119 // This is an artist, show the albums for that artist 122 i.putExtra("artist", uri.getLastPathSegment()); 132 String artist = intent.getStringExtra(MediaStore.EXTRA_MEDIA_ARTIST); local 141 if (artist != null) { 142 mFilterString = mFilterString + " " + artist; 146 if (artist != null) { 147 mFilterString = artist; 283 if ("artist".equals(selectedType)) { 287 intent.putExtra("artist", Long.valueOf(id).toString()) [all...] |
AlbumBrowserActivity.java | 93 mArtistId = icicle.getString("artist"); 95 mArtistId = getIntent().getStringExtra("artist"); 153 outcicle.putString("artist", mArtistId); 260 mAlbumCursor.getColumnIndex(MediaStore.Audio.Albums.ARTIST)); 283 mAlbumCursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ARTIST)); 372 // Since we hide the 'search' menu item when both album and artist are 410 intent.putExtra("artist", mArtistId); 454 MediaStore.Audio.Albums.ARTIST, 555 mArtistIdx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ARTIST);
|
MusicPicker.java | 86 /** Menu item to sort the music list by artist name. */ 96 MediaStore.Audio.Media.ARTIST, 304 mArtistIdx = cursor.getColumnIndex(MediaStore.Audio.Media.ARTIST);
|
TrackBrowserActivity.java | 125 mArtistId = icicle.getString("artist"); 132 // by a particular artist. 133 mArtistId = intent.getStringExtra("artist"); 144 MediaStore.Audio.Media.ARTIST, 153 MediaStore.Audio.Media.ARTIST, 353 outcicle.putString("artist", mArtistId); 392 // Otherwise, position the selection on the first matching artist, if any 405 String key = getIntent().getStringExtra("artist"); 410 String artist = mTrackCursor.getString(keyidx); local 411 if (artist.equals(key)) 630 String artist = c.getString(artistidx); local [all...] |
MediaPlaybackService.java | 126 MediaStore.Audio.Media.ARTIST, 759 * "artist" - String: the name of the artist 777 i.putExtra("artist", getArtistName()); 1118 String artist = getArtistName(); local [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
MediaMetadataTest.java | 38 ARTIST, AUTHOR, COMPOSER, 91 Log.v(TAG, "Artist : "+ value); 92 assertEquals(TAG, meta_data_file[fileIndex][meta.ARTIST.ordinal()], value);
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
MusicRetriever.java | 79 int artistColumn = cur.getColumnIndex(MediaStore.Audio.Media.ARTIST); 114 String artist; field in class:MusicRetriever.Item 119 public Item(long id, String artist, String title, String album, long duration) { 121 this.artist = artist; 132 return artist;
|
/development/apps/Development/src/com/android/development/ |
MediaScannerActivity.java | 168 // with one album artist for the album, and a separate artist for each song. 176 String artist = getRandomName(); local 179 "http://bogus/" + albumName + "/" + artist + "_" + i); 184 map.put(Audio.Media.ARTIST, artist);
|
/frameworks/base/core/java/android/provider/ |
MediaStore.java | 94 * that can contain any type of unstructured music search, like the name of an artist, 105 * The name of the Intent-extra used to define the artist 107 public static final String EXTRA_MEDIA_ARTIST = "android.intent.extra.artist"; 118 * indicates whether the search should be for things related to the artist, album 215 * if an audio file does not have any meta data, the artist and album columns [all...] |
/frameworks/base/media/java/android/media/ |
Metadata.java | 104 public static final int ARTIST = 9; // String
|
MediaScanner.java | 593 } else if (name.equalsIgnoreCase("artist") || name.startsWith("artist;")) { 719 map.put(Video.Media.ARTIST, (mArtist != null && mArtist.length() > 0 728 map.put(Audio.Media.ARTIST, (mArtist != null && mArtist.length() > 0) ? 752 // use album artist if artist is missing [all...] |
/frameworks/base/media/java/android/mtp/ |
MtpPropertyGroup.java | 408 queryAudio(handle, Audio.AudioColumns.ARTIST));
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
SoundRecorder.java | 617 cv.put(MediaStore.Audio.Media.ARTIST,
|