Searched refs:adCount (Results 1 – 3 of 3) sorted by relevance
368 public AdPlaybackState withAdCount(int adGroupIndex, int adCount) { in withAdCount() argument369 Assertions.checkArgument(adCount > 0); in withAdCount()370 if (adGroups[adGroupIndex].count == adCount) { in withAdCount()374 adGroups[adGroupIndex] = this.adGroups[adGroupIndex].withAdCount(adCount); in withAdCount()
208 int adCount = adIndexInAdGroup + 1; in createPeriod() local210 Arrays.copyOf(adMediaSourceHolders[adGroupIndex], adCount); in createPeriod()
1095 int adCount = adPodInfo.getTotalAds(); in handleAdEvent() local1098 Log.d(TAG, "Loaded ad " + adPosition + " of " + adCount + " in group " + adGroupIndex); in handleAdEvent()1101 if (adCount != oldAdCount) { in handleAdEvent()1103 adPlaybackState = adPlaybackState.withAdCount(adGroupIndex, adCount); in handleAdEvent()1107 Log.w(TAG, "Unexpected ad count in LOADED, " + adCount + ", expected " + oldAdCount); in handleAdEvent()