Home
last modified time | relevance | path

Searched refs:getTrackGroups (Results 1 – 25 of 28) sorted by relevance

12

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/
DMergingMediaPeriodTest.java52 assertThat(mergingMediaPeriod.getTrackGroups().length).isEqualTo(4); in getTrackGroups_returnsAllChildTrackGroups()
53 assertThat(mergingMediaPeriod.getTrackGroups().get(0).getFormat(0)).isEqualTo(childFormat11); in getTrackGroups_returnsAllChildTrackGroups()
54 assertThat(mergingMediaPeriod.getTrackGroups().get(1).getFormat(0)).isEqualTo(childFormat12); in getTrackGroups_returnsAllChildTrackGroups()
55 assertThat(mergingMediaPeriod.getTrackGroups().get(2).getFormat(0)).isEqualTo(childFormat21); in getTrackGroups_returnsAllChildTrackGroups()
56 assertThat(mergingMediaPeriod.getTrackGroups().get(3).getFormat(0)).isEqualTo(childFormat22); in getTrackGroups_returnsAllChildTrackGroups()
67 new FixedTrackSelection(mergingMediaPeriod.getTrackGroups().get(1), /* track= */ 0); in selectTracks_createsSampleStreamsFromChildPeriods()
69 new FixedTrackSelection(mergingMediaPeriod.getTrackGroups().get(2), /* track= */ 0); in selectTracks_createsSampleStreamsFromChildPeriods()
103 new FixedTrackSelection(mergingMediaPeriod.getTrackGroups().get(0), /* track= */ 0); in selectTracks_withPeriodOffsets_selectTracksWithOffset_andCreatesSampleStreamsCorrectingOffset()
105 new FixedTrackSelection(mergingMediaPeriod.getTrackGroups().get(2), /* track= */ 0); in selectTracks_withPeriodOffsets_selectTracksWithOffset_andCreatesSampleStreamsCorrectingOffset()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/offline/
DDownloadHelperTest.java161 TrackGroupArray trackGroupArrayPeriod0 = downloadHelper.getTrackGroups(/* periodIndex= */ 0); in getTrackGroups_returnsTrackGroups()
162 TrackGroupArray trackGroupArrayPeriod1 = downloadHelper.getTrackGroups(/* periodIndex= */ 1); in getTrackGroups_returnsTrackGroups()
179 assertThat(mappedTracks0.getTrackGroups(/* rendererIndex= */ 0).length).isEqualTo(2); in getMappedTrackInfo_returnsMappedTrackInfo()
180 assertThat(mappedTracks0.getTrackGroups(/* rendererIndex= */ 1).length).isEqualTo(2); in getMappedTrackInfo_returnsMappedTrackInfo()
181 assertThat(mappedTracks0.getTrackGroups(/* rendererIndex= */ 2).length).isEqualTo(1); in getMappedTrackInfo_returnsMappedTrackInfo()
182 assertThat(mappedTracks0.getTrackGroups(/* rendererIndex= */ 0).get(/* index= */ 0)) in getMappedTrackInfo_returnsMappedTrackInfo()
184 assertThat(mappedTracks0.getTrackGroups(/* rendererIndex= */ 0).get(/* index= */ 1)) in getMappedTrackInfo_returnsMappedTrackInfo()
186 assertThat(mappedTracks0.getTrackGroups(/* rendererIndex= */ 1).get(/* index= */ 0)) in getMappedTrackInfo_returnsMappedTrackInfo()
188 assertThat(mappedTracks0.getTrackGroups(/* rendererIndex= */ 1).get(/* index= */ 1)) in getMappedTrackInfo_returnsMappedTrackInfo()
190 assertThat(mappedTracks0.getTrackGroups(/* rendererIndex= */ 2).get(/* index= */ 0)) in getMappedTrackInfo_returnsMappedTrackInfo()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DMergingMediaPeriod.java95 public TrackGroupArray getTrackGroups() { in getTrackGroups() method in MergingMediaPeriod
116 if (periods[j].getTrackGroups().indexOf(trackGroup) != C.INDEX_UNSET) { in selectTracks()
266 totalTrackGroupCount += period.getTrackGroups().length; in onPrepared()
271 TrackGroupArray periodTrackGroups = period.getTrackGroups(); in onPrepared()
310 public TrackGroupArray getTrackGroups() { in getTrackGroups() method in MergingMediaPeriod.TimeOffsetMediaPeriod
311 return mediaPeriod.getTrackGroups(); in getTrackGroups()
DMaskingMediaPeriod.java160 public TrackGroupArray getTrackGroups() { in getTrackGroups() method in MaskingMediaPeriod
161 return castNonNull(mediaPeriod).getTrackGroups(); in getTrackGroups()
DMediaPeriod.java87 TrackGroupArray getTrackGroups(); in getTrackGroups() method
DClippingMediaPeriod.java95 public TrackGroupArray getTrackGroups() { in getTrackGroups() method in ClippingMediaPeriod
96 return mediaPeriod.getTrackGroups(); in getTrackGroups()
DSilenceMediaSource.java150 public TrackGroupArray getTrackGroups() { in getTrackGroups() method in SilenceMediaSource.SilenceMediaPeriod
DSingleSampleMediaPeriod.java112 public TrackGroupArray getTrackGroups() { in getTrackGroups() method in SingleSampleMediaPeriod
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DMediaPeriodHolder.java180 trackGroups = mediaPeriod.getTrackGroups(); in handlePrepared()
233 trackSelector.selectTracks(rendererCapabilities, getTrackGroups(), info.id, timeline); in selectTracks()
347 public TrackGroupArray getTrackGroups() { in getTrackGroups() method in MediaPeriodHolder
DExoPlayerImplInternal.java1902 loadingPeriodHolder.getTrackGroups(), loadingPeriodHolder.getTrackSelectorResult());
1998 : playingPeriodHolder.getTrackGroups();
2092 loadingMediaPeriodHolder.getTrackGroups(),
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsMediaPeriod.java169 public TrackGroupArray getTrackGroups() { in getTrackGroups() method in HlsMediaPeriod
192 mainWrapperTrackGroups = mainWrapper.getTrackGroups(); in getStreamKeys()
221 TrackGroupArray wrapperTrackGroups = sampleStreamWrappers[i].getTrackGroups(); in getStreamKeys()
274 if (sampleStreamWrappers[j].getTrackGroups().indexOf(trackGroup) != C.INDEX_UNSET) {
422 totalTrackGroupCount += sampleStreamWrapper.getTrackGroups().length;
427 int wrapperTrackGroupCount = sampleStreamWrapper.getTrackGroups().length;
429 trackGroupArray[trackGroupIndex++] = sampleStreamWrapper.getTrackGroups().get(j);
DHlsSampleStream.java64 sampleStreamWrapper.getTrackGroups().get(trackGroupIndex).getFormat(0).sampleMimeType); in maybeThrowError()
/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/
DTrackSelectionDialog.java112 mappedTrackInfo.getTrackGroups(/* rendererIndex= */ i), in createForTrackSelector()
177 TrackGroupArray trackGroupArray = mappedTrackInfo.getTrackGroups(i); in init()
254 TrackGroupArray trackGroupArray = mappedTrackInfo.getTrackGroups(rendererIndex); in showTabForRenderer()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeTrackSelector.java64 TrackGroupArray trackGroupArray = mappedTrackInfo.getTrackGroups(i); in selectAllTracks()
DFakeMediaPeriod.java147 public TrackGroupArray getTrackGroups() { in getTrackGroups() method in FakeMediaPeriod
DMediaPeriodAsserts.java210 trackGroupArray.set(mediaPeriod.getTrackGroups()); in prepareAndGetTrackGroups()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DTrackSelectionDialogBuilder.java103 TrackGroupArray rendererTrackGroups = mappedTrackInfo.getTrackGroups(rendererIndex); in TrackSelectionDialogBuilder()
DTrackSelectionView.java253 trackGroups = mappedTrackInfo.getTrackGroups(rendererIndex); in updateViews()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/trackselection/
DDefaultTrackSelector.java1530 TrackGroupArray rendererTrackGroups = mappedTrackInfo.getTrackGroups(i); in selectTracks()
1607 mappedTrackInfo.getTrackGroups(i), in selectAllTracks()
1614 seenVideoRendererWithMappedTracks |= mappedTrackInfo.getTrackGroups(i).length > 0; in selectAllTracks()
1627 mappedTrackInfo.getTrackGroups(i), in selectAllTracks()
1662 mappedTrackInfo.getTrackGroups(i), in selectAllTracks()
1682 trackType, mappedTrackInfo.getTrackGroups(i), rendererFormatSupports[i], params); in selectAllTracks()
2241 renderererFormatSupports[i], mappedTrackInfo.getTrackGroups(i), trackSelection)) {
DMappingTrackSelector.java163 public TrackGroupArray getTrackGroups(int rendererIndex) { in getTrackGroups() method in MappingTrackSelector.MappedTrackInfo
/external/exoplayer/tree/playbacktests/src/androidTest/java/com/google/android/exoplayer2/playbacktests/gts/
DDashTestRunner.java399 TrackGroupArray videoTrackGroups = mappedTrackInfo.getTrackGroups(VIDEO_RENDERER_INDEX); in selectAllTracks()
400 TrackGroupArray audioTrackGroups = mappedTrackInfo.getTrackGroups(AUDIO_RENDERER_INDEX); in selectAllTracks()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/
DDownloadHelper.java599 public TrackGroupArray getTrackGroups(int periodIndex) { in getTrackGroups() method in DownloadHelper
753 TrackGroupArray trackGroupArray = mappedTrackInfos[periodIndex].getTrackGroups(rendererIndex); in addTrackSelectionForSingleRenderer()
822 trackGroupArrays[i] = mediaPreparer.mediaPeriods[i].getTrackGroups(); in onMediaPrepared()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/trackselection/
DMappingTrackSelectorTest.java153 TrackGroupArray rendererTrackGroupArray = lastMappedTrackInfo.getTrackGroups(rendererIndex); in assertMappedTrackGroups()
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/
DSsMediaPeriod.java119 public TrackGroupArray getTrackGroups() { in getTrackGroups() method in SsMediaPeriod
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DEventLogger.java217 TrackGroupArray rendererTrackGroups = mappedTrackInfo.getTrackGroups(rendererIndex); in onTracksChanged()

12