/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 | 495 ALOGE("unable to fetch master playlist '%s'.", url.c_str()); 502 // initial bandwidth by listing it first in the variant playlist. 769 // playlist unchanged 772 ALOGV("Playlist unchanged, refresh state is now %d", 783 sp<M3UParser> playlist = local 786 if (playlist->initCheck() != OK) { 787 ALOGE("failed to parse .m3u8 playlist"); 792 return playlist; [all...] |
PlaylistFetcher.cpp | 319 ALOGV("Need to refresh playlist in %lld", maxDelayUs); 621 // when we cannot make out from the manifest what streams are included in a playlist 670 // refresh the playlist will become 0 678 sp<M3UParser> playlist = mSession->fetchPlaylist( local 681 if (playlist == NULL) { 683 // We succeeded in fetching the playlist, but it was 690 ALOGE("failed to load playlist at url '%s'", mURI.c_str()); 696 mPlaylist = playlist; 765 // playlist's target duration or 3 seconds, whichever is less 796 ALOGE("Cannot find sequence number %d in playlist " [all...] |
/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...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaProvider.java | 4372 long playlist = Long.valueOf(segments.get(3)); local [all...] |