Searched refs:mBrowseTree (Results 1 – 3 of 3) sorted by relevance
46 private BrowseTree mBrowseTree; field in BrowseNodeTest53 mBrowseTree = new BrowseTree(null); in setUp()54 mRootNode = mBrowseTree.mRootNode; in setUp()60 mBrowseTree in constructor_withAvrcpPlayer()105 BrowseNode browseNode = mBrowseTree.new BrowseNode(avrcpItem); in addChild_withImageUuid_toNowPlayingNode()106 assertThat(mBrowseTree.mNowPlayingNode.isNowPlaying()).isTrue(); in addChild_withImageUuid_toNowPlayingNode()108 mBrowseTree.mNowPlayingNode.addChild(browseNode); in addChild_withImageUuid_toNowPlayingNode()110 assertThat(mBrowseTree.mNowPlayingNode.isChild(browseNode)).isTrue(); in addChild_withImageUuid_toNowPlayingNode()111 assertThat(browseNode.getParent()).isEqualTo(mBrowseTree.mNowPlayingNode); in addChild_withImageUuid_toNowPlayingNode()114 assertThat(mBrowseTree.getNodesUsingCoverArt(coverArtUuid).get(0)).isEqualTo(TEST_UUID); in addChild_withImageUuid_toNowPlayingNode()[all …]
489 BrowseTree.BrowseNode results = mAvrcpStateMachine.mBrowseTree.mRootNode; in testGetDeviceRootNode_flagRandomDeviceIdEnabled_rootNodeMatchesUuidFormat()724 BrowseTree.BrowseNode results = mAvrcpStateMachine.mBrowseTree.mRootNode; in testBrowsingCommands()772 Assert.assertFalse(mAvrcpStateMachine.mBrowseTree.mRootNode.isCached()); in testAvailablePlayersChanged()801 Assert.assertFalse(mAvrcpStateMachine.mBrowseTree.mRootNode.isCached()); in testAvailablePlayersReceived_AddressedPlayerExists()821 Assert.assertTrue(mAvrcpStateMachine.mBrowseTree.mRootNode.isCached()); in testAvailablePlayersReceived_AddressedPlayerExists()852 Assert.assertFalse(mAvrcpStateMachine.mBrowseTree.mRootNode.isCached()); in testAvailablePlayersReceived_AddressedPlayerDoesNotExist()873 Assert.assertTrue(mAvrcpStateMachine.mBrowseTree.mRootNode.isCached()); in testAvailablePlayersReceived_AddressedPlayerDoesNotExist()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 …]
132 final BrowseTree mBrowseTree; field in AvrcpControllerStateMachine174 mBrowseTree = new BrowseTree(mDevice); in AvrcpControllerStateMachine()197 return mBrowseTree.findBrowseNodeByID(parentMediaId); in findNode()273 if (mBrowseTree.mNowPlayingNode != null) { in dump()274 queue = mBrowseTree.mNowPlayingNode.getContents(); in dump()300 requestContents(mBrowseTree.mRootNode); in onBrowsingConnected()309 mBrowseTree.mNowPlayingNode.setCached(false); in onBrowsingDisconnected()310 mBrowseTree.mRootNode.setCached(false); in onBrowsingDisconnected()312 BluetoothMediaBrowserService.notifyChanged(mBrowseTree.mNowPlayingNode); in onBrowsingDisconnected()313 BluetoothMediaBrowserService.notifyChanged(mBrowseTree.mRootNode); in onBrowsingDisconnected()[all …]