Home
last modified time | relevance | path

Searched refs:GetElapsedTime (Results 1 – 8 of 8) sorted by relevance

/system/core/metricsd/
Dtimer_test.cc80 ASSERT_TRUE(timer_.GetElapsedTime(&elapsed_time)); in TEST_F()
124 ASSERT_TRUE(timer_.GetElapsedTime(&elapsed_time)); in TEST_F()
145 ASSERT_FALSE(timer_.GetElapsedTime(&elapsed_time)); in TEST_F()
168 ASSERT_TRUE(timer_.GetElapsedTime(&elapsed_time)); in TEST_F()
174 ASSERT_TRUE(timer_.GetElapsedTime(&elapsed_time)); in TEST_F()
197 ASSERT_TRUE(timer_.GetElapsedTime(&elapsed_time)); in TEST_F()
203 ASSERT_TRUE(timer_.GetElapsedTime(&elapsed_time)); in TEST_F()
224 ASSERT_TRUE(timer_.GetElapsedTime(&elapsed_time)); in TEST_F()
242 ASSERT_TRUE(timer_.GetElapsedTime(&elapsed_time)); in TEST_F()
249 ASSERT_TRUE(timer_.GetElapsedTime(&elapsed_time)); in TEST_F()
[all …]
Dtimer.cc88 bool Timer::GetElapsedTime(base::TimeDelta* elapsed_time) const { in GetElapsedTime() function in chromeos_metrics::Timer
110 if (!metrics_lib_ || !GetElapsedTime(&elapsed_time)) return false; in ReportMilliseconds()
/system/core/metricsd/include/metrics/
Dtimer_mock.h34 MOCK_CONST_METHOD1(GetElapsedTime, bool(base::TimeDelta* elapsed_time));
44 MOCK_CONST_METHOD1(GetElapsedTime, bool(base::TimeDelta* elapsed_time));
Dtimer.h91 virtual bool GetElapsedTime(base::TimeDelta* elapsed_time) const;
/system/connectivity/shill/
Dmetrics.cc697 time_online_timer_->GetElapsedTime(&elapsed_seconds); in NotifyDefaultServiceChanged()
716 time_to_drop_timer_->GetElapsedTime(&elapsed_seconds); in NotifyDefaultServiceChanged()
756 time_resume_to_ready_timer_->GetElapsedTime(&time_resume_to_ready); in NotifyServiceStateChanged()
829 time_termination_actions_timer->GetElapsedTime(&elapsed_time); in NotifyTerminationActionsCompleted()
864 time_suspend_actions_timer->GetElapsedTime(&elapsed_time); in NotifySuspendActionsCompleted()
900 time_dark_resume_actions_timer->GetElapsedTime(&elapsed_time); in NotifyDarkResumeActionsCompleted()
1168 device_metrics->scan_timer->GetElapsedTime(&elapsed_time); in NotifyDeviceScanFinished()
1208 device_metrics->auto_connect_timer->GetElapsedTime(&elapsed_time); in NotifyDeviceConnectFinished()
Dmetrics_unittest.cc235 EXPECT_CALL(*mock_time_resume_to_ready_timer, GetElapsedTime(_)). in TEST_F()
600 EXPECT_CALL(*mock_time_to_scan_timer, GetElapsedTime(_)). in TEST_F()
884 EXPECT_CALL(*mock_time_suspend_actions_timer, GetElapsedTime(_)) in TEST_F()
908 EXPECT_CALL(*mock_time_suspend_actions_timer, GetElapsedTime(_)) in TEST_F()
936 EXPECT_CALL(*mock_time_dark_resume_actions_timer, GetElapsedTime(_)) in TEST_F()
975 EXPECT_CALL(*mock_time_dark_resume_actions_timer, GetElapsedTime(_)) in TEST_F()
/system/connectivity/shill/wifi/
Dscan_session.cc316 ebusy_timer_.GetElapsedTime(&elapsed_time); in ReportResults()
Dwifi.cc2507 if (!scan_timer_.GetElapsedTime(&elapsed_time)) { in SetScanState()