Searched refs:mMediaMetadata (Results 1 – 3 of 3) sorted by relevance
77 private final MediaMetadataCompat mMediaMetadata; field in TmaMediaItem103 mMediaMetadata = metadata; in TmaMediaItem()148 return mMediaMetadata.getString(METADATA_KEY_MEDIA_ID); in getMediaId()153 long result = mMediaMetadata.getLong(METADATA_KEY_DURATION); in getDuration()162 return new TmaMediaItem(mFlags, mPlayableStyle, mBrowsableStyle, mMediaMetadata, in append()167 session.setMetadata(mMediaMetadata); in updateSessionMetadata()196 MediaDescriptionCompat metadataDescription = mMediaMetadata.getDescription(); in buildDescription()
73 public MediaMetadataCompat mMediaMetadata; field in PlaybackViewModelTest91 when(mMediaMetadata.getDescription()).thenReturn(mMediaDescriptionCompat); in setUp()103 mCapturedCallback.getValue().onMetadataChanged(mMediaMetadata); in testGetMetadata()108 assertThat(observedValue).isEqualTo(new MediaItemMetadata(mMediaMetadata)); in testGetMetadata()118 mCapturedCallback.getValue().onMetadataChanged(mMediaMetadata); in testGetPlaybackState()193 when(mMediaController.getMetadata()).thenReturn(mMediaMetadata); in testChangeMediaSource_consistentController()195 deliverValuesToCallbacks(mCapturedCallback, mMediaMetadata, mPlaybackState); in testChangeMediaSource_consistentController()214 if (mPlaybackViewModel.getMediaMetadata() == mMediaMetadata) { in testChangeMediaSource_consistentController()
218 return mMediaControllerCallback.mMediaMetadata; in getMediaMetadata()225 private MediaMetadataCompat mMediaMetadata; field in PlaybackViewModel.MediaControllerCallback238 mMediaMetadata = null; in onMediaControllerChanged()277 mMediaMetadata = null; in onMetadataChanged()279 mMediaMetadata = mmdCompat; in onMetadataChanged()282 (mMediaMetadata != null) ? new MediaItemMetadata(mMediaMetadata) : null; in onMetadataChanged()314 new PlaybackStateWrapper(mMediaController, mMediaMetadata, mPlaybackState)); in updatePlaybackStatus()