Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DBrowsedMediaPlayer.java154 @NonNull AvrcpCmd.ItemAttrCmd attrReq, @NonNull String mediaId) { in ItemAttribSubscriber() argument
156 mMediaId = mediaId; in ItemAttribSubscriber()
709 String mediaId = mHmap.get(uid); in byteToString() local
710 return mediaId; in byteToString()
714 private byte[] stringToByte(String mediaId) { in stringToByte() argument
716 if (!mHmap.containsValue(mediaId)) { /* add to hashmap */ in stringToByte()
719 mHmap.put(uid, mediaId); in stringToByte()
723 if (mHmap.get(uid).equals(mediaId)) { in stringToByte()
DAddressedMediaPlayer.java93 long mediaId = ByteBuffer.wrap(itemAttr.mUid).getLong(); in getItemAttr() local
102 getItemAttrFilterAttr(bdaddr, itemAttr, getCurrentQueueItem(mediaController, mediaId), in getItemAttr()
109 if (item.getQueueId() == mediaId) { in getItemAttr()
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DPlayer.java207 song.mediaId = description.getMediaId(); in saveState()
247 .setMediaId(song.mediaId) in maybeRebuildQueue()
520 public void onPlayFromMediaId(String mediaId, Bundle extras) { in onPlayFromMediaId() argument
521 super.onPlayFromMediaId(mediaId, extras); in onPlayFromMediaId()
523 Log.d(TAG, "onPlayFromMediaId mediaId" + mediaId + " extras=" + extras); in onPlayFromMediaId()
526 requestAudioFocus(() -> startPlayback(mediaId)); in onPlayFromMediaId()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/mockable/
DMediaController.java170 public void prepareFromMediaId(String mediaId, Bundle extras) { in prepareFromMediaId() argument
171 mTransportDelegate.prepareFromMediaId(mediaId, extras); in prepareFromMediaId()
186 public void playFromMediaId(String mediaId, Bundle extras) { in playFromMediaId() argument
187 mTransportDelegate.playFromMediaId(mediaId, extras); in playFromMediaId()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DVideoThumbnailRequest.java60 final Long mediaId = mDescriptor.getMediaStoreId(); in getBitmapForResource() local
62 if (mediaId != null) { in getBitmapForResource()
64 bitmap = Thumbnails.getThumbnail(cr, mediaId, Thumbnails.MICRO_KIND, null); in getBitmapForResource()
/packages/apps/Music/src/com/android/music/
DMediaPickerActivity.java96 long mediaId; in onListItemClick() local
99 mediaId = in onListItemClick()
103 mediaId = in onListItemClick()
107 setResult(RESULT_OK, new Intent().setData(ContentUris.withAppendedId(uri, mediaId))); in onListItemClick()
/packages/apps/Car/Media/src/com/android/car/media/drawer/
DMediaBrowserItemsFetcher.java50 MediaBrowserItemsFetcher(CarDrawerActivity activity, MediaPlaybackModel model, String mediaId, in MediaBrowserItemsFetcher() argument
54 mMediaId = mediaId; in MediaBrowserItemsFetcher()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/mbs/
DA2dpMediaBrowserService.java290 public void onPlayFromMediaId(String mediaId, Bundle extras) {
293 mAvrcpCtrlSrvc.fetchAttrAndPlayItem(mA2dpDevice, mediaId);