Home
last modified time | relevance | path

Searched refs:GetCurrentTime (Results 1 – 6 of 6) sorted by relevance

/system/core/metricsd/
Dtimer.cc25 base::TimeTicks ClockWrapper::GetCurrentTime() const { in GetCurrentTime() function in chromeos_metrics::ClockWrapper
35 start_time_ = clock_wrapper_->GetCurrentTime(); in Start()
44 elapsed_time_ += clock_wrapper_->GetCurrentTime() - start_time_; in Stop()
58 elapsed_time_ += clock_wrapper_->GetCurrentTime() - start_time_; in Pause()
70 start_time_ = clock_wrapper_->GetCurrentTime(); in Resume()
93 *elapsed_time += clock_wrapper_->GetCurrentTime() - start_time_; in GetElapsedTime()
Dtimer_test.cc69 EXPECT_CALL(*clock_wrapper_mock_, GetCurrentTime()) in TEST_F()
88 EXPECT_CALL(*clock_wrapper_mock_, GetCurrentTime()) in TEST_F()
99 EXPECT_CALL(*clock_wrapper_mock_, GetCurrentTime()) in TEST_F()
108 EXPECT_CALL(*clock_wrapper_mock_, GetCurrentTime()) in TEST_F()
130 EXPECT_CALL(*clock_wrapper_mock_, GetCurrentTime()) in TEST_F()
149 EXPECT_CALL(*clock_wrapper_mock_, GetCurrentTime()) in TEST_F()
179 EXPECT_CALL(*clock_wrapper_mock_, GetCurrentTime()) in TEST_F()
208 EXPECT_CALL(*clock_wrapper_mock_, GetCurrentTime()) in TEST_F()
230 EXPECT_CALL(*clock_wrapper_mock_, GetCurrentTime()) in TEST_F()
255 EXPECT_CALL(*clock_wrapper_mock_, GetCurrentTime()) in TEST_F()
[all …]
/system/core/metricsd/uploader/
Dmetrics_log_base.cc93 int64_t MetricsLogBase::GetCurrentTime() { in GetCurrentTime() function in metrics::MetricsLogBase
112 user_action->set_time(GetCurrentTime()); in RecordUserAction()
Dmetrics_log_base.h68 static int64_t GetCurrentTime();
/system/core/metricsd/include/metrics/
Dtimer_mock.h54 MOCK_CONST_METHOD0(GetCurrentTime, base::TimeTicks());
Dtimer.h50 virtual base::TimeTicks GetCurrentTime() const;