Searched refs:HasStarted (Results 1 – 6 of 6) sorted by relevance
75 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 …]
84 bool Timer::HasStarted() const { in HasStarted() function in chromeos_metrics::Timer
33 MOCK_CONST_METHOD0(HasStarted, bool());43 MOCK_CONST_METHOD0(HasStarted, bool());
40 virtual bool HasStarted() const = 0;84 virtual bool HasStarted() const;
887 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()
816 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()