/system/bt/service/ |
D | adapter.h | 32 class Adapter { 52 virtual void OnAdapterStateChanged(Adapter* adapter, 61 Adapter* adapter, const std::string& device_address, bool connected); 66 static std::unique_ptr<Adapter> Create(); 68 virtual ~Adapter() = default; 137 Adapter() = default; 140 DISALLOW_COPY_AND_ASSIGN(Adapter);
|
D | adapter.cpp | 40 const char Adapter::kDefaultAddress[] = "00:00:00:00:00:00"; 42 const char Adapter::kDefaultName[] = "not-initialized"; 59 void Adapter::Observer::OnAdapterStateChanged(Adapter* adapter, in OnAdapterStateChanged() 65 void Adapter::Observer::OnDeviceConnectionStateChanged( in OnDeviceConnectionStateChanged() 66 Adapter* adapter, const std::string& device_address, bool connected) { in OnDeviceConnectionStateChanged() 71 class AdapterImpl : public Adapter, 90 void AddObserver(Adapter::Observer* observer) override { in AddObserver() 95 void RemoveObserver(Adapter::Observer* observer) override { in RemoveObserver() 326 Adapter::Observer, observers_, in AclStateChangedCallback() 357 FOR_EACH_OBSERVER(Adapter::Observer, observers_, in NotifyAdapterStateChanged() [all …]
|
D | low_energy_client.h | 44 class Adapter; variable 147 LowEnergyClient(Adapter& adapter, const UUID& uuid, int client_id); 189 Adapter& adapter_; 250 LowEnergyClientFactory(Adapter& adapter); 271 Adapter& adapter_;
|
D | daemon.cpp | 120 adapter_ = Adapter::Create(); in Init() 137 std::unique_ptr<Adapter> adapter_;
|
/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 63 explicit IPCManager(bluetooth::Adapter* adapter); 95 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.cpp | 23 IPCHandler::IPCHandler(bluetooth::Adapter* adapter, in IPCHandler()
|
D | ipc_handler_linux.h | 38 IPCHandlerLinux(bluetooth::Adapter* adapter,
|
D | ipc_manager.cpp | 24 IPCManager::IPCManager(bluetooth::Adapter* adapter) in IPCManager()
|
D | linux_ipc_host.cpp | 40 using bluetooth::Adapter; 77 LinuxIPCHost::LinuxIPCHost(int sockfd, Adapter* adapter) in LinuxIPCHost()
|
D | ipc_handler_linux.cpp | 31 IPCHandlerLinux::IPCHandlerLinux(bluetooth::Adapter* adapter, in IPCHandlerLinux()
|
/system/bt/service/ipc/binder/ |
D | bluetooth_binder_server.h | 40 public bluetooth::Adapter::Observer { 42 explicit BluetoothBinderServer(bluetooth::Adapter* adapter); 69 void OnAdapterStateChanged(bluetooth::Adapter* adapter, 74 bluetooth::Adapter* adapter_; // weak
|
D | bluetooth_gatt_client_binder_server.h | 27 class Adapter; variable 37 explicit BluetoothGattClientBinderServer(bluetooth::Adapter* adapter); 63 bluetooth::Adapter* adapter_; // weak
|
D | bluetooth_low_energy_binder_server.h | 30 class Adapter; variable 42 explicit BluetoothLowEnergyBinderServer(bluetooth::Adapter* adapter); 88 bluetooth::Adapter* adapter_; // weak
|
D | bluetooth_gatt_server_binder_server.h | 27 class Adapter; variable 38 explicit BluetoothGattServerBinderServer(bluetooth::Adapter* adapter); 112 bluetooth::Adapter* adapter_; // weak
|
D | ipc_handler_binder.h | 29 IPCHandlerBinder(bluetooth::Adapter* adapter,
|
D | bluetooth_binder_server.cpp | 32 BluetoothBinderServer::BluetoothBinderServer(bluetooth::Adapter* adapter) in BluetoothBinderServer() 175 bluetooth::Adapter* adapter, in OnAdapterStateChanged()
|
D | ipc_handler_binder.cpp | 36 bluetooth::Adapter* adapter, in IPCHandlerBinder()
|
D | bluetooth_gatt_client_binder_server.cpp | 31 bluetooth::Adapter* adapter) : adapter_(adapter) { in BluetoothGattClientBinderServer()
|
/system/bt/service/test/ |
D | adapter_unittest.cpp | 42 adapter_ = Adapter::Create(); in SetUp() 54 std::unique_ptr<Adapter> adapter_; 60 class TestObserver final : public bluetooth::Adapter::Observer { 62 TestObserver(bluetooth::Adapter* adapter) in TestObserver() 87 void OnAdapterStateChanged(bluetooth::Adapter* adapter, in OnAdapterStateChanged() 96 Adapter* adapter, in OnDeviceConnectionStateChanged() 105 bluetooth::Adapter* adapter_; 209 EXPECT_EQ(bluetooth::Adapter::kDefaultName, adapter_->GetName()); in TEST_F() 230 EXPECT_EQ(bluetooth::Adapter::kDefaultAddress, adapter_->GetAddress()); in TEST_F()
|
D | stub_ipc_handler_binder.cpp | 26 bluetooth::Adapter* adapter, in IPCHandlerBinder()
|
D | stub_ipc_handler_linux.cpp | 26 bluetooth::Adapter* adapter, in IPCHandlerLinux()
|
D | mock_adapter.h | 26 class MockAdapter : public Adapter {
|
D | ipc_linux_unittest.cpp | 64 adapter_ = bluetooth::Adapter::Create(); in SetUp() 106 std::unique_ptr<bluetooth::Adapter> adapter_;
|