Searched refs:GetElapsedTime (Results 1 – 8 of 8) sorted by relevance
80 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 …]
88 bool Timer::GetElapsedTime(base::TimeDelta* elapsed_time) const { in GetElapsedTime() function in chromeos_metrics::Timer110 if (!metrics_lib_ || !GetElapsedTime(&elapsed_time)) return false; in ReportMilliseconds()
34 MOCK_CONST_METHOD1(GetElapsedTime, bool(base::TimeDelta* elapsed_time));44 MOCK_CONST_METHOD1(GetElapsedTime, bool(base::TimeDelta* elapsed_time));
91 virtual bool GetElapsedTime(base::TimeDelta* elapsed_time) const;
697 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()
235 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()
316 ebusy_timer_.GetElapsedTime(&elapsed_time); in ReportResults()
2507 if (!scan_timer_.GetElapsedTime(&elapsed_time)) { in SetScanState()