Home
last modified time | relevance | path

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

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DDefaultLoadControl.java374 long playbackPositionUs, long bufferedDurationUs, float playbackSpeed) { in shouldContinueLoading() argument
386 if (bufferedDurationUs < minBufferUs) { in shouldContinueLoading()
388 if (!isBuffering && bufferedDurationUs < 500_000) { in shouldContinueLoading()
393 } else if (bufferedDurationUs >= maxBufferUs || targetBufferSizeReached) { in shouldContinueLoading()
401 long bufferedDurationUs, float playbackSpeed, boolean rebuffering) { in shouldStartPlayback() argument
402 bufferedDurationUs = Util.getPlayoutDurationForMediaDuration(bufferedDurationUs, playbackSpeed); in shouldStartPlayback()
405 || bufferedDurationUs >= minBufferDurationUs in shouldStartPlayback()
DLoadControl.java103 long playbackPositionUs, long bufferedDurationUs, float playbackSpeed); in shouldContinueLoading() argument
118 boolean shouldStartPlayback(long bufferedDurationUs, float playbackSpeed, boolean rebuffering); in shouldStartPlayback() argument
DMediaPeriodQueue.java567 long bufferedDurationUs = in getFollowingMediaPeriodInfo() local
597 /* defaultPositionProjectionUs= */ Math.max(0, bufferedDurationUs)); in getFollowingMediaPeriodInfo()
654 /* defaultPositionProjectionUs= */ Math.max(0, bufferedDurationUs)); in getFollowingMediaPeriodInfo()
DExoPlayerImplInternal.java1951 long bufferedDurationUs =
1959 playbackPositionUs, bufferedDurationUs, mediaClock.getPlaybackSpeed());
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsChunkSource.java239 long bufferedDurationUs = loadPositionUs - playbackPositionUs; in getNextChunk() local
249 bufferedDurationUs = Math.max(0, bufferedDurationUs - subtractedDurationUs); in getNextChunk()
258 playbackPositionUs, bufferedDurationUs, timeToLiveEdgeUs, queue, mediaChunkIterators); in getNextChunk()
559 long bufferedDurationUs, in updateSelectedTrack() argument
DHlsSampleStreamWrapper.java403 long bufferedDurationUs = positionUs < 0 ? -positionUs : 0; in selectTracks()
409 bufferedDurationUs, in selectTracks()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeChunkSource.java111 long bufferedDurationUs = loadPositionUs - playbackPositionUs;
122 playbackPositionUs, bufferedDurationUs, C.TIME_UNSET, queue, chunkIterators);
DFakeTrackSelection.java126 long bufferedDurationUs, in updateSelectedTrack() argument
DMediaPeriodAsserts.java254 long bufferedDurationUs, in updateSelectedTrack() argument
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/trackselection/
DTrackSelection.java228 long bufferedDurationUs, in updateSelectedTrack() argument
DFixedTrackSelection.java94 long bufferedDurationUs, in updateSelectedTrack() argument
DAdaptiveTrackSelection.java429 long bufferedDurationUs, in updateSelectedTrack() argument
454 && bufferedDurationUs < minDurationForQualityIncreaseUs(availableDurationUs)) { in updateSelectedTrack()
459 && bufferedDurationUs >= maxDurationForQualityDecreaseUs) { in updateSelectedTrack()
DRandomTrackSelection.java101 long bufferedDurationUs, in updateSelectedTrack() argument
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/
DDefaultSsChunkSource.java224 long bufferedDurationUs = loadPositionUs - playbackPositionUs;
233 playbackPositionUs, bufferedDurationUs, timeToLiveEdgeUs, queue, chunkIterators);
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/
DDefaultDashChunkSource.java257 long bufferedDurationUs = loadPositionUs - playbackPositionUs;
300 playbackPositionUs, bufferedDurationUs, timeToLiveEdgeUs, queue, chunkIterators);
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/
DExoPlayerTest.java3515 long playbackPositionUs, long bufferedDurationUs, float playbackSpeed) { in loadControlNeverWantsToLoad_throwsIllegalStateException()
3521 long bufferedDurationUs, float playbackSpeed, boolean rebuffering) { in loadControlNeverWantsToLoad_throwsIllegalStateException()
3558 long playbackPositionUs, long bufferedDurationUs, float playbackSpeed) { in nextLoadPositionExceedingLoadControlMaxBuffer_whileCurrentLoadInProgress_doesNotThrowException()
3559 return bufferedDurationUs < maxBufferUs; in nextLoadPositionExceedingLoadControlMaxBuffer_whileCurrentLoadInProgress_doesNotThrowException()
3564 long bufferedDurationUs, float playbackSpeed, boolean rebuffering) { in nextLoadPositionExceedingLoadControlMaxBuffer_whileCurrentLoadInProgress_doesNotThrowException()
3629 long playbackPositionUs, long bufferedDurationUs, float playbackSpeed) { in loadControlNeverWantsToPlay_playbackDoesNotGetStuck()
3635 long bufferedDurationUs, float playbackSpeed, boolean rebuffering) { in loadControlNeverWantsToPlay_playbackDoesNotGetStuck()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/
DDownloadHelper.java1167 long bufferedDurationUs, in updateSelectedTrack() argument