Home
last modified time | relevance | path

Searched refs:AD_STATE_UNAVAILABLE (Results 1 – 4 of 4) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/ads/
DAdPlaybackStateTest.java55 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()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ads/
DAdPlaybackState.java89 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
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DTimeline.java592 && adGroup.states[adIndexInAdGroup] != AdPlaybackState.AD_STATE_UNAVAILABLE; in isAdAvailable()
/external/exoplayer/tree/extensions/ima/src/main/java/com/google/android/exoplayer2/ext/ima/
DImaAdsLoader.java1274 if (adGroup.states[i] == AdPlaybackState.AD_STATE_UNAVAILABLE) { in handleAdGroupLoadError()
1359 && states[adIndexInAdGroup] != AdPlaybackState.AD_STATE_UNAVAILABLE) { in getAdIndexInAdGroupToLoad()