Home
last modified time | relevance | path

Searched refs:nextAdGroupIndex (Results 1 – 6 of 6) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DMediaSource.java92 public final int nextAdGroupIndex; field in MediaSource.MediaPeriodId
129 public MediaPeriodId(Object periodUid, long windowSequenceNumber, int nextAdGroupIndex) { in MediaPeriodId() argument
135 nextAdGroupIndex); in MediaPeriodId()
163 int nextAdGroupIndex) { in MediaPeriodId() argument
168 this.nextAdGroupIndex = nextAdGroupIndex; in MediaPeriodId()
176 newPeriodUid, adGroupIndex, adIndexInAdGroup, windowSequenceNumber, nextAdGroupIndex); in copyWithPeriodUid()
200 && nextAdGroupIndex == periodId.nextAdGroupIndex; in equals()
210 result = 31 * result + nextAdGroupIndex; in hashCode()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DMediaPeriodQueue.java417 int nextAdGroupIndex = period.getAdGroupIndexAfterPositionUs(positionUs); in resolveMediaPeriodIdForAds() local
418 return new MediaPeriodId(periodUid, windowSequenceNumber, nextAdGroupIndex); in resolveMediaPeriodIdForAds()
669 int nextAdGroupIndex = period.getAdGroupIndexForPositionUs(mediaPeriodInfo.endPositionUs); in getFollowingMediaPeriodInfo() local
670 if (nextAdGroupIndex == C.INDEX_UNSET) { in getFollowingMediaPeriodInfo()
679 int adIndexInAdGroup = period.getFirstAdIndexToPlay(nextAdGroupIndex); in getFollowingMediaPeriodInfo()
680 return !period.isAdAvailable(nextAdGroupIndex, adIndexInAdGroup) in getFollowingMediaPeriodInfo()
685 nextAdGroupIndex, in getFollowingMediaPeriodInfo()
755 int nextAdGroupIndex = period.getAdGroupIndexAfterPositionUs(startPositionUs); in getMediaPeriodInfoForContent() local
756 MediaPeriodId id = new MediaPeriodId(periodUid, windowSequenceNumber, nextAdGroupIndex); in getMediaPeriodInfoForContent()
761 nextAdGroupIndex != C.INDEX_UNSET in getMediaPeriodInfoForContent()
[all …]
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/
DMediaPeriodQueueTest.java510 int nextAdGroupIndex) { in assertGetNextMediaPeriodInfoReturnsContentMediaPeriod() argument
514 new MediaPeriodId(periodUid, /* windowSequenceNumber= */ 0, nextAdGroupIndex), in assertGetNextMediaPeriodInfoReturnsContentMediaPeriod()
/external/exoplayer/tree/extensions/ima/src/main/java/com/google/android/exoplayer2/ext/ima/
DImaAdsLoader.java773 int nextAdGroupIndex = in getContentProgress() local
776 if (nextAdGroupIndex != expectedAdGroupIndex && nextAdGroupIndex != C.INDEX_UNSET) { in getContentProgress()
777 long nextAdGroupTimeMs = C.usToMs(adPlaybackState.adGroupTimesUs[nextAdGroupIndex]); in getContentProgress()
782 expectedAdGroupIndex = nextAdGroupIndex; in getContentProgress()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/
DDefaultPlaybackSessionManager.java367 return eventTime.mediaPeriodId.nextAdGroupIndex == C.INDEX_UNSET
368 || eventTime.mediaPeriodId.nextAdGroupIndex > adMediaPeriodId.adGroupIndex;
DAnalyticsCollector.java963 && mediaPeriodInfo.mediaPeriodId.nextAdGroupIndex == playerNextAdGroupIndex);