/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_AlbumsTest.java | 82 // the album item is inserted when inserting audio media 87 String selection = Albums.ALBUM +"=?"; 88 String[] selectionArgs = new String[] { Audio1.ALBUM }; 97 assertEquals(Audio1.ALBUM, c.getString(c.getColumnIndex(Albums.ALBUM))); 124 albumValues.put(Albums.ALBUM, Audio2.ALBUM); 157 // the album items are deleted when deleting the audio media which belongs to the album 176 v.put(Albums.ALBUM, "test" + System.currentTimeMillis()) [all...] |
MediaStore_Audio_Artists_AlbumsTest.java | 68 // the album item is inserted when inserting audio media 94 assertEquals(Audio1.ALBUM, c.getString(c.getColumnIndex(Albums.ALBUM))); 114 albumValues.put(Albums.ALBUM, Audio2.ALBUM); 132 // the album items are deleted when deleting the audio media which belongs to the album
|
MediaStoreAudioTestHelper.java | 99 public static final String ALBUM = "Dangerous"; 129 values.put(Media.ALBUM, ALBUM); 176 public static final String ALBUM = 208 values.put(Media.ALBUM, ALBUM);
|
MediaStore_Audio_MediaTest.java | 105 assertEquals(Audio1.ALBUM, c.getString(c.getColumnIndex(Media.ALBUM))); 147 assertEquals(Audio2.ALBUM, c.getString(c.getColumnIndex(Media.ALBUM)));
|
MediaStore_Video_MediaTest.java | 82 values.put(Media.ALBUM, "cts"); 117 assertEquals("cts", c.getString(c.getColumnIndex(Media.ALBUM))); 143 values.put(Media.ALBUM, "cts1"); 170 assertEquals("cts1", c.getString(c.getColumnIndex(Media.ALBUM)));
|
MediaStore_Audio_ArtistsTest.java | 94 artistValues.put(Artists.ARTIST, Audio2.ALBUM); 127 // the artist items are deleted when deleting the audio media which belongs to the album
|
MediaStore_Audio_Playlists_MembersTest.java | 41 Members.ALBUM, 71 Members.ALBUM, 227 assertEquals(Audio1.ALBUM, c.getString(c.getColumnIndex(Members.ALBUM))); 271 assertEquals(Audio2.ALBUM, c.getString(c.getColumnIndex(Members.ALBUM)));
|
MediaStore_Audio_Genres_MembersTest.java | 128 assertEquals(Audio1.ALBUM, c.getString(c.getColumnIndex(Members.ALBUM)));
|
MediaStore_FilesTest.java | 361 writeFile(R.raw.testmp3_2, fileName); // file without album art 368 values.put(MediaStore.Audio.Media.ALBUM, "Album-" + SystemClock.elapsedRealtime()); 371 // give media provider some time to realize there's no album art 373 // get its album id 382 fail("no album art, shouldn't be here. Got: " + realPathFor(pfd)); 387 // replace file with one that has album art 388 writeFile(R.raw.testmp3, fileName); // file with album art 401 fail("shouldn't have fd for album " + albumid + ", got " + realPathFor(pfd));
|
/packages/apps/Music/src/com/android/music/ |
MediaPickerActivity.java | 140 MediaStore.Audio.Media.ALBUM, 150 MediaStore.Audio.Media.ALBUM, 237 mAlbumIdx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.ALBUM);
|
QueryBrowserActivity.java | 111 // This is an album, show the songs on it 114 i.putExtra("album", uri.getLastPathSegment()); 121 i.setDataAndType(Uri.EMPTY, "vnd.android.cursor.dir/album"); 133 String album = intent.getStringExtra(MediaStore.EXTRA_MEDIA_ALBUM); local 139 if (album != null) { 140 mFilterString = album; 288 intent.setDataAndType(Uri.EMPTY, "vnd.android.cursor.dir/album"); 291 } else if ("album".equals(selectedType)) { 295 intent.putExtra("album", Long.valueOf(id).toString()); 323 BaseColumns._ID, // this will be the artist, album or track I [all...] |
ArtistAlbumBrowserActivity.java | 270 intent.putExtra("album", mCurrentAlbumId); 272 String album = c.getString(c.getColumnIndex(MediaStore.Audio.Albums.ALBUM)); local 273 if (album == null || album.equals(MediaStore.UNKNOWN_STRING)) { 274 // unknown album, so we should include the artist ID to limit the songs to songs only by that artist 335 Log.d("Artist/Album", "no group"); 356 Log.d("Artist/Album", "no child"); 363 mCurrentAlbumName = c.getString(c.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM)); 701 String name = cursor.getString(cursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM)); [all...] |
TrackBrowserActivity.java | 124 mAlbumId = icicle.getString("album"); 130 mAlbumId = intent.getStringExtra("album"); 131 // If we have an album, show everything on the album, not just stuff 143 MediaStore.Audio.Media.ALBUM, 152 MediaStore.Audio.Media.ALBUM, 182 // don't set the album art until after the view has been layed out 354 outcicle.putString("album", mAlbumId); 447 int idx = mTrackCursor.getColumnIndexOrThrow(MediaStore.Audio.Media.ALBUM); 449 // For compilation albums show only the album title 629 String album = c.getString(albumidx); local [all...] |
MusicPicker.java | 57 * application (title, author, album, duration), as well as the ability to 84 /** Menu item to sort the music list by album title. */ 95 MediaStore.Audio.Media.ALBUM, 305 mAlbumIdx = cursor.getColumnIndex(MediaStore.Audio.Media.ALBUM);
|
AlbumBrowserActivity.java | 281 mCurrentAlbumName = mAlbumCursor.getString(mAlbumCursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM)); 302 // play the selected album 372 // Since we hide the 'search' menu item when both album and artist are 409 intent.putExtra("album", Long.valueOf(id).toString()); 455 MediaStore.Audio.Albums.ALBUM, 554 mAlbumIdx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM); 611 // we just use it to see if there is album art or not
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
MediaMetadataTest.java | 37 FILE_PATH,CD_TRACK, ALBUM, 87 Log.v(TAG, "Album : "+ value); 88 assertEquals(TAG, meta_data_file[fileIndex][meta.ALBUM.ordinal()], value);
|
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/ |
MusicProvider.java | 51 private static String ALBUM = "album"; 98 String album = music.getString(ALBUM); local 114 mMusicList.add(new MusicTrack(title, album, artist, genre, source,
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
MusicRetriever.java | 81 int albumColumn = cur.getColumnIndex(MediaStore.Audio.Media.ALBUM); 116 String album; field in class:MusicRetriever.Item 119 public Item(long id, String artist, String title, String album, long duration) { 123 this.album = album; 140 return album;
|
/development/apps/Development/src/com/android/development/ |
MediaScannerActivity.java | 167 // Add one more album (with 10 songs) to the database. This will be a compilation album, 168 // with one album artist for the album, and a separate artist for each song. 186 map.put(Audio.Media.ALBUM, albumName);
|
/frameworks/base/media/java/android/media/ |
Metadata.java | 101 public static final int ALBUM = 8; // String
|
MediaScanner.java | 701 } else if (name.equalsIgnoreCase("album") || name.startsWith("album;")) { [all...] |
/frameworks/base/core/java/android/provider/ |
MediaStore.java | 171 * The name of the Intent-extra used to define the album 173 public static final String EXTRA_MEDIA_ALBUM = "android.intent.extra.album"; 192 * indicates whether the search should be for things related to the artist, album 376 * if an audio file does not have any meta data, the artist and album columns [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaDocumentsProvider.java | 96 private static final String TYPE_ALBUM = "album"; 292 // single album 391 // include all songs under album 711 AlbumColumns.ALBUM }; 714 final int ALBUM = 1; 724 cleanUpMediaDisplayName(cursor.getString(AlbumQuery.ALBUM))); [all...] |
/frameworks/base/media/java/android/mtp/ |
MtpPropertyGroup.java | 422 queryAudio(handle, Audio.AudioColumns.ALBUM));
|
/external/libvorbis/doc/ |
05-comment.tex | 107 \item[ALBUM] 111 The track number of this piece if part of a specific larger collection or album
|