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/ |
D | AdPlaybackStateTest.java | 51 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()
|
D | AdsMediaSourceTest.java | 77 .withAdUri(/* adGroupIndex= */ 0, /* adIndexInAdGroup= */ 0, Uri.EMPTY)
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ads/ |
D | AdPlaybackState.java | 149 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/ |
D | FakeTimeline.java | 205 adPlaybackState.withAdUri( in createAdPlaybackState()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/ |
D | MediaPeriodQueueTest.java | 489 .withAdUri(adGroupIndex, /* adIndexInAdGroup= */ 0, AD_URI) in setAdGroupLoaded()
|
/external/exoplayer/tree/extensions/ima/src/test/java/com/google/android/exoplayer2/ext/ima/ |
D | ImaAdsLoaderTest.java | 235 .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/ |
D | ImaAdsLoader.java | 852 adPlaybackState.withAdUri(adGroupIndex, adIndexInAdGroup, Uri.parse(adUriString)); in loadAd()
|