/external/exoplayer/tree/extensions/cast/src/test/java/com/google/android/exoplayer2/ext/cast/ |
D | CastTimelineTrackerTest.java | 53 C.msToUs(DURATION_2_MS), in getCastTimelinePersistsDuration() 66 C.msToUs(DURATION_2_MS), in getCastTimelinePersistsDuration() 67 C.msToUs(DURATION_3_MS)); in getCastTimelinePersistsDuration() 75 tracker.getCastTimeline(remoteMediaClient), C.TIME_UNSET, C.msToUs(DURATION_3_MS)); in getCastTimelinePersistsDuration() 86 C.msToUs(DURATION_3_MS), in getCastTimelinePersistsDuration() 87 C.msToUs(DURATION_4_MS), in getCastTimelinePersistsDuration() 99 C.msToUs(DURATION_3_MS), in getCastTimelinePersistsDuration() 100 C.msToUs(DURATION_4_MS), in getCastTimelinePersistsDuration() 101 C.msToUs(DURATION_5_MS)); in getCastTimelinePersistsDuration()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp3/ |
D | MlltSeeker.java | 60 durationUs = C.msToUs(referenceTimesMs[referenceTimesMs.length - 1]); in MlltSeeker() 73 timeUs = C.msToUs(timeMsAndPosition.first); in getSeekPoints() 82 return C.msToUs(positionAndTimeMs.second); in getTimeUs()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | DefaultLoadControl.java | 318 this.minBufferUs = C.msToUs(minBufferMs); in DefaultLoadControl() 319 this.maxBufferUs = C.msToUs(maxBufferMs); in DefaultLoadControl() 320 this.bufferForPlaybackUs = C.msToUs(bufferForPlaybackMs); in DefaultLoadControl() 321 this.bufferForPlaybackAfterRebufferUs = C.msToUs(bufferForPlaybackAfterRebufferMs); in DefaultLoadControl() 328 this.backBufferDurationUs = C.msToUs(backBufferDurationMs); in DefaultLoadControl()
|
D | ExoPlayerImpl.java | 585 internalPlayer.seekTo(timeline, windowIndex, C.msToUs(positionMs)); in seekTo() 1016 holders, startWindowIndex, C.msToUs(startPositionMs), shuffleOrder); in setMediaSourcesInternal() 1141 C.msToUs(currentPositionMs), in maskTimelineAndWindowIndex() 1187 : C.msToUs(positionMs); in maskWindowIndexAndPositionForSeek()
|
D | ExoPlayerImplInternal.java | 2308 : C.msToUs(pendingMessageInfo.message.getPositionMs());
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/ |
D | ClippingMediaSourceTest.java | 481 assertThat(C.msToUs(mediaLoadData.mediaStartTimeMs)).isEqualTo(1000); in eventTimeWithinClippedRange() 482 assertThat(C.msToUs(mediaLoadData.mediaEndTimeMs)) in eventTimeWithinClippedRange() 494 assertThat(C.msToUs(mediaLoadData.mediaStartTimeMs)).isEqualTo(0); in eventTimeOutsideClippedRange() 495 assertThat(C.msToUs(mediaLoadData.mediaEndTimeMs)) in eventTimeOutsideClippedRange() 507 assertThat(C.msToUs(mediaLoadData.mediaStartTimeMs)).isEqualTo(C.TIME_UNSET); in unsetEventTime() 508 assertThat(C.msToUs(mediaLoadData.mediaEndTimeMs)).isEqualTo(C.TIME_UNSET); in unsetEventTime() 519 assertThat(C.msToUs(mediaLoadData.mediaStartTimeMs)).isEqualTo(0); in eventTimeWithUnsetDuration() 520 assertThat(C.msToUs(mediaLoadData.mediaEndTimeMs)).isEqualTo(1_000_000); in eventTimeWithUnsetDuration()
|
/external/exoplayer/tree/extensions/ima/src/main/java/com/google/android/exoplayer2/ext/ima/ |
D | ImaAdsLoader.java | 630 playingAd ? C.msToUs(player.getCurrentPosition()) : 0); in stop() 761 C.msToUs(contentPositionMs), C.msToUs(contentDurationMs)); in getContentProgress() 767 C.msToUs(contentPositionMs), C.msToUs(contentDurationMs)); in getContentProgress() 775 C.msToUs(contentPositionMs), C.msToUs(contentDurationMs)); in getContentProgress() 1046 C.msToUs(contentPositionMs), C.msToUs(contentDurationMs)); in initializeAdsManager() 1186 int newAdGroupIndex = period.getAdGroupIndexForPositionUs(C.msToUs(positionMs)); in checkForContentCompleteOrNewAdGroup() 1339 C.msToUs(contentDurationMs), C.msToUs(contentDurationMs)); in checkForContentComplete()
|
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/ |
D | DefaultDashChunkSource.java | 260 C.msToUs(manifest.availabilityStartTimeMs) 261 + C.msToUs(manifest.getPeriod(periodIndex).startMs) 270 long nowUnixTimeUs = C.msToUs(Util.getNowUnixTimeMs(elapsedRealtimeOffsetMs)); 744 long liveEdgeTimeUs = nowUnixTimeUs - C.msToUs(manifest.availabilityStartTimeMs); 745 long periodStartUs = C.msToUs(manifest.getPeriod(periodIndex).startMs); 747 long bufferDepthUs = C.msToUs(manifest.timeShiftBufferDepthMs); 760 long liveEdgeTimeUs = nowUnixTimeUs - C.msToUs(manifest.availabilityStartTimeMs); 761 long periodStartUs = C.msToUs(manifest.getPeriod(periodIndex).startMs);
|
D | DashMediaSource.java | 1008 long nowUnixTimeUs = C.msToUs(Util.getNowUnixTimeMs(elapsedRealtimeOffsetMs)); in processManifest() 1009 long liveStreamDurationUs = nowUnixTimeUs - C.msToUs(manifest.availabilityStartTimeMs); in processManifest() 1011 - C.msToUs(manifest.getPeriod(lastPeriodIndex).startMs); in processManifest() 1014 long timeShiftBufferDepthUs = C.msToUs(manifest.timeShiftBufferDepthMs); in processManifest() 1042 windowDefaultStartPositionUs = windowDurationUs - C.msToUs(presentationDelayForManifestMs); in processManifest() 1245 C.msToUs(manifest.getPeriod(periodIndex).startMs - manifest.getPeriod(0).startMs) in getPeriod()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/ |
D | StandaloneMediaClock.java | 84 positionUs += C.msToUs(elapsedSinceBaseMs); in getPositionUs()
|
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/ |
D | CastUtils.java | 42 return durationMs != MediaInfo.UNKNOWN_DURATION ? C.msToUs(durationMs) : C.TIME_UNSET; in getStreamDurationUs()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ |
D | DefaultMediaSourceFactory.java | 325 C.msToUs(mediaItem.clippingProperties.startPositionMs), in maybeClipMediaSource() 326 C.msToUs(mediaItem.clippingProperties.endPositionMs), in maybeClipMediaSource()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/ |
D | DefaultMediaClockTest.java | 261 .isEqualTo(TEST_POSITION_US + C.msToUs(SLEEP_TIME_MS)); in disableRendererMediaClock_standaloneShouldBeSynced() 325 .isEqualTo(C.msToUs(fakeClock.elapsedRealtime())); in staleDisableRendererClock_shouldNotThrow()
|
D | DefaultLoadControlTest.java | 34 private static final long MAX_BUFFER_US = C.msToUs(DefaultLoadControl.DEFAULT_MAX_BUFFER_MS);
|
D | ExoPlayerTest.java | 3667 /* durationUs= */ C.msToUs(10000)); in moveMediaItem() 3674 /* durationUs= */ C.msToUs(10000)); in moveMediaItem() 3717 /* durationUs= */ C.msToUs(10000)); in removeMediaItem() 3724 /* durationUs= */ C.msToUs(10000)); in removeMediaItem() 3731 /* durationUs= */ C.msToUs(10000)); in removeMediaItem() 3777 /* durationUs= */ C.msToUs(10000)); in removeMediaItems() 3784 /* durationUs= */ C.msToUs(10000)); in removeMediaItems() 3791 /* durationUs= */ C.msToUs(10000)); in removeMediaItems()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/ads/ |
D | AdPlaybackStateTest.java | 32 private static final long[] TEST_AD_GROUP_TMES_US = new long[] {0, C.msToUs(10_000)};
|
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/ |
D | DashManifest.java | 167 return C.msToUs(getPeriodDurationMs(index)); in getPeriodDurationUs()
|
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/offline/ |
D | DashDownloader.java | 111 long periodStartUs = C.msToUs(period.startMs); in getSegments()
|
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/ |
D | C.java | 1090 public static long msToUs(long timeMs) { in msToUs() method in C
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/ |
D | AnalyticsCollector.java | 884 C.msToUs(player.getCurrentPosition()) - period.getPositionInWindowUs()); 930 C.msToUs(player.getCurrentPosition()) - period.getPositionInWindowUs());
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/ |
D | DecoderVideoRenderer.java | 547 lastRenderTimeUs = C.msToUs(SystemClock.elapsedRealtime() * 1000); in renderOutputBuffer()
|
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/ |
D | SsMediaSource.java | 720 long defaultStartPositionUs = durationUs - C.msToUs(livePresentationDelayMs); in processManifest()
|
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/ |
D | HlsPlaylistParser.java | 712 C.msToUs(Util.parseXsDateTime(line.substring(line.indexOf(':') + 1))); in parseMediaPlaylist()
|