/system/bt/service/hal/ |
D | bluetooth_gatt_interface.h | 40 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 …]
|
D | bluetooth_gatt_interface.cc | 44 BluetoothGattInterface* g_interface = nullptr; 54 base::ObserverList<BluetoothGattInterface::ScannerObserver>* 56 base::ObserverList<BluetoothGattInterface::ClientObserver>* 58 base::ObserverList<BluetoothGattInterface::ServerObserver>* 435 class BluetoothGattInterfaceImpl : public BluetoothGattInterface { 538 base::ObserverList<BluetoothGattInterface::ScannerObserver>* 545 base::ObserverList<BluetoothGattInterface::ClientObserver>* 552 base::ObserverList<BluetoothGattInterface::ServerObserver>* 564 void BluetoothGattInterface::ScannerObserver::ScanResultCallback( in ScanResultCallback() 565 BluetoothGattInterface* /* gatt_iface */, const RawAddress& /* bda */, in ScanResultCallback() argument [all …]
|
D | fake_bluetooth_gatt_interface.h | 29 class FakeBluetoothGattInterface : public BluetoothGattInterface {
|
/system/bt/test/suite/gatt/ |
D | gatt_test.h | 27 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,
|
D | gatt_test.cc | 48 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/ |
D | gatt_server.h | 40 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 …]
|
D | low_energy_client.cc | 46 hal::BluetoothGattInterface::Get()->RemoveClientObserver(this); in ~LowEnergyClient() 48 hal::BluetoothGattInterface::Get() in ~LowEnergyClient() 60 hal::BluetoothGattInterface::Get()->GetClientHALInterface()->connect( in Connect() 87 hal::BluetoothGattInterface::Get()->GetClientHALInterface()->disconnect( in Disconnect() 113 bt_status_t status = hal::BluetoothGattInterface::Get() in SetMtu() 135 void LowEnergyClient::ConnectCallback(hal::BluetoothGattInterface* gatt_iface, in ConnectCallback() 156 hal::BluetoothGattInterface* gatt_iface, int conn_id, int status, in DisconnectCallback() 174 hal::BluetoothGattInterface* gatt_iface, int conn_id, int status, int mtu) { in MtuChangedCallback() 200 hal::BluetoothGattInterface::Get()->AddClientObserver(this); in LowEnergyClientFactory() 204 hal::BluetoothGattInterface::Get()->RemoveClientObserver(this); in ~LowEnergyClientFactory() [all …]
|
D | low_energy_scanner.cc | 82 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() 216 hal::BluetoothGattInterface::Get()->AddScannerObserver(scanner.get()); in RegisterScannerCallback()
|
D | gatt_client.cc | 36 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() 78 hal::BluetoothGattInterface* /* gatt_iface */, int status, int client_id, in RegisterClientCallback() argument
|
D | low_energy_client.h | 47 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,
|
D | gatt_server.cc | 41 hal::BluetoothGattInterface::Get()->RemoveServerObserver(this); in ~GattServer() 46 hal::BluetoothGattInterface::Get() in ~GattServer() 94 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 …]
|
D | low_energy_scanner.h | 43 class LowEnergyScanner : private hal::BluetoothGattInterface::ScannerObserver, 87 void ScanResultCallback(hal::BluetoothGattInterface* gatt_iface, 131 : private hal::BluetoothGattInterface::ScannerObserver,
|
D | gatt_client.h | 59 private hal::BluetoothGattInterface::ClientObserver { 72 void RegisterClientCallback(hal::BluetoothGattInterface* gatt_iface,
|
D | low_energy_advertiser.cc | 135 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()
|
D | daemon.cc | 72 if (!hal::BluetoothGattInterface::Initialize()) goto failed; in StartUpBluetoothInterfaces() 86 if (hal::BluetoothGattInterface::IsInitialized()) in ShutDownBluetoothInterfaces() 87 hal::BluetoothGattInterface::CleanUp(); in ShutDownBluetoothInterfaces()
|
/system/bt/service/test/ |
D | gatt_client_unittest.cc | 60 hal::BluetoothGattInterface::InitializeForTesting(fake_hal_gatt_iface_); in SetUp() 67 hal::BluetoothGattInterface::CleanUp(); in TearDown()
|
D | ipc_linux_unittest.cc | 61 bluetooth::hal::BluetoothGattInterface::InitializeForTesting( in SetUp() 73 bluetooth::hal::BluetoothGattInterface::CleanUp(); in TearDown()
|
D | low_energy_client_unittest.cc | 93 hal::BluetoothGattInterface::InitializeForTesting(fake_hal_gatt_iface_); in SetUp() 99 hal::BluetoothGattInterface::CleanUp(); in TearDown()
|
D | adapter_unittest.cc | 38 hal::BluetoothGattInterface::InitializeForTesting( in SetUp() 47 hal::BluetoothGattInterface::CleanUp(); in TearDown()
|
D | low_energy_scanner_unittest.cc | 119 hal::BluetoothGattInterface::InitializeForTesting(fake_hal_gatt_iface_); in SetUp() 125 hal::BluetoothGattInterface::CleanUp(); in TearDown()
|
D | low_energy_advertiser_unittest.cc | 85 hal::BluetoothGattInterface::InitializeForTesting( in SetUp() 94 hal::BluetoothGattInterface::CleanUp(); in TearDown()
|
D | gatt_server_unittest.cc | 188 hal::BluetoothGattInterface::InitializeForTesting(fake_hal_gatt_iface_); in SetUp() 194 hal::BluetoothGattInterface::CleanUp(); in TearDown()
|