Home
last modified time | relevance | path

Searched refs:withAdUri (Results 1 – 7 of 7) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/ads/
DAdPlaybackStateTest.java51 state = state.withAdUri(/* adGroupIndex= */ 0, /* adIndexInAdGroup= */ 1, TEST_URI); in setAdUriBeforeAdCount()
73 state = state.withAdUri(/* adGroupIndex= */ 0, /* adIndexInAdGroup= */ 0, TEST_URI); in getFirstAdIndexToPlayIsZero()
74 state = state.withAdUri(/* adGroupIndex= */ 0, /* adIndexInAdGroup= */ 2, TEST_URI); in getFirstAdIndexToPlayIsZero()
82 state = state.withAdUri(/* adGroupIndex= */ 0, /* adIndexInAdGroup= */ 0, TEST_URI); in getFirstAdIndexToPlaySkipsPlayedAd()
83 state = state.withAdUri(/* adGroupIndex= */ 0, /* adIndexInAdGroup= */ 2, TEST_URI); in getFirstAdIndexToPlaySkipsPlayedAd()
95 state = state.withAdUri(/* adGroupIndex= */ 0, /* adIndexInAdGroup= */ 0, TEST_URI); in getFirstAdIndexToPlaySkipsSkippedAd()
96 state = state.withAdUri(/* adGroupIndex= */ 0, /* adIndexInAdGroup= */ 2, TEST_URI); in getFirstAdIndexToPlaySkipsSkippedAd()
108 state = state.withAdUri(/* adGroupIndex= */ 0, /* adIndexInAdGroup= */ 0, TEST_URI); in getFirstAdIndexToPlaySkipsErrorAds()
109 state = state.withAdUri(/* adGroupIndex= */ 0, /* adIndexInAdGroup= */ 2, TEST_URI); in getFirstAdIndexToPlaySkipsErrorAds()
120 state = state.withAdUri(/* adGroupIndex= */ 0, /* adIndexInAdGroup= */ 1, TEST_URI); in getNextAdIndexToPlaySkipsErrorAds()
DAdsMediaSourceTest.java77 .withAdUri(/* adGroupIndex= */ 0, /* adIndexInAdGroup= */ 0, Uri.EMPTY)
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ads/
DAdPlaybackState.java149 public AdGroup withAdUri(Uri uri, int index) { in withAdUri() method in AdPlaybackState.AdGroup
380 public AdPlaybackState withAdUri(int adGroupIndex, int adIndexInAdGroup, Uri uri) { in withAdUri() method in AdPlaybackState
382 adGroups[adGroupIndex] = adGroups[adGroupIndex].withAdUri(uri, adIndexInAdGroup); in withAdUri()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeTimeline.java205 adPlaybackState.withAdUri( in createAdPlaybackState()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/
DMediaPeriodQueueTest.java489 .withAdUri(adGroupIndex, /* adIndexInAdGroup= */ 0, AD_URI) in setAdGroupLoaded()
/external/exoplayer/tree/extensions/ima/src/test/java/com/google/android/exoplayer2/ext/ima/
DImaAdsLoaderTest.java235 .withAdUri(/* adGroupIndex= */ 0, /* adIndexInAdGroup= */ 0, /* uri= */ TEST_URI) in playback_withPrerollAd_marksAdAsPlayed()
/external/exoplayer/tree/extensions/ima/src/main/java/com/google/android/exoplayer2/ext/ima/
DImaAdsLoader.java852 adPlaybackState.withAdUri(adGroupIndex, adIndexInAdGroup, Uri.parse(adUriString)); in loadAd()