/system/bt/service/ |
D | adapter.h | 34 class Adapter { 54 virtual void OnAdapterStateChanged(Adapter* adapter, 63 Adapter* adapter, const std::string& device_address, bool connected); 68 static std::unique_ptr<Adapter> Create(); 70 virtual ~Adapter() = default; 148 Adapter() = default; 151 DISALLOW_COPY_AND_ASSIGN(Adapter);
|
D | adapter.cc | 42 const char Adapter::kDefaultAddress[] = "00:00:00:00:00:00"; 44 const char Adapter::kDefaultName[] = "not-initialized"; 61 void Adapter::Observer::OnAdapterStateChanged(Adapter* adapter, in OnAdapterStateChanged() 67 void Adapter::Observer::OnDeviceConnectionStateChanged( in OnDeviceConnectionStateChanged() 68 Adapter* adapter, const std::string& device_address, bool connected) { in OnDeviceConnectionStateChanged() 73 class AdapterImpl : public Adapter, public hal::BluetoothInterface::Observer { 93 void AddObserver(Adapter::Observer* observer) override { in AddObserver() 98 void RemoveObserver(Adapter::Observer* observer) override { in RemoveObserver() 389 base::ObserverList<Adapter::Observer> observers_; 414 std::unique_ptr<Adapter> Adapter::Create() { in Create() [all …]
|
D | low_energy_scanner.h | 38 class Adapter; variable 96 LowEnergyScanner(Adapter& adapter, const Uuid& uuid, int scanner_id); 103 Adapter& adapter_; 136 explicit LowEnergyScannerFactory(Adapter& adapter); 156 Adapter& adapter_;
|
D | low_energy_client.h | 42 class Adapter; variable 102 LowEnergyClient(Adapter& adapter, const Uuid& uuid, int client_id); 119 Adapter& adapter_; 150 explicit LowEnergyClientFactory(Adapter& adapter); 170 Adapter& adapter_;
|
D | daemon.cc | 134 adapter_ = Adapter::Create(); in Init() 151 std::unique_ptr<Adapter> adapter_;
|
D | low_energy_scanner.cc | 68 LowEnergyScanner::LowEnergyScanner(Adapter& adapter, const Uuid& uuid, in LowEnergyScanner() 163 LowEnergyScannerFactory::LowEnergyScannerFactory(Adapter& adapter) in LowEnergyScannerFactory()
|
/system/bt/service/ipc/ |
D | ipc_handler.h | 25 class Adapter; variable 34 IPCHandler(bluetooth::Adapter* adapter, IPCManager::Delegate* delegate); 47 bluetooth::Adapter* adapter() const { return adapter_; } in adapter() 54 bluetooth::Adapter* adapter_;
|
D | ipc_manager.h | 25 class Adapter; variable 64 explicit IPCManager(bluetooth::Adapter* adapter); 98 bluetooth::Adapter* adapter_;
|
D | linux_ipc_host.h | 28 class Adapter; variable 40 LinuxIPCHost(int sockfd, bluetooth::Adapter* adapter); 96 bluetooth::Adapter* adapter_;
|
D | ipc_handler.cc | 23 IPCHandler::IPCHandler(bluetooth::Adapter* adapter, in IPCHandler()
|
D | ipc_handler_linux.h | 38 IPCHandlerLinux(bluetooth::Adapter* adapter, IPCManager::Delegate* delegate);
|
/system/bt/service/test/ |
D | adapter_unittest.cc | 42 adapter_ = Adapter::Create(); in SetUp() 54 std::unique_ptr<Adapter> adapter_; 60 class TestObserver final : public bluetooth::Adapter::Observer { 62 explicit TestObserver(bluetooth::Adapter* adapter) in TestObserver() 85 void OnAdapterStateChanged(bluetooth::Adapter* adapter, in OnAdapterStateChanged() 93 void OnDeviceConnectionStateChanged(Adapter* adapter, in OnDeviceConnectionStateChanged() 102 bluetooth::Adapter* adapter_; 206 EXPECT_EQ(bluetooth::Adapter::kDefaultName, adapter_->GetName()); in TEST_F() 227 EXPECT_EQ(bluetooth::Adapter::kDefaultAddress, adapter_->GetAddress()); in TEST_F()
|
D | stub_ipc_handler_binder.cc | 25 IPCHandlerBinder::IPCHandlerBinder(bluetooth::Adapter* adapter, in IPCHandlerBinder()
|
D | mock_adapter.h | 26 class MockAdapter : public Adapter {
|
D | ipc_linux_unittest.cc | 65 adapter_ = bluetooth::Adapter::Create(); in SetUp() 107 std::unique_ptr<bluetooth::Adapter> adapter_;
|
/system/bt/service/ipc/binder/ |
D | bluetooth_gatt_client_binder_server.h | 33 class Adapter; variable 43 explicit BluetoothGattClientBinderServer(bluetooth::Adapter* adapter); 69 bluetooth::Adapter* adapter_; // weak
|
D | bluetooth_le_advertiser_binder_server.h | 37 class Adapter; variable 47 explicit BluetoothLeAdvertiserBinderServer(bluetooth::Adapter* adapter); 79 bluetooth::Adapter* adapter_; // weak
|
D | bluetooth_le_scanner_binder_server.h | 37 class Adapter; variable 49 explicit BluetoothLeScannerBinderServer(bluetooth::Adapter* adapter); 81 bluetooth::Adapter* adapter_; // weak
|
D | bluetooth_binder_server.h | 54 public bluetooth::Adapter::Observer { 56 explicit BluetoothBinderServer(bluetooth::Adapter* adapter); 92 void OnAdapterStateChanged(bluetooth::Adapter* adapter, 97 bluetooth::Adapter* adapter_; // weak
|
D | bluetooth_low_energy_binder_server.h | 37 class Adapter; variable 49 explicit BluetoothLowEnergyBinderServer(bluetooth::Adapter* adapter); 85 bluetooth::Adapter* adapter_; // weak
|
D | bluetooth_gatt_server_binder_server.h | 33 class Adapter; variable 44 explicit BluetoothGattServerBinderServer(bluetooth::Adapter* adapter); 111 bluetooth::Adapter* adapter_; // weak
|
D | ipc_handler_binder.h | 29 IPCHandlerBinder(bluetooth::Adapter* adapter, IPCManager::Delegate* delegate);
|
D | ipc_handler_binder.cc | 38 IPCHandlerBinder::IPCHandlerBinder(bluetooth::Adapter* adapter, in IPCHandlerBinder()
|
/system/bt/service/ipc/dbus/ |
D | bluetooth_adapter.h | 38 bluetooth::Adapter* adapter); 52 bluetooth::Adapter* adapter_;
|
D | ipc_handler_dbus.h | 31 IPCHandlerDBus(bluetooth::Adapter* adapter, IPCManager::Delegate* delegate);
|