Searched refs:BrowseTree (Results 1 – 9 of 9) sorted by relevance
25 import com.android.bluetooth.avrcpcontroller.BrowseTree.BrowseNode;53 BrowseTree browseTree = new BrowseTree(null); in constructor_withoutDevice()60 BrowseTree browseTree = new BrowseTree(mTestDevice); in constructor_withDevice()67 BrowseTree browseTree = new BrowseTree(mTestDevice); in clear()76 BrowseTree browseTree = new BrowseTree(mTestDevice); in getTrackFromNowPlayingList()93 BrowseTree browseTree = new BrowseTree(null); in onConnected()105 BrowseTree browseTree1 = new BrowseTree(mTestDevice); in sameDeviceDifferentBrowseTrees_uniqueMediaIds()106 BrowseTree browseTree2 = new BrowseTree(mTestDevice); in sameDeviceDifferentBrowseTrees_uniqueMediaIds()116 BrowseTree browseTree = new BrowseTree(null); in findBrowseNodeByIDForRoot()117 assertThat(browseTree.findBrowseNodeByID(BrowseTree.ROOT)).isEqualTo(browseTree.mRootNode); in findBrowseNodeByIDForRoot()[all …]
177 BrowseTree.BrowseNode node = mock(BrowseTree.BrowseNode.class); in refreshContents()188 BrowseTree.BrowseNode node = mock(BrowseTree.BrowseNode.class); in playItem()199 BrowseTree.BrowseNode node = mock(BrowseTree.BrowseNode.class); in getContents()228 String parentMediaId = BrowseTree.ROOT; in getContentsNoDeviceConnected_returnNoDeviceConnectedStatus()240 String parentMediaId = BrowseTree.ROOT; in getContentsOneDeviceConnected_returnSuccessStatus()258 BrowseTree.BrowseNode node = mock(BrowseTree.BrowseNode.class); in getContentsNodeNotCached_returnDownloadPendingStatus()277 BrowseTree.BrowseNode node = mock(BrowseTree.BrowseNode.class); in getContentsNoErrorConditions_returnsSuccessStatus()
27 import com.android.bluetooth.avrcpcontroller.BrowseTree.BrowseNode;46 private BrowseTree mBrowseTree;53 mBrowseTree = new BrowseTree(null); in setUp()161 .isEqualTo(Integer.parseInt((TEST_UUID).replace(BrowseTree.PLAYER_PREFIX, ""))); in getters()
130 mAvrcpControllerService.sBrowseTree = new BrowseTree(null); in setUp()308 BrowseTree.BrowseNode nowPlaying = mAvrcpStateMachine.findNode("NOW_PLAYING"); in getNowPlayingList()310 for (BrowseTree.BrowseNode child : nowPlaying.getChildren()) { in getNowPlayingList()318 BrowseTree.BrowseNode nowPlaying = mAvrcpStateMachine.findNode("NOW_PLAYING"); in setNowPlayingList()476 BrowseTree.BrowseNode results = mAvrcpStateMachine.findNode(rootName); in testGetDeviceRootNode_flagRandomDeviceIdDisabled_rootNodeMatchesUuidFormat()489 BrowseTree.BrowseNode results = mAvrcpStateMachine.mBrowseTree.mRootNode; in testGetDeviceRootNode_flagRandomDeviceIdEnabled_rootNodeMatchesUuidFormat()724 BrowseTree.BrowseNode results = mAvrcpStateMachine.mBrowseTree.mRootNode; in testBrowsingCommands()748 BrowseTree.BrowseNode playerOneNode = in testBrowsingCommands()899 BrowseTree.BrowseNode results = mAvrcpStateMachine.mBrowseTree.mRootNode; in testAddressedPlayerChangedToNewKnownPlayer()959 BrowseTree.BrowseNode rootNode = mAvrcpStateMachine.mBrowseTree.mRootNode; in testAddressedPlayerChangedToUnknownPlayer()[all …]
132 final BrowseTree mBrowseTree;174 mBrowseTree = new BrowseTree(mDevice); in AvrcpControllerStateMachine()195 BrowseTree.BrowseNode findNode(String parentMediaId) { in findNode()381 private void notifyChanged(BrowseTree.BrowseNode node) { in notifyChanged()397 void requestContents(BrowseTree.BrowseNode node) { in requestContents()402 public void playItem(BrowseTree.BrowseNode node) { in playItem()565 processPlayItem((BrowseTree.BrowseNode) msg.obj); in processMessage()729 Set<BrowseTree.BrowseNode> nodes = mBrowseTree.notifyImageDownload(uuid, uri); in processMessage()730 for (BrowseTree.BrowseNode node : nodes) { in processMessage()751 private void processPlayItem(BrowseTree.BrowseNode node) { in processPlayItem()[all …]
99 static BrowseTree sBrowseTree;161 sBrowseTree = new BrowseTree(null); in start()263 void refreshContents(BrowseTree.BrowseNode node) { in refreshContents()277 BrowseTree.BrowseNode requestedNode = sBrowseTree.findBrowseNodeByID(parentMediaId); in playItem()307 BrowseTree.BrowseNode requestedNode = sBrowseTree.findBrowseNodeByID(parentMediaId); in getContents()334 if (parentMediaId.equals(BrowseTree.ROOT) && requestedNode.getChildrenCount() == 0) { in getContents()
259 return new BrowserRoot(BrowseTree.ROOT, style); in onGetRoot()262 private void updateNowPlayingQueue(BrowseTree.BrowseNode node) { in updateNowPlayingQueue()283 static synchronized void notifyChanged(BrowseTree.BrowseNode node) { in notifyChanged()
44 public class BrowseTree { class45 private static final String TAG = BrowseTree.class.getSimpleName();70 BrowseTree(BluetoothDevice device) { in BrowseTree() method in BrowseTree
35 import com.android.car.broadcastradio.support.media.BrowseTree;89 Intent radioIntent = new Intent(BrowseTree.ACTION_PLAY_BROADCASTRADIO); in getRadioComponentName()