/frameworks/support/v4/api24/android/support/v4/media/session/ |
H A D | MediaControllerCompatApi24.java | 30 public static void prepareFromMediaId(Object controlsObj, String mediaId, Bundle extras) { argument 31 ((MediaController.TransportControls) controlsObj).prepareFromMediaId(mediaId, extras);
|
H A D | MediaSessionCompatApi24.java | 47 public void onPrepareFromMediaId(String mediaId, Bundle extras); argument 64 public void onPrepareFromMediaId(String mediaId, Bundle extras) { argument 65 mCallback.onPrepareFromMediaId(mediaId, extras);
|
/frameworks/support/v4/api23/android/support/v4/media/ |
H A D | MediaBrowserCompatApi23.java | 29 public static void getItem(Object browserObj, String mediaId, Object itemCallbackObj) { argument 30 ((MediaBrowser) browserObj).getItem(mediaId, ((MediaBrowser.ItemCallback) itemCallbackObj));
|
/frameworks/support/v4/api21/android/support/v4/media/ |
H A D | MediaDescriptionCompatApi21.java | 68 public static void setMediaId(Object builderObj, String mediaId) { argument 69 ((MediaDescription.Builder)builderObj).setMediaId(mediaId);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaDescription.java | 49 private MediaDescription(String mediaId, CharSequence title, CharSequence subtitle, argument 51 mMediaId = mediaId; 200 * @param mediaId The unique id for the item or null. 203 public Builder setMediaId(@Nullable String mediaId) { argument 204 mMediaId = mediaId;
|
/frameworks/support/v4/java/android/support/v4/media/ |
H A D | MediaDescriptionCompat.java | 86 private MediaDescriptionCompat(String mediaId, CharSequence title, CharSequence subtitle, argument 88 mMediaId = mediaId; 349 * @param mediaId The unique id for the item or null. 352 public Builder setMediaId(@Nullable String mediaId) { argument 353 mMediaId = mediaId;
|
H A D | MediaBrowserServiceCompat.java | 648 public void getMediaItem(final String mediaId, final ResultReceiver receiver, argument 650 if (TextUtils.isEmpty(mediaId) || receiver == null) { 661 Log.w(TAG, "getMediaItem for callback that isn't registered id=" + mediaId); 664 performLoadItem(mediaId, connection, receiver); 703 void onLoadChildren(String mediaId, List<MediaBrowserCompat.MediaItem> list, Bundle options) argument 735 public void onLoadChildren(String mediaId, List<MediaBrowserCompat.MediaItem> list, argument 738 data.putString(DATA_MEDIA_ITEM_ID, mediaId);
|
H A D | MediaBrowserCompat.java | 295 * @param mediaId The id of the item to retrieve. 298 public void getItem(final @NonNull String mediaId, @NonNull final ItemCallback cb) { argument 299 mImpl.getItem(mediaId, cb); 711 void getItem(final @NonNull String mediaId, @NonNull final ItemCallback cb); argument 972 public void getItem(@NonNull final String mediaId, @NonNull final ItemCallback cb) { argument 973 if (TextUtils.isEmpty(mediaId)) { 974 throw new IllegalArgumentException("mediaId is empty"); 984 cb.onError(mediaId); 989 ResultReceiver receiver = new ItemReceiver(mediaId, cb, mHandler); 991 mServiceBinderWrapper.getMediaItem(mediaId, receive 1417 getItem(@onNull final String mediaId, @NonNull final ItemCallback cb) argument 1534 getItem(@onNull final String mediaId, @NonNull final ItemCallback cb) argument 1572 getItem(@onNull final String mediaId, @NonNull final ItemCallback cb) argument 1704 getMediaItem(String mediaId, ResultReceiver receiver, Messenger callbacksMessenger) argument 1737 ItemReceiver(String mediaId, ItemCallback callback, Handler handler) argument [all...] |
/frameworks/base/media/java/android/service/media/ |
H A D | MediaBrowserService.java | 305 public void getMediaItem(final String mediaId, final ResultReceiver receiver, argument 307 if (TextUtils.isEmpty(mediaId) || receiver == null) { 317 Log.w(TAG, "getMediaItem for callback that isn't registered id=" + mediaId); 320 performLoadItem(mediaId, connection, receiver);
|
/frameworks/support/v4/api21/android/support/v4/media/session/ |
H A D | MediaSessionCompatApi21.java | 139 public void onPlayFromMediaId(String mediaId, Bundle extras); argument 175 public void onPlayFromMediaId(String mediaId, Bundle extras) { argument 176 mCallback.onPlayFromMediaId(mediaId, extras);
|
H A D | MediaControllerCompatApi21.java | 158 public static void playFromMediaId(Object controlsObj, String mediaId, Bundle extras) { argument 159 ((MediaController.TransportControls) controlsObj).playFromMediaId(mediaId, extras);
|
/frameworks/base/media/java/android/media/browse/ |
H A D | MediaBrowser.java | 410 * @param mediaId The id of the item to retrieve. 413 public void getItem(final @NonNull String mediaId, @NonNull final ItemCallback cb) { argument 414 if (TextUtils.isEmpty(mediaId)) { 415 throw new IllegalArgumentException("mediaId is empty."); 425 cb.onError(mediaId); 435 cb.onError(mediaId); 440 cb.onError(mediaId); 447 mServiceBinder.getMediaItem(mediaId, receiver, mServiceCallbacks); 453 cb.onError(mediaId);
|
/frameworks/base/media/java/android/media/session/ |
H A D | MediaController.java | 617 * @param mediaId The id of the requested media. 621 public void prepareFromMediaId(String mediaId, Bundle extras) { argument 622 if (TextUtils.isEmpty(mediaId)) { 627 mSessionBinder.prepareFromMediaId(mediaId, extras); 629 Log.wtf(TAG, "Error calling prepare(" + mediaId + ").", e); 697 * @param mediaId The id of the requested media. 701 public void playFromMediaId(String mediaId, Bundle extras) { argument 702 if (TextUtils.isEmpty(mediaId)) { 707 mSessionBinder.playFromMediaId(mediaId, extras); 709 Log.wtf(TAG, "Error calling play(" + mediaId [all...] |
H A D | MediaSession.java | 535 private void dispatchPrepareFromMediaId(String mediaId, Bundle extras) { argument 536 postToCallback(CallbackMessageHandler.MSG_PREPARE_MEDIA_ID, mediaId, extras); 551 private void dispatchPlayFromMediaId(String mediaId, Bundle extras) { argument 552 postToCallback(CallbackMessageHandler.MSG_PLAY_MEDIA_ID, mediaId, extras); 842 * Override to handle requests to prepare for playing a specific mediaId that was provided 850 public void onPrepareFromMediaId(String mediaId, Bundle extras) { argument 893 * Override to handle requests to play a specific mediaId that was 896 public void onPlayFromMediaId(String mediaId, Bundle extras) { argument 1018 public void onPrepareFromMediaId(String mediaId, Bundle extras) { argument 1021 session.dispatchPrepareFromMediaId(mediaId, extra 1050 onPlayFromMediaId(String mediaId, Bundle extras) argument [all...] |
/frameworks/support/v4/java/android/support/v4/media/session/ |
H A D | MediaControllerCompat.java | 598 * @param mediaId The id of the requested media. 602 public abstract void prepareFromMediaId(String mediaId, Bundle extras); argument 643 * @param mediaId The uri of the requested media. 647 public abstract void playFromMediaId(String mediaId, Bundle extras); argument 1079 public void prepareFromMediaId(String mediaId, Bundle extras) { argument 1081 mBinder.prepareFromMediaId(mediaId, extras); 1115 public void playFromMediaId(String mediaId, Bundle extras) { argument 1117 mBinder.playFromMediaId(mediaId, extras); 1374 public void prepareFromMediaId(String mediaId, Bundle extras) { argument 1376 bundle.putString(MediaSessionCompat.ACTION_ARGUMENT_MEDIA_ID, mediaId); 1444 playFromMediaId(String mediaId, Bundle extras) argument 1546 prepareFromMediaId(String mediaId, Bundle extras) argument [all...] |
H A D | MediaSessionCompat.java | 605 * Override to handle requests to prepare for playing a specific mediaId that was provided 612 public void onPrepareFromMediaId(String mediaId, Bundle extras) { argument 647 * Override to handle requests to play a specific mediaId that was 650 public void onPlayFromMediaId(String mediaId, Bundle extras) { argument 757 public void onPlayFromMediaId(String mediaId, Bundle extras) { argument 758 Callback.this.onPlayFromMediaId(mediaId, extras); 820 String mediaId = extras.getString(ACTION_ARGUMENT_MEDIA_ID); 822 Callback.this.onPrepareFromMediaId(mediaId, bundle); 853 public void onPrepareFromMediaId(String mediaId, Bundle extras) { argument 854 Callback.this.onPrepareFromMediaId(mediaId, extra 1835 prepareFromMediaId(String mediaId, Bundle extras) argument 1855 playFromMediaId(String mediaId, Bundle extras) argument [all...] |
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaSessionRecord.java | 918 public void prepareFromMediaId(String mediaId, Bundle extras) { argument 920 mCb.onPrepareFromMediaId(mediaId, extras); 950 public void playFromMediaId(String mediaId, Bundle extras) { argument 952 mCb.onPlayFromMediaId(mediaId, extras); 1184 public void prepareFromMediaId(String mediaId, Bundle extras) argument 1187 mSessionCb.prepareFromMediaId(mediaId, extras); 1209 public void playFromMediaId(String mediaId, Bundle extras) throws RemoteException { argument 1211 mSessionCb.playFromMediaId(mediaId, extras);
|