/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/trackselection/ |
D | DefaultTrackSelectorTest.java | 349 TrackGroupArray trackGroups = wrapFormats(audioFormat, formatWithSelectionFlag); in selectTracksSelectTrackWithSelectionFlag() local 354 trackGroups, in selectTracksSelectTrackWithSelectionFlag() 357 assertFixedSelection(result.selections.get(0), trackGroups, formatWithSelectionFlag); in selectTracksSelectTrackWithSelectionFlag() 370 TrackGroupArray trackGroups = in selectAdaptiveAudioTrackGroupWithMaxBitrate() local 374 trackSelector.selectTracks(rendererCapabilities, trackGroups, periodId, TIMELINE); in selectAdaptiveAudioTrackGroupWithMaxBitrate() 375 assertAdaptiveSelection(result.selections.get(0), trackGroups.get(0), 2, 0, 1); in selectAdaptiveAudioTrackGroupWithMaxBitrate() 379 result = trackSelector.selectTracks(rendererCapabilities, trackGroups, periodId, TIMELINE); in selectAdaptiveAudioTrackGroupWithMaxBitrate() 380 assertAdaptiveSelection(result.selections.get(0), trackGroups.get(0), 0, 1); in selectAdaptiveAudioTrackGroupWithMaxBitrate() 383 result = trackSelector.selectTracks(rendererCapabilities, trackGroups, periodId, TIMELINE); in selectAdaptiveAudioTrackGroupWithMaxBitrate() 384 assertAdaptiveSelection(result.selections.get(0), trackGroups.get(0), 0, 1); in selectAdaptiveAudioTrackGroupWithMaxBitrate() [all …]
|
D | MappingTrackSelectorTest.java | 70 TrackGroupArray trackGroups = new TrackGroupArray(VIDEO_TRACK_GROUP, AUDIO_TRACK_GROUP); in selectTracks_audioAndVideo_sameOrderAsRenderers_mappedToCorrectRenderer() local 72 trackSelector.selectTracks(rendererCapabilities, trackGroups, periodId, TIMELINE); in selectTracks_audioAndVideo_sameOrderAsRenderers_mappedToCorrectRenderer() 82 TrackGroupArray trackGroups = new TrackGroupArray(VIDEO_TRACK_GROUP, AUDIO_TRACK_GROUP); in selectTracks_audioAndVideo_reverseOrderToRenderers_mappedToCorrectRenderer() local 86 trackSelector.selectTracks(reverseOrderRendererCapabilities, trackGroups, periodId, TIMELINE); in selectTracks_audioAndVideo_reverseOrderToRenderers_mappedToCorrectRenderer() 96 TrackGroupArray trackGroups = in selectTracks_multipleVideoAndAudioTracks_mappedToSameRenderer() local 104 trackSelector.selectTracks(rendererCapabilities, trackGroups, periodId, TIMELINE); in selectTracks_multipleVideoAndAudioTracks_mappedToSameRenderer() 114 TrackGroupArray trackGroups = in selectTracks_multipleMetadataTracks_mappedToDifferentRenderers() local 121 trackSelector.selectTracks(rendererCapabilities, trackGroups, periodId, TIMELINE); in selectTracks_multipleMetadataTracks_mappedToDifferentRenderers()
|
D | TrackSelectorTest.java | 47 TrackGroupArray trackGroups, in setUp()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ |
D | TrackGroupArray.java | 37 private final TrackGroup[] trackGroups; field in TrackGroupArray 45 public TrackGroupArray(TrackGroup... trackGroups) { in TrackGroupArray() argument 46 this.trackGroups = trackGroups; in TrackGroupArray() 47 this.length = trackGroups.length; in TrackGroupArray() 52 trackGroups = new TrackGroup[length]; in TrackGroupArray() 54 trackGroups[i] = in.readParcelable(TrackGroup.class.getClassLoader()); in TrackGroupArray() 65 return trackGroups[index]; in get() 79 if (trackGroups[i] == group) { in indexOf() 96 hashCode = Arrays.hashCode(trackGroups); in hashCode() 110 return length == other.length && Arrays.equals(trackGroups, other.trackGroups); in equals() [all …]
|
D | MergingMediaPeriod.java | 45 @Nullable private TrackGroupArray trackGroups; field in MergingMediaPeriod 96 return Assertions.checkNotNull(trackGroups); in getTrackGroups() 277 trackGroups = new TrackGroupArray(trackGroupArray); in onPrepared()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | PlaybackInfo.java | 57 public final TrackGroupArray trackGroups; field in PlaybackInfo 131 TrackGroupArray trackGroups, in PlaybackInfo() argument 145 this.trackGroups = trackGroups; in PlaybackInfo() 179 TrackGroupArray trackGroups, in copyWithNewPosition() argument 188 trackGroups, in copyWithNewPosition() 213 trackGroups, in copyWithTimeline() 238 trackGroups, in copyWithPlaybackState() 263 trackGroups, in copyWithPlaybackError() 288 trackGroups, in copyWithIsLoading() 313 trackGroups, in copyWithLoadingMediaPeriodId() [all …]
|
D | MediaPeriodHolder.java | 68 private TrackGroupArray trackGroups; field in MediaPeriodHolder 98 this.trackGroups = TrackGroupArray.EMPTY; in MediaPeriodHolder() 180 trackGroups = mediaPeriod.getTrackGroups(); in handlePrepared() 348 return trackGroups; in getTrackGroups()
|
D | LoadControl.java | 40 void onTracksSelected(Renderer[] renderers, TrackGroupArray trackGroups, in onTracksSelected() argument
|
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/ |
D | SsMediaPeriod.java | 54 private final TrackGroupArray trackGroups; field in SsMediaPeriod 82 trackGroups = buildTrackGroups(manifest, drmSessionManager); in SsMediaPeriod() 120 return trackGroups; in getTrackGroups() 162 int streamElementIndex = trackGroups.indexOf(trackSelection.getTrackGroup()); in getStreamKeys() 240 int streamElementIndex = trackGroups.indexOf(selection.getTrackGroup()); in buildSampleStream() 263 TrackGroup[] trackGroups = new TrackGroup[manifest.streamElements.length]; in buildTrackGroups() local 275 trackGroups[i] = new TrackGroup(exposedFormats); in buildTrackGroups() 277 return new TrackGroupArray(trackGroups); in buildTrackGroups()
|
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | TrackSelectionView.java | 72 private TrackGroupArray trackGroups; field in TrackSelectionView 108 trackGroups = TrackGroupArray.EMPTY; in TrackSelectionView() 253 trackGroups = mappedTrackInfo.getTrackGroups(rendererIndex); in updateViews() 256 trackViews = new CheckedTextView[trackGroups.length][]; in updateViews() 258 for (int groupIndex = 0; groupIndex < trackGroups.length; groupIndex++) { in updateViews() 259 TrackGroup group = trackGroups.get(groupIndex); in updateViews() 373 && trackGroups.get(groupIndex).length > 1 in shouldEnableAdaptiveSelection() 380 return allowMultipleOverrides && trackGroups.length > 1; in shouldEnableMultiGroupSelection()
|
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/ |
D | HlsSampleStreamWrapper.java | 150 private @MonotonicNonNull TrackGroupArray trackGroups; field in HlsSampleStreamWrapper 248 TrackGroup[] trackGroups, int primaryTrackGroupIndex, int... optionalTrackGroupsIndices) { in prepareWithMasterPlaylistInfo() argument 249 this.trackGroups = createTrackGroupArrayWithDrmInfo(trackGroups); in prepareWithMasterPlaylistInfo() 252 optionalTrackGroups.add(this.trackGroups.get(optionalTrackGroupIndex)); in prepareWithMasterPlaylistInfo() 268 return trackGroups; in getTrackGroups() 281 return optionalTrackGroups.contains(trackGroups.get(trackGroupIndex)) in bindSampleQueueToSampleStream() 354 int trackGroupIndex = trackGroups.indexOf(selection.getTrackGroup()); in selectTracks() 1062 if (trackGroups != null) { 1077 int trackGroupCount = trackGroups.length; 1084 if (formatsMatch(upstreamFormat, trackGroups.get(i).getFormat(0))) { [all …]
|
D | HlsMediaPeriod.java | 83 private @MonotonicNonNull TrackGroupArray trackGroups; field in HlsMediaPeriod 171 return Assertions.checkNotNull(trackGroups); in getTrackGroups() 356 if (trackGroups == null) { 432 trackGroups = new TrackGroupArray(trackGroupArray);
|
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/ |
D | DashMediaPeriod.java | 82 private final TrackGroupArray trackGroups; field in DashMediaPeriod 135 trackGroups = result.first; in DashMediaPeriod() 204 return trackGroups; in getTrackGroups() 212 int trackGroupIndex = trackGroups.indexOf(trackSelection.getTrackGroup()); in getStreamKeys() 359 streamIndexToTrackGroupIndex[i] = trackGroups.indexOf(selections[i].getTrackGroup()); in getStreamIndexToTrackGroupIndex() 501 TrackGroup[] trackGroups = new TrackGroup[totalGroupCount]; in buildTrackGroups() local 512 trackGroups, in buildTrackGroups() 515 buildManifestEventTrackGroupInfos(eventStreams, trackGroups, trackGroupInfos, trackGroupCount); in buildTrackGroups() 517 return Pair.create(new TrackGroupArray(trackGroups), trackGroupInfos); in buildTrackGroups() 651 TrackGroup[] trackGroups, in buildPrimaryAndEmbeddedTrackGroupInfos() argument [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/trackselection/ |
D | MappingTrackSelector.java | 353 TrackGroupArray trackGroups, in selectTracks() argument 364 rendererTrackGroups[i] = new TrackGroup[trackGroups.length]; in selectTracks() 365 rendererFormatSupports[i] = new int[trackGroups.length][]; in selectTracks() 375 for (int groupIndex = 0; groupIndex < trackGroups.length; groupIndex++) { in selectTracks() 376 TrackGroup group = trackGroups.get(groupIndex); in selectTracks()
|
D | TrackSelector.java | 127 TrackGroupArray trackGroups, in selectTracks() argument
|
/external/perfetto/ui/src/common/ |
D | actions_unittest.ts | 143 expect(afterTrackAdd.trackGroups['123-123-123'].tracks[0]).toBe('s'); 144 expect(afterTrackAdd.trackGroups['123-123-123'].tracks[1]).toBe('1'); 352 expect(after.trackGroups['g'].tracks).toEqual(['a', 'b', 'b']); 394 expect(after.trackGroups['g'].tracks) 427 expect(after.trackGroups['g'].tracks).toEqual(['a', 'a', 'c', 'b']);
|
D | actions.ts | 202 assertExists(state.trackGroups[track.trackGroup]).tracks.push(id); 224 assertExists(state.trackGroups[args.trackGroup]).tracks.push(id); 236 state.trackGroups[args.id] = { 278 for (const group of Object.values(state.trackGroups)) { 390 const trackGroup = assertExists(state.trackGroups[id]); 789 for (const childTrack of state.trackGroups[args.id].tracks) { 799 for (const childTrack of state.trackGroups[args.id].tracks) {
|
D | state.ts | 290 trackGroups: ObjectById<TrackGroupState>; property 791 trackGroups: {},
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | ExoPlayerTestRunner.java | 366 private TrackGroupArray trackGroups; field in ExoPlayerTestRunner 544 assertThat(this.trackGroups).isEqualTo(trackGroupArray); in assertTrackGroupsEqual() 621 public void onTracksChanged(TrackGroupArray trackGroups, TrackSelectionArray trackSelections) { in onTracksChanged() argument 622 this.trackGroups = trackGroups; in onTracksChanged()
|
D | FakeMediaSource.java | 286 TrackGroup[] trackGroups = new TrackGroup[formats.length]; in buildTrackGroupArray() local 288 trackGroups[i] = new TrackGroup(formats[i]); in buildTrackGroupArray() 290 return new TrackGroupArray(trackGroups); in buildTrackGroupArray()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/ |
D | MergingMediaPeriodTest.java | 140 TrackGroup[] trackGroups = new TrackGroup[definitions[i].formats.length]; in prepareMergingPeriod() local 142 trackGroups[j] = new TrackGroup(definitions[i].formats[j]); in prepareMergingPeriod() 146 new TrackGroupArray(trackGroups), new EventDispatcher()); in prepareMergingPeriod()
|
/external/exoplayer/tree/demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/ |
D | PlayerManager.java | 246 @NonNull TrackGroupArray trackGroups, @NonNull TrackSelectionArray trackSelections) { in onTracksChanged() 247 if (currentPlayer == exoPlayer && trackGroups != lastSeenTrackGroupArray) { in onTracksChanged() 260 lastSeenTrackGroupArray = trackGroups; in onTracksChanged()
|
/external/perfetto/ui/src/frontend/ |
D | track_group_panel.ts | 62 return assertExists(globals.state.trackGroups[this.trackGroupId]); 91 const trackGroup = globals.state.trackGroups[attrs.trackGroupId];
|
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/ |
D | CastPlayer.java | 761 TrackGroup[] trackGroups = new TrackGroup[castMediaTracks.size()]; in updateTracksAndSelectionsAndNotifyIfChanged() local 765 trackGroups[i] = new TrackGroup(CastUtils.mediaTrackToFormat(mediaTrack)); in updateTracksAndSelectionsAndNotifyIfChanged() 772 trackSelections[rendererIndex] = new FixedTrackSelection(trackGroups[i], 0); in updateTracksAndSelectionsAndNotifyIfChanged() 775 TrackGroupArray newTrackGroups = new TrackGroupArray(trackGroups); in updateTracksAndSelectionsAndNotifyIfChanged() 781 currentTrackGroups = new TrackGroupArray(trackGroups); in updateTracksAndSelectionsAndNotifyIfChanged()
|
/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/ |
D | PlayerActivity.java | 528 @NonNull TrackGroupArray trackGroups, @NonNull TrackSelectionArray trackSelections) { in onTracksChanged() 530 if (trackGroups != lastSeenTrackGroupArray) { in onTracksChanged() 542 lastSeenTrackGroupArray = trackGroups; in onTracksChanged()
|