/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/trackselection/ |
D | AdaptiveTrackSelectionTest.java | 94 TrackGroup trackGroup = new TrackGroup(format1, format2, format3); in selectInitialIndexUseMaxInitialBitrateIfNoBandwidthEstimate() local 97 adaptiveTrackSelection = adaptiveTrackSelection(trackGroup); in selectInitialIndexUseMaxInitialBitrateIfNoBandwidthEstimate() 108 TrackGroup trackGroup = new TrackGroup(format1, format2, format3); in selectInitialIndexUseBandwidthEstimateIfAvailable() local 111 adaptiveTrackSelection = adaptiveTrackSelection(trackGroup); in selectInitialIndexUseBandwidthEstimateIfAvailable() 122 TrackGroup trackGroup = new TrackGroup(format1, format2, format3); in updateSelectedTrackDoNotSwitchUpIfNotBufferedEnough() local 129 trackGroup, /* minDurationForQualityIncreaseMs= */ 10_000); in updateSelectedTrackDoNotSwitchUpIfNotBufferedEnough() 150 TrackGroup trackGroup = new TrackGroup(format1, format2, format3); in updateSelectedTrackSwitchUpIfBufferedEnough() local 157 trackGroup, /* minDurationForQualityIncreaseMs= */ 10_000); in updateSelectedTrackSwitchUpIfBufferedEnough() 178 TrackGroup trackGroup = new TrackGroup(format1, format2, format3); in updateSelectedTrackDoNotSwitchDownIfBufferedEnough() local 185 trackGroup, /* maxDurationForQualityDecreaseMs= */ 25_000); in updateSelectedTrackDoNotSwitchDownIfBufferedEnough() [all …]
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | MediaPeriodAsserts.java | 107 TrackGroup trackGroup = trackGroupArray.get(i); in assertGetStreamKeysAndManifestFilterIntegration() local 108 for (int j = 0; j < trackGroup.length; j++) { in assertGetStreamKeysAndManifestFilterIntegration() 109 testSelections.add(Collections.singletonList(new TestTrackSelection(trackGroup, j))); in assertGetStreamKeysAndManifestFilterIntegration() 111 if (trackGroup.length > 1) { in assertGetStreamKeysAndManifestFilterIntegration() 112 testSelections.add(Collections.singletonList(new TestTrackSelection(trackGroup, 0, 1))); in assertGetStreamKeysAndManifestFilterIntegration() 116 new TestTrackSelection(trackGroup, 0), new TestTrackSelection(trackGroup, 1) in assertGetStreamKeysAndManifestFilterIntegration() 119 if (trackGroup.length > 2) { in assertGetStreamKeysAndManifestFilterIntegration() 120 int[] allTracks = new int[trackGroup.length]; in assertGetStreamKeysAndManifestFilterIntegration() 121 for (int j = 0; j < trackGroup.length; j++) { in assertGetStreamKeysAndManifestFilterIntegration() 125 Collections.singletonList(new TestTrackSelection(trackGroup, allTracks))); in assertGetStreamKeysAndManifestFilterIntegration() [all …]
|
D | FakeAdaptiveDataSet.java | 65 public FakeAdaptiveDataSet createDataSet(TrackGroup trackGroup, long mediaDurationUs) { in createDataSet() argument 66 return new FakeAdaptiveDataSet(trackGroup, mediaDurationUs, chunkDurationUs, in createDataSet() 129 /* package */ FakeAdaptiveDataSet(TrackGroup trackGroup, long mediaDurationUs, in FakeAdaptiveDataSet() argument 140 for (int i = 0; i < trackGroup.length; i++) { in FakeAdaptiveDataSet() 142 Format format = trackGroup.getFormat(i); in FakeAdaptiveDataSet()
|
D | FakeTrackSelector.java | 99 private TrackSelection createTrackSelection(TrackGroup trackGroup) { in createTrackSelection() argument 102 if (trackSelection.getTrackGroup().equals(trackGroup)) { in createTrackSelection() 107 FakeTrackSelection trackSelection = new FakeTrackSelection(trackGroup); in createTrackSelection()
|
D | FakeMediaPeriod.java | 169 TrackGroup trackGroup = selection.getTrackGroup(); in selectTracks() local 170 assertThat(trackGroupArray.indexOf(trackGroup) != C.INDEX_UNSET).isTrue(); in selectTracks() 173 assertThat(indexInTrackGroup).isLessThan(trackGroup.length); in selectTracks()
|
/external/perfetto/ui/src/common/ |
D | actions_unittest.ts | 36 trackGroup?: string, 50 trackGroup: args.trackGroup || SCROLLING_TRACK_GROUP, 98 trackGroup: SCROLLING_TRACK_GROUP, 108 trackGroup: SCROLLING_TRACK_GROUP, 138 trackGroup: '123-123-123', 342 state, {id: 'b', kind: HEAP_PROFILE_TRACK_KIND, trackGroup: 'g'}); 344 state, {id: 'a', kind: PROCESS_SCHEDULING_TRACK_KIND, trackGroup: 'g'}); 359 state, {id: 'a', kind: PROCESS_SCHEDULING_TRACK_KIND, trackGroup: 'g'}); 363 trackGroup: 'g', 369 trackGroup: 'g', [all …]
|
D | actions.ts | 74 trackGroup?: string; property 199 if (track.trackGroup === SCROLLING_TRACK_GROUP) { 201 } else if (track.trackGroup !== undefined) { 202 assertExists(state.trackGroups[track.trackGroup]).tracks.push(id); 209 trackGroup?: string; config: {}; trackKindPriority: TrackKindPriority; 218 trackGroup: args.trackGroup, 221 if (args.trackGroup === SCROLLING_TRACK_GROUP) { 223 } else if (args.trackGroup !== undefined) { 224 assertExists(state.trackGroups[args.trackGroup]).tracks.push(id); 256 trackGroup: SCROLLING_TRACK_GROUP, [all …]
|
D | state_unittest.ts | 45 trackGroup: 'containsB',
|
D | state.ts | 116 trackGroup?: string; property 851 const parentId = track.trackGroup;
|
/external/perfetto/ui/src/controller/ |
D | track_decider.ts | 141 trackGroup: SCROLLING_TRACK_GROUP, 191 trackGroup: SCROLLING_TRACK_GROUP, 230 trackGroup: SCROLLING_TRACK_GROUP, 265 trackGroup: SCROLLING_TRACK_GROUP, 294 trackGroup: SCROLLING_TRACK_GROUP, 331 track.trackGroup = undefined; 333 track.trackGroup = id; 356 trackGroup: SCROLLING_TRACK_GROUP, 374 trackGroup: upid === 0 ? SCROLLING_TRACK_GROUP : 402 trackGroup: upid === 0 ? SCROLLING_TRACK_GROUP : [all …]
|
/external/perfetto/ui/src/frontend/ |
D | scroll_helper.ts | 76 let trackGroup = null; 79 trackGroup = document.querySelector('#track_' + trackGroupId); 82 if (!trackGroupId || !trackGroup) { 95 trackGroup.scrollIntoView({behavior: 'smooth', block: 'nearest'});
|
D | track_group_panel.ts | 91 const trackGroup = globals.state.trackGroups[attrs.trackGroupId]; constant 96 trackGroup.tracks.every(id => selectedArea.tracks.includes(id))) { 100 trackGroup.tracks.some(id => selectedArea.tracks.includes(id))) {
|
D | panel_container.ts | 148 const trackGroup = globals.state.trackGroups[panel.attrs.trackGroupId]; constant 150 if (trackGroup.collapsed) { 152 for (const track of trackGroup.tracks) {
|
D | flow_events_renderer.ts | 102 return uiTrackId ? globals.state.tracks[uiTrackId].trackGroup : undefined;
|
/external/exoplayer/tree/playbacktests/src/androidTest/java/com/google/android/exoplayer2/playbacktests/gts/ |
D | DashTestRunner.java | 422 TrackGroup trackGroup, in getVideoTrackIndices() argument 430 int trackIndex = getTrackIndex(trackGroup, formatId); in getVideoTrackIndices() 432 + Format.toLogString(trackGroup.getFormat(trackIndex))); in getVideoTrackIndices() 438 for (int i = 0; i < trackGroup.length; i++) { in getVideoTrackIndices() 441 + Format.toLogString(trackGroup.getFormat(i))); in getVideoTrackIndices() 452 private static int getTrackIndex(TrackGroup trackGroup, String formatId) { in getTrackIndex() argument 453 for (int i = 0; i < trackGroup.length; i++) { in getTrackIndex() 454 if (trackGroup.getFormat(i).id.equals(formatId)) { in getTrackIndex()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/ |
D | EventLogger.java | 224 TrackGroup trackGroup = rendererTrackGroups.get(groupIndex); in onTracksChanged() local 227 trackGroup.length, in onTracksChanged() 231 for (int trackIndex = 0; trackIndex < trackGroup.length; trackIndex++) { in onTracksChanged() 232 String status = getTrackStatusString(trackSelection, trackGroup, trackIndex); in onTracksChanged() 242 + Format.toLogString(trackGroup.getFormat(trackIndex)) in onTracksChanged() 269 TrackGroup trackGroup = unassociatedTrackGroups.get(groupIndex); in onTracksChanged() local 270 for (int trackIndex = 0; trackIndex < trackGroup.length; trackIndex++) { in onTracksChanged() 281 + Format.toLogString(trackGroup.getFormat(trackIndex)) in onTracksChanged()
|
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/ |
D | HlsChunkSource.java | 94 private final TrackGroup trackGroup; field in HlsChunkSource 151 trackGroup = new TrackGroup(playlistFormats); in HlsChunkSource() 156 trackSelection = new InitializationTrackSelection(trackGroup, initialTrackSelection); in HlsChunkSource() 178 return trackGroup; in getTrackGroup() 238 int oldTrackIndex = previous == null ? C.INDEX_UNSET : trackGroup.indexOf(previous.trackFormat); in getNextChunk() 384 trackSelection.indexOf(trackGroup.indexOf(chunk.trackFormat)), blacklistDurationMs); in maybeBlacklistTrack() 424 int oldTrackIndex = previous == null ? C.INDEX_UNSET : trackGroup.indexOf(previous.trackFormat); in createMediaChunkIterators()
|
D | HlsSampleStreamWrapper.java | 1199 TrackGroup trackGroup = trackGroups[i]; 1200 Format[] exposedFormats = new Format[trackGroup.length]; 1201 for (int j = 0; j < trackGroup.length; j++) { 1202 Format format = trackGroup.getFormat(j);
|
D | HlsMediaPeriod.java | 272 TrackGroup trackGroup = selections[i].getTrackGroup(); 274 if (sampleStreamWrappers[j].getTrackGroups().indexOf(trackGroup) != C.INDEX_UNSET) {
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/trackselection/ |
D | DefaultTrackSelector.java | 1913 TrackGroup trackGroup = groups.get(groupIndex); in selectFixedVideoTrack() local 1914 List<Integer> selectedTrackIndices = getViewportFilteredTrackIndices(trackGroup, in selectFixedVideoTrack() 1917 for (int trackIndex = 0; trackIndex < trackGroup.length; trackIndex++) { in selectFixedVideoTrack() 1918 Format format = trackGroup.getFormat(trackIndex); in selectFixedVideoTrack() 1962 selectedGroup = trackGroup; in selectFixedVideoTrack() 2006 TrackGroup trackGroup = groups.get(groupIndex); 2008 for (int trackIndex = 0; trackIndex < trackGroup.length; trackIndex++) { 2011 Format format = trackGroup.getFormat(trackIndex); 2134 TrackGroup trackGroup = groups.get(groupIndex); 2136 for (int trackIndex = 0; trackIndex < trackGroup.length; trackIndex++) { [all …]
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/offline/ |
D | DownloadHelperTest.java | 479 List<TrackSelection> trackSelectionList, TrackGroup trackGroup, int... tracks) { in assertSingleTrackSelectionEquals() argument 481 assertTrackSelectionEquals(trackSelectionList.get(0), trackGroup, tracks); in assertSingleTrackSelectionEquals() 485 TrackSelection trackSelection, TrackGroup trackGroup, int... tracks) { in assertTrackSelectionEquals() argument 486 assertThat(trackSelection.getTrackGroup()).isEqualTo(trackGroup); in assertTrackSelectionEquals()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ |
D | MergingMediaPeriod.java | 114 TrackGroup trackGroup = selections[i].getTrackGroup(); in selectTracks() local 116 if (periods[j].getTrackGroups().indexOf(trackGroup) != C.INDEX_UNSET) { in selectTracks()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/ |
D | DownloadHelper.java | 1144 public DownloadTrackSelection(TrackGroup trackGroup, int[] tracks) { in DownloadTrackSelection() argument 1145 super(trackGroup, tracks); in DownloadTrackSelection()
|