/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ |
D | MergingMediaPeriod.java | 37 /* package */ final class MergingMediaPeriod implements MediaPeriod, MediaPeriod.Callback { 39 private final MediaPeriod[] periods; 42 private final ArrayList<MediaPeriod> childrenPendingPreparation; 46 private MediaPeriod[] enabledPeriods; 52 MediaPeriod... periods) { in MergingMediaPeriod() 59 enabledPeriods = new MediaPeriod[0]; in MergingMediaPeriod() 72 public MediaPeriod getChildPeriod(int index) { in getChildPeriod() 82 for (MediaPeriod period : periods) { in prepare() 89 for (MediaPeriod period : periods) { in maybeThrowPrepareError() 128 ArrayList<MediaPeriod> enabledPeriodsList = new ArrayList<>(periods.length); in selectTracks() [all …]
|
D | ClippingMediaPeriod.java | 35 public final class ClippingMediaPeriod implements MediaPeriod, MediaPeriod.Callback { 40 public final MediaPeriod mediaPeriod; 42 @Nullable private MediaPeriod.Callback callback; 63 MediaPeriod mediaPeriod, boolean enableInitialDiscontinuity, long startUs, long endUs) { in ClippingMediaPeriod() 84 public void prepare(MediaPeriod.Callback callback, long positionUs) { in prepare() 222 public void onPrepared(MediaPeriod mediaPeriod) { in onPrepared() 227 public void onContinueLoadingRequested(MediaPeriod source) { in onContinueLoadingRequested()
|
D | MaskingMediaPeriod.java | 35 public final class MaskingMediaPeriod implements MediaPeriod, MediaPeriod.Callback { 53 @Nullable private MediaPeriod mediaPeriod; 225 public void onContinueLoadingRequested(MediaPeriod source) { in onContinueLoadingRequested() 232 public void onPrepared(MediaPeriod mediaPeriod) { in onPrepared()
|
D | MediaPeriod.java | 35 public interface MediaPeriod extends SequenceableLoader { interface 40 interface Callback extends SequenceableLoader.Callback<MediaPeriod> { 51 void onPrepared(MediaPeriod mediaPeriod); in onPrepared()
|
D | MergingMediaSource.java | 147 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() 148 MediaPeriod[] periods = new MediaPeriod[mediaSources.length]; in createPeriod() 162 public void releasePeriod(MediaPeriod mediaPeriod) { in releasePeriod()
|
D | LoopingMediaSource.java | 42 private final Map<MediaPeriod, MediaPeriodId> mediaPeriodToChildMediaPeriodId; 94 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() 101 MediaPeriod mediaPeriod = in createPeriod() 108 public void releasePeriod(MediaPeriod mediaPeriod) { in releasePeriod()
|
D | SilenceMediaSource.java | 119 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() 124 public void releasePeriod(MediaPeriod mediaPeriod) {} in releasePeriod() 129 private static final class SilenceMediaPeriod implements MediaPeriod {
|
D | MediaSource.java | 334 MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs); in createPeriod() 343 void releasePeriod(MediaPeriod mediaPeriod); in releasePeriod()
|
D | ConcatenatingMediaSource.java | 70 private final Map<MediaPeriod, MediaSourceHolder> mediaSourceByMediaPeriod; 467 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() 479 MediaPeriod mediaPeriod = in createPeriod() 487 public void releasePeriod(MediaPeriod mediaPeriod) { in releasePeriod() 1010 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() 1015 public void releasePeriod(MediaPeriod mediaPeriod) { in releasePeriod()
|
D | SingleSampleMediaSource.java | 321 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() 334 public void releasePeriod(MediaPeriod mediaPeriod) { in releasePeriod()
|
D | ProgressiveMediaSource.java | 263 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() 282 public void releasePeriod(MediaPeriod mediaPeriod) { in releasePeriod()
|
D | ExtractorMediaSource.java | 353 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() 358 public void releasePeriod(MediaPeriod mediaPeriod) { in releasePeriod()
|
D | ClippingMediaSource.java | 208 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() 220 public void releasePeriod(MediaPeriod mediaPeriod) { in releasePeriod()
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | MediaPeriodAsserts.java | 25 import com.google.android.exoplayer2.source.MediaPeriod; 26 import com.google.android.exoplayer2.source.MediaPeriod.Callback; 52 MediaPeriod createMediaPeriod(T manifest, int periodIndex); in createMediaPeriod() 63 public static void assertTrackGroups(MediaPeriod mediaPeriod, TrackGroupArray expectedGroups) { in assertTrackGroups() 98 MediaPeriod mediaPeriod = mediaPeriodFactory.createMediaPeriod(manifest, periodIndex); in assertGetStreamKeysAndManifestFilterIntegration() 158 MediaPeriod filteredMediaPeriod = in assertGetStreamKeysAndManifestFilterIntegration() 200 private static TrackGroupArray prepareAndGetTrackGroups(MediaPeriod mediaPeriod) { in prepareAndGetTrackGroups() 209 public void onPrepared(MediaPeriod mediaPeriod) { in prepareAndGetTrackGroups() 215 public void onContinueLoadingRequested(MediaPeriod source) { in prepareAndGetTrackGroups()
|
D | MediaSourceTestRunner.java | 30 import com.google.android.exoplayer2.source.MediaPeriod; 147 public MediaPeriod createPeriod(final MediaPeriodId periodId) { in createPeriod() 158 public MediaPeriod createPeriod(final MediaPeriodId periodId, long startPositionUs) { in createPeriod() 159 final MediaPeriod[] holder = new MediaPeriod[1]; in createPeriod() 174 public CountDownLatch preparePeriod(final MediaPeriod mediaPeriod, final long positionUs) { in preparePeriod() 180 new MediaPeriod.Callback() { in preparePeriod() 182 public void onPrepared(MediaPeriod mediaPeriod1) { in preparePeriod() 187 public void onContinueLoadingRequested(MediaPeriod source) { in preparePeriod() 203 public void releasePeriod(final MediaPeriod mediaPeriod) { in releasePeriod() 272 MediaPeriod mediaPeriod = createPeriod(mediaPeriodId); in assertPrepareAndReleasePeriod() [all …]
|
D | FakeMediaSource.java | 32 import com.google.android.exoplayer2.source.MediaPeriod; 153 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() 169 public void releasePeriod(MediaPeriod mediaPeriod) { in releasePeriod()
|
D | FakeMediaPeriod.java | 27 import com.google.android.exoplayer2.source.MediaPeriod; 46 public class FakeMediaPeriod implements MediaPeriod {
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/ |
D | MergingMediaPeriodTest.java | 136 MediaPeriod[] mediaPeriods = new MediaPeriod[definitions.length]; in prepareMergingPeriod() 154 new MediaPeriod.Callback() { in prepareMergingPeriod() 156 public void onPrepared(MediaPeriod mediaPeriod) { in prepareMergingPeriod() 161 public void onContinueLoadingRequested(MediaPeriod source) { in prepareMergingPeriod()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/ |
D | DownloadHelper.java | 33 import com.google.android.exoplayer2.source.MediaPeriod; 965 implements MediaSourceCaller, MediaPeriod.Callback, Handler.Callback { 978 private final ArrayList<MediaPeriod> pendingMediaPeriods; 984 public MediaPeriod @MonotonicNonNull [] mediaPeriods; 1037 MediaPeriod mediaPeriod = (MediaPeriod) msg.obj; in handleMessage() 1044 for (MediaPeriod period : mediaPeriods) { in handleMessage() 1074 mediaPeriods = new MediaPeriod[timeline.getPeriodCount()]; in onSourceInfoRefreshed() 1076 MediaPeriod mediaPeriod = in onSourceInfoRefreshed() 1084 for (MediaPeriod mediaPeriod : mediaPeriods) { in onSourceInfoRefreshed() 1092 public void onPrepared(MediaPeriod mediaPeriod) { in onPrepared() [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | MediaPeriodHolder.java | 21 import com.google.android.exoplayer2.source.MediaPeriod; 40 public final MediaPeriod mediaPeriod; 414 private static MediaPeriod createMediaPeriod( in createMediaPeriod() 420 MediaPeriod mediaPeriod = mediaSourceList.createPeriod(id, allocator, startPositionUs); in createMediaPeriod() 431 long endPositionUs, MediaSourceList mediaSourceList, MediaPeriod mediaPeriod) { in releaseMediaPeriod()
|
D | MediaSourceList.java | 26 import com.google.android.exoplayer2.source.MediaPeriod; 69 private final Map<MediaPeriod, MediaSourceHolder> mediaSourceByMediaPeriod; 292 public MediaPeriod createPeriod( in createPeriod() 300 MediaPeriod mediaPeriod = in createPeriod() 312 public final void releasePeriod(MediaPeriod mediaPeriod) { in releasePeriod()
|
D | MediaPeriodInfo.java | 19 import com.google.android.exoplayer2.source.MediaPeriod;
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/ads/ |
D | AdsMediaSourceTest.java | 32 import com.google.android.exoplayer2.source.MediaPeriod; 190 MediaPeriod prerollAdMediaPeriod = in releasePeriod_releasesChildMediaPeriodsAndSources() 201 MediaPeriod contentMediaPeriod = in releasePeriod_releasesChildMediaPeriodsAndSources()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ads/ |
D | AdsMediaSource.java | 30 import com.google.android.exoplayer2.source.MediaPeriod; 200 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() 231 public void releasePeriod(MediaPeriod mediaPeriod) { in releasePeriod() 403 public MediaPeriod createMediaPeriod( in createMediaPeriod()
|
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/ |
D | HlsMediaSource.java | 34 import com.google.android.exoplayer2.source.MediaPeriod; 437 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() 455 public void releasePeriod(MediaPeriod mediaPeriod) { in releasePeriod()
|