Home
last modified time | relevance | path

Searched refs:STATE_ENDED (Results 1 – 25 of 25) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/
DExoPlayerTest.java563 .waitForPlaybackState(Player.STATE_ENDED) in illegalSeekPositionDoesThrow()
1185 Player.STATE_ENDED); in settingNewStartPositionPossibleAfterStopWithReset()
1502 .waitForPlaybackState(Player.STATE_ENDED) in testInvalidSeekPositionAfterSourceInfoRefreshWithShuffleModeEnabledUsesCorrectFirstPeriod()
1534 .waitForPlaybackState(Player.STATE_ENDED) in restartAfterEmptyTimelineWithShuffleModeEnabledUsesCorrectFirstPeriod()
2341 new ActionSchedule.Builder(TAG).waitForPlaybackState(Player.STATE_ENDED); in switchSurfaceOnEndedState()
2652 .waitForPlaybackState(Player.STATE_ENDED) in recursiveTimelineChangeInStopAreReportedInCorrectOrder()
3836 .waitForPlaybackState(Player.STATE_ENDED) in clearMediaItems()
3848 Player.STATE_BUFFERING, Player.STATE_READY, Player.STATE_ENDED); in clearMediaItems()
3927 .waitForPlaybackState(Player.STATE_ENDED) in modifyPlaylistUnprepared_remainsInIdle_needsPrepareForBuffering()
3945 Player.STATE_ENDED); in modifyPlaylistUnprepared_remainsInIdle_needsPrepareForBuffering()
[all …]
DAudioFocusManagerTest.java160 assertThat(audioFocusManager.updateAudioFocus(/* playWhenReady= */ true, Player.STATE_ENDED)) in setAudioAttributes_inEndedState_requestsAudioFocus()
/external/exoplayer/tree/extensions/leanback/src/main/java/com/google/android/exoplayer2/ext/leanback/
DLeanbackPlayerAdapter.java155 return playbackState != Player.STATE_IDLE && playbackState != Player.STATE_ENDED in isPlaying()
176 } else if (player.getPlaybackState() == Player.STATE_ENDED) { in play()
234 if (playbackState == Player.STATE_ENDED) { in notifyStateChanged()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/analytics/
DPlaybackStatsListenerTest.java109 playbackStatsListener.onPlaybackStateChanged(TEST_EVENT_TIME, Player.STATE_ENDED); in playback_withKeepHistory_updatesStats()
123 playbackStatsListener.onPlaybackStateChanged(TEST_EVENT_TIME, Player.STATE_ENDED); in playback_withoutKeepHistory_updatesStats()
DAnalyticsCollectorTest.java553 .waitForPlaybackState(Player.STATE_ENDED) in reprepareAfterError()
845 .waitForPlaybackState(Player.STATE_ENDED) in adPlayback()
1045 .waitForPlaybackState(Player.STATE_ENDED) in seekAfterMidroll()
/external/exoplayer/tree/demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/
DPlayerManager.java281 playbackState != Player.STATE_IDLE && playbackState != Player.STATE_ENDED in updateCurrentItemIndex()
309 if (playbackState != Player.STATE_ENDED) { in setCurrentPlayer()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DPlayer.java632 @IntDef({STATE_IDLE, STATE_BUFFERING, STATE_READY, STATE_ENDED})
651 int STATE_ENDED = 4; field
DExoPlayerImplInternal.java584 setState(playbackInfo.timeline.isEmpty() ? Player.STATE_ENDED : Player.STATE_BUFFERING); in prepareInternal()
781 || playbackInfo.playbackState == Player.STATE_ENDED) { in doSomeWork()
850 setState(Player.STATE_ENDED); in doSomeWork()
886 } else if (enabledRendererCount != 0 && playbackInfo.playbackState != Player.STATE_ENDED) { in doSomeWork()
955 setState(Player.STATE_ENDED); in seekToInternal()
987 /* forceBufferingState= */ playbackInfo.playbackState == Player.STATE_ENDED); in seekToInternal()
1467 if (playbackInfo.playbackState != Player.STATE_ENDED
1500 if (playbackInfo.playbackState != Player.STATE_ENDED) {
1597 setState(Player.STATE_ENDED);
2182 forceBufferingState = playbackInfo.playbackState == Player.STATE_ENDED;
DExoPlayerImpl.java295 ? Player.STATE_ENDED in prepare()
1009 maskingPlaybackState = STATE_ENDED; in setMediaSourcesInternal()
1055 && playbackInfo.playbackState != STATE_ENDED in removeMediaItemsInternal()
1060 playbackInfo = playbackInfo.copyWithPlaybackState(STATE_ENDED); in removeMediaItemsInternal()
DSimpleExoPlayer.java1959 case Player.STATE_ENDED: in updateWakeAndWifiLock()
/external/exoplayer/tree/extensions/opus/src/androidTest/java/com/google/android/exoplayer2/ext/opus/
DOpusPlaybackTest.java109 if (playbackState == Player.STATE_ENDED in onPlaybackStateChanged()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DDebugTextViewHelper.java125 case Player.STATE_ENDED: in getPlayerStateString()
DPlayerControlView.java1018 } else if (playbackState != Player.STATE_ENDED && playbackState != Player.STATE_IDLE) { in updateProgress()
1159 && player.getPlaybackState() != Player.STATE_ENDED in shouldShowPauseButton()
1282 } else if (player.getPlaybackState() == Player.STATE_ENDED) { in onClick()
DPlayerNotificationManager.java1214 return player.getPlaybackState() != Player.STATE_ENDED in shouldShowPauseButton()
1371 } else if (player.getPlaybackState() == Player.STATE_ENDED) { in onReceive()
DPlayerView.java1280 || playbackState == Player.STATE_ENDED in shouldShowControllerIndefinitely()
/external/exoplayer/tree/extensions/flac/src/androidTest/java/com/google/android/exoplayer2/ext/flac/
DFlacPlaybackTest.java126 if (playbackState == Player.STATE_ENDED in onPlaybackStateChanged()
/external/exoplayer/tree/extensions/vp9/src/androidTest/java/com/google/android/exoplayer2/ext/vp9/
DVpxPlaybackTest.java142 if (playbackState == Player.STATE_ENDED in onPlaybackStateChanged()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/
DPlaybackStatsListener.java230 tracker.onPlaybackStateChanged(eventTime, Player.STATE_ENDED, /* belongsToPlayback= */ false); in onSessionFinished()
550 if (state == Player.STATE_IDLE || state == Player.STATE_ENDED) { in onPlaybackStateChanged()
916 } else if (playerPlaybackState == Player.STATE_ENDED) { in resolveNewPlaybackState()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DExoHostedTest.java192 if (playbackState == Player.STATE_ENDED in onPlayerStateChanged()
DExoPlayerTestRunner.java629 if (playbackState == Player.STATE_ENDED in onPlaybackStateChanged()
/external/exoplayer/tree/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/
DMediaSessionConnector.java952 case Player.STATE_ENDED: in getMediaSessionPlaybackState()
1148 } else if (player.getPlaybackState() == Player.STATE_ENDED) { in onPlay()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DEventLogger.java569 case Player.STATE_ENDED: in getStateString()
/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/
DPlayerActivity.java508 if (playbackState == Player.STATE_ENDED) { in onPlaybackStateChanged()
/external/exoplayer/tree/extensions/ima/src/main/java/com/google/android/exoplayer2/ext/ima/
DImaAdsLoader.java1160 } else if (imaAdState != IMA_AD_STATE_NONE && playbackState == Player.STATE_ENDED) { in handlePlayerStateChanged()
/external/exoplayer/tree/
DRELEASENOTES.md850 * HLS: Fix transition to STATE_ENDED when playing fragmented mp4 in chunkless