Home
last modified time | relevance | path

Searched refs:BluetoothGattInterface (Results 1 – 17 of 17) sorted by relevance

/system/bt/service/hal/
Dbluetooth_gatt_interface.h40 class BluetoothGattInterface {
55 BluetoothGattInterface* gatt_iface,
60 BluetoothGattInterface* gatt_iface,
65 BluetoothGattInterface* gatt_iface,
72 BluetoothGattInterface* gatt_iface,
79 BluetoothGattInterface* gatt_iface,
84 BluetoothGattInterface* gatt_iface,
88 BluetoothGattInterface* gatt_iface,
92 BluetoothGattInterface* gatt_iface,
96 BluetoothGattInterface* gatt_iface,
[all …]
Dbluetooth_gatt_interface.cpp42 BluetoothGattInterface* g_interface = nullptr;
52 base::ObserverList<BluetoothGattInterface::ClientObserver>*
54 base::ObserverList<BluetoothGattInterface::ServerObserver>*
58 FOR_EACH_OBSERVER(BluetoothGattInterface::ClientObserver, \
62 FOR_EACH_OBSERVER(BluetoothGattInterface::ServerObserver, \
497 class BluetoothGattInterfaceImpl : public BluetoothGattInterface {
582 base::ObserverList<BluetoothGattInterface::ClientObserver>*
589 base::ObserverList<BluetoothGattInterface::ServerObserver>*
600 void BluetoothGattInterface::ClientObserver::RegisterClientCallback( in RegisterClientCallback()
601 BluetoothGattInterface* /* gatt_iface */, in RegisterClientCallback() argument
[all …]
Dfake_bluetooth_gatt_interface.h27 class FakeBluetoothGattInterface : public BluetoothGattInterface {
/system/bt/test/suite/gatt/
Dgatt_test.h27 public bluetooth::hal::BluetoothGattInterface::ClientObserver,
28 public bluetooth::hal::BluetoothGattInterface::ServerObserver {
57 bluetooth::hal::BluetoothGattInterface* /* unused */,
60 bluetooth::hal::BluetoothGattInterface* /* unused */,
63 bluetooth::hal::BluetoothGattInterface* /* unused */,
68 bluetooth::hal::BluetoothGattInterface* /* unused */,
71 bluetooth::hal::BluetoothGattInterface* /* unused */,
75 bluetooth::hal::BluetoothGattInterface* /* unused */,
79 bluetooth::hal::BluetoothGattInterface* /* unused */,
83 bluetooth::hal::BluetoothGattInterface* /* unused */,
[all …]
Dgatt_test.cpp56 bluetooth::hal::BluetoothGattInterface::Initialize(); in SetUp()
57 ASSERT_TRUE(bluetooth::hal::BluetoothGattInterface::IsInitialized()); in SetUp()
58 auto gatt_interface = bluetooth::hal::BluetoothGattInterface::Get(); in SetUp()
85 bluetooth::hal::BluetoothGattInterface::CleanUp(); in TearDown()
101 bluetooth::hal::BluetoothGattInterface* /* unused */, in RegisterClientCallback() argument
109 bluetooth::hal::BluetoothGattInterface* /* unused */, in ScanResultCallback() argument
115 bluetooth::hal::BluetoothGattInterface* /* unused */, in ListenCallback() argument
124 bluetooth::hal::BluetoothGattInterface* /* unused */, in RegisterServerCallback() argument
132 bluetooth::hal::BluetoothGattInterface* /* unused */, in ServiceAddedCallback() argument
142 bluetooth::hal::BluetoothGattInterface* /* unused */, in CharacteristicAddedCallback() argument
[all …]
/system/bt/service/
Dlow_energy_client.h49 class LowEnergyClient : private hal::BluetoothGattInterface::ClientObserver,
151 hal::BluetoothGattInterface* gatt_iface,
155 hal::BluetoothGattInterface* gatt_iface, int conn_id, int status,
158 hal::BluetoothGattInterface* gatt_iface, int conn_id, int status,
161 hal::BluetoothGattInterface* gatt_iface, int conn_id, int status,
164 hal::BluetoothGattInterface* gatt_iface,
167 hal::BluetoothGattInterface* gatt_iface,
170 hal::BluetoothGattInterface* gatt_iface,
175 hal::BluetoothGattInterface* gatt_iface,
182 void HandleDeferredAdvertiseData(hal::BluetoothGattInterface* gatt_iface);
[all …]
Dgatt_server.h39 private hal::BluetoothGattInterface::ServerObserver {
258 hal::BluetoothGattInterface* gatt_iface,
263 hal::BluetoothGattInterface* gatt_iface,
268 hal::BluetoothGattInterface* gatt_iface,
274 hal::BluetoothGattInterface* gatt_iface,
280 hal::BluetoothGattInterface* gatt_iface,
284 hal::BluetoothGattInterface* gatt_iface,
288 hal::BluetoothGattInterface* gatt_iface,
294 hal::BluetoothGattInterface* gatt_iface,
300 hal::BluetoothGattInterface* gatt_iface,
[all …]
Dgatt_client.cpp38 hal::BluetoothGattInterface::Get()->GetClientHALInterface()-> in ~GattClient()
54 hal::BluetoothGattInterface::Get()->AddClientObserver(this); in GattClientFactory()
58 hal::BluetoothGattInterface::Get()->RemoveClientObserver(this); in ~GattClientFactory()
74 hal::BluetoothGattInterface::Get()->GetClientHALInterface(); in RegisterInstance()
86 hal::BluetoothGattInterface* /* gatt_iface */, in RegisterClientCallback() argument
Dlow_energy_client.cpp324 hal::BluetoothGattInterface::Get()->RemoveClientObserver(this); in ~LowEnergyClient()
327 hal::BluetoothGattInterface::Get()-> in ~LowEnergyClient()
329 hal::BluetoothGattInterface::Get()-> in ~LowEnergyClient()
343 bt_status_t status = hal::BluetoothGattInterface::Get()-> in Connect()
370 bt_status_t status = hal::BluetoothGattInterface::Get()-> in Disconnect()
397 bt_status_t status = hal::BluetoothGattInterface::Get()-> in SetMtu()
423 bt_status_t status = hal::BluetoothGattInterface::Get()-> in StartScan()
440 bt_status_t status = hal::BluetoothGattInterface::Get()-> in StopScan()
488 bt_status_t status = hal::BluetoothGattInterface::Get()-> in StartAdvertising()
532 bt_status_t status = hal::BluetoothGattInterface::Get()-> in StopAdvertising()
[all …]
Dgatt_server.cpp54 hal::BluetoothGattInterface::Get()->RemoveServerObserver(this); in ~GattServer()
59 hal::BluetoothGattInterface::Get()-> in ~GattServer()
199 bt_status_t status = hal::BluetoothGattInterface::Get()-> in EndServiceDeclaration()
356 bt_status_t result = hal::BluetoothGattInterface::Get()-> in SendResponse()
418 bt_status_t status = hal::BluetoothGattInterface::Get()-> in SendNotification()
449 hal::BluetoothGattInterface* /* gatt_iface */, in ConnectionCallback() argument
498 hal::BluetoothGattInterface* gatt_iface, in ServiceAddedCallback()
533 hal::BluetoothGattInterface* gatt_iface, in CharacteristicAddedCallback()
566 hal::BluetoothGattInterface* gatt_iface, in DescriptorAddedCallback()
599 hal::BluetoothGattInterface* gatt_iface, in ServiceStartedCallback()
[all …]
Ddaemon.cpp65 if (!hal::BluetoothGattInterface::Initialize()) in StartUpBluetoothInterfaces()
76 if (hal::BluetoothGattInterface::IsInitialized()) in ShutDownBluetoothInterfaces()
77 hal::BluetoothGattInterface::CleanUp(); in ShutDownBluetoothInterfaces()
Dgatt_client.h59 private hal::BluetoothGattInterface::ClientObserver {
73 hal::BluetoothGattInterface* gatt_iface,
/system/bt/service/test/
Dgatt_client_unittest.cpp74 hal::BluetoothGattInterface::InitializeForTesting(fake_hal_gatt_iface_); in SetUp()
81 hal::BluetoothGattInterface::CleanUp(); in TearDown()
186 hal::BluetoothGattInterface::Get()->StartScan(i); in TEST_F()
189 hal::BluetoothGattInterface::Get()->StopScan(i); in TEST_F()
Dipc_linux_unittest.cpp61 bluetooth::hal::BluetoothGattInterface::InitializeForTesting( in SetUp()
72 bluetooth::hal::BluetoothGattInterface::CleanUp(); in TearDown()
Dadapter_unittest.cpp39 hal::BluetoothGattInterface::InitializeForTesting( in SetUp()
47 hal::BluetoothGattInterface::CleanUp(); in TearDown()
Dlow_energy_client_unittest.cpp173 hal::BluetoothGattInterface::InitializeForTesting(fake_hal_gatt_iface_); in SetUp()
179 hal::BluetoothGattInterface::CleanUp(); in TearDown()
Dgatt_server_unittest.cpp171 hal::BluetoothGattInterface::InitializeForTesting(fake_hal_gatt_iface_); in SetUp()
177 hal::BluetoothGattInterface::CleanUp(); in TearDown()