Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/media/
DBrowseTree.java446 public void loadChildren(final String parentMediaId, final Result<List<MediaItem>> result) { in loadChildren() argument
447 if (parentMediaId == null || result == null) return; in loadChildren()
449 if (NODE_ROOT.equals(parentMediaId)) { in loadChildren()
451 } else if (NODE_PROGRAMS.equals(parentMediaId)) { in loadChildren()
453 } else if (NODE_FAVORITES.equals(parentMediaId)) { in loadChildren()
455 } else if (parentMediaId.equals(mAmChannels.mMediaId)) { in loadChildren()
457 } else if (parentMediaId.equals(mFmChannels.mMediaId)) { in loadChildren()
460 Log.w(TAG, "Invalid parent media ID: " + parentMediaId); in loadChildren()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DBluetoothMediaBrowserService.java133 List<MediaItem> getContents(final String parentMediaId) { in getContents() argument
139 return avrcpControllerService.getContents(parentMediaId); in getContents()
171 public synchronized void onLoadChildren(final String parentMediaId, in onLoadChildren() argument
173 if (DBG) Log.d(TAG, "onLoadChildren parentMediaId=" + parentMediaId); in onLoadChildren()
174 List<MediaItem> contents = getContents(parentMediaId); in onLoadChildren()
DAvrcpControllerService.java276 void playItem(String parentMediaId) { in playItem() argument
277 if (DBG) Log.d(TAG, "playItem(" + parentMediaId + ")"); in playItem()
279 BrowseTree.BrowseNode requestedNode = sBrowseTree.findBrowseNodeByID(parentMediaId); in playItem()
283 requestedNode = stateMachine.findNode(parentMediaId); in playItem()
306 public synchronized List<MediaItem> getContents(String parentMediaId) { in getContents() argument
307 if (DBG) Log.d(TAG, "getContents(" + parentMediaId + ")"); in getContents()
309 BrowseTree.BrowseNode requestedNode = sBrowseTree.findBrowseNodeByID(parentMediaId); in getContents()
312 requestedNode = stateMachine.findNode(parentMediaId); in getContents()
DAvrcpControllerStateMachine.java188 BrowseTree.BrowseNode findNode(String parentMediaId) { in findNode() argument
190 return mBrowseTree.findBrowseNodeByID(parentMediaId); in findNode()
/packages/apps/Car/Radio/src/com/android/car/radio/service/
DRadioAppService.java266 public void onLoadChildren(final String parentMediaId, final Result<List<MediaItem>> result) { in onLoadChildren() argument
267 mBrowseTree.loadChildren(parentMediaId, result); in onLoadChildren()
/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