Lines Matching refs:PowerManager
44 const int PowerManager::kInvalidSuspendId = -1;
45 const char PowerManager::kSuspendDelayDescription[] = "shill";
46 const char PowerManager::kDarkSuspendDelayDescription[] = "shill";
47 const int PowerManager::kSuspendTimeoutMilliseconds = 15 * 1000;
49 PowerManager::PowerManager(EventDispatcher* dispatcher, in PowerManager() function in shill::PowerManager
62 PowerManager::~PowerManager() {} in ~PowerManager()
64 void PowerManager::Start( in Start()
72 Bind(&PowerManager::OnPowerManagerAppeared, Unretained(this)), in Start()
73 Bind(&PowerManager::OnPowerManagerVanished, Unretained(this)))); in Start()
80 void PowerManager::Stop() { in Stop()
94 bool PowerManager::ReportSuspendReadiness() { in ReportSuspendReadiness()
104 bool PowerManager::ReportDarkSuspendReadiness() { in ReportDarkSuspendReadiness()
110 bool PowerManager::RecordDarkResumeWakeReason(const string& wake_reason) { in RecordDarkResumeWakeReason()
114 void PowerManager::OnSuspendImminent(int suspend_id) { in OnSuspendImminent()
130 void PowerManager::OnSuspendDone(int suspend_id) { in OnSuspendDone()
144 void PowerManager::OnDarkSuspendImminent(int suspend_id) { in OnDarkSuspendImminent()
158 void PowerManager::OnPowerManagerAppeared() { in OnPowerManagerAppeared()
173 void PowerManager::OnPowerManagerVanished() { in OnPowerManagerVanished()