/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; 50 Albums.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME), null, null, 54 Albums.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME), null, null, 60 assertNull(mContentResolver.query(Albums.getContentUri(volume), null, null, null, null)); 72 // do not support direct insert operation of the albums 73 Uri audioAlbumsUri = isInternal? Albums.INTERNAL_CONTENT_URI : Albums.EXTERNAL_CONTENT_URI; 86 String selection = Albums.ALBUM +"=?"; 94 long id = c.getLong(c.getColumnIndex(Albums._ID)); 96 assertEquals(Audio1.ALBUM, c.getString(c.getColumnIndex(Albums.ALBUM))) [all...] |
/packages/apps/Gallery2/tests/src/com/android/photos/data/ |
PhotoDatabaseUtils.java | 23 import com.android.photos.data.PhotoProvider.Albums; 31 Albums._ID, 32 Albums.ACCOUNT_ID, 33 Albums.PARENT_ID, 34 Albums.VISIBILITY, 35 Albums.LOCATION_STRING, 36 Albums.TITLE, 37 Albums.SUMMARY, 38 Albums.DATE_PUBLISHED, 39 Albums.DATE_MODIFIED [all...] |
PhotoDatabaseTest.java | 25 import com.android.photos.data.PhotoProvider.Albums; 67 validateTable(Albums.TABLE, PhotoDatabaseUtils.PROJECTION_ALBUMS); 77 assertFalse(PhotoDatabaseUtils.insertAlbum(db, null, null, Albums.VISIBILITY_PRIVATE, 85 Albums.VISIBILITY_PRIVATE, null)); 89 Albums.VISIBILITY_PRIVATE, accountId)); 95 Albums.VISIBILITY_PRIVATE, accountId)); 102 Albums.VISIBILITY_PRIVATE, accountId)); 106 Albums.VISIBILITY_PRIVATE, accountId)); 189 Albums.VISIBILITY_PRIVATE, 100L)); 205 assertEquals(0, DatabaseUtils.queryNumEntries(db, Albums.TABLE)) [all...] |
PhotoProviderTest.java | 32 import com.android.photos.data.PhotoProvider.Albums; 83 Albums.VISIBILITY_PRIVATE, mAccountId); 133 Uri albumUri = ContentUris.withAppendedId(Albums.CONTENT_URI, mAlbumId); 150 Uri albumUri = ContentUris.withAppendedId(Albums.CONTENT_URI, mAlbumId); 162 // Delete all albums and ensure that photos in any album are deleted. 164 mResolver.delete(Albums.CONTENT_URI, null, null); 167 assertTrue(mNotifications.isNotified(Albums.CONTENT_URI)); 196 PhotoDatabaseUtils.insertAlbum(db, null, "title", Albums.VISIBILITY_PRIVATE, 10630L); 209 // now ensure all associated albums were deleted. 210 cursor = mResolver.query(Albums.CONTENT_URI, null, null, null, null) [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 | 180 MediaStore.Audio.Albums.ALBUM, 544 sArtistAlbumsMap.put(MediaStore.Audio.Albums._ID, "audio.album_id AS " + 545 MediaStore.Audio.Albums._ID); 546 sArtistAlbumsMap.put(MediaStore.Audio.Albums.ALBUM, "album"); 547 sArtistAlbumsMap.put(MediaStore.Audio.Albums.ALBUM_KEY, "album_key"); 548 sArtistAlbumsMap.put(MediaStore.Audio.Albums.FIRST_YEAR, "MIN(year) AS " + 549 MediaStore.Audio.Albums.FIRST_YEAR); 550 sArtistAlbumsMap.put(MediaStore.Audio.Albums.LAST_YEAR, "MAX(year) AS " + 551 MediaStore.Audio.Albums.LAST_YEAR); 555 sArtistAlbumsMap.put(MediaStore.Audio.Albums.NUMBER_OF_SONGS, "count(*) AS " [all...] |
/external/chromium/chrome/browser/resources/picasaweb_uploader/js/ |
upload_page.js | 219 * Callback from picasa client after getting albums list. 220 * @param {Array.<picasa.Album>} albums Albums list. 222 getAlbumsCallback_: function(albums) { 224 this.client_.albums.push( 226 albums = this.client_.albums; 228 for (var album, i = 0; album = albums[i]; i++) { 231 this.albumSelect_.selectedIndex = albums.length - 1; 232 albums[albums.length - 1].title = '' [all...] |
/frameworks/base/core/java/android/provider/ |
MediaStore.java | [all...] |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |
/prebuilts/sdk/4/ |
android.jar | |
/prebuilts/sdk/6/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |