Searched refs:AD_STATE_UNAVAILABLE (Results 1 – 4 of 4) sorted by relevance
55 assertThat(state.adGroups[0].states[0]).isEqualTo(AdPlaybackState.AD_STATE_UNAVAILABLE); in setAdUriBeforeAdCount()67 assertThat(state.adGroups[0].states[1]).isEqualTo(AdPlaybackState.AD_STATE_UNAVAILABLE); in setAdErrorBeforeAdCount()88 assertThat(state.adGroups[0].states[1]).isEqualTo(AdPlaybackState.AD_STATE_UNAVAILABLE); in getFirstAdIndexToPlaySkipsPlayedAd()101 assertThat(state.adGroups[0].states[1]).isEqualTo(AdPlaybackState.AD_STATE_UNAVAILABLE); in getFirstAdIndexToPlaySkipsSkippedAd()
89 if (states[nextAdIndexToPlay] == AD_STATE_UNAVAILABLE in getNextAdIndexToPlay()152 Assertions.checkArgument(states[index] == AD_STATE_UNAVAILABLE); in withAdUri()176 states[index] == AD_STATE_UNAVAILABLE in withAdState()216 if (states[i] == AD_STATE_AVAILABLE || states[i] == AD_STATE_UNAVAILABLE) { in withAllAdsSkipped()228 Arrays.fill(states, oldStateCount, newStateCount, AD_STATE_UNAVAILABLE); in copyStatesWithSpaceForAdCount()250 AD_STATE_UNAVAILABLE,258 public static final int AD_STATE_UNAVAILABLE = 0; field in AdPlaybackState
592 && adGroup.states[adIndexInAdGroup] != AdPlaybackState.AD_STATE_UNAVAILABLE; in isAdAvailable()
1274 if (adGroup.states[i] == AdPlaybackState.AD_STATE_UNAVAILABLE) { in handleAdGroupLoadError()1359 && states[adIndexInAdGroup] != AdPlaybackState.AD_STATE_UNAVAILABLE) { in getAdIndexInAdGroupToLoad()