Home
last modified time | relevance | path

Searched refs:clock_ (Results 1 – 4 of 4) sorted by relevance

/system/update_engine/aosp/
Dupdate_attempter_android_unittest.cc66 clock_ = new FakeClock(); in SetUp()
69 update_attempter_android_.clock_.reset(clock_); in SetUp()
91 FakeClock* clock_; member in chromeos_update_engine::UpdateAttempterAndroidTest
134 clock_->SetMonotonicTime(now); in TEST_F()
157 clock_->SetBootTime(boot_time); in TEST_F()
158 clock_->SetMonotonicTime(up_time); in TEST_F()
Dupdate_attempter_android.cc172 clock_(new Clock()), in UpdateAttempterAndroid()
873 metrics_utils::SetSystemUpdatedMarker(clock_.get(), prefs_); in TerminateUpdateAndNotify()
992 TimeDelta duration = clock_->GetBootTime() - boot_time_start; in CollectAndReportUpdateMetricsOnUpdateFinished()
993 TimeDelta duration_uptime = clock_->GetMonotonicTime() - monotonic_time_start; in CollectAndReportUpdateMetricsOnUpdateFinished()
1162 metrics_reporter_.get(), prefs_, clock_.get()); in UpdateStateAfterReboot()
1182 metrics_utils::SetUpdateTimestampStart(clock_->GetMonotonicTime(), prefs_); in UpdatePrefsOnUpdateStart()
1183 metrics_utils::SetUpdateBootTimestampStart(clock_->GetBootTime(), prefs_); in UpdatePrefsOnUpdateStart()
Dupdate_attempter_android.h275 std::unique_ptr<ClockInterface> clock_; variable
/system/extras/simpleperf/
DRecordFilter.cpp231 const std::string& GetClock() const { return clock_; } in GetClock()
232 void SetClock(const std::string& clock) { clock_ = clock; } in SetClock()
281 std::string clock_ = "monotonic"; member in simpleperf::TimeFilter