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

This is achieved by using a generic ConfigAdaptorInterface to communicate
with the adaptor.

Use FakeConfigAdaptor for testing, which provides the storage for
the property variables.

While there, update the Config APIs to use the generic internal Error type
instead of brillo::Error (which is tailored more towards D-Bus). The D-Bus
adaptor will convert it to brillo::Error when returning from D-Bus method
calls.

Bug: 24194427
TEST=Setup AP on Chrome OS and Brillo device
TEST=Run unittests

Change-Id: I5aa8ffd0805bcbb0125224f4f430245b70f56b6a
/system/connectivity/apmanager/dbus/config_dbus_adaptor.cc
00029783fc5a927dd0cddc03bdcd8e760655ce46 17-Nov-2015 Peter Qiu <zqiu@google.com> Define and implement an AdaptorInterface for Config

This interface will be used by Config 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.

An upcoming CL will integrate this AdaptorInterface to the
Config class, to decouple Config class from the underlying
RPC implementation.

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

Change-Id: I61d46c37bac875ce4a196dcc4abb752f5880ec50
/system/connectivity/apmanager/dbus/config_dbus_adaptor.cc