/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_Artists_AlbumsTest.java | 26 import android.provider.MediaStore.Audio.Artists.Albums; 43 Uri contentUri = MediaStore.Audio.Artists.Albums.getContentUri( 48 contentUri = MediaStore.Audio.Artists.Albums.getContentUri( 55 assertNull(mContentResolver.query(MediaStore.Audio.Artists.Albums.getContentUri(volume, 1), 77 Uri artistsAlbumsUri = MediaStore.Audio.Artists.Albums.getContentUri(isInternal ? 80 // do not support insert operation of the albums 94 assertEquals(Audio1.ALBUM, c.getString(c.getColumnIndex(Albums.ALBUM))); 95 assertNull(c.getString(c.getColumnIndex(Albums.ALBUM_ART))); 96 assertNotNull(c.getString(c.getColumnIndex(Albums.ALBUM_KEY))); 97 assertEquals(Audio1.ARTIST, c.getString(c.getColumnIndex(Albums.ARTIST))) [all...] |
MediaStore_Audio_AlbumsTest.java | 28 import android.provider.MediaStore.Audio.Albums; 52 Albums.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME), null, null, 56 Albums.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME), null, null, 62 assertNull(mContentResolver.query(Albums.getContentUri(volume), null, null, null, null)); 74 // do not support direct insert operation of the albums 75 Uri audioAlbumsUri = isInternal? Albums.INTERNAL_CONTENT_URI : Albums.EXTERNAL_CONTENT_URI; 88 String selection = Albums.ALBUM +"=?"; 96 long id = c.getLong(c.getColumnIndex(Albums._ID)); 98 assertEquals(Audio1.ALBUM, c.getString(c.getColumnIndex(Albums.ALBUM))) [all...] |
/packages/apps/Gallery2/src/com/android/photos/data/ |
PhotoDatabase.java | 23 import com.android.photos.data.PhotoProvider.Albums; 48 // Photos.ALBUM_ID is a foreign key to Albums._ID 57 { Albums._ID, "INTEGER PRIMARY KEY AUTOINCREMENT" }, 58 // Albums.ACCOUNT_ID is a foreign key to Accounts._ID 59 { Albums.ACCOUNT_ID, "INTEGER NOT NULL" }, 60 // Albums.PARENT_ID is a foreign key to Albums._ID 61 { Albums.PARENT_ID, "INTEGER" }, 62 { Albums.ALBUM_TYPE, "TEXT" }, 63 { Albums.VISIBILITY, "INTEGER NOT NULL" } [all...] |
PhotoProvider.java | 41 * videos. Use Albums.CONTENT_URI to query all albums. Use Metadata.CONTENT_URI 132 public static interface Albums extends BaseColumns { 134 public static final String TABLE = "albums"; 160 // Privacy values for Albums.VISIBILITY 217 protected static final String SELECT_ALBUM_ID = "SELECT " + Albums._ID + " FROM " 218 + Albums.TABLE; 260 sUriMatcher.addURI(AUTHORITY, Albums.TABLE, MATCH_ALBUM); 261 // match against Albums._ID 262 sUriMatcher.addURI(AUTHORITY, Albums.TABLE + "/#", MATCH_ALBUM_ID) [all...] |
/packages/apps/Music/src/com/android/music/ |
AlbumBrowserActivity.java | 250 mAlbumCursor.getColumnIndex(MediaStore.Audio.Albums.ARTIST)); 271 mAlbumCursor.getColumnIndexOrThrow(MediaStore.Audio.Albums._ID)); 273 mAlbumCursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM)); 275 mAlbumCursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ARTIST)); 365 i.putExtra(MediaStore.EXTRA_MEDIA_FOCUS, MediaStore.Audio.Albums.ENTRY_CONTENT_TYPE); 445 String[] cols = new String[] {MediaStore.Audio.Albums._ID, MediaStore.Audio.Albums.ARTIST, 446 MediaStore.Audio.Albums.ALBUM, MediaStore.Audio.Albums.ALBUM_ART}; 450 Uri uri = MediaStore.Audio.Artists.Albums.getContentUri [all...] |
ArtistAlbumBrowserActivity.java | 263 String album = c.getString(c.getColumnIndex(MediaStore.Audio.Albums.ALBUM)); 359 mCurrentAlbumName = c.getString(c.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM)); 480 i.putExtra(MediaStore.EXTRA_MEDIA_FOCUS, MediaStore.Audio.Albums.ENTRY_CONTENT_TYPE); 692 cursor.getString(cursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM)); 701 cursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.NUMBER_OF_SONGS)); 703 MediaStore.Audio.Albums.NUMBER_OF_SONGS_FOR_ARTIST)); 734 cursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM_ART)); 759 String[] cols = new String[] {MediaStore.Audio.Albums._ID, 760 MediaStore.Audio.Albums.ALBUM, MediaStore.Audio.Albums.NUMBER_OF_SONGS [all...] |
QueryBrowserActivity.java | 105 } else if (path.startsWith("content://media/external/audio/albums/")) { 114 // This is an artist, show the albums for that artist 133 } else if (focus.equals(MediaStore.Audio.Albums.ENTRY_CONTENT_TYPE)) { 311 MediaStore.Audio.Artists.ARTIST, MediaStore.Audio.Albums.ALBUM, 400 cursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM)); 428 cursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM));
|
MediaPlaybackActivity.java | 317 mime = MediaStore.Audio.Albums.ENTRY_CONTENT_TYPE; [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaProvider.java | 198 MediaStore.Audio.Albums.ALBUM, 604 sArtistAlbumsMap.put(MediaStore.Audio.Albums._ID, "audio.album_id AS " + 605 MediaStore.Audio.Albums._ID); 606 sArtistAlbumsMap.put(MediaStore.Audio.Albums.ALBUM, "album"); 607 sArtistAlbumsMap.put(MediaStore.Audio.Albums.ALBUM_KEY, "album_key"); 608 sArtistAlbumsMap.put(MediaStore.Audio.Albums.FIRST_YEAR, "MIN(year) AS " + 609 MediaStore.Audio.Albums.FIRST_YEAR); 610 sArtistAlbumsMap.put(MediaStore.Audio.Albums.LAST_YEAR, "MAX(year) AS " + 611 MediaStore.Audio.Albums.LAST_YEAR); 615 sArtistAlbumsMap.put(MediaStore.Audio.Albums.NUMBER_OF_SONGS, "count(*) AS " [all...] |
MediaDocumentsProvider.java | 41 import android.provider.MediaStore.Audio.Albums; 294 cursor = resolver.query(Albums.EXTERNAL_CONTENT_URI, 385 // include all albums under artist 386 cursor = resolver.query(Artists.Albums.getContentUri("external", ident.id), [all...] |
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
DataModel.java | 54 MediaStore.Audio.Albums.INTERNAL_CONTENT_URI, 55 MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI
|
/frameworks/base/core/java/android/provider/ |
MediaStore.java | [all...] |
/external/robolectric/v1/lib/main/ |
android.jar | |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/21/ |
android.jar | |
/prebuilts/sdk/25/ |
android.jar | |
/prebuilts/sdk/4/ |
android.jar | |
/prebuilts/sdk/6/ |
android.jar | |
/prebuilts/tools/common/api-versions/android-1/ |
android.jar | |
/prebuilts/tools/common/api-versions/android-2/ |
android.jar | |
/prebuilts/tools/common/api-versions/android-3/ |
android.jar | |