Home
last modified time | relevance | path

Searched refs:BrowseNode (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DBrowseTree.java56 final HashMap<String, BrowseNode> mBrowseMap = new HashMap<String, BrowseNode>();
58 private BrowseNode mCurrentBrowseNode;
59 private BrowseNode mCurrentBrowsedPlayer;
60 private BrowseNode mCurrentAddressedPlayer;
62 final BrowseNode mRootNode;
63 final BrowseNode mNavigateUpNode;
64 final BrowseNode mNowPlayingNode;
73 new BrowseNode( in BrowseTree()
82 new BrowseNode( in BrowseTree()
91 new BrowseNode( in BrowseTree()
[all …]
DAvrcpControllerStateMachine.java195 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()
839 BrowseTree.BrowseNode mBrowseNode;
840 BrowseTree.BrowseNode mNextStep;
[all …]
DAvrcpControllerService.java263 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()
DBluetoothMediaBrowserService.java262 private void updateNowPlayingQueue(BrowseTree.BrowseNode node) { in updateNowPlayingQueue()
283 static synchronized void notifyChanged(BrowseTree.BrowseNode node) { in notifyChanged()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DBrowseNodeTest.java27 import com.android.bluetooth.avrcpcontroller.BrowseTree.BrowseNode;
47 private BrowseNode mRootNode;
59 BrowseNode browseNode = in constructor_withAvrcpPlayer()
61 .new BrowseNode( in constructor_withAvrcpPlayer()
105 BrowseNode browseNode = mBrowseTree.new BrowseNode(avrcpItem); in addChild_withImageUuid_toNowPlayingNode()
119 BrowseNode browseNode = in removeChild()
120 mBrowseTree.new BrowseNode(new AvrcpItem.Builder().setUuid(TEST_UUID).build()); in removeChild()
134 BrowseNode browseNode = mBrowseTree.new BrowseNode(avrcpItem); in getContents()
143 BrowseNode browseNode = in setCached()
144 mBrowseTree.new BrowseNode(new AvrcpItem.Builder().setUuid(TEST_UUID).build()); in setCached()
[all …]
DAvrcpControllerServiceTest.java177 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()
258 BrowseTree.BrowseNode node = mock(BrowseTree.BrowseNode.class); in getContentsNodeNotCached_returnDownloadPendingStatus()
277 BrowseTree.BrowseNode node = mock(BrowseTree.BrowseNode.class); in getContentsNoErrorConditions_returnsSuccessStatus()
DBrowseTreeTest.java25 import com.android.bluetooth.avrcpcontroller.BrowseTree.BrowseNode;
77 BrowseNode trackInNowPlayingList = in getTrackFromNowPlayingList()
79 .new BrowseNode( in getTrackFromNowPlayingList()
201 Set<BrowseTree.BrowseNode> parents = browseTree.notifyImageDownload(TEST_HANDLE, null); in notifyImageDownload()
231 BrowseNode nodeOutOfMap = in getNextStepFolder()
233 .new BrowseNode( in getNextStepFolder()
DAvrcpControllerStateMachineTest.java308 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()
1013 BrowseTree.BrowseNode rootNode = mAvrcpStateMachine.mBrowseTree.mRootNode; in testAddressedPlayerChangedToSamePlayerId()
[all …]