Home
last modified time | relevance | path

Searched refs:mediaId (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/media/java/android/service/media/
DIMediaBrowserServiceCallbacks.aidl26 void onLoadChildren(String mediaId, in ParceledListSlice list); in onLoadChildren() argument
27 void onLoadChildrenWithOptions(String mediaId, in ParceledListSlice list, in onLoadChildrenWithOptions() argument
DMediaBrowserService.java332 public void getMediaItem(final String mediaId, final ResultReceiver receiver, in getMediaItem() argument
340 Log.w(TAG, "getMediaItem for callback that isn't registered id=" + mediaId); in getMediaItem()
343 performLoadItem(mediaId, connection, receiver); in getMediaItem()
/frameworks/base/media/java/android/media/
DMediaDescription.java128 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()
DMediaMetadata.java552 String mediaId = getString(METADATA_KEY_MEDIA_ID); in getDescription() local
604 bob.setMediaId(mediaId); in getDescription()
/frameworks/base/media/apex/java/android/media/
DDataSourceDesc.java57 DataSourceDesc(String mediaId, long startPositionMs, long endPositionMs) { in DataSourceDesc() argument
58 mMediaId = mediaId; in DataSourceDesc()
215 public Builder setMediaId(@Nullable String mediaId) { in setMediaId() argument
216 mMediaId = mediaId; in setMediaId()
DFileDataSourceDesc.java50 FileDataSourceDesc(String mediaId, long startPositionMs, long endPositionMs, in FileDataSourceDesc() argument
52 super(mediaId, startPositionMs, endPositionMs); in FileDataSourceDesc()
DUriDataSourceDesc.java43 UriDataSourceDesc(String mediaId, long startPositionMs, long endPositionMs, in UriDataSourceDesc() argument
45 super(mediaId, startPositionMs, endPositionMs); in UriDataSourceDesc()
/frameworks/base/media/java/android/media/session/
DMediaController.java651 public void prepareFromMediaId(String mediaId, Bundle extras) { in prepareFromMediaId() argument
652 if (TextUtils.isEmpty(mediaId)) { in prepareFromMediaId()
657 mSessionBinder.prepareFromMediaId(mContext.getPackageName(), mCbStub, mediaId, in prepareFromMediaId() local
660 Log.wtf(TAG, "Error calling prepare(" + mediaId + ").", e); in prepareFromMediaId()
733 public void playFromMediaId(String mediaId, Bundle extras) { in playFromMediaId() argument
734 if (TextUtils.isEmpty(mediaId)) { in playFromMediaId()
739 mSessionBinder.playFromMediaId(mContext.getPackageName(), mCbStub, mediaId, in playFromMediaId() local
742 Log.wtf(TAG, "Error calling play(" + mediaId + ").", e); in playFromMediaId()
DISessionCallback.aidl39 ISessionControllerCallback caller, String mediaId, in Bundle extras); in onPrepareFromMediaId() argument
46 ISessionControllerCallback caller, String mediaId, in Bundle extras); in onPlayFromMediaId() argument
DMediaSession.java644 void dispatchPrepareFromMediaId(RemoteUserInfo caller, String mediaId, Bundle extras) { in dispatchPrepareFromMediaId() argument
645 postToCallback(caller, CallbackMessageHandler.MSG_PREPARE_MEDIA_ID, mediaId, extras); in dispatchPrepareFromMediaId()
660 void dispatchPlayFromMediaId(RemoteUserInfo caller, String mediaId, Bundle extras) { in dispatchPlayFromMediaId() argument
661 postToCallback(caller, CallbackMessageHandler.MSG_PLAY_MEDIA_ID, mediaId, extras); in dispatchPlayFromMediaId()
1005 public void onPrepareFromMediaId(String mediaId, Bundle extras) { in onPrepareFromMediaId() argument
1051 public void onPlayFromMediaId(String mediaId, Bundle extras) { in onPlayFromMediaId() argument
1208 ISessionControllerCallback caller, String mediaId, in onPrepareFromMediaId() argument
1213 createRemoteUserInfo(packageName, pid, uid), mediaId, extras); in onPrepareFromMediaId() local
1249 ISessionControllerCallback caller, String mediaId, in onPlayFromMediaId() argument
1254 mediaId, extras); in onPlayFromMediaId() local
DISessionController.aidl59 String mediaId, in Bundle extras); in prepareFromMediaId() argument
66 String mediaId, in Bundle extras); in playFromMediaId() argument
/frameworks/base/media/java/android/media/browse/
DMediaBrowser.java434 public void getItem(final @NonNull String mediaId, @NonNull final ItemCallback cb) { in getItem() argument
435 if (TextUtils.isEmpty(mediaId)) { in getItem()
446 cb.onError(mediaId); in getItem()
459 cb.onError(mediaId); in getItem()
464 cb.onError(mediaId); in getItem()
471 mServiceBinder.getMediaItem(mediaId, receiver, mServiceCallbacks); in getItem()
477 cb.onError(mediaId); in getItem()
965 public void onError(@NonNull String mediaId) { in onError() argument
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java1054 ISessionControllerCallback caller, String mediaId, Bundle extras) { in prepareFromMediaId() argument
1056 mCb.onPrepareFromMediaId(packageName, pid, uid, caller, mediaId, extras); in prepareFromMediaId()
1089 ISessionControllerCallback caller, String mediaId, Bundle extras) { in playFromMediaId() argument
1091 mCb.onPlayFromMediaId(packageName, pid, uid, caller, mediaId, extras); in playFromMediaId()
1349 String mediaId, Bundle extras) { in prepareFromMediaId() argument
1351 Binder.getCallingUid(), caller, mediaId, extras); in prepareFromMediaId()
1375 String mediaId, Bundle extras) { in playFromMediaId() argument
1377 caller, mediaId, extras); in playFromMediaId()