Home
last modified time | relevance | path

Searched refs:parentMediaId (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerServiceTest.java187 String parentMediaId = "test_parent_media_id"; in playItem() local
189 when(mStateMachine.findNode(parentMediaId)).thenReturn(node); in playItem()
191 mService.playItem(parentMediaId); in playItem()
198 String parentMediaId = "test_parent_media_id"; in getContents() local
200 when(mStateMachine.findNode(parentMediaId)).thenReturn(node); in getContents()
202 mService.getContents(parentMediaId); in getContents()
214 String parentMediaId = "test_parent_media_id"; in testGetContentsNoNode_returnInvalidMediaIdStatus() local
215 when(mStateMachine.findNode(parentMediaId)).thenReturn(null); in testGetContentsNoNode_returnInvalidMediaIdStatus()
216 BrowseResult result = mService.getContents(parentMediaId); in testGetContentsNoNode_returnInvalidMediaIdStatus()
228 String parentMediaId = BrowseTree.ROOT; in getContentsNoDeviceConnected_returnNoDeviceConnectedStatus() local
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerService.java274 void playItem(String parentMediaId) { in playItem() argument
275 Log.d(TAG, "playItem(" + parentMediaId + ")"); in playItem()
277 BrowseTree.BrowseNode requestedNode = sBrowseTree.findBrowseNodeByID(parentMediaId); in playItem()
281 requestedNode = stateMachine.findNode(parentMediaId); in playItem()
304 public synchronized BrowseResult getContents(String parentMediaId) { in getContents() argument
305 Log.d(TAG, "getContents(" + parentMediaId + ")"); in getContents()
307 BrowseTree.BrowseNode requestedNode = sBrowseTree.findBrowseNodeByID(parentMediaId); in getContents()
310 requestedNode = stateMachine.findNode(parentMediaId); in getContents()
320 + parentMediaId in getContents()
334 if (parentMediaId.equals(BrowseTree.ROOT) && requestedNode.getChildrenCount() == 0) { in getContents()
[all …]
DBluetoothMediaBrowserService.java193 BrowseResult getContents(final String parentMediaId) { in getContents() argument
197 Log.w(TAG, "getContents(id=" + parentMediaId + "): AVRCP Controller Service not ready"); in getContents()
200 return avrcpControllerService.getContents(parentMediaId); in getContents()
234 final String parentMediaId, final Result<List<MediaItem>> result) { in onLoadChildren() argument
235 Log.d(TAG, "Request for contents, id= " + parentMediaId); in onLoadChildren()
236 BrowseResult contents = getContents(parentMediaId); in onLoadChildren()
240 Log.i(TAG, "Download pending - no results, id= " + parentMediaId); in onLoadChildren()
246 + parentMediaId in onLoadChildren()
DAvrcpControllerStateMachine.java195 BrowseTree.BrowseNode findNode(String parentMediaId) { in findNode() argument
196 debug("findNode(mediaId=" + parentMediaId + ")"); in findNode()
197 return mBrowseTree.findBrowseNodeByID(parentMediaId); in findNode()
/packages/apps/Music/kotlin/src/com/android/music/
DMediaPlaybackService.kt66 override fun onLoadChildren(parentMediaId: String, result: Result<List<MediaItem>>) { in onLoadChildren()
/packages/apps/Music/src/com/android/music/
DMediaPlaybackService.java76 public void onLoadChildren(final String parentMediaId, final Result<List<MediaItem>> result) { in onLoadChildren() argument