Home
last modified time | relevance | path

Searched refs:mNowPlayingNode (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DBrowseTree.java64 final BrowseNode mNowPlayingNode; field in BrowseTree
114 mNowPlayingNode = in BrowseTree()
121 mNowPlayingNode.mBrowseScope = AvrcpControllerService.BROWSE_SCOPE_NOW_PLAYING; in BrowseTree()
122 mNowPlayingNode.setExpectedChildren(DEFAULT_FOLDER_SIZE); in BrowseTree()
124 mBrowseMap.put(NOW_PLAYING_PREFIX, mNowPlayingNode); in BrowseTree()
141 return mNowPlayingNode.getChild(trackNumber); in getTrackFromNowPlayingList()
448 mRootNode.mChildren.add(mNowPlayingNode); in setCurrentAddressedPlayer()
449 mBrowseMap.put(NOW_PLAYING_PREFIX, mNowPlayingNode); in setCurrentAddressedPlayer()
544 || target.equals(mNowPlayingNode) in getNextStepToFolder()
DAvrcpControllerStateMachine.java273 if (mBrowseTree.mNowPlayingNode != null) { in dump()
274 queue = mBrowseTree.mNowPlayingNode.getContents(); in dump()
309 mBrowseTree.mNowPlayingNode.setCached(false); in onBrowsingDisconnected()
312 BluetoothMediaBrowserService.notifyChanged(mBrowseTree.mNowPlayingNode); in onBrowsingDisconnected()
408 requestContents(mBrowseTree.mNowPlayingNode); in nowPlayingContentChanged()
481 BluetoothMediaBrowserService.notifyChanged(mBrowseTree.mNowPlayingNode); in processMessage()
648 mBrowseTree.mNowPlayingNode.setCached(false); in processMessage()
653 BluetoothMediaBrowserService.notifyChanged(mBrowseTree.mNowPlayingNode); in processMessage()
687 requestContents(mBrowseTree.mNowPlayingNode); in processMessage()
979 requestContents(mBrowseTree.mNowPlayingNode); in processMessage()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DBrowseTreeTest.java86 browseTree.mNowPlayingNode.addChild(trackInNowPlayingList); in getTrackFromNowPlayingList()
148 assertThat(browseTree.getCurrentBrowsedFolder()).isEqualTo(browseTree.mNowPlayingNode); in setAndGetCurrentBrowsedFolder()
166 assertThat(browseTree.getCurrentBrowsedPlayer()).isEqualTo(browseTree.mNowPlayingNode); in setAndGetCurrentBrowsedPlayer()
175 assertThat(browseTree.getCurrentAddressedPlayer()).isEqualTo(browseTree.mNowPlayingNode); in setAndGetCurrentAddressedPlayer()
212 assertThat(BrowseTree.getEldestChild(browseTree.mNowPlayingNode, browseTree.mRootNode)) in getEldestChild_whenNodesAreNotAncestorDescendantRelation()
DBrowseNodeTest.java106 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()