Lines Matching refs:power_manager_
97 power_manager_(&dispatcher_, &control_), in PowerManagerTest()
114 power_manager_.Start(kTimeout, suspend_imminent_callback_, in SetUp()
120 power_manager_.Stop(); in TearDown()
180 EXPECT_TRUE(power_manager_.suspending()); in OnSuspendImminent()
185 EXPECT_FALSE(power_manager_.suspending()); in OnSuspendDone()
193 power_manager_.OnPowerManagerAppeared(); in OnPowerManagerAppeared()
197 power_manager_.OnPowerManagerVanished(); in OnPowerManagerVanished()
205 PowerManager power_manager_; member in shill::PowerManagerTest
220 EXPECT_FALSE(power_manager_.suspending()); in TEST_F()
222 EXPECT_TRUE(power_manager_.suspending()); in TEST_F()
224 EXPECT_FALSE(power_manager_.suspending()); in TEST_F()
267 EXPECT_FALSE(power_manager_.ReportSuspendReadiness()); in TEST_F()
276 EXPECT_FALSE(power_manager_.RecordDarkResumeWakeReason(kWakeReason)); in TEST_F()
285 EXPECT_TRUE(power_manager_.RecordDarkResumeWakeReason(kWakeReason)); in TEST_F()
294 EXPECT_FALSE(power_manager_.ReportDarkSuspendReadiness()); in TEST_F()
300 EXPECT_FALSE(power_manager_.ReportSuspendReadiness()); in TEST_F()
311 &power_manager_, &PowerManager::ReportSuspendReadiness))); in TEST_F()
323 &power_manager_, &PowerManager::ReportDarkSuspendReadiness))); in TEST_F()
331 power_manager_.Stop(); in TEST_F()
338 power_manager_.Stop(); in TEST_F()
363 EXPECT_TRUE(power_manager_.ReportSuspendReadiness()); in TEST_F()
372 EXPECT_TRUE(power_manager_.ReportDarkSuspendReadiness()); in TEST_F()
383 EXPECT_FALSE(power_manager_.suspending()); in TEST_F()
397 EXPECT_FALSE(power_manager_.suspending()); in TEST_F()