PM: ShillProvider now provides the connection tethering mode.
This adds a connection tethering variable to the RealShillProvider. In
doing so, we:
* Query the default service attributes (type, tethering) eagerly, as
soon as a default service signal is received (but only if the default
service has actually changed).
* All variables are reduced to CopyVariable instances, migrating all
DBus communication logic into the RealShillProvider and eliminating
the ShillConnector helper class. This also allows us to turn variables
into contained members and initialize them during construction.
BUG=chromium:355732
TEST=Unit tests.
Change-Id: I8d9798075a4bd5b9e2cec65cb437d0018654d2c6
Reviewed-on: https://chromium-review.googlesource.com/193927
Tested-by: Gilad Arnold <garnold@chromium.org>
Reviewed-by: Alex Deymo <deymo@chromium.org>
Commit-Queue: Gilad Arnold <garnold@chromium.org>
7 files changed