Home
last modified time | relevance | path

Searched refs:msToUs (Results 1 – 23 of 23) sorted by relevance

/external/exoplayer/tree/extensions/cast/src/test/java/com/google/android/exoplayer2/ext/cast/
DCastTimelineTrackerTest.java53 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/
DMlltSeeker.java60 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/
DDefaultLoadControl.java318 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()
DExoPlayerImpl.java585 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()
DExoPlayerImplInternal.java2308 : C.msToUs(pendingMessageInfo.message.getPositionMs());
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/
DClippingMediaSourceTest.java481 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/
DImaAdsLoader.java630 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/
DDefaultDashChunkSource.java260 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);
DDashMediaSource.java1008 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/
DStandaloneMediaClock.java84 positionUs += C.msToUs(elapsedSinceBaseMs); in getPositionUs()
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/
DCastUtils.java42 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/
DDefaultMediaSourceFactory.java325 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/
DDefaultMediaClockTest.java261 .isEqualTo(TEST_POSITION_US + C.msToUs(SLEEP_TIME_MS)); in disableRendererMediaClock_standaloneShouldBeSynced()
325 .isEqualTo(C.msToUs(fakeClock.elapsedRealtime())); in staleDisableRendererClock_shouldNotThrow()
DDefaultLoadControlTest.java34 private static final long MAX_BUFFER_US = C.msToUs(DefaultLoadControl.DEFAULT_MAX_BUFFER_MS);
DExoPlayerTest.java3667 /* 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/
DAdPlaybackStateTest.java32 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/
DDashManifest.java167 return C.msToUs(getPeriodDurationMs(index)); in getPeriodDurationUs()
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/offline/
DDashDownloader.java111 long periodStartUs = C.msToUs(period.startMs); in getSegments()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/
DC.java1090 public static long msToUs(long timeMs) { in msToUs() method in C
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/
DAnalyticsCollector.java884 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/
DDecoderVideoRenderer.java547 lastRenderTimeUs = C.msToUs(SystemClock.elapsedRealtime() * 1000); in renderOutputBuffer()
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/
DSsMediaSource.java720 long defaultStartPositionUs = durationUs - C.msToUs(livePresentationDelayMs); in processManifest()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/
DHlsPlaylistParser.java712 C.msToUs(Util.parseXsDateTime(line.substring(line.indexOf(':') + 1))); in parseMediaPlaylist()