/external/libmtp/examples/ |
getplaylist.c | 52 LIBMTP_playlist_t *playlist; local 60 fprintf(stderr, "Just a playlist ID is required\n"); 64 // Sanity check playlist ID 70 fprintf(stderr, "bad playlist id %u\n", id); 81 playlist = LIBMTP_Get_Playlist(device,id); 83 if (playlist != NULL) { 84 dump_playlist(device,playlist); 87 LIBMTP_destroy_playlist_t(playlist);
|
newplaylist.c | 3 * Example program to create a playlist on a device. 72 printf("You need to supply a playlist name.\n"); 89 LIBMTP_playlist_t *playlist = LIBMTP_new_playlist_t(); local 90 playlist->name = playlistname; 91 playlist->no_tracks = idcount; 92 playlist->tracks = ids; 93 playlist->parent_id = 0; 94 playlist->storage_id = 0; 95 int ret = LIBMTP_Create_New_Playlist(device,playlist); 97 printf("Couldn't create playlist object\n") [all...] |
/frameworks/av/media/libstagefright/httplive/ |
LiveSession.cpp | 403 ALOGE("unable to fetch master playlist '%s'.", url.c_str()); 410 // initial bandwidth by listing it first in the variant playlist. 632 // playlist unchanged 635 ALOGV("Playlist unchanged, refresh state is now %d", 646 sp<M3UParser> playlist = local 649 if (playlist->initCheck() != OK) { 650 ALOGE("failed to parse .m3u8 playlist"); 655 return playlist; [all...] |
PlaylistFetcher.cpp | 511 sp<M3UParser> playlist = mSession->fetchPlaylist( local 514 if (playlist == NULL) { 516 // We succeeded in fetching the playlist, but it was 523 ALOGE("failed to load playlist at url '%s'", mURI.c_str()); 529 mPlaylist = playlist; 587 ALOGE("Cannot find sequence number %d in playlist "
|
/packages/apps/Music/src/com/android/music/ |
AlbumBrowserActivity.java | 151 // in the middle of specifying a playlist to add the item to. 323 long playlist = item.getIntent().getLongExtra("playlist", 0); local 324 MusicUtils.addToPlaylist(this, list, playlist);
|
ArtistAlbumBrowserActivity.java | 150 // in the middle of specifying a playlist to add the item to. 418 long playlist = item.getIntent().getLongExtra("playlist", 0); local 419 MusicUtils.addToPlaylist(this, list, playlist); [all...] |
MediaPlaybackActivity.java | 399 .putExtra("playlist", "nowplaying") 601 long playlist = item.getIntent().getLongExtra("playlist", 0); local 602 MusicUtils.addToPlaylist(this, list, playlist); 650 int playlist = Integer.parseInt(uri.getLastPathSegment()); local 651 MusicUtils.addToPlaylist(this, list, playlist); [all...] |
TrackBrowserActivity.java | 126 mPlaylist = icicle.getString("playlist"); 134 mPlaylist = intent.getStringExtra("playlist"); 351 // in the middle of specifying a playlist to add the item to. 355 outcicle.putString("playlist", mPlaylist); 532 // update a saved playlist 549 Log.d(LOGTAG, "No view when removing playlist item " + which); 705 long playlist = item.getIntent().getLongExtra("playlist", 0); local 706 MusicUtils.addToPlaylist(this, list, playlist); 820 // remove track from playlist [all...] |
MusicUtils.java | 404 * Fills out the given submenu with items for "new playlist" and 407 * the selected playlist, NEW_PLAYLIST if a new playlist 408 * should be created, and QUEUE if the "current playlist" was 434 intent.putExtra("playlist", cur.getLong(0)); 474 // step 1: remove selected tracks from the current playlist, as well 479 // remove from current playlist 539 * @param ids The source array containing all the ids to be added to the playlist 572 // need to determine the number of items currently in the playlist, 808 // figure out if we need to restart with a new playlist, 810 long [] playlist = sService.getQueue(); local [all...] |
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
SampleMediaRouterActivity.java | 209 // save current playlist 210 PlaylistAdapter playlist = new PlaylistAdapter(); 220 playlist.add(item); 232 // migrate playlist to new route 233 int count = playlist.getCount(); 237 // enqueue the rest of the playlist items 238 mSavedPlaylist = playlist; 242 final MediaQueueItem item = playlist.getItem(i); 430 mPlayListView = (ListView) findViewById(R.id.playlist); 712 final PlaylistAdapter playlist = new PlaylistAdapter() local 752 final PlaylistAdapter playlist = mSavedPlaylist; local [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaProvider.java | 4363 long playlist = Long.valueOf(segments.get(3)); local [all...] |