| commit | 64ad2383c4555a99f4f09fe8f5faa088f99f5b90 | [log] [tgz] |
|---|---|---|
| author | Prathmesh Prabhu <pprabhu@chromium.org> | Tue Aug 26 11:19:30 2014 -0700 |
| committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Thu Sep 04 15:47:05 2014 +0000 |
| tree | f7f23823565bce2cca79228af6782a1e8c99542a | |
| parent | 397bd64c161a12dd20ec65ef32545980d119e4d5 [diff] |
shill: Add dark resume methods to PowerManager client object.
This CL updates the PowerManagerProxy API in response to updated DBus API of
powerd. It also updates PowerManager to allow shill to register
DarkSuspendDelay with powerd, and handle DarkSuspendImminent message from it.
Finally, it adds stub (synchronous) functions in Manager/Device/Service base
objects to handle this message.
BUG=chromium:397346
TEST=(1) shill unittests.
(2) On a device supporting dark resume, test powerd/shill interaction
manually across a dark resume.
Change-Id: I872615a8a68d4e02b35aa50a165c06e9d034f0e4
Reviewed-on: https://chromium-review.googlesource.com/215371
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>