Home
last modified time | relevance | path

Searched refs:periodUid (Results 1 – 25 of 27) sorted by relevance

12

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DMediaSource.java67 public final Object periodUid; field in MediaSource.MediaPeriodId
100 public MediaPeriodId(Object periodUid) { in MediaPeriodId() argument
101 this(periodUid, /* windowSequenceNumber= */ C.INDEX_UNSET); in MediaPeriodId()
111 public MediaPeriodId(Object periodUid, long windowSequenceNumber) { in MediaPeriodId() argument
113 periodUid, in MediaPeriodId()
129 public MediaPeriodId(Object periodUid, long windowSequenceNumber, int nextAdGroupIndex) { in MediaPeriodId() argument
131 periodUid, in MediaPeriodId()
149 Object periodUid, int adGroupIndex, int adIndexInAdGroup, long windowSequenceNumber) { in MediaPeriodId() argument
151 periodUid, in MediaPeriodId()
159 Object periodUid, in MediaPeriodId() argument
[all …]
DMaskingMediaSource.java106 MediaPeriodId idInSource = id.copyWithPeriodUid(getInternalPeriodUid(id.periodUid)); in createPeriod()
183 Object periodUid = periodPosition.first; in onChildSourceInfoRefreshed() local
188 : MaskingTimeline.createWithRealTimeline(newTimeline, windowUid, periodUid); in onChildSourceInfoRefreshed()
193 maskingPeriod.id.copyWithPeriodUid(getInternalPeriodUid(maskingPeriod.id.periodUid)); in onChildSourceInfoRefreshed()
209 return mediaPeriodId.copyWithPeriodUid(getExternalPeriodUid(mediaPeriodId.periodUid)); in getMediaPeriodIdForChildMediaPeriodId()
237 int maskingPeriodIndex = timeline.getIndexOfPeriod(maskingPeriod.id.periodUid); in setPreparePositionOverrideToUnpreparedMaskingPeriod()
DConcatenatingMediaSource.java468 Object mediaSourceHolderUid = getMediaSourceHolderUid(id.periodUid); in createPeriod()
469 MediaPeriodId childMediaPeriodId = id.copyWithPeriodUid(getChildPeriodUid(id.periodUid)); in createPeriod()
535 Object periodUid = getPeriodUid(mediaSourceHolder, mediaPeriodId.periodUid); in getMediaPeriodIdForChildMediaPeriodId() local
536 return mediaPeriodId.copyWithPeriodUid(periodUid); in getMediaPeriodIdForChildMediaPeriodId()
848 private static Object getMediaSourceHolderUid(Object periodUid) { in getMediaSourceHolderUid() argument
849 return ConcatenatedTimeline.getChildTimelineUidFromConcatenatedUid(periodUid); in getMediaSourceHolderUid()
853 private static Object getChildPeriodUid(Object periodUid) { in getChildPeriodUid() argument
854 return ConcatenatedTimeline.getChildPeriodUidFromConcatenatedUid(periodUid); in getChildPeriodUid()
DMergingMediaSource.java149 int periodIndex = timelines[0].getIndexOfPeriod(id.periodUid); in createPeriod()
DLoopingMediaSource.java98 Object childPeriodUid = LoopingTimeline.getChildPeriodUidFromConcatenatedUid(id.periodUid); in createPeriod()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DMediaPeriodQueue.java358 timeline.getPeriodByUid(info.id.periodUid, period); in getUpdatedMediaPeriodInfo()
387 Timeline timeline, Object periodUid, long positionUs) { in resolveMediaPeriodIdForAds() argument
388 long windowSequenceNumber = resolvePeriodIndexToWindowSequenceNumber(timeline, periodUid); in resolveMediaPeriodIdForAds()
390 timeline, periodUid, positionUs, windowSequenceNumber, period); in resolveMediaPeriodIdForAds()
410 Object periodUid, in resolveMediaPeriodIdForAds() argument
414 timeline.getPeriodByUid(periodUid, period); in resolveMediaPeriodIdForAds()
418 return new MediaPeriodId(periodUid, windowSequenceNumber, nextAdGroupIndex); in resolveMediaPeriodIdForAds()
421 return new MediaPeriodId(periodUid, adGroupIndex, adIndexInAdGroup, windowSequenceNumber); in resolveMediaPeriodIdForAds()
434 private long resolvePeriodIndexToWindowSequenceNumber(Timeline timeline, Object periodUid) { in resolvePeriodIndexToWindowSequenceNumber() argument
435 int windowIndex = timeline.getPeriodByUid(periodUid, period).windowIndex; in resolvePeriodIndexToWindowSequenceNumber()
[all …]
DMediaSourceList.java294 Object mediaSourceHolderUid = getMediaSourceHolderUid(id.periodUid); in createPeriod()
296 id.copyWithPeriodUid(getChildPeriodUid(id.periodUid)); in createPeriod()
414 Object periodUid = getPeriodUid(mediaSourceHolder, mediaPeriodId.periodUid); in getMediaPeriodIdForChildMediaPeriodId() local
415 return mediaPeriodId.copyWithPeriodUid(periodUid); in getMediaPeriodIdForChildMediaPeriodId()
449 private static Object getMediaSourceHolderUid(Object periodUid) { in getMediaSourceHolderUid() argument
450 return PlaylistTimeline.getChildTimelineUidFromConcatenatedUid(periodUid); in getMediaSourceHolderUid()
454 private static Object getChildPeriodUid(Object periodUid) { in getChildPeriodUid() argument
455 return PlaylistTimeline.getChildPeriodUidFromConcatenatedUid(periodUid); in getChildPeriodUid()
DAbstractConcatenatedTimeline.java212 Object periodUid = getChildPeriodUidFromConcatenatedUid(uid); in getPeriodByUid() local
215 getTimelineByChildIndex(childIndex).getPeriodByUid(periodUid, period); in getPeriodByUid()
243 Object periodUid = getChildPeriodUidFromConcatenatedUid(uid); in getIndexOfPeriod() local
248 int periodIndexInChild = getTimelineByChildIndex(childIndex).getIndexOfPeriod(periodUid); in getIndexOfPeriod()
DExoPlayerImpl.java716 return playbackInfo.timeline.getIndexOfPeriod(playbackInfo.periodId.periodUid); in getCurrentPeriodIndex()
730 playbackInfo.timeline.getPeriodByUid(periodId.periodUid, period); in getDuration()
781 playbackInfo.timeline.getPeriodByUid(playbackInfo.periodId.periodUid, period); in getContentPosition()
802 playbackInfo.timeline.getPeriodByUid(playbackInfo.loadingMediaPeriodId.periodUid, period); in getContentBufferedPosition()
856 return playbackInfo.timeline.getPeriodByUid(playbackInfo.periodId.periodUid, period) in getCurrentWindowIndexInternal()
1143 Object periodUid = Util.castNonNull(periodPosition).first; in maskTimelineAndWindowIndex() local
1144 if (maskingTimeline.getIndexOfPeriod(periodUid) != C.INDEX_UNSET) { in maskTimelineAndWindowIndex()
1146 maskingWindowIndex = maskingTimeline.getPeriodByUid(periodUid, period).windowIndex; in maskTimelineAndWindowIndex()
1147 maskingPeriodIndex = maskingTimeline.getIndexOfPeriod(periodUid); in maskTimelineAndWindowIndex()
1158 periodUid, in maskTimelineAndWindowIndex()
[all …]
DExoPlayerImplInternal.java928 Object periodUid = resolvedSeekPosition.first; in seekToInternal() local
934 playbackInfo.timeline, periodUid, resolvedContentPosition); in seekToInternal()
936 playbackInfo.timeline.getPeriodByUid(periodId.periodUid, period); in seekToInternal()
1253 timeline.getPeriodByUid(firstPeriodId.periodUid, period); in getDummyFirstMediaPeriodPosition()
1367 playbackInfo.timeline.getIndexOfPeriod(playbackInfo.periodId.periodUid); in maybeTriggerPendingMessages()
2146 Object newPeriodUid = oldPeriodId.periodUid;
2217 playbackInfo.timeline.getPeriodByUid(oldPeriodId.periodUid, period);
2245 oldPeriodId.periodUid.equals(newPeriodUid)
2258 timeline.getPeriodByUid(newPeriodId.periodUid, period);
2279 timeline.getPeriodByUid(periodId.periodUid, period).windowIndex, window)
[all …]
DTimeline.java900 public Period getPeriodByUid(Object periodUid, Period period) { in getPeriodByUid() argument
901 return getPeriod(getIndexOfPeriod(periodUid), period, /* setIds= */ true); in getPeriodByUid()
DMediaPeriodHolder.java96 this.uid = info.id.periodUid; in MediaPeriodHolder()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/
DDefaultPlaybackSessionManager.java87 int windowIndex = timeline.getPeriodByUid(mediaPeriodId.periodUid, period).windowIndex; in getSessionForMediaPeriodId()
195 eventTime.mediaPeriodId.periodUid, eventTime.mediaPeriodId.windowSequenceNumber);
297 int newPeriodIndex = newTimeline.getIndexOfPeriod(adMediaPeriodId.periodUid);
347 int eventPeriodIndex = eventTime.timeline.getIndexOfPeriod(eventTime.mediaPeriodId.periodUid);
348 int adPeriodIndex = eventTime.timeline.getIndexOfPeriod(adMediaPeriodId.periodUid);
381 Object periodUid = oldTimeline.getUidOfPeriod(periodIndex); in resolveWindowIndexToNewTimeline() local
382 int newPeriodIndex = newTimeline.getIndexOfPeriod(periodUid); in resolveWindowIndexToNewTimeline()
DAnalyticsCollector.java817 int periodIndex = timeline.getIndexOfPeriod(mediaPeriodId.periodUid);
954 || !mediaPeriodInfo.mediaPeriodId.periodUid.equals(playerPeriodUid)) {
968 int newPeriodIndex = newTimeline.getIndexOfPeriod(info.mediaPeriodId.periodUid);
DPlaybackStatsListener.java197 .getPeriodByUid(eventTime.mediaPeriodId.periodUid, period) in onAdPlaybackStarted()
209 eventTime.mediaPeriodId.periodUid, in onAdPlaybackStarted()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DTimelineAsserts.java146 Object periodUid = Assertions.checkNotNull(period.uid); in assertPeriodCounts() local
147 assertThat(timeline.getIndexOfPeriod(periodUid)).isEqualTo(i); in assertPeriodCounts()
148 assertThat(timeline.getUidOfPeriod(i)).isEqualTo(periodUid); in assertPeriodCounts()
DFakeAdaptiveMediaSource.java51 Period period = Util.castNonNull(getTimeline()).getPeriodByUid(id.periodUid, new Period()); in createFakeMediaPeriod()
DMediaSourceTestRunner.java280 mediaPeriodId.periodUid, in assertPrepareAndReleasePeriod()
332 int periodIndex = timeline.getIndexOfPeriod(mediaPeriodId.periodUid); in assertCompletedMediaPeriodLoads()
DFakeMediaSource.java156 int periodIndex = Util.castNonNull(timeline).getIndexOfPeriod(id.periodUid); in createPeriod()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ads/
DAdsMediaSource.java411 Object periodUid = timeline.getUidOfPeriod(/* periodIndex= */ 0); in createMediaPeriod() local
412 MediaPeriodId adSourceMediaPeriodId = new MediaPeriodId(periodUid, id.windowSequenceNumber); in createMediaPeriod()
421 Object periodUid = timeline.getUidOfPeriod(/* periodIndex= */ 0); in handleSourceInfoRefresh() local
425 new MediaPeriodId(periodUid, mediaPeriod.id.windowSequenceNumber); in handleSourceInfoRefresh()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/analytics/
DAnalyticsCollectorTest.java851 Object periodUid = listener.lastReportedTimeline.getUidOfPeriod(/* periodIndex= */ 0); in adPlayback() local
856 periodUid, in adPlayback()
864 periodUid, in adPlayback()
872 periodUid, in adPlayback()
879 new MediaPeriodId(periodUid, /* windowSequenceNumber= */ 0, /* nextAdGroupIndex= */ 1)); in adPlayback()
883 new MediaPeriodId(periodUid, /* windowSequenceNumber= */ 0, /* nextAdGroupIndex= */ 2)); in adPlayback()
888 periodUid, /* windowSequenceNumber= */ 0, /* nextAdGroupIndex= */ C.INDEX_UNSET)); in adPlayback()
1049 Object periodUid = listener.lastReportedTimeline.getUidOfPeriod(/* periodIndex= */ 0); in seekAfterMidroll() local
1054 periodUid, in seekAfterMidroll()
1061 new MediaPeriodId(periodUid, /* windowSequenceNumber= */ 0, /* nextAdGroupIndex= */ 0)); in seekAfterMidroll()
[all …]
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/
DMediaPeriodQueueTest.java503 Object periodUid, in assertGetNextMediaPeriodInfoReturnsContentMediaPeriod() argument
514 new MediaPeriodId(periodUid, /* windowSequenceNumber= */ 0, nextAdGroupIndex), in assertGetNextMediaPeriodInfoReturnsContentMediaPeriod()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/
DConcatenatingMediaSourceTest.java1084 Object periodUid = timeline.getUidOfPeriod(periodIndex); in assertCompletedAllMediaPeriodLoads() local
1085 expectedMediaPeriodIds.add(new MediaPeriodId(periodUid, windowIndex)); in assertCompletedAllMediaPeriodLoads()
1089 new MediaPeriodId(periodUid, adGroupIndex, adIndex, windowIndex)); in assertCompletedAllMediaPeriodLoads()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DEventLogger.java547 ", period=" + eventTime.timeline.getIndexOfPeriod(eventTime.mediaPeriodId.periodUid); in getEventTimeString()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/offline/
DDownloadHelperTest.java505 int periodIndex = TEST_TIMELINE.getIndexOfPeriod(id.periodUid); in createPeriod()

12