Searched refs:getFirstAdIndexToPlay (Results 1 – 6 of 6) sorted by relevance
76 assertThat(state.adGroups[0].getFirstAdIndexToPlay()).isEqualTo(0); in getFirstAdIndexToPlayIsZero()87 assertThat(state.adGroups[0].getFirstAdIndexToPlay()).isEqualTo(1); in getFirstAdIndexToPlaySkipsPlayedAd()100 assertThat(state.adGroups[0].getFirstAdIndexToPlay()).isEqualTo(1); in getFirstAdIndexToPlaySkipsSkippedAd()114 assertThat(state.adGroups[0].getFirstAdIndexToPlay()).isEqualTo(2); in getFirstAdIndexToPlaySkipsErrorAds()
420 int adIndexInAdGroup = period.getFirstAdIndexToPlay(adGroupIndex); in resolveMediaPeriodIdForAds()679 int adIndexInAdGroup = period.getFirstAdIndexToPlay(nextAdGroupIndex); in getFollowingMediaPeriodInfo()730 adIndexInAdGroup == period.getFirstAdIndexToPlay(adGroupIndex) in getMediaPeriodInfoForAd()
519 public int getFirstAdIndexToPlay(int adGroupIndex) { in getFirstAdIndexToPlay() method in Timeline.Period520 return adPlaybackState.adGroups[adGroupIndex].getFirstAdIndexToPlay(); in getFirstAdIndexToPlay()
938 period.getFirstAdIndexToPlay(periodId.adGroupIndex) == periodId.adIndexInAdGroup in seekToInternal()1255 firstPeriodId.adIndexInAdGroup == period.getFirstAdIndexToPlay(firstPeriodId.adGroupIndex) in getDummyFirstMediaPeriodPosition()2260 newPeriodId.adIndexInAdGroup == period.getFirstAdIndexToPlay(newPeriodId.adGroupIndex)
78 public int getFirstAdIndexToPlay() { in getFirstAdIndexToPlay() method in AdPlaybackState.AdGroup100 return count == C.LENGTH_UNSET || getFirstAdIndexToPlay() < count; in hasUnplayedAds()
1250 int adIndexInAdGroup = adPlaybackState.adGroups[adGroupIndex].getFirstAdIndexToPlay(); in stopAdInternal()1316 playingAdIndexInAdGroup = adPlaybackState.adGroups[adGroupIndex].getFirstAdIndexToPlay(); in handleAdPrepareError()