Lines Matching defs:parentId

380      * with an empty list. When the given {@code parentId} is invalid, implementations must
385 * @param parentId The id of the parent media item whose children are to be
389 public abstract void onLoadChildren(@NonNull String parentId,
403 * with an empty list. When the given {@code parentId} is invalid, implementations must
408 * @param parentId The id of the parent media item whose children are to be
415 public void onLoadChildren(@NonNull String parentId,
421 onLoadChildren(parentId, result);
515 * @param parentId The id of the parent media item whose
518 public void notifyChildrenChanged(@NonNull String parentId) {
519 notifyChildrenChangedInternal(parentId, null);
527 * @param parentId The id of the parent media item whose
533 public void notifyChildrenChanged(@NonNull String parentId, @NonNull Bundle options) {
537 notifyChildrenChangedInternal(parentId, options);
540 private void notifyChildrenChangedInternal(final String parentId, final Bundle options) {
541 if (parentId == null) {
542 throw new IllegalArgumentException("parentId cannot be null in notifyChildrenChanged");
550 connection.subscriptions.get(parentId);
554 performLoadChildren(parentId, connection, callback.second);
631 private void performLoadChildren(final String parentId, final ConnectionRecord connection,
634 = new Result<List<MediaBrowser.MediaItem>>(parentId) {
640 + " been disconnected. pkg=" + connection.pkg + " id=" + parentId);
651 connection.callbacks.onLoadChildrenWithOptions(parentId, pls, options);
654 Log.w(TAG, "Calling onLoadChildren() failed for id=" + parentId
662 onLoadChildren(parentId, result);
664 onLoadChildren(parentId, result, options);
670 + " before returning for package=" + connection.pkg + " id=" + parentId);