Home
last modified time | relevance | path

Searched refs:musicProvider (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DQueueHelper.java40 MusicProvider musicProvider) { in getPlayingQueue() argument
57 tracks = musicProvider.getMusicsByGenre(categoryValue); in getPlayingQueue()
59 tracks = musicProvider.searchMusic(categoryValue); in getPlayingQueue()
71 MusicProvider musicProvider) { in getPlayingQueueFromSearch() argument
75 return convertToQueue(musicProvider.searchMusic(query), MEDIA_ID_MUSICS_BY_SEARCH, query); in getPlayingQueueFromSearch()
135 public static List<MediaSession.QueueItem> getRandomQueue(MusicProvider musicProvider) { in getRandomQueue() argument
136 Iterator<String> genres = musicProvider.getGenres().iterator(); in getRandomQueue()
141 Iterable<MediaMetadata> tracks = musicProvider.getMusicsByGenre(genre); in getRandomQueue()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DPlayback.java96 public Playback(MusicService service, MusicProvider musicProvider) { in Playback() argument
98 this.mMusicProvider = musicProvider; in Playback()