Home | History | Annotate | Download | only in shill

Lines Matching defs: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,
62 PowerManager::~PowerManager() {}
64 void PowerManager::Start(
72 Bind(&PowerManager::OnPowerManagerAppeared, Unretained(this)),
73 Bind(&PowerManager::OnPowerManagerVanished, Unretained(this))));
80 void PowerManager::Stop() {
94 bool PowerManager::ReportSuspendReadiness() {
104 bool PowerManager::ReportDarkSuspendReadiness() {
110 bool PowerManager::RecordDarkResumeWakeReason(const string& wake_reason) {
114 void PowerManager::OnSuspendImminent(int suspend_id) {
130 void PowerManager::OnSuspendDone(int suspend_id) {
144 void PowerManager::OnDarkSuspendImminent(int suspend_id) {
158 void PowerManager::OnPowerManagerAppeared() {
173 void PowerManager::OnPowerManagerVanished() {