Searched refs:bufferedPosition (Results 1 – 10 of 10) sorted by relevance
/frameworks/support/media/api22/android/support/v4/media/session/ |
D | PlaybackStateCompatApi22.java | 32 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/ |
D | PlaybackStateCompatApi21.java | 64 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/ |
D | PlaybackState.java | 297 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/ |
D | PlaybackTransportControlGlueSample.java | 358 long bufferedPosition = getBufferedPosition(); in createPlaybackStateBasedOnAdapterState() local 388 return playbackStateCompatBuilder.setBufferedPosition(bufferedPosition).build(); in createPlaybackStateBasedOnAdapterState()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/media/ |
D | MediaControllerAdapterTest.java | 704 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/ |
D | PlaybackStateCompat.java | 553 PlaybackStateCompat(int state, long position, long bufferedPosition, in PlaybackStateCompat() argument 559 mBufferedPosition = bufferedPosition; in PlaybackStateCompat()
|
/frameworks/support/media/src/androidTest/java/androidx/media/ |
D | MediaSession2Test.java | 641 final long bufferedPosition = 900000; in testGetBufferedPosition() local 642 mPlayer.mBufferedPosition = bufferedPosition; in testGetBufferedPosition() 643 assertEquals(bufferedPosition, mSession.getBufferedPosition()); in testGetBufferedPosition()
|
D | MediaController2Test.java | 217 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/ |
D | MediaSession2Impl.java | 786 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/ |
D | MediaController2Test_copied.java | 228 final long bufferedPosition = 900000; in testGettersAfterConnected() local 236 mPlayer.mBufferedPosition = bufferedPosition; in testGettersAfterConnected() 244 assertEquals(bufferedPosition, controller.getBufferedPosition()); in testGettersAfterConnected()
|