Lines Matching refs:currentPositionMs
696 long currentPositionMs = Math.max( in handleGetCurrentPosition() local
700 currentTimeMs - currentPositionMs < RECORDING_BOUNDARY_THRESHOLD; in handleGetCurrentPosition()
713 newCurrentPositionMs = currentPositionMs; in handleGetCurrentPosition()
714 boolean isRecordStartTime = currentPositionMs - mRecordStartTimeMs in handleGetCurrentPosition()
856 void onAvailabilityChanged(boolean available, Channel channel, long currentPositionMs) { in onAvailabilityChanged() argument
859 + currentPositionMs + ")"); in onAvailabilityChanged()
880 prefetchStartTimeMs = Utils.floorTime(currentPositionMs, in onAvailabilityChanged()
885 currentPositionMs + PREFETCH_DURATION_FOR_NEXT)); in onAvailabilityChanged()
1293 void onCurrentPositionChanged(long currentPositionMs) { in onCurrentPositionChanged() argument
1295 mCurrentPositionMs = currentPositionMs; in onCurrentPositionChanged()
1300 boolean isValid = Math.abs(currentPositionMs - mCurrentPositionMs) < REQUEST_TIMEOUT_MS; in onCurrentPositionChanged()
1303 initialize(currentPositionMs); in onCurrentPositionChanged()