/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_PlaylistsTest.java | 26 import android.provider.MediaStore.Audio.Playlists; 44 Playlists.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME), null, null, 51 Playlists.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME), null, 60 assertNull(mContentResolver.query(Playlists.getContentUri(volume), null, null, null, 68 values.put(Playlists.NAME, "My favourites"); 69 values.put(Playlists.DATA, externalPlaylistPath); 72 values.put(Playlists.DATE_MODIFIED, dateModified); 74 Uri uri = mContentResolver.insert(Playlists.EXTERNAL_CONTENT_URI, values); 82 assertEquals("My favourites", c.getString(c.getColumnIndex(Playlists.NAME))); 84 c.getString(c.getColumnIndex(Playlists.DATA))) [all...] |
MediaStore_Audio_Playlists_MembersTest.java | 26 import android.provider.MediaStore.Audio.Playlists; 27 import android.provider.MediaStore.Audio.Playlists.Members; 136 assertEquals("content://media/external/audio/playlists/1337/members", 138 assertEquals("content://media/internal/audio/playlists/3007/members", 187 values.put(Playlists.NAME, "My favourites"); 188 values.put(Playlists.DATA, ""); 190 values.put(Playlists.DATE_ADDED, dateAdded); 192 values.put(Playlists.DATE_MODIFIED, dateModified); 194 Uri uri = mContentResolver.insert(Playlists.EXTERNAL_CONTENT_URI, values); 198 long playlistId = c.getLong(c.getColumnIndex(Playlists._ID)) [all...] |
/packages/apps/Music/src/com/android/music/ |
CreatePlaylist.java | 101 Cursor c = MusicUtils.query(this, MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, 102 new String[] {MediaStore.Audio.Playlists._ID}, 103 MediaStore.Audio.Playlists.NAME + "=?", new String[] {name}, 104 MediaStore.Audio.Playlists.NAME); 130 String[] cols = new String[] {MediaStore.Audio.Playlists.NAME}; 132 String whereclause = MediaStore.Audio.Playlists.NAME + " != ''"; 133 Cursor c = resolver.query(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, cols, 134 whereclause, null, MediaStore.Audio.Playlists.NAME); 145 // you have playlists named "New Playlist 1"/10/2/3/4/5/6/7/8/9, where 174 MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, id) [all...] |
RenamePlaylist.java | 119 Cursor c = MusicUtils.query(this, MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, 120 new String[] {MediaStore.Audio.Playlists._ID}, 121 MediaStore.Audio.Playlists.NAME + "=?", new String[] {name}, 122 MediaStore.Audio.Playlists.NAME); 135 Cursor c = MusicUtils.query(this, MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, 136 new String[] {MediaStore.Audio.Playlists.NAME}, 137 MediaStore.Audio.Playlists._ID + "=?", new String[] {Long.valueOf(id).toString()}, 138 MediaStore.Audio.Playlists.NAME); 167 values.put(MediaStore.Audio.Playlists.NAME, name); 168 resolver.update(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, values [all...] |
PlaylistBrowserActivity.java | 145 mPlaylistCursor, new String[] {MediaStore.Audio.Playlists.NAME}, 307 mPlaylistCursor.getColumnIndexOrThrow(MediaStore.Audio.Playlists.NAME))); 325 MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, mi.id); 455 String[] mCols = new String[] {MediaStore.Audio.Playlists._ID, MediaStore.Audio.Playlists.NAME}; 459 where.append(MediaStore.Audio.Playlists.NAME + " != ''"); 473 where.append(MediaStore.Audio.Playlists.NAME + " LIKE ?"); 480 async.startQuery(0, null, MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, mCols, 481 whereclause, keywords, MediaStore.Audio.Playlists.NAME); 485 c = MusicUtils.query(this, MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, mCols [all...] |
ScanningProgress.java | 44 MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, null, null, null, null);
|
TrackBrowserActivity.java | 45 import android.provider.MediaStore.Audio.Playlists; 138 mPlaylistMemberCols = new String[] {MediaStore.Audio.Playlists.Members._ID, 142 MediaStore.Audio.Playlists.Members.PLAY_ORDER, 143 MediaStore.Audio.Playlists.Members.AUDIO_ID, MediaStore.Audio.Media.IS_MUSIC}; 462 String[] cols = new String[] {MediaStore.Audio.Playlists.NAME}; 465 Playlists.EXTERNAL_CONTENT_URI, Long.valueOf(mPlaylist)), 508 MediaStore.Audio.Playlists.Members.moveItem( 540 int colidx = mTrackCursor.getColumnIndexOrThrow(MediaStore.Audio.Playlists.Members._ID); 543 Uri uri = MediaStore.Audio.Playlists.Members.getContentUri( 632 mTrackCursor.getColumnIndexOrThrow(MediaStore.Audio.Playlists.Members.AUDIO_ID) [all...] |
MusicUtils.java | 320 colidx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Playlists.Members.AUDIO_ID); 362 final String[] ccols = new String[] {MediaStore.Audio.Playlists.Members.AUDIO_ID}; 364 query(context, MediaStore.Audio.Playlists.Members.getContentUri("external", plid), 365 ccols, null, null, MediaStore.Audio.Playlists.Members.DEFAULT_SORT_ORDER); 407 * any existing playlists. When the user selects an item, the 417 new String[] {MediaStore.Audio.Playlists._ID, MediaStore.Audio.Playlists.NAME}; 422 String whereclause = MediaStore.Audio.Playlists.NAME + " != ''"; 423 Cursor cur = resolver.query(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, cols, 424 whereclause, null, MediaStore.Audio.Playlists.NAME) [all...] |
/packages/apps/Music/tests/src/com/android/music/functional/ |
TestPlaylist.java | 131 MediaStore.Audio.Playlists.NAME 138 String whereclause = MediaStore.Audio.Playlists.NAME + " = '" + playlistname +"'"; 139 mCursor = resolver.query(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, 141 MediaStore.Audio.Playlists.NAME);
|
TestSongs.java | 67 * Add 10 new playlists with unsorted title order 125 MediaStore.Audio.Playlists.NAME 131 String whereclause = MediaStore.Audio.Playlists.NAME + " != ''"; 132 mCursor = resolver.query(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, 134 MediaStore.Audio.Playlists.NAME);
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaScannerTest.java | 164 // ensure that we don't currently have playlists named ctsmediascanplaylist* 165 res.delete(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, 168 res.delete(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, 187 // verify that the two playlists were created correctly; 188 c = res.query(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, null, 196 c = res.query(MediaStore.Audio.Playlists.Members.getContentUri("external", playlistid), 197 null, null, null, MediaStore.Audio.Playlists.Members.PLAY_ORDER); 200 long song1a = c.getLong(c.getColumnIndex(MediaStore.Audio.Playlists.Members.AUDIO_ID)); 202 long song1b = c.getLong(c.getColumnIndex(MediaStore.Audio.Playlists.Members.AUDIO_ID)); 209 c = res.query(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, null [all...] |
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
SoundRecorder.java | 539 Uri uri = MediaStore.Audio.Playlists.Members.getContentUri("external", playlistId); 545 values.put(MediaStore.Audio.Playlists.Members.PLAY_ORDER, Integer.valueOf(base + audioId)); 546 values.put(MediaStore.Audio.Playlists.Members.AUDIO_ID, audioId); 554 Uri uri = MediaStore.Audio.Playlists.getContentUri("external"); 555 final String[] ids = new String[] { MediaStore.Audio.Playlists._ID }; 556 final String where = MediaStore.Audio.Playlists.NAME + "=?"; 578 cv.put(MediaStore.Audio.Playlists.NAME, res.getString(R.string.audio_db_playlist_name)); 579 Uri uri = resolver.insert(MediaStore.Audio.Playlists.getContentUri("external"), cv);
|
/frameworks/base/media/java/android/media/ |
MediaScanner.java | 37 import android.provider.MediaStore.Audio.Playlists; 145 Audio.Playlists.Members.PLAYLIST_ID, // 0 427 // we only support playlists on external media 430 mPlaylistsUri = Playlists.getContentUri(volumeName); 550 // we don't process playlists in the main scan, so return null [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaProvider.java | 80 import android.provider.MediaStore.Audio.Playlists; 241 Playlists.Members.PLAYLIST_ID, 242 Playlists.Members.PLAY_ORDER [all...] |
/frameworks/base/core/java/android/provider/ |
MediaStore.java | [all...] |
/frameworks/base/media/java/android/mtp/ |
MtpDatabase.java | 392 // handle abstract playlists separately 407 values.put(Audio.Playlists.DATA, path); 408 values.put(Audio.Playlists.NAME, name); 414 Audio.Playlists.EXTERNAL_CONTENT_URI, values); [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 | |