Home
last modified time | relevance | path

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

/system/bt/service/hal/
Dbluetooth_gatt_interface.h40 class BluetoothGattInterface {
56 BluetoothGattInterface* gatt_iface, const RawAddress& bda, int rssi,
68 virtual void RegisterClientCallback(BluetoothGattInterface* gatt_iface,
72 virtual void ConnectCallback(BluetoothGattInterface* gatt_iface,
76 virtual void DisconnectCallback(BluetoothGattInterface* gatt_iface,
80 virtual void SearchCompleteCallback(BluetoothGattInterface* gatt_iface,
84 BluetoothGattInterface* gatt_iface, int conn_id, int registered,
87 virtual void NotifyCallback(BluetoothGattInterface* gatt_iface, int conn_id,
90 virtual void WriteCharacteristicCallback(BluetoothGattInterface* gatt_iface,
94 virtual void WriteDescriptorCallback(BluetoothGattInterface* gatt_iface,
[all …]
Dbluetooth_gatt_interface.cc45 BluetoothGattInterface* g_interface = nullptr;
55 btbase::AbstractObserverList<BluetoothGattInterface::ScannerObserver>*
57 btbase::AbstractObserverList<BluetoothGattInterface::ClientObserver>*
59 btbase::AbstractObserverList<BluetoothGattInterface::ServerObserver>*
437 class BluetoothGattInterfaceImpl : public BluetoothGattInterface {
540 btbase::AbstractObserverList<BluetoothGattInterface::ScannerObserver>*
547 btbase::AbstractObserverList<BluetoothGattInterface::ClientObserver>*
554 btbase::AbstractObserverList<BluetoothGattInterface::ServerObserver>*
566 void BluetoothGattInterface::ScannerObserver::ScanResultCallback( in ScanResultCallback()
567 BluetoothGattInterface* /* gatt_iface */, const RawAddress& /* bda */, in ScanResultCallback() argument
[all …]
Dfake_bluetooth_gatt_interface.h30 class FakeBluetoothGattInterface : public BluetoothGattInterface {
/system/bt/test/suite/gatt/
Dgatt_test.h27 public bluetooth::hal::BluetoothGattInterface::ClientObserver,
28 public bluetooth::hal::BluetoothGattInterface::ScannerObserver,
29 public bluetooth::hal::BluetoothGattInterface::ServerObserver {
61 bluetooth::hal::BluetoothGattInterface* /* unused */, int status,
63 void ScanResultCallback(bluetooth::hal::BluetoothGattInterface* /* unused */,
69 bluetooth::hal::BluetoothGattInterface* /* unused */, int status,
72 bluetooth::hal::BluetoothGattInterface* /* unused */, int status,
75 bluetooth::hal::BluetoothGattInterface* /* unused */, int status,
78 bluetooth::hal::BluetoothGattInterface* /* unused */, int status,
Dgatt_test.cc48 bluetooth::hal::BluetoothGattInterface::Initialize(); in SetUp()
49 ASSERT_TRUE(bluetooth::hal::BluetoothGattInterface::IsInitialized()); in SetUp()
50 auto gatt_interface = bluetooth::hal::BluetoothGattInterface::Get(); in SetUp()
73 bluetooth::hal::BluetoothGattInterface::CleanUp(); in TearDown()
93 bluetooth::hal::BluetoothGattInterface* /* unused */, int status, in RegisterClientCallback() argument
101 bluetooth::hal::BluetoothGattInterface* /* unused */, const RawAddress& bda, in ScanResultCallback() argument
108 bluetooth::hal::BluetoothGattInterface* /* unused */, int status, in RegisterServerCallback() argument
116 bluetooth::hal::BluetoothGattInterface* /* unused */, int status, in ServiceAddedCallback() argument
125 bluetooth::hal::BluetoothGattInterface* /* unused */, int status, in ServiceStoppedCallback() argument
134 bluetooth::hal::BluetoothGattInterface* /* unused */, int status, in ServiceDeletedCallback() argument
/system/bt/service/
Dgatt_server.h40 private hal::BluetoothGattInterface::ServerObserver {
195 void ConnectionCallback(hal::BluetoothGattInterface* gatt_iface, int conn_id,
198 void ServiceAddedCallback(hal::BluetoothGattInterface* gatt_iface, int status,
201 void ServiceStoppedCallback(hal::BluetoothGattInterface* gatt_iface,
205 hal::BluetoothGattInterface* gatt_iface, int conn_id, int trans_id,
208 void RequestReadDescriptorCallback(hal::BluetoothGattInterface* gatt_iface,
214 hal::BluetoothGattInterface* gatt_iface, int conn_id, int trans_id,
217 void RequestWriteDescriptorCallback(hal::BluetoothGattInterface* gatt_iface,
222 void RequestExecWriteCallback(hal::BluetoothGattInterface* gatt_iface,
225 void IndicationSentCallback(hal::BluetoothGattInterface* gatt_iface,
[all …]
Dlow_energy_client.cc49 hal::BluetoothGattInterface::Get()->RemoveClientObserver(this); in ~LowEnergyClient()
51 hal::BluetoothGattInterface::Get() in ~LowEnergyClient()
63 hal::BluetoothGattInterface::Get()->GetClientHALInterface()->connect( in Connect()
90 hal::BluetoothGattInterface::Get()->GetClientHALInterface()->disconnect( in Disconnect()
116 bt_status_t status = hal::BluetoothGattInterface::Get() in SetMtu()
138 void LowEnergyClient::ConnectCallback(hal::BluetoothGattInterface* gatt_iface, in ConnectCallback()
159 hal::BluetoothGattInterface* gatt_iface, int conn_id, int status, in DisconnectCallback()
177 hal::BluetoothGattInterface* gatt_iface, int conn_id, int status, int mtu) { in MtuChangedCallback()
203 hal::BluetoothGattInterface::Get()->AddClientObserver(this); in LowEnergyClientFactory()
207 hal::BluetoothGattInterface::Get()->RemoveClientObserver(this); in ~LowEnergyClientFactory()
[all …]
Dlow_energy_scanner.cc82 hal::BluetoothGattInterface::Get()->RemoveScannerObserver(this); in ~LowEnergyScanner()
84 hal::BluetoothGattInterface::Get()->GetScannerHALInterface()->Unregister( in ~LowEnergyScanner()
108 hal::BluetoothGattInterface::Get()->StartScan(scanner_id_); in StartScan()
125 hal::BluetoothGattInterface::Get()->StopScan(scanner_id_); in StopScan()
142 hal::BluetoothGattInterface* gatt_iface, const RawAddress& bda, int rssi, in ScanResultCallback()
166 hal::BluetoothGattInterface::Get()->AddScannerObserver(this); in LowEnergyScannerFactory()
170 hal::BluetoothGattInterface::Get()->RemoveScannerObserver(this); in ~LowEnergyScannerFactory()
185 hal::BluetoothGattInterface::Get()->GetScannerHALInterface(); in RegisterInstance()
218 hal::BluetoothGattInterface::Get()->AddScannerObserver(scanner.get()); in RegisterScannerCallback()
Dgatt_client.cc36 hal::BluetoothGattInterface::Get() in ~GattClient()
49 hal::BluetoothGattInterface::Get()->AddClientObserver(this); in GattClientFactory()
53 hal::BluetoothGattInterface::Get()->RemoveClientObserver(this); in ~GattClientFactory()
68 hal::BluetoothGattInterface::Get()->GetClientHALInterface(); in RegisterInstance()
79 hal::BluetoothGattInterface* /* gatt_iface */, int status, int client_id, in RegisterClientCallback() argument
Dlow_energy_client.h47 class LowEnergyClient : private hal::BluetoothGattInterface::ClientObserver,
105 void ConnectCallback(hal::BluetoothGattInterface* gatt_iface, int conn_id,
108 void DisconnectCallback(hal::BluetoothGattInterface* gatt_iface, int conn_id,
111 void MtuChangedCallback(hal::BluetoothGattInterface* gatt_iface, int conn_id,
145 : private hal::BluetoothGattInterface::ClientObserver,
161 void RegisterClientCallback(hal::BluetoothGattInterface* gatt_iface,
Dgatt_server.cc40 hal::BluetoothGattInterface::Get()->RemoveServerObserver(this); in ~GattServer()
45 hal::BluetoothGattInterface::Get() in ~GattServer()
95 hal::BluetoothGattInterface::Get()->GetServerHALInterface()->add_service( in AddService()
168 hal::BluetoothGattInterface::Get() in SendResponse()
220 bt_status_t status = hal::BluetoothGattInterface::Get() in SendNotification()
246 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int server_id, in ConnectionCallback() argument
295 void GattServer::ServiceAddedCallback(hal::BluetoothGattInterface* gatt_iface, in ServiceAddedCallback()
332 hal::BluetoothGattInterface* /* gatt_iface */, int /* status */, in ServiceStoppedCallback() argument
338 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int trans_id, in RequestReadCharacteristicCallback() argument
371 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int trans_id, in RequestReadDescriptorCallback() argument
[all …]
Dlow_energy_scanner.h43 class LowEnergyScanner : private hal::BluetoothGattInterface::ScannerObserver,
87 void ScanResultCallback(hal::BluetoothGattInterface* gatt_iface,
131 : private hal::BluetoothGattInterface::ScannerObserver,
Dgatt_client.h59 private hal::BluetoothGattInterface::ClientObserver {
72 void RegisterClientCallback(hal::BluetoothGattInterface* gatt_iface,
Ddaemon.cc73 if (!hal::BluetoothGattInterface::Initialize()) goto failed; in StartUpBluetoothInterfaces()
87 if (hal::BluetoothGattInterface::IsInitialized()) in ShutDownBluetoothInterfaces()
88 hal::BluetoothGattInterface::CleanUp(); in ShutDownBluetoothInterfaces()
Dlow_energy_advertiser.cc135 hal::BluetoothGattInterface::Get()->GetAdvertiserHALInterface()->Enable( in ~LowEnergyAdvertiser()
137 hal::BluetoothGattInterface::Get()->GetAdvertiserHALInterface()->Unregister( in ~LowEnergyAdvertiser()
173 hal::BluetoothGattInterface::Get() in StartAdvertising()
203 hal::BluetoothGattInterface::Get()->GetAdvertiserHALInterface()->Enable( in StopAdvertising()
307 hal::BluetoothGattInterface::Get()->GetAdvertiserHALInterface(); in RegisterInstance()
/system/bt/service/test/
Dgatt_client_unittest.cc61 hal::BluetoothGattInterface::InitializeForTesting(fake_hal_gatt_iface_); in SetUp()
68 hal::BluetoothGattInterface::CleanUp(); in TearDown()
Dipc_linux_unittest.cc63 bluetooth::hal::BluetoothGattInterface::InitializeForTesting( in SetUp()
75 bluetooth::hal::BluetoothGattInterface::CleanUp(); in TearDown()
Dadapter_unittest.cc38 hal::BluetoothGattInterface::InitializeForTesting( in SetUp()
47 hal::BluetoothGattInterface::CleanUp(); in TearDown()
Dlow_energy_client_unittest.cc95 hal::BluetoothGattInterface::InitializeForTesting(fake_hal_gatt_iface_); in SetUp()
101 hal::BluetoothGattInterface::CleanUp(); in TearDown()
Dlow_energy_scanner_unittest.cc123 hal::BluetoothGattInterface::InitializeForTesting(fake_hal_gatt_iface_); in SetUp()
129 hal::BluetoothGattInterface::CleanUp(); in TearDown()
Dlow_energy_advertiser_unittest.cc87 hal::BluetoothGattInterface::InitializeForTesting( in SetUp()
96 hal::BluetoothGattInterface::CleanUp(); in TearDown()
Dgatt_server_unittest.cc189 hal::BluetoothGattInterface::InitializeForTesting(fake_hal_gatt_iface_); in SetUp()
195 hal::BluetoothGattInterface::CleanUp(); in TearDown()