/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 | 576 String mediaId = getString(METADATA_KEY_MEDIA_ID); in getDescription() local 628 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() 964 public void onError(@NonNull String mediaId) { in onError() argument
|
/frameworks/base/media/java/android/media/session/ |
D | MediaController.java | 666 public void prepareFromMediaId(String mediaId, Bundle extras) { in prepareFromMediaId() argument 667 if (TextUtils.isEmpty(mediaId)) { in prepareFromMediaId() 672 mSessionBinder.prepareFromMediaId(mContext.getPackageName(), mediaId, extras); in prepareFromMediaId() local 674 Log.wtf(TAG, "Error calling prepare(" + mediaId + ").", e); in prepareFromMediaId() 746 public void playFromMediaId(String mediaId, Bundle extras) { in playFromMediaId() argument 747 if (TextUtils.isEmpty(mediaId)) { in playFromMediaId() 752 mSessionBinder.playFromMediaId(mContext.getPackageName(), mediaId, extras); in playFromMediaId() local 754 Log.wtf(TAG, "Error calling play(" + mediaId + ").", e); in playFromMediaId()
|
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 | 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 | MediaSession.java | 677 void dispatchPrepareFromMediaId(RemoteUserInfo caller, String mediaId, Bundle extras) { in dispatchPrepareFromMediaId() argument 678 postToCallback(caller, CallbackMessageHandler.MSG_PREPARE_MEDIA_ID, mediaId, extras); in dispatchPrepareFromMediaId() 693 void dispatchPlayFromMediaId(RemoteUserInfo caller, String mediaId, Bundle extras) { in dispatchPlayFromMediaId() argument 694 postToCallback(caller, CallbackMessageHandler.MSG_PLAY_MEDIA_ID, mediaId, extras); in dispatchPlayFromMediaId() 1039 public void onPrepareFromMediaId(String mediaId, Bundle extras) { in onPrepareFromMediaId() argument 1085 public void onPlayFromMediaId(String mediaId, Bundle extras) { in onPlayFromMediaId() argument 1240 public void onPrepareFromMediaId(String packageName, int pid, int uid, String mediaId, in onPrepareFromMediaId() argument 1245 createRemoteUserInfo(packageName, pid, uid), mediaId, extras); in onPrepareFromMediaId() local 1277 public void onPlayFromMediaId(String packageName, int pid, int uid, String mediaId, in onPlayFromMediaId() argument 1282 mediaId, extras); in onPlayFromMediaId() 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 | 333 public void getMediaItem(final String mediaId, final ResultReceiver receiver, in getMediaItem() argument 341 Log.w(TAG, "getMediaItem for callback that isn't registered id=" + mediaId); in getMediaItem() 344 performLoadItem(mediaId, connection, receiver); in getMediaItem()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionRecord.java | 1181 public void prepareFromMediaId(String packageName, int pid, int uid, String mediaId, 1184 mCb.onPrepareFromMediaId(packageName, pid, uid, mediaId, extras); 1215 public void playFromMediaId(String packageName, int pid, int uid, String mediaId, 1218 mCb.onPlayFromMediaId(packageName, pid, uid, mediaId, extras); 1464 public void prepareFromMediaId(String packageName, String mediaId, Bundle extras) { 1466 Binder.getCallingUid(), mediaId, extras); 1487 public void playFromMediaId(String packageName, String mediaId, Bundle extras) { 1489 mediaId, extras);
|