History log of /system/connectivity/shill/test-rpc-proxy/proxy_shill_wifi_client.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3a62e235646ec19bee71e8dbee5208282dcd13b5 20-Jan-2016 Alex Vakulenko <avakulenko@google.com> shill: Update libchrome APIs to r369476

The new libchrome has been ported from Chromium and some APIs have
changed. Make necessary changes at call sites.

Change-Id: Ib4c4b5438a2e249777c9c1b6509f085ad5d00049
/system/connectivity/shill/test-rpc-proxy/proxy_shill_wifi_client.h
be28266e1e51a76629f109063eb7fe1ea38823a8 13-Nov-2015 Roshan Pius <rpius@google.com> shill-test-proxy: Implement dbus methods (Part 12)

Implementation of the following methods declared in the abstract
ProxyShillWifiClient interface:
1. AddWakePacketSource
2. RemoveWakePacketSource
3. RemoveAllWakePacketSources

Bug: 25516476
Change-Id: I4d978a27b389899711ab9803ac6b652db4998b7d
TEST: mmm system/connectivity/shill
/system/connectivity/shill/test-rpc-proxy/proxy_shill_wifi_client.h
90d08ac5a43d06f6674edc394f4a0d05cf2298b9 13-Nov-2015 Roshan Pius <rpius@google.com> shill-test-proxy: Implement dbus methods (Part 11)

Implementation of the following methods declared in the abstract
ProxyShillWifiClient interface:
1. DiscoverTDLSLink
2. EstablishTDLSLink
3. QueryTdlsLink

Bug: 25516476
Change-Id: Ief69046e16624d983a6c112795d7f64e949a8d1b
TEST: mmm system/connectivity/shill
/system/connectivity/shill/test-rpc-proxy/proxy_shill_wifi_client.h
9cac82a4fda9ceee25e69b21686645daa4266afb 13-Nov-2015 Roshan Pius <rpius@google.com> shill-test-proxy: Implement dbus methods (Part 10)

Implementation of the following methods declared in the abstract
ProxyShillWifiClient interface:
1. RequestRoam
2. SetDeviceEnabled

Bug: 25516476
Change-Id: I36b3290ead835d05282b87009f7b60e1183c8885
TEST: mmm system/connectivity/shill
/system/connectivity/shill/test-rpc-proxy/proxy_shill_wifi_client.h
78dfe30f944f6eb63e6b56b632e3c048fbcd2524 13-Nov-2015 Roshan Pius <rpius@google.com> shill-test-proxy: Implement dbus methods (Part 9)

Implementation of the following methods declared in the abstract
ProxyShillWifiClient interface:
1. GetPropertyOnDevice
2. SetPropertyOnDevice

Bug: 25516476
Change-Id: I451121b7856cb490d37674017f54ed10f272b138
TEST: mmm system/connectivity/shill
/system/connectivity/shill/test-rpc-proxy/proxy_shill_wifi_client.h
c047fb393a7d364de958ce3881d75b75bb428da3 12-Nov-2015 Roshan Pius <rpius@google.com> shill-test-proxy: Implement dbus methods (Part 8)

Implementation of the following methods declared in the abstract
ProxyShillWifiClient interface:
1. GetServiceOrder
2. SetServiceOrder
3. GetServiceProperties
4. SetSchedScan

Bug: 25516476
Change-Id: I4d1184f21368dd23559662cc61215ba906b26466
TEST: mmm system/connectivity/shill
/system/connectivity/shill/test-rpc-proxy/proxy_shill_wifi_client.h
8d439de5ced728792cc239de20efa508758c227d 12-Nov-2015 Roshan Pius <rpius@google.com> shill-test-proxy: Implement dbus methods (Part 7)

Implementation of the following methods declared in the abstract
ProxyShillWifiClient interface:
1. DeleteEntriesForSsid
2. ListControlledWifiInterfaces
3. Disconnect

Bug: 25516476
Change-Id: If6b4fd5190fbe57f5f1e6226adb5c9b151e105a8
TEST: mmm system/connectivity/shill
/system/connectivity/shill/test-rpc-proxy/proxy_shill_wifi_client.h
6a5ac27e04f987fe108cea5745368917f6067b2d 12-Nov-2015 Roshan Pius <rpius@google.com> shill-test-proxy: Implement dbus methods (Part 6)

Implementation of the following methods declared in the abstract
ProxyShillWifiClient interface:
1. CleanProfiles

While there:
Make the |profile_name| parameter to const string in
Create/Push/Pop/RemoveProfile API's

Bug: 25516476
Change-Id: Icd3fc0d2d79dd98959a0cc196e1d282c67043d70
TEST: mmm system/connectivity/shill
/system/connectivity/shill/test-rpc-proxy/proxy_shill_wifi_client.h
a5354f8fe745e91d9de5dd8d9c1396c4ba076d24 12-Nov-2015 Roshan Pius <rpius@google.com> shill-test-proxy: Implement dbus methods (Part 5)

Implementation of the following methods declared in the abstract
ProxyShillWifiClient interface:
1. GetActiveWifiSsids
2. WaitForServiceStates

Bug: 25516476
Change-Id: Ib270bc3a2f49cfc0f7af8a63012c36a4a5c924f6
TEST: mmm system/connectivity/shill
/system/connectivity/shill/test-rpc-proxy/proxy_shill_wifi_client.h
82c4ed9c51c24d5458e1cc3c018e682f483b2ccd 12-Nov-2015 Roshan Pius <rpius@google.com> shill-test-proxy: Implement dbus methods (Part 4)

Implementation of the following methods declared in the abstract
ProxyShillWifiClient interface:
1. DisconnectFromWifiNetwork
2. ConfigureBgScan

Bug: 25516476
Change-Id: I755336c3e2291b26b3cb6ad78893ecee3f0ee6ab
TEST: mmm system/connectivity/shill
/system/connectivity/shill/test-rpc-proxy/proxy_shill_wifi_client.h
f751cd3cd732ee302ebc813a2c09fd286bf6d38a 09-Nov-2015 Roshan Pius <rpius@google.com> shill-test-proxy: Implement dbus methods (Part 3)

Implementation of the following methods declared in the abstract
ProxyShillWifiClient interface:
1. ConnectToWifiNetwork

Bug: 25516476
Change-Id: Ia953024ca66953ae06e7fa5c17f4b803a2307c7f
TEST: mmm system/connectivity/shill
/system/connectivity/shill/test-rpc-proxy/proxy_shill_wifi_client.h
58f74a182a788f7e1a9219b099fb502a4fc07f48 09-Nov-2015 Roshan Pius <rpius@google.com> shill-test-proxy: Implement dbus methods (Part 2)

Implementation of the following methods declared in the abstract
ProxyShillWifiClient interface:
1. ConfigureServiceByGuid
2. ConfigureWifiService

Bug: 25516476
Change-Id: I6b374a4e498ff57caef6e86ff7ecd7fd9cb9abb2
TEST: mmm system/connectivity/shill
/system/connectivity/shill/test-rpc-proxy/proxy_shill_wifi_client.h
9cfc26a516f58d6f0c5f066c779b332d81cd0c4e 09-Nov-2015 Roshan Pius <rpius@google.com> shill-test-proxy: Implement dbus methods (Part 1)

Implementation of the following methods declared in the abstract
ProxyShillWifiClient interface:
1. Constructor of the class
2. SetLogging
3. RemoveAllWifiEntries

While there:
Fix couple of const enum/map naming conventions in ProxyShillWifiClient.

Bug: 25516476
Change-Id: I23e3a8a6921074f02c18b5a3b3b96f1825f8cb61
TEST: mmm system/connectivity/shill
/system/connectivity/shill/test-rpc-proxy/proxy_shill_wifi_client.h
03e6719bae1e0903d94853b896673a033196bcf5 13-Oct-2015 Alex Vakulenko <avakulenko@google.com> shill: Rename "chromeos" -> "brillo" in include paths and namespaces

libchromeos is transitioning to libbrillo and chromeos namespaces
and include directory is changing to brillo.

Bug: 24872993
TEST=built for aosp and brillo, all unit tests pass on dragonboard

Change-Id: I804311e49ee780ca96e05f6a581e8c95709d4e1d
/system/connectivity/shill/test-rpc-proxy/proxy_shill_wifi_client.h
28491fa4e8c3988c8797c542e1de0adfac120456 02-Oct-2015 Roshan Pius <rpius@google.com> shill-test-proxy: Make test-proxy single threaded.

The test proxy should process RPC requests sequentially and
synchronously. So, there is no need for the proxy to be multi-threaded
and add the overhead of synchronizing the 2 threads. The RPC server
holds the pointer to a single instance of the ShillWifiClient and uses it
to execute the dbus commands needed to process an RPC request.

While there:
1. Include the correct chromeos_variants.h header instead of
chromeos_any.h in the ProxyShillWifiClient.
2. Change all instance of |timeout_in_seconds| to |timeout_seconds| in
function params to be consistent.

Bug: 24335496
Change-Id: Ice574f946e127ab670a0dee575a4467cf9ca8b51
TEST: mmm system/connectivity/shill/test-rpc-proxy
/system/connectivity/shill/test-rpc-proxy/proxy_shill_wifi_client.h
9040f7dd043943832e96a37f53fa33c287f84781 01-Oct-2015 Roshan Pius <rpius@google.com> shill-test-proxy: Create a shill client interface (3/3).

Changes in the rest of test-proxy needed to work with the new Shill
client interface. The RPC server thread to the main dbus server thread
communication is a todo.

Bug: 24335496
Change-Id: Ie4b4947f4df1d0c1c0a5053204f58565d84da2dc
TEST: mmm system/connectivity/shill/test-rpc-proxy
/system/connectivity/shill/test-rpc-proxy/proxy_shill_wifi_client.h
e10dffd0bf6335016daecdc42d0ebfba8532cb8e 01-Oct-2015 Roshan Pius <rpius@google.com> shill-test-proxy: Create a shill client interface (1/3).

Creating base shill client abstract class which can be used to interface
with Shill over dbus, binder, etc.

ProxyShillWifiClient: This is the abstract class which can be
implemented to interface with Shill for wifi tests. The RPC server will
invoke methods defined in this interface. This layering will help us
migrate to a different IPC mechanism in the future (binder instead of
dbus).

Bug: 24335496
Change-Id: I56d2de49fe5d6887b891a0ffd51082e6961fdc2e
TEST: mmm system/connectivity/shill/test-rpc-proxy
/system/connectivity/shill/test-rpc-proxy/proxy_shill_wifi_client.h