/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 | 45 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 …]
|
D | fake_bluetooth_gatt_interface.h | 30 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 | 49 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 …]
|
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() 218 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() 79 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 | 40 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 …]
|
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 | daemon.cc | 73 if (!hal::BluetoothGattInterface::Initialize()) goto failed; in StartUpBluetoothInterfaces() 87 if (hal::BluetoothGattInterface::IsInitialized()) in ShutDownBluetoothInterfaces() 88 hal::BluetoothGattInterface::CleanUp(); in ShutDownBluetoothInterfaces()
|
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()
|
/system/bt/service/test/ |
D | gatt_client_unittest.cc | 61 hal::BluetoothGattInterface::InitializeForTesting(fake_hal_gatt_iface_); in SetUp() 68 hal::BluetoothGattInterface::CleanUp(); in TearDown()
|
D | ipc_linux_unittest.cc | 63 bluetooth::hal::BluetoothGattInterface::InitializeForTesting( in SetUp() 75 bluetooth::hal::BluetoothGattInterface::CleanUp(); in TearDown()
|
D | adapter_unittest.cc | 38 hal::BluetoothGattInterface::InitializeForTesting( in SetUp() 47 hal::BluetoothGattInterface::CleanUp(); in TearDown()
|
D | low_energy_client_unittest.cc | 95 hal::BluetoothGattInterface::InitializeForTesting(fake_hal_gatt_iface_); in SetUp() 101 hal::BluetoothGattInterface::CleanUp(); in TearDown()
|
D | low_energy_scanner_unittest.cc | 123 hal::BluetoothGattInterface::InitializeForTesting(fake_hal_gatt_iface_); in SetUp() 129 hal::BluetoothGattInterface::CleanUp(); in TearDown()
|
D | low_energy_advertiser_unittest.cc | 87 hal::BluetoothGattInterface::InitializeForTesting( in SetUp() 96 hal::BluetoothGattInterface::CleanUp(); in TearDown()
|
D | gatt_server_unittest.cc | 189 hal::BluetoothGattInterface::InitializeForTesting(fake_hal_gatt_iface_); in SetUp() 195 hal::BluetoothGattInterface::CleanUp(); in TearDown()
|