Home
last modified time | relevance | path

Searched refs:NOW_PLAYING_PREFIX (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/android/pandora/server/src/
DMediaPlayerBrowserService.kt66 mediaSession.setQueueTitle(NOW_PLAYING_PREFIX) in setupMediaSession()
161 NOW_PLAYING_PREFIX + NEW_QUEUE_ITEM_INDEX in updateQueue()
239 } else if (parentId == NOW_PLAYING_PREFIX) { in onLoadChildren()
240 result.sendResult(mediaIdToChildren[NOW_PLAYING_PREFIX]) in onLoadChildren()
252 .putString(MediaMetadataCompat.METADATA_KEY_MEDIA_ID, NOW_PLAYING_PREFIX + item) in initMediaItems()
269 mediaIdToChildren[NOW_PLAYING_PREFIX] = mediaItems in initMediaItems()
297 putString(MediaMetadataCompat.METADATA_KEY_MEDIA_ID, NOW_PLAYING_PREFIX) in initBrowseFolderList()
298 putString(MediaMetadataCompat.METADATA_KEY_TITLE, NOW_PLAYING_PREFIX) in initBrowseFolderList()
318 const val NOW_PLAYING_PREFIX = "NowPlayingId" constant
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DBrowseTreeTest.java147 assertThat(browseTree.setCurrentBrowsedFolder(BrowseTree.NOW_PLAYING_PREFIX)).isTrue(); in setAndGetCurrentBrowsedFolder()
164 assertThat(browseTree.setCurrentBrowsedPlayer(BrowseTree.NOW_PLAYING_PREFIX, 2, 1)) in setAndGetCurrentBrowsedPlayer()
174 assertThat(browseTree.setCurrentAddressedPlayer(BrowseTree.NOW_PLAYING_PREFIX)).isTrue(); in setAndGetCurrentAddressedPlayer()
249 browseTree.setCurrentBrowsedPlayer(BrowseTree.NOW_PLAYING_PREFIX, 2, 1); in getNextStepFolder()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DBrowseTree.java49 public static final String NOW_PLAYING_PREFIX = "NOW_PLAYING"; field in BrowseTree
117 .setUuid(NOW_PLAYING_PREFIX) in BrowseTree()
118 .setTitle(NOW_PLAYING_PREFIX) in BrowseTree()
124 mBrowseMap.put(NOW_PLAYING_PREFIX, mNowPlayingNode); in BrowseTree()
352 return getID().startsWith(NOW_PLAYING_PREFIX); in isNowPlaying()
449 mBrowseMap.put(NOW_PLAYING_PREFIX, mNowPlayingNode); in setCurrentAddressedPlayer()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/helpers/
DUtil.java35 public static final String NOW_PLAYING_PREFIX = "NowPlayingId"; field in Util
86 if (item != null) builder.setMediaId(NOW_PLAYING_PREFIX + item.getQueueId()); in toMetadata()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/audio_util/
DUtilTest.java76 assertThat(metadata.mediaId).isEqualTo(Util.NOW_PLAYING_PREFIX + queueId); in toMetadata_withQueueItem()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/
DMediaPlayerList.java83 private static final String NOW_PLAYING_ID_PATTERN = Util.NOW_PLAYING_PREFIX + "([0-9]*)";
415 return Util.NOW_PLAYING_PREFIX + state.getActiveQueueItemId(); in getCurrentMediaId()