Searched refs:mediaId (Results 1 – 4 of 4) sorted by relevance
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/ |
D | QueueHelper.java | 39 public static List<MediaSession.QueueItem> getPlayingQueue(String mediaId, in getPlayingQueue() argument 43 String[] hierarchy = MediaIDHelper.getHierarchy(mediaId); in getPlayingQueue() 46 LogHelper.e(TAG, "Could not build a playing queue for this mediaId: ", mediaId); in getPlayingQueue() 63 … LogHelper.e(TAG, "Unrecognized category type: ", categoryType, " for mediaId ", mediaId); in getPlayingQueue() 80 String mediaId) { in getMusicIndexOnQueue() argument 83 if (mediaId.equals(item.getDescription().getMediaId())) { in getMusicIndexOnQueue()
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | MusicService.java | 359 public void onPlayFromMediaId(String mediaId, Bundle extras) { in onPlayFromMediaId() argument 360 LogHelper.d(TAG, "playFromMediaId mediaId:", mediaId, " extras=", extras); in onPlayFromMediaId() 367 mPlayingQueue = QueueHelper.getPlayingQueue(mediaId, mMusicProvider); in onPlayFromMediaId() 370 MediaIDHelper.extractBrowseCategoryValueFromMediaID(mediaId)); in onPlayFromMediaId() 375 mCurrentIndexOnQueue = QueueHelper.getMusicIndexOnQueue(mPlayingQueue, mediaId); in onPlayFromMediaId() 378 LogHelper.e(TAG, "playFromMediaId: media ID ", mediaId, in onPlayFromMediaId()
|
D | Playback.java | 149 String mediaId = item.getDescription().getMediaId(); in play() local 150 boolean mediaHasChanged = !TextUtils.equals(mediaId, mCurrentMediaId); in play() 153 mCurrentMediaId = mediaId; in play()
|
D | BrowseFragment.java | 113 public static BrowseFragment newInstance(String mediaId) { in newInstance() argument 115 args.putString(ARG_MEDIA_ID, mediaId); in newInstance()
|