Home
last modified time | relevance | path

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

/frameworks/support/media/src/main/java/androidx/media/
DMediaSession2ImplBase.java153 final MediaPlaylistAgent oldAgent; in updatePlayer() local
160 oldAgent = mPlaylistAgent; in updatePlayer()
184 if (playlistAgent != oldAgent) { in updatePlayer()
186 if (oldAgent != null) { in updatePlayer()
188 oldAgent.unregisterPlaylistEventCallback(mPlaylistEventCallback); in updatePlayer()
198 notifyAgentUpdatedNotLocked(oldAgent); in updatePlayer()
967 private void notifyAgentUpdatedNotLocked(MediaPlaylistAgent oldAgent) { in notifyAgentUpdatedNotLocked() argument
970 List<MediaItem2> oldPlaylist = oldAgent.getPlaylist(); in notifyAgentUpdatedNotLocked()
981 MediaMetadata2 oldMetadata = oldAgent.getPlaylistMetadata(); in notifyAgentUpdatedNotLocked()
992 MediaItem2 oldCurrentItem = oldAgent.getCurrentMediaItem(); in notifyAgentUpdatedNotLocked()
[all …]
/frameworks/av/packages/MediaComponents/src/com/android/media/
DMediaSession2Impl.java228 final MediaPlaylistAgent oldAgent; in updatePlayer() local
232 oldAgent = mPlaylistAgent; in updatePlayer()
252 if (agent != oldAgent) { in updatePlayer()
254 if (oldAgent != null) { in updatePlayer()
256 oldAgent.unregisterPlaylistEventCallback(mPlaylistEventCallback); in updatePlayer()