Home
last modified time | relevance | path

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

/system/core/metricsd/
Dtimer_test.cc75 ASSERT_TRUE(timer_.HasStarted()); in TEST_F()
84 ASSERT_FALSE(timer_.HasStarted()); in TEST_F()
104 ASSERT_FALSE(timer_.HasStarted()); in TEST_F()
121 ASSERT_FALSE(timer_.HasStarted()); in TEST_F()
158 ASSERT_TRUE(timer_.HasStarted()); in TEST_F()
162 ASSERT_TRUE(timer_.HasStarted()); in TEST_F()
166 ASSERT_FALSE(timer_.HasStarted()); in TEST_F()
173 ASSERT_TRUE(timer_.HasStarted()); in TEST_F()
187 ASSERT_TRUE(timer_.HasStarted()); in TEST_F()
191 ASSERT_TRUE(timer_.HasStarted()); in TEST_F()
[all …]
Dtimer.cc84 bool Timer::HasStarted() const { in HasStarted() function in chromeos_metrics::Timer
/system/core/metricsd/include/metrics/
Dtimer_mock.h33 MOCK_CONST_METHOD0(HasStarted, bool());
43 MOCK_CONST_METHOD0(HasStarted, bool());
Dtimer.h40 virtual bool HasStarted() const = 0;
84 virtual bool HasStarted() const;
/system/connectivity/shill/
Dmetrics_unittest.cc887 EXPECT_CALL(*mock_time_suspend_actions_timer, HasStarted()) in TEST_F()
911 EXPECT_CALL(*mock_time_suspend_actions_timer, HasStarted()) in TEST_F()
939 EXPECT_CALL(*mock_time_dark_resume_actions_timer, HasStarted()) in TEST_F()
978 EXPECT_CALL(*mock_time_dark_resume_actions_timer, HasStarted()) in TEST_F()
1008 EXPECT_TRUE(metrics_.time_suspend_actions_timer->HasStarted()); in TEST_F()
1017 EXPECT_TRUE(metrics_.time_dark_resume_actions_timer->HasStarted()); in TEST_F()
Dmetrics.cc816 if (time_termination_actions_timer->HasStarted()) in NotifyTerminationActionsStarted()
822 if (!time_termination_actions_timer->HasStarted()) in NotifyTerminationActionsCompleted()
847 if (time_suspend_actions_timer->HasStarted()) in NotifySuspendActionsStarted()
854 if (!time_suspend_actions_timer->HasStarted()) in NotifySuspendActionsCompleted()
882 if (time_dark_resume_actions_timer->HasStarted()) in NotifyDarkResumeActionsStarted()
890 if (!time_dark_resume_actions_timer->HasStarted()) in NotifyDarkResumeActionsCompleted()