Lines Matching refs:clock
200 ClockInterface* clock = system_state_->clock(); in AttemptStarted() local
201 attempt_start_time_boot_ = clock->GetBootTime(); in AttemptStarted()
202 attempt_start_time_monotonic_ = clock->GetMonotonicTime(); in AttemptStarted()
239 SetUpdateTimestampEnd(system_state_->clock()->GetWallclockTime()); in UpdateSucceeded()
259 metrics_utils::SetSystemUpdatedMarker(system_state_->clock(), prefs_); in UpdateSucceeded()
629 ClockInterface* clock = system_state_->clock(); in CollectAndReportAttemptMetrics() local
630 TimeDelta duration = clock->GetBootTime() - attempt_start_time_boot_; in CollectAndReportAttemptMetrics()
632 clock->GetMonotonicTime() - attempt_start_time_monotonic_; in CollectAndReportAttemptMetrics()
819 SetUpdateTimestampStart(system_state_->clock()->GetWallclockTime()); in ResetPersistedState()
1037 ? system_state_->clock()->GetWallclockTime() in GetUpdateDuration()
1048 Time now = system_state_->clock()->GetWallclockTime(); in LoadUpdateTimestampStart()
1177 Time now = system_state_->clock()->GetMonotonicTime(); in SetUpdateDurationUptime()
1182 Time now = system_state_->clock()->GetMonotonicTime(); in CalculateUpdateDurationUptime()
1295 system_state_->metrics_reporter(), prefs_, system_state_->clock()); in UpdateEngineStarted()
1416 SetP2PFirstAttemptTimestamp(system_state_->clock()->GetWallclockTime()); in P2PNewAttempt()
1431 Time now = system_state_->clock()->GetWallclockTime(); in P2PAttemptAllowed()