History log of /system/connectivity/shill/power_manager_proxy_interface.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5 03-Sep-2015 Peter Qiu <zqiu@google.com> License shill to Apache2

This patch automatically replaced the license on all text files from
Chromium OS (BSD style) to AOSP (Apache2), keeping the original year as
a reference.

The license header was added to .gyp and .gypi, the NOTICE was added with a copy
of the Apache2 license and MODULE_LICENSE_* file was added.

BUG=23587594
TEST=grep 'Chromium OS Authors' doesn't find anything.

Change-Id: If41ede586c2465f5831fb7fee270ff41dbfdb596
/system/connectivity/shill/power_manager_proxy_interface.h
1a212a6b98b22ad1d69652bb26a9e94138635476 16-Jun-2015 Paul Stewart <pstew@chromium.org> shill: Top-level files n-v: Switch pointer/ref spacing

Switch to Chrome style spacing.

BUG=chromium:501026
TEST=Unit tests

Change-Id: I8bd6f66ea185ca3a2687986f6f2fd99be957dffe
Reviewed-on: https://chromium-review.googlesource.com/278070
Reviewed-by: Rebecca Silberstein <silberst@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/power_manager_proxy_interface.h
1897afaeb89003f5cc75a256f6fd7528e6abd54f 21-May-2015 Samuel Tan <samueltan@chromium.org> shill: report dark resume wake reason to powerd via DBus

Report the wake reason for the current dark resume to powerd via
powerd's ReportDarkResumeWakeReason DBus method. shill needs to
report the wake reason to powerd, so that powerd can log wake
duration metrics separately for different wake reasons. (powerd
cannot identify the wake reasons itself, since the reasons come
from the kernel's wireless subsystem.)

CQ-DEPEND=CL:270514
BUG=chromium:485315
TEST=Compile shill and run unit tests.

Change-Id: I6d160a3ab2efdf95dd3e50ffc6c3de66be6f80b7
Reviewed-on: https://chromium-review.googlesource.com/270553
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Commit-Queue: Samuel Tan <samueltan@chromium.org>
Tested-by: Samuel Tan <samueltan@chromium.org>
/system/connectivity/shill/power_manager_proxy_interface.h
64ad2383c4555a99f4f09fe8f5faa088f99f5b90 26-Aug-2014 Prathmesh Prabhu <pprabhu@chromium.org> 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>
/system/connectivity/shill/power_manager_proxy_interface.h
cc67c52a2c00f90e877971d552208dd99825d84e 03-Sep-2014 Ben Chan <benchan@chromium.org> shill: Include base/macros.h instead of base/basictypes.h

shill no longer uses the integer types from base/basictypes.h. It should
simply include base/macros.h for the DISALLOW_COPY_AND_ASSIGN macro
instead.

BUG=None
TEST=`USE='cellular wimax' FEATURES=test emerge-$BOARD platform2`

Change-Id: I9b350c1bd9eff88e2c87de2ef8d607e90049e102
Reviewed-on: https://chromium-review.googlesource.com/216055
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
/system/connectivity/shill/power_manager_proxy_interface.h
fac0953b10f3c13f47ecd588c0f9a0382bc32776 18-Apr-2014 Daniel Erat <derat@chromium.org> shill: Use SuspendDone signal instead of PowerStateChanged.

PowerStateChanged will be removed from powerd soon; clients
should use SuspendImminent and SuspendDone instead.

Also simplify the interface exposed by PowerManager for
adding and removing suspend delays.

BUG=chromium:359619
TEST=updated tests

Change-Id: I7f96774570170591c2e5944245c368e165aaf972
Reviewed-on: https://chromium-review.googlesource.com/195690
Reviewed-by: Daniel Erat <derat@chromium.org>
Tested-by: Daniel Erat <derat@chromium.org>
Commit-Queue: Daniel Erat <derat@chromium.org>
/system/connectivity/shill/power_manager_proxy_interface.h
a0ddf46e466bd4ba3d20952f0a6988c680c1af14 06-Feb-2014 Ben Chan <benchan@chromium.org> shill: Update to build against libchrome-242728.

BUG=chromium:341521
CQ-DEPEND=CL:193660
TEST=Tested the following:
1. `FEATURES=test USE='cellular wimax' emerge-$BOARD platform2`
2. Run the following tests:
- network_3GSmokeTest
- network_VPNConnect.*
- network_WiMaxSmoke
- wifi_matfunc

Change-Id: Ic1553c182ab7a833a68c45f012f646b8930cb095
Reviewed-on: https://chromium-review.googlesource.com/193606
Reviewed-by: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
/system/connectivity/shill/power_manager_proxy_interface.h
f975367b2bedc223eda007c14619b026680c0b0c 24-Jan-2013 Daniel Erat <derat@chromium.org> shill: Pass suspend delay description to power manager.

Passes a human-readable string ("shill") to the power
manager when registering a suspend delay to aid in
debugging.

BUG=chromium-os:36980
TEST=unit tests pass; description appears in powerd log
CQ-DEPEND=I661570a23b42f3fba892671edc730ffe5584f35a

Change-Id: I717a782278bb3a956b57ecbc4f9c89acdf19a674
Reviewed-on: https://gerrit.chromium.org/gerrit/41936
Tested-by: Daniel Erat <derat@chromium.org>
Reviewed-by: Ben Chan <benchan@chromium.org>
Commit-Queue: Daniel Erat <derat@chromium.org>
/system/connectivity/shill/power_manager_proxy_interface.h
0818cca76b252080dc78f10e6c4c7c4580a226fc 14-Dec-2012 Daniel Erat <derat@chromium.org> shill: Use new power manager suspend delay methods.

This updates shill to use protocol-buffer-based calls to
register its suspend delay with powerd.

BUG=chromium-os:36980
TEST=unit tests pass.
watched /var/log/power_manager/powerd.LATEST on device
with active cellular modem:
- suspend delay with 4500 ms timeout is registered
- shill notifies powerd about readiness before
suspending
- suspend delay is unregistered and then re-added after
resuming
CQ-DEPEND=Ibf13a1c338f214cb534d7c79191846c82d90cc0b

Change-Id: I7b6e7b713ea426eafed85447b8d6a774201033a5
Reviewed-on: https://gerrit.chromium.org/gerrit/39850
Commit-Queue: Daniel Erat <derat@chromium.org>
Reviewed-by: Daniel Erat <derat@chromium.org>
Tested-by: Daniel Erat <derat@chromium.org>
/system/connectivity/shill/power_manager_proxy_interface.h
3ec553401f04d005cfce24411cd63929557dea75 28-Sep-2012 Darin Petkov <petkov@chromium.org> shill: cellular: Disconnect service on suspend.

Also, suppress auto-connect as soon as the SuspendDelay signal is
received. Schedule a timeout to detect failed or interrupted suspend
and re-enable auto-connect.

BUG=chromium-os:30587,chromium-os:33412
TEST=unit tests, tested on device through inspecting logs

Change-Id: If40f8217e4d9b222a698532054287ae9b4fcb4d6
Reviewed-on: https://gerrit.chromium.org/gerrit/34342
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Ben Chan <benchan@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Ready: Darin Petkov <petkov@chromium.org>
/system/connectivity/shill/power_manager_proxy_interface.h
7c1fece3da9a33649b02c9b8de2564417d0dee74 13-Jan-2012 mukesh agrawal <quiche@chromium.org> shill: power management framework

Add handling of the PowerStateChange event from the power manager.

BUG=chromium-os:22407
TEST=Manual. Created an instance of PowerManager and verified that signals are
received when the lid is closed and opened. Verified that when using the root
path, RegisterSuspendDelay is received by powerd.

Change-Id: I040c60b1704879529e1c2e66edc4ddceef3fa39d
Reviewed-on: https://gerrit.chromium.org/gerrit/14162
Commit-Ready: Gary Morain <gmorain@chromium.org>
Reviewed-by: Gary Morain <gmorain@chromium.org>
Tested-by: Gary Morain <gmorain@chromium.org>
/system/connectivity/shill/power_manager_proxy_interface.h
394b7d46633a4f9ff73d9453abff7251faef2868 03-Nov-2011 Darin Petkov <petkov@chromium.org> shill: Add a basic PowerManager DBus proxy.

It will be used to communicate with powerd to handle suspend/resume events.

BUG=chromium-os:22409
TEST=unit tests

Change-Id: I982211a22a70bb67efafc4652ffe6ce8375600e6
Reviewed-on: https://gerrit.chromium.org/gerrit/11126
Commit-Ready: Darin Petkov <petkov@chromium.org>
Reviewed-by: Darin Petkov <petkov@chromium.org>
Tested-by: Darin Petkov <petkov@chromium.org>
/system/connectivity/shill/power_manager_proxy_interface.h