History log of /system/connectivity/shill/adaptor_interfaces.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0dfe24bcb8ba42e48035d9cc268d7bf92c99ce1b 08-Jan-2016 Samuel Tan <samueltan@google.com> shill: remove EmitStateChanged() from ManagerAdaptorInterface

Remove this method since it is it is not actually used.

BUG: 25160005
Change-Id: I96ac23affb1a50e5a3ec4284be80c5e406f24594
TEST: shill compiles and unit tests pass
/system/connectivity/shill/adaptor_interfaces.h
f43c76ccc06aacb4818fdb33eda3f12cecf4ce1f 10-Nov-2015 Samuel Tan <samueltan@google.com> shill: remove GetRpcConnectionIdentifier from device adaptor interface

Remove GetRpcConnectionIdentifier method from the device adaptor
interface, since it is not used. Remove all definitions of this method
as well, and remove the |connection_name_| member of the
ChromeosDeviceDBusAdaptor, since it is not used for anything else.

BUG: 25601014
Change-Id: I99d919923f0b79676ee78212ebd604a9f12b468d
TEST: shill compiles and unittests pass.
/system/connectivity/shill/adaptor_interfaces.h
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/adaptor_interfaces.h
c00d1fa87127a33bd1e1a7cf049a54a9cca49d68 14-Aug-2015 Peter Qiu <zqiu@chromium.org> shill: update chromeos dbus adaptors

Following are the changes to the adaptor:
- Remove the support for ObjectManager for now to avoid any testing
complications.
- Register adaptor to the bus synchronously to avoid possible race
conditions.
- Unregister adaptor on its destruction to allow object path to be
reusable and prevent memory leak on the bus.

While there, update Manager interface xml to provide raw message
in the method handler. This allows the handler to be synchronous,
since we don't need to verify claimer's name via DBus watcher
anymore (message sender is used as claimer name). Also update
Manager's usage of DeviceClaimer.

BUG=chromium:517680
TEST=unittests, wifi_matfunc tests

Change-Id: Ia1f306227cae3b27285d80fc7931538e59978e4a
Reviewed-on: https://chromium-review.googlesource.com/293562
Commit-Ready: Zeping Qiu <zqiu@chromium.org>
Tested-by: Zeping Qiu <zqiu@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
9b233c1a0828d614791f92d06734e224d253bed2 07-Jul-2015 Peter Qiu <zqiu@chromium.org> shill: adaptor interface cleanup

Remove unused method UpdateConnected from ServiceAdaptorInterface.

Remove unused method GetRpcInterfaceIdentifer from
RPCTaskAdaptorInterface.

BUG=None
TEST=USE="asan clang" emerge-$BOARD shill

Change-Id: I12a87690fa9a6649789bb6c24301a3616befd95f
Reviewed-on: https://chromium-review.googlesource.com/283653
Trybot-Ready: Zeping Qiu <zqiu@chromium.org>
Tested-by: Zeping Qiu <zqiu@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Zeping Qiu <zqiu@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
69b6a95f893d2b21d66ca66a068ae9b1f3cd5470 02-Jul-2015 Peter Qiu <zqiu@chromium.org> shill: add chromeos DBus adaptor for Manager

Add RegisterAsync method to ManagerAdaptorInterface to allow
DBus service daemon to request the ownership of the DBus service
only after Manager interface registration is completed. The same
requirement is not needed for other DBus adaptors.

BUG=chromium:503753
TEST=USE="chromeos_dbus asan clang" FEATURES=test emerge-$BOARD shill

Change-Id: I7f5e6fe58014dd20187897cb230a210b9b0b22e4
Reviewed-on: https://chromium-review.googlesource.com/283150
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Zeping Qiu <zqiu@chromium.org>
Tested-by: Zeping Qiu <zqiu@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
7752fb532f1b19ddae6d5f9ea8d32964dcfcd8c4 01-Jul-2015 Peter Qiu <zqiu@chromium.org> shill: remove UpdateRunning from ManagerAdaptorInterface

This function doesn't do anything (empty definition), so remove
it from ManagerAdaptorInterface.

BUG=None
TEST=USE="asan clang" emerge-$BOARD shill

Change-Id: Ibf8fbf5f9177f9cef64539fd5f67dad41e768398
Reviewed-on: https://chromium-review.googlesource.com/282822
Reviewed-by: Paul Stewart <pstew@chromium.org>
Tested-by: Zeping Qiu <zqiu@chromium.org>
Commit-Queue: Zeping Qiu <zqiu@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
a794cd60a7339d576ea2eed263a4f0a20fb255af 16-Jun-2015 Paul Stewart <pstew@chromium.org> shill: Top-level files a-e: Switch pointer/ref spacing

Switch to Chrome style spacing.

BUG=chromium:501026
TEST=Unit tests

Change-Id: Idb7252202e142098999fe0672712aded7d369259
Reviewed-on: https://chromium-review.googlesource.com/278038
Reviewed-by: Rebecca Silberstein <silberst@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
674598d8b8fd78424bf1b0d4e18ec3bc57cf56cd 12-Dec-2014 Christopher Wiley <wiley@chromium.org> shill: Expose Device.SelectedService over DBus

This allows consumers to quickly determine the connectivity status
of a device.

BUG=chromium:441797
TEST=unittests

Change-Id: I136db9d9c25ed04113082fd60f6f6dff1395586f
Reviewed-on: https://chromium-review.googlesource.com/235426
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Tested-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
127b341755731bd6ecc19e44b63c23c79e0b7cd1 16-Oct-2014 Prabhu Kaliamoorthi <kaliamoorthi@chromium.org> shill: Third party VPN driver and DBus bindings

This CL adds Third party VPN driver and DBus bindings to Shill daemon

BUG=chromium:407541
TEST=Compilation test, basic functionality test with autotest framework and trybots (beaglebone-paladin, lumpy-paladin, falco-paladin, daisy-paladin, x86-generic-paladin, amd64-generic-paladin)

Change-Id: I98095a784843df325fc41dc25498938cd1ec9e75
Reviewed-on: https://chromium-review.googlesource.com/223690
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Prabhu Kaliamoorthi <kaliamoorthi@chromium.org>
Tested-by: Prabhu Kaliamoorthi <kaliamoorthi@chromium.org>
/system/connectivity/shill/adaptor_interfaces.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/adaptor_interfaces.h
7fab89734d88724a288e96a9996b15548c5294c7 11-Aug-2014 Ben Chan <benchan@chromium.org> shill: Use integer types from stdint.h

This CL replaces the deprecated int* and uint* types from
'base/basictypes.h' with the int*_t and uint*_t types from 'stdint.h'.

BUG=chromium:401356
TEST=`USE='cellular gdmwimax wimax' FEATURES=test emerge-$BOARD platform2`

Change-Id: I3d4c195881203dd2a47dbb5af150b6c90b9c206e
Reviewed-on: https://chromium-review.googlesource.com/211770
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
c45688bb3881f0c2216e6ec0e19ebda0be33e871 03-Jul-2014 Ben Chan <benchan@chromium.org> shill: Fix header guards to conform to coding style.

BUG=chromium:385849
TEST=Tested the following:
1. `USE='cellular wimax' FEATURES=test emerge-$BOARD platform2`
2. `cpplint.py --filter=-build/include_order shill/*.h` reports no
'build/header_guard' issue.

Change-Id: I1a3972a1f88e5001550eccd561633bd4e5c5faba
Reviewed-on: https://chromium-review.googlesource.com/206680
Reviewed-by: Ben Chan <benchan@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
d4f26486b237fae831d4b682481de785fc99c66e 26-Apr-2014 Paul Stewart <pstew@chromium.org> shill: Device: Report IPv6 address

Have the Device query DeviceInfo for the primary IPv6 address
every time DeviceInfo notifies it of a change. Use the output
of this to add another IPConfig object to the list reported if
this address exists.

While here, emit a property change event from the "IPConfigs"
property if either the IPv4 or IPv6 ipconfigs change.

BUG=chromium:365883
TEST=Unit tests, upcoming change to network_Ipv6SimpleNegotiation
(CL:197394). Manual: list-ipconfigs while connected to a network
that supplies IPv6 global prefixes.

Change-Id: I28771acd3e990a9bea7f5988cc382a5cd9e91f1f
Reviewed-on: https://chromium-review.googlesource.com/197304
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
700ff4d1059569347fac8e2bbdf43870f0fb8aa9 17-Jan-2014 Prathmesh Prabhu <pprabhu@chromium.org> shill: cellular: Move remaining properties from Capability* to Cellular.

This CL moves the following properties from Capability* to the Cellular class.
- kIccidProperty [from CellularCapabilityUniversal]: Although cromo backed
CellularCapabilityGSM still does not populate this property, it is better
placed in the cellular device as it opens up the way to move related logic
out of CellularCapabilityUniversal.
- kSupportedCarriersProperty [from CellularCapabilityClassic]
- kPRLVersionProperty [from CellularCapabilityCDMA]
BUG=chromium:322750
TEST=(1) FEATURES=test emerge-link platform2
On the following modems (gobi3k-cdma, gobi3k-gsm, e362, a CDMA dongle),
(2) Make sure properties show up sensibly
(3) Make sure network_3GIdentifiers, network_3GModemControl pass
CQ-DEPEND=CL:184728
Change-Id: I649711e47ae2d79ee9a8fd5235d4b083afd9697f
Reviewed-on: https://chromium-review.googlesource.com/182943
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Reviewed-by: Ben Chan <benchan@chromium.org>
Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
9f06c870229b00cdd19224cb12c4202de65772ae 21-Nov-2013 Prathmesh Prabhu <pprabhu@chromium.org> shill: Consolidate Cellular DBus properties in the Cellular class.

BUG=chromium:321854
TEST=(1) Run platform2 unittests.
(2) Run network_3g, network_ui, network3g_pseudomodem suite on 3G, LTE, and
CDMA modems.

Change-Id: I5717c5de8597f8bfac15b3947f455c6e44344929
Reviewed-on: https://chromium-review.googlesource.com/177700
Reviewed-by: Ben Chan <benchan@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
d30df3c55b46e19686188e359d052ccfbffe8e4f 31-Jul-2013 mukesh agrawal <quiche@chromium.org> shill: remove unused method DeviceAdaptorInterface::UpdateEnabled

I'm not sure what this method was supposed to do, but it looks like
it's been empty since time immemorial. Let's nuke it.

BUG=None
TEST=unit tests

Change-Id: Ief487561c826b57a365f2e5013dee204c3b7f1c0
Reviewed-on: https://gerrit.chromium.org/gerrit/63974
Tested-by: mukesh agrawal <quiche@chromium.org>
Reviewed-by: Wade Guthrie <wdg@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: mukesh agrawal <quiche@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
e7c7e65bba9e964aa500ef53cc79215426acf50c 19-Jun-2013 mukesh agrawal <quiche@chromium.org> shill: add FrequencyList property to WiFiServices

The main intended change in this CL is to expose the known frequencies
for a WiFi network via D-Bus properties. This required adding a new
property type (array of uint16).

While there, though, I made some changes to the DBusAdaptor and
PropertyStore unit tests. These changes should make it easier to
identify and update the relevant unit tests when we add new property
types.

Specifically:
- add a GetProperties test to dbus_adaptor_unittest.cc
- add a GetProperty test to property_store_unittest.cc
- make the list of PropertyTypes accessible from outside property_store_unittest
- make the RegisterProperty shims accessible from outside property_store_unittest
- create GetProperty shims, and make them accessible as well

Additional changes:
- remove some unnecessary (as of c++11) whitespace between angle brackets
- make initialization of DBusAdaptorTest fields more uniform, by using
uniform initialization syntax and initializer lists
- update service-api documentation for WiFi.Frequency

BUG=chromium:248791
TEST=unit tests, manual
CQ-DEPEND=CL:59119

Manual test
-----------
1. chrome://system
2. network-services -> Expand...
3. find GoogleGuest, check that it has at least one entry for
"WiFi.FrequencyList". e.g., "WiFi.FrequencyList/0: 2414"

Change-Id: Ie3b4d89853e22b7c4e80ad017738223d9753dd7c
Reviewed-on: https://gerrit.chromium.org/gerrit/59149
Commit-Queue: mukesh agrawal <quiche@chromium.org>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Tested-by: mukesh agrawal <quiche@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
7aed61cab2dc17f3c7f8c4a2a6d8d72ae1b7629d 23-Apr-2013 mukesh agrawal <quiche@chromium.org> shill: add property change notifications for IPConfig objects

Chrome monitors the kAddressProperty and the kNameServersProperty.
So emit changes for them.

BUG=chromium:230329
TEST=new unit tests

Change-Id: I0015441f62152d3d4c51a46bd95ff73acbf16def
Reviewed-on: https://gerrit.chromium.org/gerrit/48916
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: mukesh agrawal <quiche@chromium.org>
Tested-by: mukesh agrawal <quiche@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
1e3bc4967760686fd475f899951db4414d6c822b 14-Sep-2012 Paul Stewart <pstew@chromium.org> shill: Service: Emit a signal when IPConfig changes

Emit a property-changed signal whenever the Connection changes
on a Service. This will allow listeners to detect changes to
IP address or DNS bindings. No signal is emitted when the
Connection is reset to NULL. The signal is emitted even if
the IPConfig path does not change, so listeners need to listen
explicitly for a PropertyChanged signal on the service, and
not simply for the value of the property changing.

BUG=chromium:134553
TEST=Manual: Do "dbus-monitor --system" and restart shill, observe:
signal sender=:1.489 -> dest=(null destination) serial=35 path=/service/1; interface=org.chromium.flimflam.Service; member=PropertyChanged
string "IPConfig"
variant object path "/ipconfig/eth1_0_dhcp"

Change-Id: I5f1ab49358c53ce20bceff84c1c26453a6f8aee6
Reviewed-on: https://gerrit.chromium.org/gerrit/33342
Commit-Ready: Paul Stewart <pstew@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
49739c08a76187fae6494c61e960eec315960715 09-Aug-2012 Paul Stewart <pstew@chromium.org> shill: Manager: Create "DefaultService" property

This property contains the object path of the default service.
The Manager will emit a PropertyChanged signal when this value
changes from its previous value.

CQ-DEPENDS=I5b85c6ae3960ecfe9067f05c3527f27109edd8c3
BUG=chromium-os:33395
TEST=Modified unit tests + manual (since the mock Emit* functions
are hard to get to): Use dbus-monitor to display property change
messages. Read manager DBus properties to make sure DefaultService
is "/" at startup and when not connected.

Change-Id: I7f980dcd1a311af58dd396bf76326711f414e27c
Reviewed-on: https://gerrit.chromium.org/gerrit/29693
Reviewed-by: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Commit-Ready: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
9a24553461df7036755060423f90804011612249 07-Mar-2012 Eric Shienbrood <ers@chromium.org> Make Enable/Disable work using new callbacks for async support.

Use new-style callbacks to implement the Manager EnableTechnology
and DisableTechnology operations asynchronously. This allows
devices to be enabled and disabled from the UI ,and for the UI
to display available networks once the device is enabled.

Removed the behavior whereby setting the Device.Powered property
had the side effect of enabling or disabling the device. To
replace this, I added new Device.Enable and Device.Disable calls
for enabling and disabling individual devices.

Also separated the in-memory value of the Powered property from
the persisted value. Whenever a client requests that a device
be enabled or disabled, the desired power state is immediately
saved in the profile, but the in-memory value isn't updated until
the operation completes. On startup, shill now automatically
starts any devices for which the persistent Powered property
is set, and does not start devices for which it is not set.

BUG=chromium-os:23319,chromium-os:27814
TEST=Manual testing on device + unit tests passing.

Change-Id: Id676be3fc662cfd5efb730c67687edfd16b2dc6b
Reviewed-on: https://gerrit.chromium.org/gerrit/18123
Commit-Ready: Eric Shienbrood <ers@chromium.org>
Reviewed-by: Eric Shienbrood <ers@chromium.org>
Tested-by: Eric Shienbrood <ers@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
a9b1fedcad9d354ff7b0a6a7e4cfd58fa7133084 29-Feb-2012 Darin Petkov <petkov@chromium.org> shill: Setup .Task RPC service for incoming VPN communication.

This will be used by OpenVPN, for example, to communicate back to shill
connection information (IP, DNS, etc.).

The RPC class model mostly follows the existing RPC adaptor classes (Manager,
Service, etc.).

Task is a bit overloaded and confusing in the context of shill so calling the
RPC object RPCTask instead. Also, the current intent is for this object to just
handle RPC service calls. Once the initial VPN implementation is in we may
decide to rename and refactor these objects.

BUG=chromium-os:26993
TEST=unit test

Change-Id: Ie294524b954c4a589c07ad285c7703cbbf9157d6
Reviewed-on: https://gerrit.chromium.org/gerrit/17047
Reviewed-by: Darin Petkov <petkov@chromium.org>
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Sam Leffler <sleffler@chromium.org>
Commit-Ready: Darin Petkov <petkov@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
e1d90e9f688406d47a1453eeac51b7faaebf9908 16-Feb-2012 mukesh agrawal <quiche@chromium.org> shill: update service signal strength and frequency from endpoints

In addition to updating the values in WiFiService, we emit
notification of the changes over RPC.

BUG=chromium-os:16786,chromium-os:16788
TEST=new unit tests, manual

Manual test: run on device, see signal strength indicator in UI
instead of "X".

Change-Id: I1ab5f064953a412387362d50e47602ee62dbe0cc
Reviewed-on: https://gerrit.chromium.org/gerrit/16000
Reviewed-by: Gary Morain <gmorain@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Ready: mukesh agrawal <quiche@chromium.org>
Tested-by: mukesh agrawal <quiche@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
63138a9b8249fd69c83a772ee3170551a589d57a 06-Feb-2012 Darin Petkov <petkov@chromium.org> shill: Add SIMLockEnabled to the SIM lock status properties and emit changes.

This patch replaces the StrIntPair class with the more generic KeyValueStore and
updates cellular's SIMLockStatus property to include the enabled key/value pair.

BUG=chromium-os:25850
TEST=unit tests

Change-Id: I2662cb468807e3afa04c3699e323f31282e1a50e
Reviewed-on: https://gerrit.chromium.org/gerrit/15325
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Eric Shienbrood <ers@chromium.org>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Commit-Ready: Darin Petkov <petkov@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
9cb026860ded74991fa26700e07389c9d9e3c841 28-Jan-2012 Darin Petkov <petkov@chromium.org> shill: Broadcast serving cellular operator property changes.

BUG=chromium-os:25011
TEST=unit tests

Change-Id: I52867ef2a95b8babd418ff64d33435c0b54b6ab8
Reviewed-on: https://gerrit.chromium.org/gerrit/14987
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Eric Shienbrood <ers@chromium.org>
Commit-Ready: Darin Petkov <petkov@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
d78ee7e07da6a78b0ad72b97c6737084d96428e7 12-Jan-2012 Darin Petkov <petkov@chromium.org> shill: Broadcast service strength changes.

Similar to flimflam, make strength a property of the base service class, and
broadcast changes to the property.

BUG=chromium-os:25011
TEST=unit tests, tested on device

Change-Id: Iff7a638a2c1b8a828260739273c428373aff420e
Reviewed-on: https://gerrit.chromium.org/gerrit/14054
Commit-Ready: Darin Petkov <petkov@chromium.org>
Reviewed-by: Darin Petkov <petkov@chromium.org>
Tested-by: Darin Petkov <petkov@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
e5bc2cbc1c9717564d4ab75c42a26492b505f537 07-Dec-2011 Darin Petkov <petkov@chromium.org> shill: Framework for asynchronous service side RPC calls.

Use the framework to switch EnterPIN to return asynchronously.

Also, added a few try/catch clauses around DBus proxy calls to ease testing and
debugging. They should go away as we transition to asynchronous proxy calls.

BUG=chromium-os:17263
TEST=unit tests, tested on device

Change-Id: I4177c5b91e23c31838b03689de729932c859a936
Reviewed-on: https://gerrit.chromium.org/gerrit/12541
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Reviewed-by: Eric Shienbrood <ers@chromium.org>
Commit-Ready: Darin Petkov <petkov@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
435de2cd55a95836381b53acbce8cbbad98ec04d 18-Nov-2011 Gaurav Shah <gauravsh@chromium.org> Implement {Available|Connected|Enabled}Technolgies and DefaultTechnology

This is Part 1 of a series of changes required for the Manager to generate
the right set of DBus events allowing shill to properly tell Chrome about
connectivity.

Some other side-effects in the change (needed to implement the above):
- Emit these manager properties over DBus everytime we re-sort the Service
vector.
- Add a technology data member to Device, this allows easy enumeration of
technologies.
- Add interface for getting a handle to the selected service on a device.
- Map connected state to online instead of ready state. This is needed for
so that Chrome doesn't wait for the portal detection code to switch the
state from ready->online.
- Default set the ethernet service as connectable.

BUG=chromium-os:14887
TEST=1) manual test to verify shill properly configures the ethernet
device and Chrome correctly detects that.
2) new unit tests

Change-Id: Ib10f2f0836f8d4aacaad1491f58ed9b3b5d37e7d
Reviewed-on: https://gerrit.chromium.org/gerrit/12019
Tested-by: Gaurav Shah <gauravsh@chromium.org>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
3cfbf216f1f918384866bf0d1a4c9a447d8109e8 21-Nov-2011 Darin Petkov <petkov@chromium.org> shill: Create an APN list for the home GSM provider and broadcast it.

BUG=chromium-os:23201
TEST=unit tests

Change-Id: I7eda725099cb83d118099af75530f776f9f73d7d
Reviewed-on: https://gerrit.chromium.org/gerrit/11981
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Reviewed-by: Eric Shienbrood <ers@chromium.org>
Commit-Ready: Darin Petkov <petkov@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
3239932e4a0a92fec52d88860081cbbb003eabb0 01-Sep-2011 mukesh agrawal <quiche@chromium.org> shill: implement manager.RequestScan (for WiFi only)

BUG=chromium-os:19831
TEST=unittests, WiFiManager/000_SSID_Length_Limit

note that 000_SSID_Length_Limit does not pass yet,
because we don't do IP configuration yet. but it
does get scan results.

Change-Id: I8993b3c646eda705271d1f7ad7d7341c692ae06b
Reviewed-on: http://gerrit.chromium.org/gerrit/7407
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Tested-by: mukesh agrawal <quiche@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
4e85161f12699d8eb2116ae24766676ed8227a71 01-Jul-2011 Chris Masone <cmasone@chromium.org> [shill] Wire up derived properties in the Device class

BUG=chromium-os:16343
TEST=unit tests

Change-Id: Ib35efbc00133b6ffc9352e52c0413be4bd984e12
Reviewed-on: http://gerrit.chromium.org/gerrit/3559
Tested-by: Chris Masone <cmasone@chromium.org>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
c6c6c13e2543bd3ff5beae067b0320647fe1e141 30-Jun-2011 Chris Masone <cmasone@chromium.org> [shill] Wire IPConfig objects to dbus

BUG=chromium-os:17154
TEST=unit tests
STATUS=Verified

Change-Id: If4344b1df2806dcff914fe1e79d6f0d7705a6eb3
Reviewed-on: http://gerrit.chromium.org/gerrit/3494
Reviewed-by: Darin Petkov <petkov@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
52cd19bfd52226611d924930f1178307f79d5fdc 30-Jun-2011 Chris Masone <cmasone@chromium.org> [shill] Add Profile objects

Add a mostly-empty Profile object and all the wiring to hook it up to DBus

BUG=chromium-os:17154
TEST=unit tests

Change-Id: I16bf488969f071dd91c31ef454c7e10a81f9afe7
Reviewed-on: http://gerrit.chromium.org/gerrit/3423
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
95207da4b896bd0a4186163f6f9ebda044a5a7b9 30-Jun-2011 Chris Masone <cmasone@chromium.org> [shill] Enable objects to query an opaque RPC-system ID from Adaptors

This is needed for some properties. For example Service has a property called Device, which is expected
to return a (in the current impl) a DBus path for the associated Device object.

BUG=chromium-os:16343
TEST=unit tests

Change-Id: I8bd32ab483331efabbfee05dbdeba045c7cb20da
Reviewed-on: http://gerrit.chromium.org/gerrit/3417
Reviewed-by: Chris Masone <cmasone@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
d0ceb8c66779819ab12b8abb488aed22b7d04fd3 02-Jun-2011 Chris Masone <cmasone@chromium.org> [shill] Add signal emitting to adaptor interfaces

BUG=chromium-os:16063
TEST=unit tests

Change-Id: Ib94cd3c27af5fb64202da42594f98b864b0e158b
Reviewed-on: http://gerrit.chromium.org/gerrit/2009
Reviewed-by: Chris Masone <cmasone@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h
d7732e4b308836ed21723c1ab412f640f02abdf1 20-May-2011 Chris Masone <cmasone@chromium.org> [shill] Wire shill to dbus

Refactor necessary classes into their own headers and such as well.

BUG=chromium-os:15578
TEST=unit tests, shill --foreground on device

Change-Id: Ib9c5a0e9dab779ecc44c1d0144035f5a09e1086e
Reviewed-on: http://gerrit.chromium.org/gerrit/1307
Reviewed-by: Chris Masone <cmasone@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
/system/connectivity/shill/adaptor_interfaces.h