Searched refs:GetCurrentTime (Results 1 – 6 of 6) sorted by relevance
/system/core/metricsd/ |
D | timer.cc | 25 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()
|
D | timer_test.cc | 69 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/ |
D | metrics_log_base.cc | 93 int64_t MetricsLogBase::GetCurrentTime() { in GetCurrentTime() function in metrics::MetricsLogBase 112 user_action->set_time(GetCurrentTime()); in RecordUserAction()
|
D | metrics_log_base.h | 68 static int64_t GetCurrentTime();
|
/system/core/metricsd/include/metrics/ |
D | timer_mock.h | 54 MOCK_CONST_METHOD0(GetCurrentTime, base::TimeTicks());
|
D | timer.h | 50 virtual base::TimeTicks GetCurrentTime() const;
|