Home
last modified time | relevance | path

Searched refs:getPeriodCount (Results 1 – 25 of 70) sorted by relevance

123

/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DTimelineAsserts.java144 int periodCount = timeline.getPeriodCount(); in assertPeriodDurations()
165 assertThat(timeline.getPeriodCount()) in assertPeriodCounts()
175 for (int i = 0; i < timeline.getPeriodCount(); i++) { in assertPeriodCounts()
202 for (int i = 0; i < timeline.getPeriodCount(); i++) { in assertAdGroupCounts()
222 assertThat(actualTimeline.getPeriodCount()).isEqualTo(expectedTimeline.getPeriodCount()); in assertEqualsExceptIdsAndManifest()
223 for (int i = 0; i < actualTimeline.getPeriodCount(); i++) { in assertEqualsExceptIdsAndManifest()
DFakeTimeline.java386 public int getPeriodCount() { in getPeriodCount() method in FakeTimeline
424 for (int i = 0; i < getPeriodCount(); i++) { in getIndexOfPeriod()
434 Assertions.checkIndex(periodIndex, 0, getPeriodCount()); in getUidOfPeriod()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DTimelineAsserts.java144 int periodCount = timeline.getPeriodCount(); in assertPeriodDurations()
165 assertThat(timeline.getPeriodCount()) in assertPeriodCounts()
175 for (int i = 0; i < timeline.getPeriodCount(); i++) { in assertPeriodCounts()
202 for (int i = 0; i < timeline.getPeriodCount(); i++) { in assertAdGroupCounts()
222 assertThat(actualTimeline.getPeriodCount()).isEqualTo(expectedTimeline.getPeriodCount()); in assertEqualsExceptIdsAndManifest()
223 for (int i = 0; i < actualTimeline.getPeriodCount(); i++) { in assertEqualsExceptIdsAndManifest()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/source/
DForwardingTimeline.java63 public int getPeriodCount() { in getPeriodCount() method in ForwardingTimeline
64 return timeline.getPeriodCount(); in getPeriodCount()
DMergingMediaSource.java244 periodCount = timeline.getPeriodCount(); in onChildSourceInfoRefreshed()
245 } else if (timeline.getPeriodCount() != periodCount) { in onChildSourceInfoRefreshed()
323 int periodCount = timeline.getPeriodCount(); in ClippedTimeline()
DLoopingMediaSource.java151 childPeriodCount = childTimeline.getPeriodCount(); in LoopingTimeline()
167 public int getPeriodCount() { in getPeriodCount() method in LoopingMediaSource.LoopingTimeline
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/source/
DForwardingTimeline.java63 public int getPeriodCount() { in getPeriodCount() method in ForwardingTimeline
64 return timeline.getPeriodCount(); in getPeriodCount()
DMergingMediaSource.java239 periodCount = timeline.getPeriodCount(); in onChildSourceInfoRefreshed()
240 } else if (timeline.getPeriodCount() != periodCount) { in onChildSourceInfoRefreshed()
318 int periodCount = timeline.getPeriodCount(); in ClippedTimeline()
DLoopingMediaSource.java151 childPeriodCount = childTimeline.getPeriodCount(); in LoopingTimeline()
167 public int getPeriodCount() { in getPeriodCount() method in LoopingMediaSource.LoopingTimeline
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/
DPlaylistTimeline.java55 periodCount += timelines[index].getPeriodCount(); in PlaylistTimeline()
110 public int getPeriodCount() { in getPeriodCount() method in PlaylistTimeline
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/
DPlaylistTimeline.java55 periodCount += timelines[index].getPeriodCount(); in PlaylistTimeline()
110 public int getPeriodCount() { in getPeriodCount() method in PlaylistTimeline
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/main/java/com/google/android/exoplayer2/
DTimeline.java993 public int getPeriodCount() {
1125 public abstract int getPeriodCount(); in getPeriodCount() method in Timeline
1325 if (other.getWindowCount() != getWindowCount() || other.getPeriodCount() != getPeriodCount()) { in equals()
1337 for (int i = 0; i < getPeriodCount(); i++) { in equals()
1355 result = 31 * result + getPeriodCount(); in hashCode()
1356 for (int i = 0; i < getPeriodCount(); i++) { in hashCode()
1398 int periodCount = getPeriodCount(); in toBundle()
1587 public int getPeriodCount() { in getPeriodCount() method in Timeline.RemotableTimeline
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/main/java/com/google/android/exoplayer2/
DTimeline.java985 public int getPeriodCount() {
1117 public abstract int getPeriodCount(); in getPeriodCount() method in Timeline
1313 if (other.getWindowCount() != getWindowCount() || other.getPeriodCount() != getPeriodCount()) { in equals()
1325 for (int i = 0; i < getPeriodCount(); i++) { in equals()
1343 result = 31 * result + getPeriodCount(); in hashCode()
1344 for (int i = 0; i < getPeriodCount(); i++) { in hashCode()
1385 int periodCount = getPeriodCount(); in toBundle()
1574 public int getPeriodCount() { in getPeriodCount() method in Timeline.RemotableTimeline
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/
DDashMediaSource.java537 int oldPeriodCount = manifest == null ? 0 : manifest.getPeriodCount(); in onManifestLoadCompleted()
547 if (oldPeriodCount - removedPeriodCount > newManifest.getPeriodCount()) { in onManifestLoadCompleted()
779 int lastPeriodIndex = manifest.getPeriodCount() - 1; in processManifest()
999 int periodIndex = manifest.getPeriodCount() - 1; in getIntervalUntilNextManifestRefreshMs()
1156 public int getPeriodCount() { in getPeriodCount() method in DashMediaSource.DashTimeline
1157 return manifest.getPeriodCount(); in getPeriodCount()
1162 Assertions.checkIndex(periodIndex, 0, getPeriodCount()); in getPeriod()
1197 /* lastPeriodIndex= */ getPeriodCount() - 1, in getWindow()
1208 return periodIndex < 0 || periodIndex >= getPeriodCount() ? C.INDEX_UNSET : periodIndex; in getIndexOfPeriod()
1227 while (periodIndex < manifest.getPeriodCount() - 1 in getAdjustedWindowDefaultStartPositionUs()
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/
DDashMediaSource.java535 int oldPeriodCount = manifest == null ? 0 : manifest.getPeriodCount(); in onManifestLoadCompleted()
545 if (oldPeriodCount - removedPeriodCount > newManifest.getPeriodCount()) { in onManifestLoadCompleted()
777 int lastPeriodIndex = manifest.getPeriodCount() - 1; in processManifest()
987 int periodIndex = manifest.getPeriodCount() - 1; in getIntervalUntilNextManifestRefreshMs()
1144 public int getPeriodCount() { in getPeriodCount() method in DashMediaSource.DashTimeline
1145 return manifest.getPeriodCount(); in getPeriodCount()
1150 Assertions.checkIndex(periodIndex, 0, getPeriodCount()); in getPeriod()
1185 /* lastPeriodIndex= */ getPeriodCount() - 1, in getWindow()
1196 return periodIndex < 0 || periodIndex >= getPeriodCount() ? C.INDEX_UNSET : periodIndex; in getIndexOfPeriod()
1215 while (periodIndex < manifest.getPeriodCount() - 1 in getAdjustedWindowDefaultStartPositionUs()
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/manifest/
DDashManifestTest.java194 assertThat(actual.getPeriodCount()).isEqualTo(expected.getPeriodCount()); in assertManifestEquals()
196 for (int i = 0; i < expected.getPeriodCount(); i++) { in assertManifestEquals()
DDashManifestParserTest.java100 assertThat(manifest.getPeriodCount()).isEqualTo(1); in parseMediaPresentationDescription_segmentTemplate()
506 assertThat(manifest.getPeriodCount()).isEqualTo(1); in parsePeriodAssetIdentifier()
529 assertThat(manifest.getPeriodCount()).isEqualTo(1); in parseEssentialAndSupplementalProperties()
594 assertThat(manifest.getPeriodCount()).isEqualTo(1); in availabilityTimeOffset_staticManifest_setToTimeUnset()
614 assertThat(manifest.getPeriodCount()).isEqualTo(2); in availabilityTimeOffset_dynamicManifest_valuesInBaseUrl_setsCorrectValues()
637 assertThat(manifest.getPeriodCount()).isEqualTo(2); in availabilityTimeOffset_dynamicManifest_valuesInSegmentTemplate_setsCorrectValues()
660 assertThat(manifest.getPeriodCount()).isEqualTo(2); in availabilityTimeOffset_dynamicManifest_valuesInSegmentList_setsCorrectValues()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/manifest/
DDashManifestTest.java194 assertThat(actual.getPeriodCount()).isEqualTo(expected.getPeriodCount()); in assertManifestEquals()
196 for (int i = 0; i < expected.getPeriodCount(); i++) { in assertManifestEquals()
DDashManifestParserTest.java108 assertThat(manifest.getPeriodCount()).isEqualTo(1); in parseMediaPresentationDescription_segmentTemplate()
540 assertThat(manifest.getPeriodCount()).isEqualTo(1); in parsePeriodAssetIdentifier()
563 assertThat(manifest.getPeriodCount()).isEqualTo(1); in parseEssentialAndSupplementalProperties()
628 assertThat(manifest.getPeriodCount()).isEqualTo(1); in availabilityTimeOffset_staticManifest_setToTimeUnset()
648 assertThat(manifest.getPeriodCount()).isEqualTo(2); in availabilityTimeOffset_dynamicManifest_valuesInBaseUrl_setsCorrectValues()
671 assertThat(manifest.getPeriodCount()).isEqualTo(2); in availabilityTimeOffset_dynamicManifest_valuesInSegmentTemplate_setsCorrectValues()
694 assertThat(manifest.getPeriodCount()).isEqualTo(2); in availabilityTimeOffset_dynamicManifest_valuesInSegmentList_setsCorrectValues()
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/
DTestDayPeriods.java44 count += dayPeriodFormat.getPeriodCount(); in TestBasicDayPeriods()
51 for (int i = 0; i < dayPeriodInfo.getPeriodCount(); ++i) { in getSet()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/
DDashManifest.java121 public final int getPeriodCount() { in getPeriodCount() method in DashManifest
147 for (int periodIndex = 0; periodIndex < getPeriodCount(); periodIndex++) { in copy()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/
DDashManifest.java121 public final int getPeriodCount() { in getPeriodCount() method in DashManifest
147 for (int periodIndex = 0; periodIndex < getPeriodCount(); periodIndex++) { in copy()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/ima/src/main/java/com/google/android/exoplayer2/ext/ima/
DImaUtil.java378 if (contentTimeline.getPeriodCount() == 1) {
402 for (int j = periodIndex; j < contentTimeline.getPeriodCount(); j++) {
427 for (int i = periodIndex; i < contentTimeline.getPeriodCount(); i++) {
490 for (int j = periodIndex; j < contentTimeline.getPeriodCount(); j++) {
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/ima/src/main/java/com/google/android/exoplayer2/ext/ima/
DImaUtil.java285 if (contentTimeline.getPeriodCount() == 1) { in splitAdPlaybackStateForPeriods()
309 for (int j = periodIndex; j < contentTimeline.getPeriodCount(); j++) { in splitAdPlaybackStateForPeriods()
334 for (int i = periodIndex; i < contentTimeline.getPeriodCount(); i++) { in splitAdPlaybackStateForPeriods()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/demos/main/src/main/java/com/google/android/exoplayer2/demo/
DDownloadTracker.java237 for (int periodIndex = 0; periodIndex < downloadHelper.getPeriodCount(); periodIndex++) { in onTracksSelected()
265 for (int periodIndex = 0; periodIndex < helper.getPeriodCount(); periodIndex++) { in getFirstFormatWithDrmInitData()
297 if (helper.getPeriodCount() == 0) { in onDownloadPrepared()

123