Home
last modified time | relevance | path

Searched refs:AD_STATE_AVAILABLE (Results 1 – 2 of 2) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/ads/
DAdPlaybackStateTest.java57 assertThat(state.adGroups[0].states[1]).isEqualTo(AdPlaybackState.AD_STATE_AVAILABLE); in setAdUriBeforeAdCount()
89 assertThat(state.adGroups[0].states[2]).isEqualTo(AdPlaybackState.AD_STATE_AVAILABLE); in getFirstAdIndexToPlaySkipsPlayedAd()
102 assertThat(state.adGroups[0].states[2]).isEqualTo(AdPlaybackState.AD_STATE_AVAILABLE); in getFirstAdIndexToPlaySkipsSkippedAd()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ads/
DAdPlaybackState.java90 || states[nextAdIndexToPlay] == AD_STATE_AVAILABLE) { in getNextAdIndexToPlay()
159 states[index] = AD_STATE_AVAILABLE; in withAdUri()
177 || states[index] == AD_STATE_AVAILABLE in withAdState()
216 if (states[i] == AD_STATE_AVAILABLE || states[i] == AD_STATE_UNAVAILABLE) { in withAllAdsSkipped()
251 AD_STATE_AVAILABLE,
260 public static final int AD_STATE_AVAILABLE = 1; field in AdPlaybackState