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.java98 List<MediaItem> getContents(final String parentMediaId) { in getContents() argument
104 return avrcpControllerService.getContents(parentMediaId); in getContents()
135 public synchronized void onLoadChildren(final String parentMediaId, in onLoadChildren() argument
137 if (DBG) Log.d(TAG, "onLoadChildren parentMediaId=" + parentMediaId); in onLoadChildren()
138 List<MediaItem> contents = getContents(parentMediaId); in onLoadChildren()
DAvrcpControllerService.java191 void playItem(String parentMediaId) { in playItem() argument
192 if (DBG) Log.d(TAG, "playItem(" + parentMediaId + ")"); in playItem()
194 BrowseTree.BrowseNode requestedNode = sBrowseTree.findBrowseNodeByID(parentMediaId); in playItem()
198 requestedNode = stateMachine.findNode(parentMediaId); in playItem()
217 public synchronized List<MediaItem> getContents(String parentMediaId) { in getContents() argument
218 if (DBG) Log.d(TAG, "getContents(" + parentMediaId + ")"); in getContents()
220 BrowseTree.BrowseNode requestedNode = sBrowseTree.findBrowseNodeByID(parentMediaId); in getContents()
223 requestedNode = stateMachine.findNode(parentMediaId); in getContents()
DAvrcpControllerStateMachine.java168 BrowseTree.BrowseNode findNode(String parentMediaId) { in findNode() argument
170 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