Searched refs:AvrcpItem (Results 1 – 14 of 14) sorted by relevance
75 AvrcpItem.Builder builder = new AvrcpItem.Builder(); in buildAvrcpItem()76 builder.setItemType(AvrcpItem.TYPE_MEDIA); in buildAvrcpItem()77 builder.setType(AvrcpItem.MEDIA_AUDIO); in buildAvrcpItem()92 AvrcpItem item = builder.build(); in buildAvrcpItem()137 AvrcpItem.Builder builder = new AvrcpItem.Builder(); in buildAvrcpItemFromAvrcpAttributes()139 AvrcpItem item = builder.build(); in buildAvrcpItemFromAvrcpAttributes()199 AvrcpItem.Builder builder = new AvrcpItem.Builder(); in buildAvrcpItemFromAvrcpAttributesWithBadIds_badIdsIgnored()201 AvrcpItem item = builder.build(); in buildAvrcpItemFromAvrcpAttributesWithBadIds_badIdsIgnored()246 AvrcpItem.Builder builder = new AvrcpItem.Builder(); in buildAvrcpItemFromAvrcpAttributes_imageHandleTooShort()248 AvrcpItem item = builder.build(); in buildAvrcpItemFromAvrcpAttributes_imageHandleTooShort()[all …]
87 AvrcpItem childAvrcpItem = new AvrcpItem.Builder().setUuid(TEST_UUID).build(); in addChildren()103 AvrcpItem avrcpItem = new AvrcpItem.Builder().setUuid(TEST_UUID).build(); in addChild_withImageUuid_toNowPlayingNode()120 mBrowseTree.new BrowseNode(new AvrcpItem.Builder().setUuid(TEST_UUID).build()); in removeChild()133 AvrcpItem avrcpItem = new AvrcpItem.Builder().setUuid(TEST_UUID).build(); in getContents()144 mBrowseTree.new BrowseNode(new AvrcpItem.Builder().setUuid(TEST_UUID).build()); in setCached()157 mBrowseTree.new BrowseNode(new AvrcpItem.Builder().setUuid(TEST_UUID).build()); in getters()166 AvrcpItem avrcpItem = new AvrcpItem.Builder().setUuid(TEST_UUID).build(); in equals_withDifferentClass()174 mBrowseTree.new BrowseNode(new AvrcpItem.Builder().setUuid(TEST_UUID).build()); in equals_withSameId()176 mBrowseTree.new BrowseNode(new AvrcpItem.Builder().setUuid(TEST_UUID).build()); in equals_withSameId()184 mBrowseTree.new BrowseNode(new AvrcpItem.Builder().setUuid(TEST_UUID).build()); in isDescendant()[all …]
223 private AvrcpItem makeTrack( in makeTrack()232 AvrcpItem.Builder builder = new AvrcpItem.Builder(); in makeTrack()233 builder.setItemType(AvrcpItem.TYPE_MEDIA); in makeTrack()234 builder.setType(AvrcpItem.MEDIA_AUDIO); in makeTrack()272 private void setCurrentTrack(AvrcpItem track) { in setCurrentTrack()294 private AvrcpItem makeNowPlayingItem(long uid, String name) { in makeNowPlayingItem()295 AvrcpItem.Builder aib = new AvrcpItem.Builder(); in makeNowPlayingItem()297 aib.setItemType(AvrcpItem.TYPE_MEDIA); in makeNowPlayingItem()298 aib.setType(AvrcpItem.MEDIA_AUDIO); in makeNowPlayingItem()307 private List<AvrcpItem> getNowPlayingList() { in getNowPlayingList()[all …]
42 private final AvrcpItem mAvrcpItem = new AvrcpItem.Builder().build();176 AvrcpItem trackWithDifferentUuid = new AvrcpItem.Builder().build(); in notifyImageDownload()177 AvrcpItem trackWithSameUuid = new AvrcpItem.Builder().build(); in notifyImageDownload()
41 AvrcpItem item = in createFromNativeMediaItem()51 assertThat(item.getItemType()).isEqualTo(AvrcpItem.TYPE_MEDIA); in createFromNativeMediaItem()66 AvrcpItem item = in createFromNativeFolderItem()71 assertThat(item.getItemType()).isEqualTo(AvrcpItem.TYPE_FOLDER); in createFromNativeFolderItem()
408 ArgumentCaptor<AvrcpItem> captor = ArgumentCaptor.forClass(AvrcpItem.class); in onTrackChanged()413 AvrcpItem item = captor.getValue(); in onTrackChanged()415 assertThat(item.getItemType()).isEqualTo(AvrcpItem.TYPE_MEDIA); in onTrackChanged()474 AvrcpItem[] items = new AvrcpItem[] {mock(AvrcpItem.class)}; in handleGetFolderItemsRsp()
80 new AvrcpItem.Builder() in getTrackFromNowPlayingList()234 new AvrcpItem.Builder() in getNextStepFolder()
74 new AvrcpItem.Builder() in BrowseTree()83 new AvrcpItem.Builder() in BrowseTree()92 new AvrcpItem.Builder() in BrowseTree()108 new AvrcpItem.Builder() in BrowseTree()116 new AvrcpItem.Builder() in BrowseTree()147 AvrcpItem mItem;165 BrowseNode(AvrcpItem item) { in BrowseNode()174 AvrcpItem.Builder aid = new AvrcpItem.Builder(); in BrowseNode()188 AvrcpItem.Builder aid = new AvrcpItem.Builder(); in BrowseNode()198 AvrcpItem.Builder aid = new AvrcpItem.Builder(); in BrowseNode()[all …]
35 public class AvrcpItem { class36 private static final String TAG = AvrcpItem.class.getSimpleName();97 private AvrcpItem() {} in AvrcpItem() method in AvrcpItem272 if (!(o instanceof AvrcpItem)) { in equals()276 AvrcpItem other = ((AvrcpItem) o); in equals()310 private AvrcpItem mAvrcpItem = new AvrcpItem();563 public AvrcpItem build() { in build()
201 void handleGetFolderItemsRsp(byte[] address, int status, AvrcpItem[] items) { in handleGetFolderItemsRsp()225 static AvrcpItem createFromNativeMediaItem( in createFromNativeMediaItem()238 return new AvrcpItem.Builder() in createFromNativeMediaItem()241 .setItemType(AvrcpItem.TYPE_MEDIA) in createFromNativeMediaItem()249 static AvrcpItem createFromNativeFolderItem( in createFromNativeFolderItem()261 return new AvrcpItem.Builder() in createFromNativeFolderItem()263 .setItemType(AvrcpItem.TYPE_FOLDER) in createFromNativeFolderItem()
64 private AvrcpItem mCurrentTrack;177 public synchronized void updateCurrentTrack(AvrcpItem update) { in updateCurrentTrack()199 public synchronized AvrcpItem getCurrentTrack() { in getCurrentTrack()264 private AvrcpItem mTrack = null;340 public Builder setCurrentTrack(AvrcpItem track) { in setCurrentTrack()
256 AvrcpItem track = stateMachine.getCurrentTrack(); in getCurrentMetadataIfNoCoverArt()536 AvrcpItem.Builder aib = new AvrcpItem.Builder(); in onTrackChanged()539 aib.setItemType(AvrcpItem.TYPE_MEDIA); in onTrackChanged()541 AvrcpItem item = aib.build(); in onTrackChanged()614 void handleGetFolderItemsRsp(BluetoothDevice device, int status, AvrcpItem[] items) { in handleGetFolderItemsRsp()616 List<AvrcpItem> itemsList = new ArrayList<>(); in handleGetFolderItemsRsp()617 for (AvrcpItem item : items) { in handleGetFolderItemsRsp()
234 public AvrcpItem getCurrentTrack() { in getCurrentTrack()306 AvrcpItem previousTrack = mAddressedPlayer.getCurrentTrack(); in onBrowsingDisconnected()354 AvrcpItem currentTrack = getCurrentTrack(); in removeUnusedArtwork()371 AvrcpItem currentTrack = getCurrentTrack(); in removeUnusedArtworkFromBrowseTree()581 AvrcpItem track = (AvrcpItem) msg.obj; in processMessage()582 AvrcpItem previousTrack = mAddressedPlayer.getCurrentTrack(); in processMessage()876 ArrayList<AvrcpItem> folderList = (ArrayList<AvrcpItem>) msg.obj; in processMessage()882 for (AvrcpItem track : folderList) { in processMessage()953 AvrcpItem track = player.getCurrentTrack(); in processMessage()1236 private void downloadImageIfNeeded(AvrcpItem track) { in downloadImageIfNeeded()
306 static synchronized void trackChanged(AvrcpItem track) { in trackChanged()