Home
last modified time | relevance | path

Searched refs:iid (Results 1 – 5 of 5) sorted by relevance

/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DSessionManager.java132 public PlaylistItem remove(String iid) { in remove() argument
134 log("remove: iid=" + iid); in remove()
137 return removeItem(iid, MediaItemStatus.PLAYBACK_STATE_CANCELED); in remove()
140 public PlaylistItem seek(String iid, long pos) { in seek() argument
142 log("seek: iid=" + iid +", pos=" + pos); in seek()
146 checkItemCurrent(iid); in seek()
159 public PlaylistItem getStatus(String iid) { in getStatus() argument
170 if (item.getItemId().equals(iid)) { in getStatus()
317 private void checkItemCurrent(String iid) { in checkItemCurrent() argument
319 if (item == null || !item.getItemId().equals(iid)) { in checkItemCurrent()
[all …]
DPlaylistItem.java41 public PlaylistItem(String qid, String iid, Uri uri, String mime, PendingIntent pi) { in PlaylistItem() argument
43 mItemId = iid; in PlaylistItem()
DPlayer.java48 public abstract PlaylistItem remove(String iid); in remove() argument
DLocalPlayer.java208 public PlaylistItem remove(String iid) { in remove() argument
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/provider/
DSampleMediaRouteProvider.java404 String iid = intent.getStringExtra(MediaControlIntent.EXTRA_ITEM_ID); in handleRemove() local
405 PlaylistItem item = mSessionManager.remove(iid); in handleRemove()
414 ", sid=" + sid + ", iid=" + iid, null); in handleRemove()
426 String iid = intent.getStringExtra(MediaControlIntent.EXTRA_ITEM_ID); in handleSeek() local
429 PlaylistItem item = mSessionManager.seek(iid, pos); in handleSeek()
438 ", sid=" + sid + ", iid=" + iid + ", pos=" + pos, null); in handleSeek()
446 String iid = intent.getStringExtra(MediaControlIntent.EXTRA_ITEM_ID); in handleGetStatus() local
447 Log.d(TAG, mRouteId + ": Received getStatus request, sid=" + sid + ", iid=" + iid); in handleGetStatus()
448 PlaylistItem item = mSessionManager.getStatus(iid); in handleGetStatus()
457 ", sid=" + sid + ", iid=" + iid, null); in handleGetStatus()