Home | History | Annotate | Download | only in com.example.android.mediabrowserservice

Lines Matching full:track

300              for (MediaMetadata track : mMusicProvider.getMusicsByGenre(genre)) {
306 track.getDescription().getMediaId(), MEDIA_ID_MUSICS_BY_GENRE, genre);
307 MediaMetadata trackCopy = new MediaMetadata.Builder(track)
365 track was
440 LogHelper.i(TAG, "onCustomAction: favorite for current track");
441 MediaMetadata track = getCurrentPlayingMusic();
442 if (track != null) {
443 String musicId = track.getString(MediaMetadata.METADATA_KEY_MEDIA_ID);
545 MediaMetadata track = mMusicProvider.getMusic(musicId);
546 final String trackId = track.getString(MediaMetadata.METADATA_KEY_MEDIA_ID);
548 IllegalStateException e = new IllegalStateException("track ID should match musicId.");
549 LogHelper.e(TAG, "track ID should match musicId.",
553 " mediaId from track=", track.getDescription().getMediaId(),
554 " title from track=", track.getDescription().getTitle(),
555 " source.hashcode from track=", track.getString(
561 mSession.setMetadata(track);
565 if (track.getDescription().getIconBitmap() == null &&
566 track.getDescription().getIconUri() != null) {
567 String albumUri = track.getDescription().getIconUri().toString();
572 MediaMetadata track = mMusicProvider.getMusic(trackId);
573 track = new MediaMetadata.Builder(track)
586 mMusicProvider.updateMusic(trackId, track);
592 mSession.setMetadata(track);