/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 | 29 import android.provider.MediaStore.Audio.Albums; 51 Albums.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME), null, null, 55 Albums.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME), null, null, 61 assertNull(mContentResolver.query(Albums.getContentUri(volume), null, null, null, null)); 73 // do not support direct insert operation of the albums 74 Uri audioAlbumsUri = isInternal? Albums.INTERNAL_CONTENT_URI : Albums.EXTERNAL_CONTENT_URI; 87 String selection = Albums.ALBUM +"=?"; 95 long id = c.getLong(c.getColumnIndex(Albums._ID)); 97 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 | 260 mAlbumCursor.getColumnIndex(MediaStore.Audio.Albums.ARTIST)); 280 mCurrentAlbumId = mAlbumCursor.getString(mAlbumCursor.getColumnIndexOrThrow(MediaStore.Audio.Albums._ID)); 281 mCurrentAlbumName = mAlbumCursor.getString(mAlbumCursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM)); 283 mAlbumCursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ARTIST)); 374 i.putExtra(MediaStore.EXTRA_MEDIA_FOCUS, MediaStore.Audio.Albums.ENTRY_CONTENT_TYPE); 453 MediaStore.Audio.Albums._ID, 454 MediaStore.Audio.Albums.ARTIST, 455 MediaStore.Audio.Albums.ALBUM, 456 MediaStore.Audio.Albums.ALBUM_ART 462 Uri uri = MediaStore.Audio.Artists.Albums.getContentUri("external" [all...] |
ArtistAlbumBrowserActivity.java | 272 String album = c.getString(c.getColumnIndex(MediaStore.Audio.Albums.ALBUM)); 363 mCurrentAlbumName = c.getString(c.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM)); 487 i.putExtra(MediaStore.EXTRA_MEDIA_FOCUS, MediaStore.Audio.Albums.ENTRY_CONTENT_TYPE); 701 String name = cursor.getString(cursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM)); 709 int numsongs = cursor.getInt(cursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.NUMBER_OF_SONGS)); 710 int numartistsongs = cursor.getInt(cursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.NUMBER_OF_SONGS_FOR_ARTIST)); 739 MediaStore.Audio.Albums.ALBUM_ART)); 766 MediaStore.Audio.Albums._ID, 767 MediaStore.Audio.Albums.ALBUM, 768 MediaStore.Audio.Albums.NUMBER_OF_SONGS [all...] |
QueryBrowserActivity.java | 110 } else if (path.startsWith("content://media/external/audio/albums/")) { 119 // This is an artist, show the albums for that artist 138 } else if (focus.equals(MediaStore.Audio.Albums.ENTRY_CONTENT_TYPE)) { 326 MediaStore.Audio.Albums.ALBUM, 420 MediaStore.Audio.Albums.ALBUM)); 449 MediaStore.Audio.Albums.ALBUM));
|
MediaPlaybackActivity.java | 328 mime = MediaStore.Audio.Albums.ENTRY_CONTENT_TYPE; [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaProvider.java | 197 MediaStore.Audio.Albums.ALBUM, 592 sArtistAlbumsMap.put(MediaStore.Audio.Albums._ID, "audio.album_id AS " + 593 MediaStore.Audio.Albums._ID); 594 sArtistAlbumsMap.put(MediaStore.Audio.Albums.ALBUM, "album"); 595 sArtistAlbumsMap.put(MediaStore.Audio.Albums.ALBUM_KEY, "album_key"); 596 sArtistAlbumsMap.put(MediaStore.Audio.Albums.FIRST_YEAR, "MIN(year) AS " + 597 MediaStore.Audio.Albums.FIRST_YEAR); 598 sArtistAlbumsMap.put(MediaStore.Audio.Albums.LAST_YEAR, "MAX(year) AS " + 599 MediaStore.Audio.Albums.LAST_YEAR); 603 sArtistAlbumsMap.put(MediaStore.Audio.Albums.NUMBER_OF_SONGS, "count(*) AS " [all...] |
MediaDocumentsProvider.java | 41 import android.provider.MediaStore.Audio.Albums; 293 cursor = resolver.query(Albums.EXTERNAL_CONTENT_URI, 383 // include all albums under artist 384 cursor = resolver.query(Artists.Albums.getContentUri("external", ident.id), [all...] |
/frameworks/base/core/java/android/provider/ |
MediaStore.java | [all...] |
/external/libgdx/backends/gdx-backend-android/libs/ |
android-4.4.jar | |
/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/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 | |
/frameworks/base/ |
compiled-classes-phone | [all...] |