Home
last modified time | relevance | path

Searched refs:mediaSession (Results 1 – 2 of 2) sorted by relevance

/external/exoplayer/tree/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/
DTimelineQueueNavigator.java41 private final MediaSessionCompat mediaSession; field in TimelineQueueNavigator
54 public TimelineQueueNavigator(MediaSessionCompat mediaSession) { in TimelineQueueNavigator() argument
55 this(mediaSession, DEFAULT_MAX_QUEUE_SIZE); in TimelineQueueNavigator()
68 public TimelineQueueNavigator(MediaSessionCompat mediaSession, int maxQueueSize) { in TimelineQueueNavigator() argument
70 this.mediaSession = mediaSession; in TimelineQueueNavigator()
175 mediaSession.setQueue(Collections.emptyList()); in publishFloatingQueueWindow()
216 mediaSession.setQueue(new ArrayList<>(queue)); in publishFloatingQueueWindow()
DMediaSessionConnector.java409 public final MediaSessionCompat mediaSession; field in MediaSessionConnector
438 public MediaSessionConnector(MediaSessionCompat mediaSession) { in MediaSessionConnector() argument
439 this.mediaSession = mediaSession; in MediaSessionConnector()
449 mediaSession.getController(), /* metadataExtrasPrefix= */ null); in MediaSessionConnector()
451 mediaSession.setFlags(BASE_MEDIA_SESSION_FLAGS); in MediaSessionConnector()
452 mediaSession.setCallback(componentListener, new Handler(looper)); in MediaSessionConnector()
600 mediaSession.setFlags( in setQueueEditor()
710 mediaSession.setMetadata(metadata); in invalidateMediaSessionMetadata()
731 mediaSession.setRepeatMode(PlaybackStateCompat.REPEAT_MODE_NONE); in invalidateMediaSessionPlaybackState()
732 mediaSession.setShuffleMode(PlaybackStateCompat.SHUFFLE_MODE_NONE); in invalidateMediaSessionPlaybackState()
[all …]