Searched refs:parentMediaId (Results 1 – 3 of 3) sorted by relevance
92 public void onLoadChildren(final String parentMediaId, final Result<List<MediaItem>> result) { in onLoadChildren() argument94 if (MEDIA_ID_ROOT.equals(parentMediaId)) { in onLoadChildren()102 } else if (MEDIA_ID_CHILDREN_DELAYED.equals(parentMediaId)) { in onLoadChildren()107 } else if (MEDIA_ID_INVALID.equals(parentMediaId)) { in onLoadChildren()109 } else if (mChildrenMap.containsKey(parentMediaId)) { in onLoadChildren()110 result.sendResult(mChildrenMap.get(parentMediaId)); in onLoadChildren()136 public void putChildrenToMap(@NonNull String parentMediaId, @NonNull List<MediaItem> children) { in putChildrenToMap() argument137 mChildrenMap.put(parentMediaId, children); in putChildrenToMap()140 public void removeChildrenFromMap(@NonNull String parentMediaId) { in removeChildrenFromMap() argument141 mChildrenMap.remove(parentMediaId); in removeChildrenFromMap()
52 String parentMediaId = args.getString(KEY_PARENT_MEDIA_ID); in testSeriesOfNotifyChildrenChanged_setUp() local63 if (parentMediaId.equals(parentId) && children != null) { in testSeriesOfNotifyChildrenChanged_setUp()78 mMediaBrowser.subscribe(parentMediaId, subscriptionCallback); in testSeriesOfNotifyChildrenChanged_setUp()
318 String parentMediaId = "testSeriesOfNotifyChildrenChanged"; in testSeriesOfNotifyChildrenChanged() local327 mMediaBrowserService.putChildrenToMap(parentMediaId, children); in testSeriesOfNotifyChildrenChanged()335 args.putString(KEY_PARENT_MEDIA_ID, parentMediaId); in testSeriesOfNotifyChildrenChanged()339 mMediaBrowserService.notifyChildrenChanged(parentMediaId); in testSeriesOfNotifyChildrenChanged()345 mMediaBrowserService.removeChildrenFromMap(parentMediaId); in testSeriesOfNotifyChildrenChanged()