/frameworks/base/media/java/android/media/ |
D | MediaDescription.java | 128 private MediaDescription(String mediaId, CharSequence title, CharSequence subtitle, in MediaDescription() argument 130 mMediaId = mediaId; in MediaDescription() 309 public Builder setMediaId(@Nullable String mediaId) { in setMediaId() argument 310 mMediaId = mediaId; in setMediaId()
|
D | MediaMetadata.java | 585 String mediaId = getString(METADATA_KEY_MEDIA_ID); in getDescription() local 637 bob.setMediaId(mediaId); in getDescription()
|
/frameworks/base/media/java/android/media/browse/ |
D | MediaBrowser.java | 433 public void getItem(final @NonNull String mediaId, @NonNull final ItemCallback cb) { in getItem() argument 434 if (TextUtils.isEmpty(mediaId)) { in getItem() 445 cb.onError(mediaId); in getItem() 458 cb.onError(mediaId); in getItem() 463 cb.onError(mediaId); in getItem() 470 mServiceBinder.getMediaItem(mediaId, receiver, mServiceCallbacks); in getItem() 476 cb.onError(mediaId); in getItem() 990 public void onError(@NonNull String mediaId) { in onError() argument
|
/frameworks/base/media/java/android/media/session/ |
D | ISessionCallback.aidl | 37 void onPrepareFromMediaId(String packageName, int pid, int uid, String mediaId, in onPrepareFromMediaId() argument 42 void onPlayFromMediaId(String packageName, int pid, int uid, String mediaId, in Bundle extras); in onPlayFromMediaId() argument
|
D | ISessionController.aidl | 54 void prepareFromMediaId(String packageName, String mediaId, in Bundle extras); in prepareFromMediaId() argument 58 void playFromMediaId(String packageName, String mediaId, in Bundle extras); in playFromMediaId() argument
|
D | MediaSession.java | 688 void dispatchPrepareFromMediaId(RemoteUserInfo caller, String mediaId, Bundle extras) { in dispatchPrepareFromMediaId() argument 689 postToCallback(caller, CallbackMessageHandler.MSG_PREPARE_MEDIA_ID, mediaId, extras); in dispatchPrepareFromMediaId() 704 void dispatchPlayFromMediaId(RemoteUserInfo caller, String mediaId, Bundle extras) { in dispatchPlayFromMediaId() argument 705 postToCallback(caller, CallbackMessageHandler.MSG_PLAY_MEDIA_ID, mediaId, extras); in dispatchPlayFromMediaId() 1050 public void onPrepareFromMediaId(String mediaId, Bundle extras) { in onPrepareFromMediaId() argument 1096 public void onPlayFromMediaId(String mediaId, Bundle extras) { in onPlayFromMediaId() argument 1251 public void onPrepareFromMediaId(String packageName, int pid, int uid, String mediaId, in onPrepareFromMediaId() argument 1256 createRemoteUserInfo(packageName, pid, uid), mediaId, extras); in onPrepareFromMediaId() local 1288 public void onPlayFromMediaId(String packageName, int pid, int uid, String mediaId, in onPlayFromMediaId() argument 1293 mediaId, extras); in onPlayFromMediaId() local
|
D | MediaController.java | 652 public void prepareFromMediaId(String mediaId, Bundle extras) { in prepareFromMediaId() argument 653 if (TextUtils.isEmpty(mediaId)) { in prepareFromMediaId() 658 mSessionBinder.prepareFromMediaId(mContext.getPackageName(), mediaId, extras); in prepareFromMediaId() local 732 public void playFromMediaId(String mediaId, Bundle extras) { in playFromMediaId() argument 733 if (TextUtils.isEmpty(mediaId)) { in playFromMediaId() 738 mSessionBinder.playFromMediaId(mContext.getPackageName(), mediaId, extras); in playFromMediaId() local
|
/frameworks/base/media/java/android/service/media/ |
D | IMediaBrowserServiceCallbacks.aidl | 26 void onLoadChildren(String mediaId, in ParceledListSlice list, in Bundle options); in onLoadChildren() argument
|
D | MediaBrowserService.java | 305 public void getMediaItem(final String mediaId, final ResultReceiver receiver, in getMediaItem() argument 313 () -> serviceState.performLoadItemOnHandler(mediaId, callbacks, receiver)); in getMediaItem()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionRecord.java | 1545 public void prepareFromMediaId(String packageName, int pid, int uid, String mediaId, 1551 mCb.onPrepareFromMediaId(packageName, pid, uid, mediaId, extras); 1591 public void playFromMediaId(String packageName, int pid, int uid, String mediaId, 1597 mCb.onPlayFromMediaId(packageName, pid, uid, mediaId, extras); 1904 public void prepareFromMediaId(String packageName, String mediaId, Bundle extras) { 1906 Binder.getCallingUid(), mediaId, extras); 1927 public void playFromMediaId(String packageName, String mediaId, Bundle extras) { 1929 mediaId, extras);
|