Home
last modified time | relevance | path

Searched refs:bufferedPosition (Results 1 – 10 of 10) sorted by relevance

/frameworks/support/media/api22/android/support/v4/media/session/
DPlaybackStateCompatApi22.java32 public static Object newInstance(int state, long position, long bufferedPosition, in newInstance() argument
38 stateObj.setBufferedPosition(bufferedPosition); in newInstance()
/frameworks/support/media/api21/android/support/v4/media/session/
DPlaybackStateCompatApi21.java64 public static Object newInstance(int state, long position, long bufferedPosition, in newInstance() argument
70 stateObj.setBufferedPosition(bufferedPosition); in newInstance()
/frameworks/base/media/java/android/media/session/
DPlaybackState.java297 long bufferedPosition, long transportControls, in PlaybackState() argument
304 mBufferedPosition = bufferedPosition; in PlaybackState()
1028 public Builder setBufferedPosition(long bufferedPosition) {
1029 mBufferedPosition = bufferedPosition;
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
DPlaybackTransportControlGlueSample.java358 long bufferedPosition = getBufferedPosition(); in createPlaybackStateBasedOnAdapterState() local
388 return playbackStateCompatBuilder.setBufferedPosition(bufferedPosition).build(); in createPlaybackStateBasedOnAdapterState()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/media/
DMediaControllerAdapterTest.java704 long bufferedPosition) { in createPlaybackStatePlayingWithBufferedPosition() argument
711 playbackStateBuilder.setBufferedPosition(bufferedPosition); in createPlaybackStatePlayingWithBufferedPosition()
723 long bufferedPosition) { in createPlaybackStateNotPlayingWithBufferedPosition() argument
730 playbackStateBuilder.setBufferedPosition(bufferedPosition); in createPlaybackStateNotPlayingWithBufferedPosition()
/frameworks/support/media/src/main/java/android/support/v4/media/session/
DPlaybackStateCompat.java553 PlaybackStateCompat(int state, long position, long bufferedPosition, in PlaybackStateCompat() argument
559 mBufferedPosition = bufferedPosition; in PlaybackStateCompat()
/frameworks/support/media/src/androidTest/java/androidx/media/
DMediaSession2Test.java641 final long bufferedPosition = 900000; in testGetBufferedPosition() local
642 mPlayer.mBufferedPosition = bufferedPosition; in testGetBufferedPosition()
643 assertEquals(bufferedPosition, mSession.getBufferedPosition()); in testGetBufferedPosition()
DMediaController2Test.java217 final long bufferedPosition = 900000; in testGettersAfterConnected() local
225 mPlayer.mBufferedPosition = bufferedPosition; in testGettersAfterConnected()
232 assertEquals(bufferedPosition, controller.getBufferedPosition()); in testGettersAfterConnected()
/frameworks/av/packages/MediaComponents/src/com/android/media/
DMediaSession2Impl.java786 final long bufferedPosition = player.getBufferedPosition(); in notifyPlayerUpdatedNotLocked() local
787 if (bufferedPosition != oldPlayer.getBufferedPosition()) { in notifyPlayerUpdatedNotLocked()
788 mSessionStub.notifyBufferedPositionChangedNotLocked(bufferedPosition); in notifyPlayerUpdatedNotLocked()
/frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/androidx/media/test/client/
DMediaController2Test_copied.java228 final long bufferedPosition = 900000; in testGettersAfterConnected() local
236 mPlayer.mBufferedPosition = bufferedPosition; in testGettersAfterConnected()
244 assertEquals(bufferedPosition, controller.getBufferedPosition()); in testGettersAfterConnected()