History log of /system/bt/service/test/low_energy_client_unittest.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a6551079fe71b1c76505ada0e4f758f6faf651e0 26-Jan-2016 Jakub Pawlowski <jpawlowski@google.com> service: add SetMtu and OnMtuChanged

Change-Id: I7a6c6cb46f4710b5d2c57b9d0e9cfac166d7cd62
/system/bt/service/test/low_energy_client_unittest.cpp
a6372e984aea35ffb451fca378046efbf280291c 20-Jan-2016 Jakub Pawlowski <jpawlowski@google.com> Add Connect and Disconnect methods to LowEnergyClient

Change-Id: Ibabfd44575b7ab1c8fc7a57b844956038dd571c4
/system/bt/service/test/low_energy_client_unittest.cpp
ce021ddaafea0cdb78005fe08bc8510f9c75aca4 20-Jan-2016 Jakub Pawlowski <jpawlowski@google.com> service: add HAL for connect/disconnect

Change-Id: I05b86af68e05433241d0206b0952d859483dee80
/system/bt/service/test/low_energy_client_unittest.cpp
53cfa7c612cda14aed96be45dced88b710b91df9 14-Jan-2016 Jakub Pawlowski <jpawlowski@google.com> service: Add RegisterTestClient

Extract registration code into separate helper, that'll be used in
tests that require more than one client.

Bug: 25744656
Change-Id: Ib3ceac8bba02cf1eb83f4265849ec423ad588e42
/system/bt/service/test/low_energy_client_unittest.cpp
82ea72f905565f83116f74d5ccbacea5d710a853 03-Dec-2015 Arman Uguray <armansito@google.com> service: Add OnScanResult Delegate event.

Added the LowEnergyClient::Delegate class and implemented scan result
reporting via the OnScanResult Delegate event.

Bug: 25744656
Change-Id: I050118c4f6761a7a32fa3ec8d9a1b41126a4c3ae
/system/bt/service/test/low_energy_client_unittest.cpp
480174f874a664affda33831c904eb3574ae9389 01-Dec-2015 Arman Uguray <armansito@google.com> service: Add Start|StopScan API to LowEnergyClient

Added the StartScan and StopScan methods to LowEnergyClient and basic unit
tests. This currently only supports regular scans with no batch scan or
hw/sw filters.

Bug: 25744656
Change-Id: Iddf6e897377f90a5eef81ef36696b1d7074a7dab
/system/bt/service/test/low_energy_client_unittest.cpp
60b0e8f7ef14b1c0bd0e6d86656cd912dd4c4221 12-Jan-2016 Jakub Pawlowski <jpawlowski@google.com> service: Parametrize LowEnergyClient with Adapter for tests

Bug: 25744656
Change-Id: I4eee8098c264c2135c2bb4f02a2319ba0dfec978
/system/bt/service/test/low_energy_client_unittest.cpp
3f6aa07299fd9db634274fd22821b349f18b5e0f 30-Nov-2015 Arman Uguray <armansito@google.com> service/hal: Add per-client Scan interface

Added a new per-client scan function to hal::BluetoothGattInterface.
The intention here is to push most of the per-client reference counting,
scan settings and filter coalescence below the HAL. This CL does this
first inside the Bluetooth daemon's HAL wrappers in a way that
represents what the future HAL scan API might look like.

This implements a basic reference counting scheme to share the global
controller scan session among different clients.

Bug: 25744656
Change-Id: I20c5cfc291be70d72576ebee014cc13544d5a299
/system/bt/service/test/low_energy_client_unittest.cpp
bb18c41ffa0370d4eb0c4a15904b114355606466 12-Nov-2015 Arman Uguray <armansito@google.com> service: Refactor Client/Instance naming

Refactored the internal interfaces so that data structures with
per-application instances such as GattClient, GattServer, and
LowEnergyClient, and all other related data structures use "instance"
to generically refer to these instances rather than "client", which
was the naming inherited from BTIF.

Bug: 25650633
Change-Id: I1bda387f5d8fdccebe5eae7f058d7f8defafe8cc
/system/bt/service/test/low_energy_client_unittest.cpp
50a31545d2d20d92d161c51195b653eafd164025 11-Nov-2015 Arman Uguray <armansito@google.com> service: Introduce bluetooth::GattClient

Added the bluetooth::GattClient class that will provide a
per-application entry point to GATT client-role operations. Implemented
IBluetoothGattClient client registration.

Bug: 25128256
Change-Id: I14ec0ddfa7057eedeb5e4f330fcbc2d09f6f3765
/system/bt/service/test/low_energy_client_unittest.cpp
9fc7d81c2dfa3f9b7c4381cd83e5e8f788e235f3 14-Oct-2015 Arman Uguray <armansito@google.com> service: Fix broken UUID advertising

The BTIF API expects a single 128-bit UUID in little-endian form to be
passed for its multi-adv service UUID field. The system service never
did this conversion so UUIDs were never properly advertised. This CL
fixes this.

Bug: 24247700
Change-Id: I541921da85bdabd907bfa9f75fbde7a3477ff593
/system/bt/service/test/low_energy_client_unittest.cpp
ff651b7fd11daaa29732cb8735d248910d9248f9 01-Oct-2015 Ajay Panicker <apanicke@google.com> Allow parsing of UUID and service data for advertising

Added code so that bluetooth advertisement packets will now
parse UUID data and service data. Also added unit tests to
confirm data is being parsed correctly. Also added constants for
the type fields for the different service UUID and service data
types.

Bug: 24247700

Change-Id: I53f5b639adb30e781ef155c8d55004547a26672d
/system/bt/service/test/low_energy_client_unittest.cpp
9e5205368d61adf11e75c9e2bd9f6ff26b375bac 22-Sep-2015 Arman Uguray <armansito@google.com> service: Add server support to BluetoothGattInterface

Added HAL GATT server interface wrappers to
hal::BluetoothGattInterface. Extended the fake implementation to
allow mocking server calls.

Bug: 24245347
Change-Id: Ic3436b8a82ecd93fed3b61579662fe776eebef58
/system/bt/service/test/low_energy_client_unittest.cpp
08f80ebd5c714364cb76cc4e4a93454b42ed5669 21-Sep-2015 Arman Uguray <armansito@google.com> service: Move client registration into base class

This CL introduces InterfaceWithClientsBase, which is an abstract class
that implements common client registration logic, which will be reused
for Binder interfaces such as IBluetoothGattClient and
IBluetoothGattServer. This also introduces BluetoothClientInstance, so
that per-application API client instances (and their factories) conform
to a common interface.

Bug: 24245347
Change-Id: Ia4b464fa85f7a33c631bf63342631fce8d155b4a
/system/bt/service/test/low_energy_client_unittest.cpp
12338405e0d8d70573e650560ccc8e1ce7d8e8cd 17-Sep-2015 Arman Uguray <armansito@google.com> service: Add advertising support to LowEnergyClient

This CL adds the StartAdvertising and StopAdvertising APIs to
LowEnergyClient. These internally call into the multi-advertising
APIs in HAL and report success or failure in an async callback.
The sequence of calls to enable advertising and setting advertising
and scan response data are serialized internally.

Bug: 23793954
Change-Id: Id093a98f3baca6328653b986857a064e8a722690
/system/bt/service/test/low_energy_client_unittest.cpp
27650cd8f2473356351f3279177486971a0f9054 20-Sep-2015 Arman Uguray <armansito@google.com> service: Fix build breakage.

Fixed build breakage due to missing changes.

Change-Id: Iac962fef2e9be979a2af90a43a66a5c66bbe4ad4
/system/bt/service/test/low_energy_client_unittest.cpp
c2fc0f287f4dfaf206a51856b8d5dfa923af3c05 04-Sep-2015 Arman Uguray <armansito@google.com> service: Introduce bluetooth::LowEnergyClient

Added the LowEnergyClient class which manages a per-application BLE
API client instance. This currently only supports getting registered
with the stack and obtaining a client_if handle but will expose APIs
in the future for various BLE operations.

Bug: 23793954
Change-Id: I423f6d12321877826525e5e52136682fa9d5a441
/system/bt/service/test/low_energy_client_unittest.cpp