/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ |
D | TrackGroupArray.java | 25 public final class TrackGroupArray implements Parcelable { class 30 public static final TrackGroupArray EMPTY = new TrackGroupArray(); 45 public TrackGroupArray(TrackGroup... trackGroups) { in TrackGroupArray() method in TrackGroupArray 50 /* package */ TrackGroupArray(Parcel in) { in TrackGroupArray() method in TrackGroupArray 109 TrackGroupArray other = (TrackGroupArray) obj; in equals() 128 public static final Parcelable.Creator<TrackGroupArray> CREATOR = 129 new Parcelable.Creator<TrackGroupArray>() { 132 public TrackGroupArray createFromParcel(Parcel in) { 133 return new TrackGroupArray(in); 137 public TrackGroupArray[] newArray(int size) { [all …]
|
D | MergingMediaPeriod.java | 45 @Nullable private TrackGroupArray trackGroups; 95 public TrackGroupArray getTrackGroups() { in getTrackGroups() 271 TrackGroupArray periodTrackGroups = period.getTrackGroups(); in onPrepared() 277 trackGroups = new TrackGroupArray(trackGroupArray); in onPrepared() 310 public TrackGroupArray getTrackGroups() { in getTrackGroups()
|
D | SilenceMediaSource.java | 131 private static final TrackGroupArray TRACKS = new TrackGroupArray(new TrackGroup(FORMAT)); 150 public TrackGroupArray getTrackGroups() { in getTrackGroups()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/trackselection/ |
D | MappingTrackSelectorTest.java | 32 import com.google.android.exoplayer2.source.TrackGroupArray; 70 TrackGroupArray trackGroups = new TrackGroupArray(VIDEO_TRACK_GROUP, AUDIO_TRACK_GROUP); in selectTracks_audioAndVideo_sameOrderAsRenderers_mappedToCorrectRenderer() 82 TrackGroupArray trackGroups = new TrackGroupArray(VIDEO_TRACK_GROUP, AUDIO_TRACK_GROUP); in selectTracks_audioAndVideo_reverseOrderToRenderers_mappedToCorrectRenderer() 96 TrackGroupArray trackGroups = in selectTracks_multipleVideoAndAudioTracks_mappedToSameRenderer() 97 new TrackGroupArray( in selectTracks_multipleVideoAndAudioTracks_mappedToSameRenderer() 114 TrackGroupArray trackGroups = in selectTracks_multipleMetadataTracks_mappedToDifferentRenderers() 115 new TrackGroupArray(VIDEO_TRACK_GROUP, METADATA_TRACK_GROUP, METADATA_TRACK_GROUP); in selectTracks_multipleMetadataTracks_mappedToDifferentRenderers() 153 TrackGroupArray rendererTrackGroupArray = lastMappedTrackInfo.getTrackGroups(rendererIndex); in assertMappedTrackGroups()
|
D | DefaultTrackSelectorTest.java | 44 import com.google.android.exoplayer2.source.TrackGroupArray; 100 private static final TrackGroupArray TRACK_GROUPS = 101 new TrackGroupArray(VIDEO_TRACK_GROUP, AUDIO_TRACK_GROUP); 137 SparseArray<Map<TrackGroupArray, SelectionOverride>> selectionOverrides = new SparseArray<>(); in parametersParcelable() 138 Map<TrackGroupArray, SelectionOverride> videoOverrides = new HashMap<>(); in parametersParcelable() 139 videoOverrides.put(new TrackGroupArray(VIDEO_TRACK_GROUP), new SelectionOverride(0, 1)); in parametersParcelable() 214 .setSelectionOverride(0, new TrackGroupArray(VIDEO_TRACK_GROUP), null)); in selectTracksWithNullOverride() 228 .setSelectionOverride(0, new TrackGroupArray(VIDEO_TRACK_GROUP), null) in selectTracksWithClearedNullOverride() 229 .clearSelectionOverride(0, new TrackGroupArray(VIDEO_TRACK_GROUP))); in selectTracksWithClearedNullOverride() 243 .setSelectionOverride(0, new TrackGroupArray(VIDEO_TRACK_GROUP), null)); in selectTracksWithNullOverrideForDifferentTracks() [all …]
|
D | TrackSelectorTest.java | 26 import com.google.android.exoplayer2.source.TrackGroupArray; 47 TrackGroupArray trackGroups, in setUp()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/trackselection/ |
D | MappingTrackSelector.java | 32 import com.google.android.exoplayer2.source.TrackGroupArray; 97 private final TrackGroupArray[] rendererTrackGroups; 100 private final TrackGroupArray unmappedTrackGroups; 116 TrackGroupArray[] rendererTrackGroups, in MappedTrackInfo() 119 TrackGroupArray unmappedTrackGroups) { in MappedTrackInfo() 163 public TrackGroupArray getTrackGroups(int rendererIndex) { in getTrackGroups() 322 public TrackGroupArray getUnassociatedTrackGroups() { in getUnassociatedTrackGroups() 327 public TrackGroupArray getUnmappedTrackGroups() { in getUnmappedTrackGroups() 353 TrackGroupArray trackGroups, in selectTracks() 397 TrackGroupArray[] rendererTrackGroupArrays = new TrackGroupArray[rendererCapabilities.length]; in selectTracks() [all …]
|
D | DefaultTrackSelector.java | 38 import com.google.android.exoplayer2.source.TrackGroupArray; 190 private final SparseArray<Map<TrackGroupArray, @NullableType SelectionOverride>> 636 int rendererIndex, TrackGroupArray groups, @Nullable SelectionOverride override) { in setSelectionOverride() 637 Map<TrackGroupArray, @NullableType SelectionOverride> overrides = in setSelectionOverride() 659 int rendererIndex, TrackGroupArray groups) { in clearSelectionOverride() 660 Map<TrackGroupArray, @NullableType SelectionOverride> overrides = in clearSelectionOverride() 680 Map<TrackGroupArray, @NullableType SelectionOverride> overrides = in clearSelectionOverrides() 768 private static SparseArray<Map<TrackGroupArray, @NullableType SelectionOverride>> 770 SparseArray<Map<TrackGroupArray, @NullableType SelectionOverride>> selectionOverrides) { in cloneSelectionOverrides() argument 771 SparseArray<Map<TrackGroupArray, @NullableType SelectionOverride>> clone = in cloneSelectionOverrides() [all …]
|
D | TrackSelector.java | 26 import com.google.android.exoplayer2.source.TrackGroupArray; 127 TrackGroupArray trackGroups, in selectTracks()
|
D | TrackSelectionUtil.java | 19 import com.google.android.exoplayer2.source.TrackGroupArray; 87 TrackGroupArray trackGroupArray, in updateParametersWithOverride()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/ |
D | TrackGroupArrayTest.java | 41 TrackGroupArray trackGroupArrayToParcel = new TrackGroupArray(trackGroup1, trackGroup2); in parcelable() 47 TrackGroupArray trackGroupArrayFromParcel = TrackGroupArray.CREATOR.createFromParcel(parcel); in parcelable()
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | MediaPeriodAsserts.java | 28 import com.google.android.exoplayer2.source.TrackGroupArray; 63 public static void assertTrackGroups(MediaPeriod mediaPeriod, TrackGroupArray expectedGroups) { in assertTrackGroups() 64 TrackGroupArray actualGroups = prepareAndGetTrackGroups(mediaPeriod); in assertTrackGroups() 99 TrackGroupArray trackGroupArray = prepareAndGetTrackGroups(mediaPeriod); in assertGetStreamKeysAndManifestFilterIntegration() 160 TrackGroupArray filteredTrackGroupArray = prepareAndGetTrackGroups(filteredMediaPeriod); in assertGetStreamKeysAndManifestFilterIntegration() 176 TrackGroupArray trackGroupArray, Format[] formats) { in assertOneTrackGroupContainsFormats() 200 private static TrackGroupArray prepareAndGetTrackGroups(MediaPeriod mediaPeriod) { in prepareAndGetTrackGroups() 201 AtomicReference<TrackGroupArray> trackGroupArray = new AtomicReference<>(); in prepareAndGetTrackGroups()
|
D | FakeAdaptiveMediaSource.java | 23 import com.google.android.exoplayer2.source.TrackGroupArray; 38 TrackGroupArray trackGroupArray, in FakeAdaptiveMediaSource() 47 TrackGroupArray trackGroupArray, in createFakeMediaPeriod()
|
D | FakeMediaSource.java | 36 import com.google.android.exoplayer2.source.TrackGroupArray; 73 private final TrackGroupArray trackGroupArray; 99 public FakeMediaSource(@Nullable Timeline timeline, TrackGroupArray trackGroupArray) { in FakeMediaSource() 243 TrackGroupArray trackGroupArray, in createFakeMediaPeriod() 285 private static TrackGroupArray buildTrackGroupArray(Format... formats) { in buildTrackGroupArray() 290 return new TrackGroupArray(trackGroups); in buildTrackGroupArray()
|
D | FakeMediaPeriod.java | 31 import com.google.android.exoplayer2.source.TrackGroupArray; 50 private final TrackGroupArray trackGroupArray; 67 public FakeMediaPeriod(TrackGroupArray trackGroupArray, EventDispatcher eventDispatcher) { in FakeMediaPeriod() 79 TrackGroupArray trackGroupArray, EventDispatcher eventDispatcher, boolean deferOnPrepared) { in FakeMediaPeriod() 147 public TrackGroupArray getTrackGroups() { in getTrackGroups()
|
D | FakeTrackSelector.java | 22 import com.google.android.exoplayer2.source.TrackGroupArray; 64 TrackGroupArray trackGroupArray = mappedTrackInfo.getTrackGroups(i); in selectAllTracks()
|
D | ExoPlayerTestRunner.java | 36 import com.google.android.exoplayer2.source.TrackGroupArray; 366 private TrackGroupArray trackGroups; 543 public void assertTrackGroupsEqual(TrackGroupArray trackGroupArray) { in assertTrackGroupsEqual() 621 public void onTracksChanged(TrackGroupArray trackGroups, TrackSelectionArray trackSelections) { in onTracksChanged()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | PlaybackInfo.java | 22 import com.google.android.exoplayer2.source.TrackGroupArray; 57 public final TrackGroupArray trackGroups; 99 TrackGroupArray.EMPTY, in createDummy() 131 TrackGroupArray trackGroups, in PlaybackInfo() 179 TrackGroupArray trackGroups, in copyWithNewPosition()
|
D | LoadControl.java | 19 import com.google.android.exoplayer2.source.TrackGroupArray; 40 void onTracksSelected(Renderer[] renderers, TrackGroupArray trackGroups, in onTracksSelected()
|
D | MediaPeriodHolder.java | 24 import com.google.android.exoplayer2.source.TrackGroupArray; 68 private TrackGroupArray trackGroups; 98 this.trackGroups = TrackGroupArray.EMPTY; in MediaPeriodHolder() 347 public TrackGroupArray getTrackGroups() { in getTrackGroups()
|
/external/exoplayer/tree/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/ |
D | DashMediaPeriodTest.java | 30 import com.google.android.exoplayer2.source.TrackGroupArray; 155 TrackGroupArray expectedTrackGroups = in adaptationSetSwitchingProperty_mergesTrackGroups() 156 new TrackGroupArray( in adaptationSetSwitchingProperty_mergesTrackGroups() 200 TrackGroupArray expectedTrackGroups = in trickPlayProperty_mergesTrackGroups() 201 new TrackGroupArray( in trickPlayProperty_mergesTrackGroups() 246 TrackGroupArray expectedTrackGroups = in adaptationSetSwitchingProperty_andTrickPlayProperty_mergesTrackGroups() 247 new TrackGroupArray( in adaptationSetSwitchingProperty_andTrickPlayProperty_mergesTrackGroups()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/offline/ |
D | DownloadHelperTest.java | 33 import com.google.android.exoplayer2.source.TrackGroupArray; 85 private static TrackGroupArray trackGroupArrayAll; 86 private static TrackGroupArray trackGroupArraySingle; 87 private static TrackGroupArray[] trackGroupArrays; 106 new TrackGroupArray( in staticSetUp() 113 new TrackGroupArray(TRACK_GROUP_VIDEO_SINGLE, trackGroupAudioUs); in staticSetUp() 115 new TrackGroupArray[] {trackGroupArrayAll, trackGroupArraySingle}; in staticSetUp() 161 TrackGroupArray trackGroupArrayPeriod0 = downloadHelper.getTrackGroups(/* periodIndex= */ 0); in getTrackGroups_returnsTrackGroups() 162 TrackGroupArray trackGroupArrayPeriod1 = downloadHelper.getTrackGroups(/* periodIndex= */ 1); in getTrackGroups_returnsTrackGroups()
|
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/ |
D | SsMediaPeriod.java | 30 import com.google.android.exoplayer2.source.TrackGroupArray; 54 private final TrackGroupArray trackGroups; 119 public TrackGroupArray getTrackGroups() { in getTrackGroups() 261 private static TrackGroupArray buildTrackGroups( in buildTrackGroups() 277 return new TrackGroupArray(trackGroups); in buildTrackGroups()
|
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/ |
D | CastPlayer.java | 29 import com.google.android.exoplayer2.source.TrackGroupArray; 107 private TrackGroupArray currentTrackGroups; 146 currentTrackGroups = TrackGroupArray.EMPTY; in CastPlayer() 563 public TrackGroupArray getCurrentTrackGroups() { in getCurrentTrackGroups() 752 currentTrackGroups = TrackGroupArray.EMPTY; in updateTracksAndSelectionsAndNotifyIfChanged() 775 TrackGroupArray newTrackGroups = new TrackGroupArray(trackGroups); in updateTracksAndSelectionsAndNotifyIfChanged() 781 currentTrackGroups = new TrackGroupArray(trackGroups); in updateTracksAndSelectionsAndNotifyIfChanged()
|
/external/exoplayer/tree/demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/ |
D | PlayerManager.java | 33 import com.google.android.exoplayer2.source.TrackGroupArray; 73 private TrackGroupArray lastSeenTrackGroupArray; 246 @NonNull TrackGroupArray trackGroups, @NonNull TrackSelectionArray trackSelections) { in onTracksChanged()
|