Home
last modified time | relevance | path

Searched refs:mediaMetadata (Results 1 – 3 of 3) sorted by relevance

/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackControlHelper.java195 MediaMetadata mediaMetadata = mMediaController.getMetadata(); in getMediaId() local
196 return mediaMetadata == null in getMediaId()
198 : mediaMetadata.getString(MediaMetadata.METADATA_KEY_MEDIA_ID); in getMediaId()
203 MediaMetadata mediaMetadata = mMediaController.getMetadata(); in getMediaTitle() local
204 return mediaMetadata == null in getMediaTitle()
206 : mediaMetadata.getString(MediaMetadata.METADATA_KEY_TITLE); in getMediaTitle()
211 MediaMetadata mediaMetadata = mMediaController.getMetadata(); in getMediaSubtitle() local
212 return mediaMetadata == null in getMediaSubtitle()
214 : mediaMetadata.getString(MediaMetadata.METADATA_KEY_DISPLAY_SUBTITLE); in getMediaSubtitle()
219 MediaMetadata mediaMetadata = mMediaController.getMetadata(); in getMediaDuration() local
[all …]
/packages/apps/TV/tests/robotests/src/com/android/tv/
DMediaSessionWrapperTest.java151 private Map<String, Object> asMap(MediaMetadata mediaMetadata) { in asMap() argument
152 return Maps.asMap(mediaMetadata.keySet(), key -> mediaMetadata.getString(key)); in asMap()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/
DMediaPlayerWrapper.java454 public void onMetadataChanged(@Nullable MediaMetadata mediaMetadata) { in onMetadataChanged() argument
469 + Util.toMetadata(mContext, mediaMetadata)); in onMetadataChanged()
471 if (!Objects.equals(mediaMetadata, getMetadata())) { in onMetadataChanged()
483 if (Objects.equals(Util.toMetadata(mContext, mediaMetadata), mCurrentData.metadata)) { in onMetadataChanged()