History log of /system/connectivity/apmanager/dbus/service_dbus_adaptor.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2ea547f45d2a143e1b25b275c46d1f317186b07a 20-Nov-2015 Peter Qiu <zqiu@google.com> Remove D-Bus dependency from Service

Here are the main changes:
1. Update service to use ServiceAdaptorInterface instead of using
D-Bus adaptor directly.
2. Update D-Bus object registration for Service and Config to be
synchronous, to remove unnecessary complexity. This also
eliminates the need for Manager::CreateService handler to be
asynchronous.
3. Update Service APIs to use the internal Error instead of brillo::Error.
4. Use MockServiceAdaptor for testing, fake version is not needed
since the adaptor properties for Service are not being used in test.

Bug: 24194427
TEST=Start AP service on both Brillo and Chrome OS devices
TEST=Run unittests on both Brillo and Chrome OS

Change-Id: Ib94a4b91ef402415470e0131afdeeef5105817e4
/system/connectivity/apmanager/dbus/service_dbus_adaptor.cc
0e92d1ea02ff4aec2a3c333dd2258d81c1211ace 20-Nov-2015 Peter Qiu <zqiu@google.com> Define and implement an AdaptorInterface for Service

This interface will be used by Service to communicate with
the adaptor that exposes its functionality over IPC.

The D-Bus implementation of this interface is included, and
integrated to the D-Bus control interface.

Bug: 24194427
TEST=Build apmanager for both Brillo and Chrome OS

Change-Id: Ib87e13247cb4fbff53081b2e5cbad61bb499ce31
/system/connectivity/apmanager/dbus/service_dbus_adaptor.cc