/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/ |
D | QueueHelper.java | 40 public static List<MediaSessionCompat.QueueItem> getPlayingQueue(String mediaId, in getPlayingQueue() argument 44 String[] hierarchy = MediaIDHelper.getHierarchy(mediaId); in getPlayingQueue() 47 Log.e(TAG, "Could not build a playing queue for this mediaId: " + mediaId); in getPlayingQueue() 64 Log.e(TAG, "Unrecognized category type: " + categoryType + " for mediaId " + mediaId); in getPlayingQueue() 81 String mediaId) { in getMusicIndexOnQueue() argument 84 if (mediaId.equals(item.getDescription().getMediaId())) { in getMusicIndexOnQueue()
|
/frameworks/support/media-compat/java/android/support/v4/media/ |
D | MediaBrowserCompat.java | 298 public void getItem(final @NonNull String mediaId, @NonNull final ItemCallback cb) { in getItem() argument 299 mImpl.getItem(mediaId, cb); in getItem() 741 void getItem(final @NonNull String mediaId, @NonNull final ItemCallback cb); in getItem() argument 1002 public void getItem(@NonNull final String mediaId, @NonNull final ItemCallback cb) { in getItem() argument 1003 if (TextUtils.isEmpty(mediaId)) { in getItem() 1014 cb.onError(mediaId); in getItem() 1019 ResultReceiver receiver = new ItemReceiver(mediaId, cb, mHandler); in getItem() 1021 mServiceBinderWrapper.getMediaItem(mediaId, receiver, mCallbacksMessenger); in getItem() 1027 cb.onError(mediaId); in getItem() 1447 public void getItem(@NonNull final String mediaId, @NonNull final ItemCallback cb) { in getItem() argument [all …]
|
D | MediaDescriptionCompat.java | 148 private MediaDescriptionCompat(String mediaId, CharSequence title, CharSequence subtitle, in MediaDescriptionCompat() argument 150 mMediaId = mediaId; in MediaDescriptionCompat() 414 public Builder setMediaId(@Nullable String mediaId) { in setMediaId() argument 415 mMediaId = mediaId; in setMediaId()
|
D | MediaBrowserServiceCompat.java | 650 public void getMediaItem(final String mediaId, final ResultReceiver receiver, in getMediaItem() argument 652 if (TextUtils.isEmpty(mediaId) || receiver == null) { in getMediaItem() 663 Log.w(TAG, "getMediaItem for callback that isn't registered id=" + mediaId); in getMediaItem() 666 performLoadItem(mediaId, connection, receiver); in getMediaItem() 705 void onLoadChildren(String mediaId, List<MediaBrowserCompat.MediaItem> list, Bundle options) in onLoadChildren() argument 741 public void onLoadChildren(String mediaId, List<MediaBrowserCompat.MediaItem> list, in onLoadChildren() argument 744 data.putString(DATA_MEDIA_ITEM_ID, mediaId); in onLoadChildren()
|
/frameworks/support/media-compat/api24/android/support/v4/media/session/ |
D | MediaSessionCompatApi24.java | 47 public void onPrepareFromMediaId(String mediaId, Bundle extras); in onPrepareFromMediaId() argument 64 public void onPrepareFromMediaId(String mediaId, Bundle extras) { in onPrepareFromMediaId() argument 65 mCallback.onPrepareFromMediaId(mediaId, extras); in onPrepareFromMediaId()
|
D | MediaControllerCompatApi24.java | 30 public static void prepareFromMediaId(Object controlsObj, String mediaId, Bundle extras) { in prepareFromMediaId() argument 31 ((MediaController.TransportControls) controlsObj).prepareFromMediaId(mediaId, extras); in prepareFromMediaId()
|
/frameworks/base/media/java/android/media/ |
D | MediaDescription.java | 49 private MediaDescription(String mediaId, CharSequence title, CharSequence subtitle, in MediaDescription() argument 51 mMediaId = mediaId; in MediaDescription() 203 public Builder setMediaId(@Nullable String mediaId) { in setMediaId() argument 204 mMediaId = mediaId; in setMediaId()
|
D | MediaMetadata.java | 495 String mediaId = getString(METADATA_KEY_MEDIA_ID); in getDescription() local 541 bob.setMediaId(mediaId); in getDescription()
|
/frameworks/base/media/java/android/service/media/ |
D | IMediaBrowserServiceCallbacks.aidl | 25 void onLoadChildren(String mediaId, in ParceledListSlice list); in onLoadChildren() argument 26 void onLoadChildrenWithOptions(String mediaId, in ParceledListSlice list, in Bundle options); in onLoadChildrenWithOptions() argument
|
D | MediaBrowserService.java | 305 public void getMediaItem(final String mediaId, final ResultReceiver receiver, in getMediaItem() argument 307 if (TextUtils.isEmpty(mediaId) || receiver == null) { in getMediaItem() 317 Log.w(TAG, "getMediaItem for callback that isn't registered id=" + mediaId); in getMediaItem() 320 performLoadItem(mediaId, connection, receiver); in getMediaItem()
|
/frameworks/support/media-compat/api23/android/support/v4/media/ |
D | MediaBrowserCompatApi23.java | 29 public static void getItem(Object browserObj, String mediaId, Object itemCallbackObj) { in getItem() argument 30 ((MediaBrowser) browserObj).getItem(mediaId, ((MediaBrowser.ItemCallback) itemCallbackObj)); in getItem()
|
/frameworks/base/media/java/android/media/session/ |
D | ISessionCallback.aidl | 33 void onPrepareFromMediaId(String mediaId, in Bundle extras); in onPrepareFromMediaId() argument 37 void onPlayFromMediaId(String mediaId, in Bundle extras); in onPlayFromMediaId() argument
|
D | MediaController.java | 621 public void prepareFromMediaId(String mediaId, Bundle extras) { in prepareFromMediaId() argument 622 if (TextUtils.isEmpty(mediaId)) { in prepareFromMediaId() 627 mSessionBinder.prepareFromMediaId(mediaId, extras); in prepareFromMediaId() 629 Log.wtf(TAG, "Error calling prepare(" + mediaId + ").", e); in prepareFromMediaId() 701 public void playFromMediaId(String mediaId, Bundle extras) { in playFromMediaId() argument 702 if (TextUtils.isEmpty(mediaId)) { in playFromMediaId() 707 mSessionBinder.playFromMediaId(mediaId, extras); in playFromMediaId() 709 Log.wtf(TAG, "Error calling play(" + mediaId + ").", e); in playFromMediaId()
|
D | MediaSession.java | 535 private void dispatchPrepareFromMediaId(String mediaId, Bundle extras) { in dispatchPrepareFromMediaId() argument 536 postToCallback(CallbackMessageHandler.MSG_PREPARE_MEDIA_ID, mediaId, extras); in dispatchPrepareFromMediaId() 551 private void dispatchPlayFromMediaId(String mediaId, Bundle extras) { in dispatchPlayFromMediaId() argument 552 postToCallback(CallbackMessageHandler.MSG_PLAY_MEDIA_ID, mediaId, extras); in dispatchPlayFromMediaId() 850 public void onPrepareFromMediaId(String mediaId, Bundle extras) { in onPrepareFromMediaId() argument 896 public void onPlayFromMediaId(String mediaId, Bundle extras) { in onPlayFromMediaId() argument 1018 public void onPrepareFromMediaId(String mediaId, Bundle extras) { in onPrepareFromMediaId() argument 1021 session.dispatchPrepareFromMediaId(mediaId, extras); in onPrepareFromMediaId() 1050 public void onPlayFromMediaId(String mediaId, Bundle extras) { in onPlayFromMediaId() argument 1053 session.dispatchPlayFromMediaId(mediaId, extras); in onPlayFromMediaId()
|
D | ISessionController.aidl | 54 void prepareFromMediaId(String mediaId, in Bundle extras); in prepareFromMediaId() argument 58 void playFromMediaId(String mediaId, in Bundle extras); in playFromMediaId() argument
|
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
D | MediaControllerCompat.java | 622 public abstract void prepareFromMediaId(String mediaId, Bundle extras); in prepareFromMediaId() argument 667 public abstract void playFromMediaId(String mediaId, Bundle extras); in playFromMediaId() argument 1099 public void prepareFromMediaId(String mediaId, Bundle extras) { in prepareFromMediaId() argument 1101 mBinder.prepareFromMediaId(mediaId, extras); in prepareFromMediaId() 1135 public void playFromMediaId(String mediaId, Bundle extras) { in playFromMediaId() argument 1137 mBinder.playFromMediaId(mediaId, extras); in playFromMediaId() 1387 public void prepareFromMediaId(String mediaId, Bundle extras) { in prepareFromMediaId() argument 1389 bundle.putString(MediaSessionCompat.ACTION_ARGUMENT_MEDIA_ID, mediaId); in prepareFromMediaId() 1457 public void playFromMediaId(String mediaId, Bundle extras) { in playFromMediaId() argument 1458 MediaControllerCompatApi21.TransportControls.playFromMediaId(mControlsObj, mediaId, in playFromMediaId() [all …]
|
D | MediaSessionCompat.java | 647 public void onPrepareFromMediaId(String mediaId, Bundle extras) { in onPrepareFromMediaId() argument 685 public void onPlayFromMediaId(String mediaId, Bundle extras) { in onPlayFromMediaId() argument 792 public void onPlayFromMediaId(String mediaId, Bundle extras) { in onPlayFromMediaId() argument 793 Callback.this.onPlayFromMediaId(mediaId, extras); in onPlayFromMediaId() 855 String mediaId = extras.getString(ACTION_ARGUMENT_MEDIA_ID); in onCustomAction() local 857 Callback.this.onPrepareFromMediaId(mediaId, bundle); in onCustomAction() 888 public void onPrepareFromMediaId(String mediaId, Bundle extras) { in onPrepareFromMediaId() argument 889 Callback.this.onPrepareFromMediaId(mediaId, extras); in onPrepareFromMediaId() 1914 public void prepareFromMediaId(String mediaId, Bundle extras) throws RemoteException { in prepareFromMediaId() argument 1915 postToHandler(MessageHandler.MSG_PREPARE_MEDIA_ID, mediaId, extras); in prepareFromMediaId() [all …]
|
/frameworks/support/media-compat/api21/android/support/v4/media/ |
D | MediaDescriptionCompatApi21.java | 68 public static void setMediaId(Object builderObj, String mediaId) { in setMediaId() argument 69 ((MediaDescription.Builder)builderObj).setMediaId(mediaId); in setMediaId()
|
/frameworks/base/media/java/android/media/browse/ |
D | MediaBrowser.java | 413 public void getItem(final @NonNull String mediaId, @NonNull final ItemCallback cb) { in getItem() argument 414 if (TextUtils.isEmpty(mediaId)) { in getItem() 425 cb.onError(mediaId); in getItem() 435 cb.onError(mediaId); in getItem() 440 cb.onError(mediaId); in getItem() 447 mServiceBinder.getMediaItem(mediaId, receiver, mServiceCallbacks); in getItem() 453 cb.onError(mediaId); in getItem()
|
/frameworks/support/media-compat/api21/android/support/v4/media/session/ |
D | MediaSessionCompatApi21.java | 139 public void onPlayFromMediaId(String mediaId, Bundle extras); in onPlayFromMediaId() argument 175 public void onPlayFromMediaId(String mediaId, Bundle extras) { in onPlayFromMediaId() argument 176 mCallback.onPlayFromMediaId(mediaId, extras); in onPlayFromMediaId()
|
D | MediaControllerCompatApi21.java | 159 public static void playFromMediaId(Object controlsObj, String mediaId, Bundle extras) { in playFromMediaId() argument 160 ((MediaController.TransportControls) controlsObj).playFromMediaId(mediaId, extras); in playFromMediaId()
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
D | MediaBrowserServiceSupport.java | 400 public void onPlayFromMediaId(String mediaId, Bundle extras) { in onPlayFromMediaId() argument 401 Log.d(TAG, "playFromMediaId mediaId:" + mediaId + " extras=" + extras); in onPlayFromMediaId() 408 mPlayingQueue = QueueHelper.getPlayingQueue(mediaId, mMusicProvider); in onPlayFromMediaId() 411 MediaIDHelper.extractBrowseCategoryValueFromMediaID(mediaId)); in onPlayFromMediaId() 416 mCurrentIndexOnQueue = QueueHelper.getMusicIndexOnQueue(mPlayingQueue, mediaId); in onPlayFromMediaId() 419 Log.e(TAG, "playFromMediaId: media ID " + mediaId in onPlayFromMediaId()
|
D | Playback.java | 150 String mediaId = item.getDescription().getMediaId(); in play() local 151 boolean mediaHasChanged = !TextUtils.equals(mediaId, mCurrentMediaId); in play() 154 mCurrentMediaId = mediaId; in play()
|
D | BrowseFragment.java | 167 public static BrowseFragment newInstance(String mediaId) { in newInstance() argument 169 args.putString(ARG_MEDIA_ID, mediaId); in newInstance()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionRecord.java | 918 public void prepareFromMediaId(String mediaId, Bundle extras) { in prepareFromMediaId() argument 920 mCb.onPrepareFromMediaId(mediaId, extras); in prepareFromMediaId() 950 public void playFromMediaId(String mediaId, Bundle extras) { in playFromMediaId() argument 952 mCb.onPlayFromMediaId(mediaId, extras); in playFromMediaId() 1184 public void prepareFromMediaId(String mediaId, Bundle extras) in prepareFromMediaId() argument 1187 mSessionCb.prepareFromMediaId(mediaId, extras); in prepareFromMediaId() 1209 public void playFromMediaId(String mediaId, Bundle extras) throws RemoteException { in playFromMediaId() argument 1211 mSessionCb.playFromMediaId(mediaId, extras); in playFromMediaId()
|