Home
last modified time | relevance | path

Searched refs:mpb (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/media/java/android/media/
DMediaPlayerBase.java287 public void onCurrentDataSourceChanged(@NonNull MediaPlayerBase mpb, in onCurrentDataSourceChanged() argument
295 public void onMediaPrepared(@NonNull MediaPlayerBase mpb, @NonNull DataSourceDesc dsd) { } in onMediaPrepared() argument
303 public void onPlayerStateChanged(@NonNull MediaPlayerBase mpb, @PlayerState int state) { } in onPlayerStateChanged() argument
311 public void onBufferingStateChanged(@NonNull MediaPlayerBase mpb, in onBufferingStateChanged() argument
319 public void onPlaybackSpeedChanged(@NonNull MediaPlayerBase mpb, float speed) { } in onPlaybackSpeedChanged() argument
328 public void onSeekCompleted(@NonNull MediaPlayerBase mpb, long position) { } in onSeekCompleted() argument
DMediaSession2.java473 public void onSeekCompleted(@NonNull MediaSession2 session, @NonNull MediaPlayerBase mpb, in onSeekCompleted() argument
/frameworks/support/media/src/main/java/androidx/media/
DMediaPlayerInterface.java307 public void onCurrentDataSourceChanged(@NonNull MediaPlayerInterface mpb, in onCurrentDataSourceChanged() argument
316 public void onMediaPrepared(@NonNull MediaPlayerInterface mpb, in onMediaPrepared() argument
325 public void onPlayerStateChanged(@NonNull MediaPlayerInterface mpb, in onPlayerStateChanged() argument
334 public void onBufferingStateChanged(@NonNull MediaPlayerInterface mpb, in onBufferingStateChanged() argument
342 public void onPlaybackSpeedChanged(@NonNull MediaPlayerInterface mpb, float speed) { } in onPlaybackSpeedChanged() argument
351 public void onSeekCompleted(@NonNull MediaPlayerInterface mpb, long position) { } in onSeekCompleted() argument
DMediaSession2ImplBase.java1207 public void onMediaPrepared(final MediaPlayerInterface mpb, final DataSourceDesc dsd) { in onMediaPrepared() argument
1264 session.getCallback().onMediaPrepared(session.getInstance(), mpb, item); in onMediaPrepared()
1291 public void onBufferingStateChanged(final MediaPlayerInterface mpb, in onBufferingStateChanged() argument
1305 session.getInstance(), mpb, item, state); in onBufferingStateChanged()
1317 public void onPlaybackSpeedChanged(final MediaPlayerInterface mpb, final float speed) { in onPlaybackSpeedChanged() argument
1325 session.getCallback().onPlaybackSpeedChanged(session.getInstance(), mpb, speed); in onPlaybackSpeedChanged()
1337 public void onSeekCompleted(final MediaPlayerInterface mpb, final long position) { in onSeekCompleted() argument
1345 session.getCallback().onSeekCompleted(session.getInstance(), mpb, position); in onSeekCompleted()
DSessionPlaylistAgentImplBase.java71 public void onCurrentDataSourceChanged(@NonNull MediaPlayerInterface mpb, in onCurrentDataSourceChanged() argument
74 if (mPlayer != mpb) { in onCurrentDataSourceChanged()
/frameworks/av/packages/MediaComponents/src/com/android/media/
DMediaSession2Impl.java842 public void onCurrentDataSourceChanged(MediaPlayerBase mpb, DataSourceDesc dsd) { in onCurrentDataSourceChanged() argument
852 session.getCallback().onCurrentMediaItemChanged(session.getInstance(), mpb, item); in onCurrentDataSourceChanged() local
858 public void onMediaPrepared(MediaPlayerBase mpb, DataSourceDesc dsd) { in onMediaPrepared() argument
868 session.getCallback().onMediaPrepared(session.getInstance(), mpb, item); in onMediaPrepared() local
874 public void onPlayerStateChanged(MediaPlayerBase mpb, int state) { in onPlayerStateChanged() argument
880 session.getCallback().onPlayerStateChanged(session.getInstance(), mpb, state); in onPlayerStateChanged() local
886 public void onBufferingStateChanged(MediaPlayerBase mpb, DataSourceDesc dsd, int state) { in onBufferingStateChanged() argument
897 session.getInstance(), mpb, item, state); in onBufferingStateChanged() local
DSessionPlaylistAgent.java74 public void onCurrentDataSourceChanged(@NonNull MediaPlayerBase mpb, in onCurrentDataSourceChanged() argument
76 if (mPlayer != mpb) { in onCurrentDataSourceChanged()
/frameworks/support/media/src/androidTest/java/androidx/media/
DMediaPlayer2Test.java1977 public void onCurrentDataSourceChanged(MediaPlayerInterface mpb, DataSourceDesc dsd) { in testPlayerEventCallback()
1982 public void onMediaPrepared(MediaPlayerInterface mpb, DataSourceDesc dsd) { in testPlayerEventCallback()
1987 public void onPlayerStateChanged(MediaPlayerInterface mpb, int state) { in testPlayerEventCallback()
1993 public void onBufferingStateChanged(MediaPlayerInterface mpb, DataSourceDesc dsd, in testPlayerEventCallback()
2000 public void onPlaybackSpeedChanged(MediaPlayerInterface mpb, float speed) { in testPlayerEventCallback()
2006 public void onSeekCompleted(MediaPlayerInterface mpb, long position) { in testPlayerEventCallback()
DMediaSession2Test.java217 MediaSession2 session, MediaPlayerInterface mpb, long position) { in testSeekCompleted()
218 assertEquals(mPlayer, mpb); in testSeekCompleted()