Lines Matching refs:item
243 public void onItemChanged(PlaylistItem item) { in SampleRouteController()
244 handleStatusChange(item); in SampleRouteController()
381 PlaylistItem item = mSessionManager.add(uri, mime, receiver); in handleEnqueue() local
383 if (item != null) { in handleEnqueue()
385 result.putString(MediaControlIntent.EXTRA_SESSION_ID, item.getSessionId()); in handleEnqueue()
386 result.putString(MediaControlIntent.EXTRA_ITEM_ID, item.getItemId()); in handleEnqueue()
388 item.getStatus().asBundle()); in handleEnqueue()
405 PlaylistItem item = mSessionManager.remove(iid); in handleRemove() local
407 if (item != null) { in handleRemove()
410 item.getStatus().asBundle()); in handleRemove()
417 return (item != null); in handleRemove()
429 PlaylistItem item = mSessionManager.seek(iid, pos); in handleSeek() local
431 if (item != null) { in handleSeek()
434 item.getStatus().asBundle()); in handleSeek()
441 return (item != null); in handleSeek()
448 PlaylistItem item = mSessionManager.getStatus(iid); in handleGetStatus() local
450 if (item != null) { in handleGetStatus()
453 item.getStatus().asBundle()); in handleGetStatus()
460 return (item != null); in handleGetStatus()
565 private void handleStatusChange(PlaylistItem item) { in handleStatusChange() argument
566 if (item == null) { in handleStatusChange()
567 item = mSessionManager.getCurrentItem(); in handleStatusChange()
569 if (item != null) { in handleStatusChange()
570 PendingIntent receiver = item.getUpdateReceiver(); in handleStatusChange()
573 intent.putExtra(MediaControlIntent.EXTRA_SESSION_ID, item.getSessionId()); in handleStatusChange()
574 intent.putExtra(MediaControlIntent.EXTRA_ITEM_ID, item.getItemId()); in handleStatusChange()
576 item.getStatus().asBundle()); in handleStatusChange()