Home
last modified time | relevance | path

Searched refs:STATE_BUFFERING (Results 1 – 17 of 17) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/analytics/
DPlaybackStatsListenerTest.java86 playbackStatsListener.onPlaybackStateChanged(EMPTY_TIMELINE_EVENT_TIME, Player.STATE_BUFFERING); in stateChangeEvent_toNonIdle_createsInitialPlaybackStats()
107 playbackStatsListener.onPlaybackStateChanged(TEST_EVENT_TIME, Player.STATE_BUFFERING); in playback_withKeepHistory_updatesStats()
121 playbackStatsListener.onPlaybackStateChanged(TEST_EVENT_TIME, Player.STATE_BUFFERING); in playback_withoutKeepHistory_updatesStats()
137 playbackStatsListener.onPlaybackStateChanged(TEST_EVENT_TIME, Player.STATE_BUFFERING); in finishedSession_callsCallback()
168 playbackStatsListener.onPlaybackStateChanged(eventTimeWindow0, Player.STATE_BUFFERING); in finishAllSessions_callsAllPendingCallbacks()
169 playbackStatsListener.onPlaybackStateChanged(eventTimeWindow1, Player.STATE_BUFFERING); in finishAllSessions_callsAllPendingCallbacks()
183 playbackStatsListener.onPlaybackStateChanged(TEST_EVENT_TIME, Player.STATE_BUFFERING); in finishAllSessions_doesNotCallCallbackAgainWhenSessionWouldBeAutomaticallyFinished()
DAnalyticsCollectorTest.java705 .waitForPlaybackState(Player.STATE_BUFFERING) in playlistOperations()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/
DExoPlayerTest.java551 .waitForPlaybackState(Player.STATE_BUFFERING) in illegalSeekPositionDoesThrow()
913 .waitForPlaybackState(Player.STATE_BUFFERING) in setPlaybackParametersBeforePreparationCompletesSucceeds()
961 .waitForPlaybackState(Player.STATE_BUFFERING) in seekBeforePreparationCompletes_seeksToCorrectPosition()
1180 Player.STATE_BUFFERING, in settingNewStartPositionPossibleAfterStopWithReset()
1183 Player.STATE_BUFFERING, in settingNewStartPositionPossibleAfterStopWithReset()
1364 .waitForPlaybackState(Player.STATE_BUFFERING) in stopDuringPreparationOverwritesPreparation()
1417 .waitForPlaybackState(Player.STATE_BUFFERING) in reprepareAfterPlaybackError()
1498 .waitForPlaybackState(Player.STATE_BUFFERING) in testInvalidSeekPositionAfterSourceInfoRefreshWithShuffleModeEnabledUsesCorrectFirstPeriod()
1742 .waitForPlaybackState(Player.STATE_BUFFERING) in playbackErrorTwiceStillKeepsTimeline()
1773 .waitForPlaybackState(Player.STATE_BUFFERING) in sendMessagesDuringPreparation()
[all …]
DAudioFocusManagerTest.java177 audioFocusManager.updateAudioFocus(/* playWhenReady= */ true, Player.STATE_BUFFERING)) in updateAudioFocus_idleToBuffering_setsPlayerCommandPlayWhenReady()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DPlayer.java632 @IntDef({STATE_IDLE, STATE_BUFFERING, STATE_READY, STATE_ENDED})
642 int STATE_BUFFERING = 2; field
DExoPlayerImplInternal.java584 setState(playbackInfo.timeline.isEmpty() ? Player.STATE_ENDED : Player.STATE_BUFFERING); in prepareInternal()
665 } else if (playbackInfo.playbackState == Player.STATE_BUFFERING) { in setPlayWhenReadyInternal()
852 } else if (playbackInfo.playbackState == Player.STATE_BUFFERING in doSomeWork()
861 setState(Player.STATE_BUFFERING); in doSomeWork()
865 if (playbackInfo.playbackState == Player.STATE_BUFFERING) { in doSomeWork()
884 || playbackInfo.playbackState == Player.STATE_BUFFERING) { in doSomeWork()
976 && (playbackInfo.playbackState == Player.STATE_BUFFERING in seekToInternal()
1020 setState(Player.STATE_BUFFERING); in seekToPeriodPosition()
1292 || playbackInfo.playbackState == Player.STATE_BUFFERING) { in sendMessageToTarget()
DExoPlayerImpl.java296 : Player.STATE_BUFFERING); in prepare()
583 getPlaybackState() == Player.STATE_IDLE ? Player.STATE_IDLE : Player.STATE_BUFFERING; in seekTo()
1011 maskingPlaybackState = STATE_BUFFERING; in setMediaSourcesInternal()
DSimpleExoPlayer.java1266 int playerCommand = audioFocusManager.updateAudioFocus(playWhenReady, Player.STATE_BUFFERING); in prepare()
1955 case Player.STATE_BUFFERING: in updateWakeAndWifiLock()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DDebugTextViewHelper.java122 case Player.STATE_BUFFERING: in getPlayerStateString()
DPlayerNotificationManager.java1209 return (playbackState == Player.STATE_BUFFERING || playbackState == Player.STATE_READY) in getOngoing()
DPlayerView.java1407 && player.getPlaybackState() == Player.STATE_BUFFERING in updateBuffering()
/external/exoplayer/tree/extensions/leanback/src/main/java/com/google/android/exoplayer2/ext/leanback/
DLeanbackPlayerAdapter.java233 callback.onBufferingStateChanged(this, playbackState == Player.STATE_BUFFERING); in notifyStateChanged()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/
DPlaybackStatsListener.java547 if (state != Player.STATE_BUFFERING) { in onPlaybackStateChanged()
918 } else if (playerPlaybackState == Player.STATE_BUFFERING) { in resolveNewPlaybackState()
/external/exoplayer/tree/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/
DMediaSessionConnector.java948 case Player.STATE_BUFFERING: in getMediaSessionPlaybackState()
949 return PlaybackStateCompat.STATE_BUFFERING; in getMediaSessionPlaybackState()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DEventLogger.java567 case Player.STATE_BUFFERING: in getStateString()
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/
DCastPlayer.java909 return STATE_BUFFERING; in fetchPlaybackState()
/external/exoplayer/tree/extensions/ima/src/main/java/com/google/android/exoplayer2/ext/ima/
DImaAdsLoader.java1157 && playbackState == Player.STATE_BUFFERING in handlePlayerStateChanged()