/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/ |
D | ClippingMediaSourceTest.java | 78 assertThat(clippedTimeline.getWindow(0, window).getDurationUs()) in noClipping() 80 assertThat(clippedTimeline.getPeriod(0, period).getDurationUs()) in noClipping() 135 assertThat(clippedTimeline.getWindow(0, window).getDurationUs()) in clippingStart() 137 assertThat(clippedTimeline.getPeriod(0, period).getDurationUs()) in clippingStart() 152 assertThat(clippedTimeline.getWindow(0, window).getDurationUs()) in clippingEnd() 154 assertThat(clippedTimeline.getPeriod(0, period).getDurationUs()) in clippingEnd() 168 assertThat(clippedTimeline.getWindow(0, window).getDurationUs()) in clippingStartAndEndInitial() 170 assertThat(clippedTimeline.getPeriod(0, period).getDurationUs()) in clippingStartAndEndInitial() 187 assertThat(clippedTimeline.getWindow(/* windowIndex= */ 0, window).getDurationUs()) in clippingToEndOfSourceWithDurationSetsDuration() 204 assertThat(clippedTimeline.getWindow(/* windowIndex= */ 0, window).getDurationUs()) in clippingToEndOfSourceWithUnsetDurationDoesNotSetDuration() [all …]
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | FakeExtractorOutput.java | 104 long durationUs = seekMap.getDurationUs(); in seekMap() 165 .addTime("duration", seekMap.getDurationUs()) in dump() 169 if (seekMap.getDurationUs() != C.TIME_UNSET) { in dump() 171 long durationUs = seekMap.getDurationUs(); in dump()
|
D | ExtractorAsserts.java | 305 long durationUs = seekMap.getDurationUs(); in assertOutput() 360 || (output.seekMap != null && output.seekMap.getDurationUs() != C.TIME_UNSET); in consumeTestData()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ |
D | SeekMap.java | 58 public long getDurationUs() { in getDurationUs() method in SeekMap.Unseekable 126 long getDurationUs(); in getDurationUs() method
|
D | FlacSeekTableSeekMap.java | 48 public long getDurationUs() { in getDurationUs() method in FlacSeekTableSeekMap 49 return flacStreamMetadata.getDurationUs(); in getDurationUs()
|
D | ChunkIndex.java | 90 public long getDurationUs() { in getDurationUs() method in ChunkIndex
|
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ |
D | ConstantBitrateSeekMapTest.java | 80 assertThat(constantBitrateSeekMap.getDurationUs()).isEqualTo(2_200_000); in getDurationUs_forKnownInputLength_returnCorrectDuration() 91 assertThat(constantBitrateSeekMap.getDurationUs()).isEqualTo(C.TIME_UNSET); in getDurationUs_forUnnnownInputLength_returnUnknownDuration() 203 assertThat(timeUs).isEqualTo(constantBitrateSeekMap.getDurationUs()); in getTimeUsAtPosition_forPositionAtEndOfStream_returnStreamDuration()
|
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/flac/ |
D | FlacExtractorSeekTest.java | 58 assertThat(seekMap.getDurationUs()).isEqualTo(DURATION_US); in flacExtractorReads_seekTable_returnSeekableSeekMap() 86 long targetSeekTimeUs = seekMap.getDurationUs(); in seeking_seekTable_handlesSeekToEoF() 141 assertThat(seekMap.getDurationUs()).isEqualTo(DURATION_US); in flacExtractorReads_binarySearch_returnSeekableSeekMap() 169 long targetSeekTimeUs = seekMap.getDurationUs(); in seeking_binarySearch_handlesSeekToEoF() 224 assertThat(seekMap.getDurationUs()).isEqualTo(C.TIME_UNSET); in flacExtractorReads_unseekable_returnUnseekableSeekMap()
|
/external/exoplayer/tree/extensions/flac/src/androidTest/java/com/google/android/exoplayer2/ext/flac/ |
D | FlacExtractorSeekTest.java | 58 assertThat(seekMap.getDurationUs()).isEqualTo(DURATION_US); in flacExtractorReads_seekTable_returnSeekableSeekMap() 86 long targetSeekTimeUs = seekMap.getDurationUs(); in seeking_seekTable_handlesSeekToEoF() 141 assertThat(seekMap.getDurationUs()).isEqualTo(DURATION_US); in flacExtractorReads_binarySearch_returnSeekableSeekMap() 169 long targetSeekTimeUs = seekMap.getDurationUs(); in seeking_binarySearch_handlesSeekToEoF() 224 assertThat(seekMap.getDurationUs()).isEqualTo(C.TIME_UNSET); in flacExtractorReads_unseekable_returnUnseekableSeekMap()
|
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ts/ |
D | TsDurationReaderTest.java | 70 assertThat(tsDurationReader.getDurationUs() / 1000).isEqualTo(2500); in readDuration_returnsCorrectDuration() 95 assertThat(tsDurationReader.getDurationUs() / 1000).isEqualTo(2500); in readDuration_midStream_returnsCorrectDuration()
|
D | PsDurationReaderTest.java | 66 assertThat(tsDurationReader.getDurationUs()).isEqualTo(766); in readDuration_returnsCorrectDuration() 87 assertThat(tsDurationReader.getDurationUs()).isEqualTo(766); in readDuration_midStream_returnsCorrectDuration()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/flv/ |
D | FlvExtractor.java | 266 long durationUs = metadataReader.getDurationUs(); in readTagData() 278 metadataReader.getDurationUs() == C.TIME_UNSET ? -tagTimestampUs : 0; in readTagData() 307 : (metadataReader.getDurationUs() == C.TIME_UNSET ? 0 : tagTimestampUs); in getCurrentTimestampUs()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/ |
D | PsExtractor.java | 289 if (durationReader.getDurationUs() != C.TIME_UNSET) { in maybeOutputSeekMap() 293 durationReader.getDurationUs(), in maybeOutputSeekMap() 297 output.seekMap(new SeekMap.Unseekable(durationReader.getDurationUs())); in maybeOutputSeekMap()
|
/external/exoplayer/tree/extensions/flac/src/main/java/com/google/android/exoplayer2/ext/flac/ |
D | FlacExtractor.java | 251 seekMap = new FlacSeekMap(streamMetadata.getDurationUs(), decoderJni); in outputSeekMap() 259 seekMap = new SeekMap.Unseekable(streamMetadata.getDurationUs()); in outputSeekMap() 312 public long getDurationUs() { in getDurationUs() method in FlacExtractor.FlacSeekMap
|
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/ |
D | DashSegmentIndex.java | 57 long getDurationUs(long segmentNum, long periodDurationUs); in getDurationUs() method
|
D | DashWrappingSegmentIndex.java | 55 public long getDurationUs(long segmentNum, long periodDurationUs) { in getDurationUs() method in DashWrappingSegmentIndex
|
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/ |
D | SingleSegmentIndex.java | 45 public long getDurationUs(long segmentNum, long periodDurationUs) { in getDurationUs() method in SingleSegmentIndex
|
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/amr/ |
D | AmrExtractorSeekTest.java | 73 assertThat(seekMap.getDurationUs()).isEqualTo(NARROW_BAND_FILE_DURATION_US); in amrExtractorReads_returnSeekableSeekMap_forNarrowBandAmr() 119 long targetSeekTimeUs = seekMap.getDurationUs(); in seeking_handlesSeekToEoF_extractsLastFrame_forNarrowBandAmr() 232 assertThat(seekMap.getDurationUs()).isEqualTo(WIDE_BAND_FILE_DURATION_US); in amrExtractorReads_returnSeekableSeekMap_forWideBandAmr() 278 long targetSeekTimeUs = seekMap.getDurationUs(); in seeking_handlesSeekToEoF_extractsLastFrame_forWideBandAmr()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | Timeline.java | 281 public long getDurationUs() { in getDurationUs() method in Timeline.Window 470 public long getDurationUs() { in getDurationUs() method in Timeline.Period 884 long periodDurationUs = getPeriod(periodIndex, period, /* setIds= */ true).getDurationUs(); in getPeriodPosition() 888 periodDurationUs = getPeriod(++periodIndex, period, /* setIds= */ true).getDurationUs(); in getPeriodPosition()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ads/ |
D | AdsMediaSource.java | 310 adDurationsUs[i][j] = holder == null ? C.TIME_UNSET : holder.getDurationUs(); in getAdDurationsUs() 432 public long getDurationUs() { in getDurationUs() method in AdsMediaSource.AdMediaSourceHolder 435 : timeline.getPeriod(/* periodIndex= */ 0, period).getDurationUs(); in getDurationUs()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/wav/ |
D | WavSeekMap.java | 46 public long getDurationUs() { in getDurationUs() method in WavSeekMap
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/chunk/ |
D | Chunk.java | 103 public final long getDurationUs() { in getDurationUs() method in Chunk
|
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/mp3/ |
D | ConstantBitrateSeekerTest.java | 66 assertThat(seekMap.getDurationUs()).isEqualTo(2_784_000); in mp3ExtractorReads_returnSeekableCbrSeeker() 94 long targetSeekTimeUs = seekMap.getDurationUs(); in seeking_handlesSeekToEoF()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp3/ |
D | IndexSeeker.java | 64 public long getDurationUs() { in getDurationUs() method in IndexSeeker
|
D | Mp3Extractor.java | 221 if (seeker.getDurationUs() != durationUs) { in read() 438 durationUs = metadataSeeker.getDurationUs(); in computeSeeker() 441 durationUs = seekFrameSeeker.getDurationUs(); in computeSeeker()
|