/system/bt/service/test/ |
D | adapter_unittest.cpp | 42 adapter_ = Adapter::Create(); in SetUp() 46 adapter_.reset(); in TearDown() 54 std::unique_ptr<Adapter> adapter_; member in bluetooth::__anon27e7169d0111::AdapterTest 63 : adapter_(adapter), in TestObserver() 67 CHECK(adapter_); in TestObserver() 68 adapter_->AddObserver(this); in TestObserver() 72 adapter_->RemoveObserver(this); in ~TestObserver() 90 ASSERT_EQ(adapter_, adapter); in OnAdapterStateChanged() 99 ASSERT_EQ(adapter_, adapter); in OnDeviceConnectionStateChanged() 105 bluetooth::Adapter* adapter_; member in bluetooth::__anon27e7169d0111::TestObserver [all …]
|
D | ipc_linux_unittest.cpp | 64 adapter_ = bluetooth::Adapter::Create(); in SetUp() 65 ipc_manager_.reset(new ipc::IPCManager(adapter_.get())); in SetUp() 71 adapter_.reset(); in TearDown() 106 std::unique_ptr<bluetooth::Adapter> adapter_; member in __anon94b547870111::IPCLinuxTest
|
/system/bt/service/ipc/binder/ |
D | bluetooth_binder_server.cpp | 33 : adapter_(adapter) { in BluetoothBinderServer() 34 CHECK(adapter_); in BluetoothBinderServer() 35 adapter_->AddObserver(this); in BluetoothBinderServer() 39 adapter_->RemoveObserver(this); in ~BluetoothBinderServer() 45 return adapter_->IsEnabled(); in IsEnabled() 50 return adapter_->GetState(); in GetState() 55 return adapter_->Enable(start_restricted); in Enable() 66 return adapter_->Disable(); in Disable() 71 return adapter_->GetAddress(); in GetAddress() 82 return adapter_->SetName(name); in SetName() [all …]
|
D | bluetooth_gatt_client_binder_server.cpp | 31 bluetooth::Adapter* adapter) : adapter_(adapter) { in BluetoothGattClientBinderServer() 32 CHECK(adapter_); in BluetoothGattClientBinderServer() 40 adapter_->GetGattClientFactory(); in RegisterClient()
|
D | bluetooth_low_energy_binder_server.cpp | 31 bluetooth::Adapter* adapter) : adapter_(adapter) { in BluetoothLowEnergyBinderServer() 32 CHECK(adapter_); in BluetoothLowEnergyBinderServer() 42 adapter_->GetLowEnergyClientFactory(); in RegisterClient()
|
D | bluetooth_gatt_client_binder_server.h | 63 bluetooth::Adapter* adapter_; // weak variable
|
D | bluetooth_gatt_server_binder_server.cpp | 31 bluetooth::Adapter* adapter) : adapter_(adapter) { in BluetoothGattServerBinderServer() 32 CHECK(adapter_); in BluetoothGattServerBinderServer() 39 adapter_->GetGattServerFactory(); in RegisterServer()
|
D | bluetooth_binder_server.h | 74 bluetooth::Adapter* adapter_; // weak
|
D | bluetooth_low_energy_binder_server.h | 88 bluetooth::Adapter* adapter_; // weak variable
|
D | bluetooth_gatt_server_binder_server.h | 112 bluetooth::Adapter* adapter_; // weak variable
|
/system/bt/service/ipc/ |
D | ipc_manager.cpp | 25 : adapter_(adapter) { in IPCManager() 26 CHECK(adapter_); in IPCManager() 46 linux_handler_ = new IPCHandlerLinux(adapter_, delegate); in Start() 59 binder_handler_ = new IPCHandlerBinder(adapter_, delegate); in Start()
|
D | ipc_handler.cpp | 25 : adapter_(adapter), in IPCHandler() 27 CHECK(adapter_); in IPCHandler()
|
D | ipc_handler.h | 47 bluetooth::Adapter* adapter() const { return adapter_; } in adapter() 54 bluetooth::Adapter* adapter_; variable
|
D | ipc_manager.h | 95 bluetooth::Adapter* adapter_; variable
|
D | linux_ipc_host.h | 96 bluetooth::Adapter *adapter_; variable
|
D | linux_ipc_host.cpp | 78 : adapter_(adapter), pfds_(1, {sockfd, POLLIN, 0}) {} in LinuxIPCHost() 109 return adapter_->SetName(decoded_data); in OnSetAdapterName()
|
/system/bt/service/ |
D | daemon.cpp | 85 adapter_.reset(); in CleanUpBluetoothStack() 120 adapter_ = Adapter::Create(); in Init() 121 ipc_manager_.reset(new ipc::IPCManager(adapter_.get())); in Init() 137 std::unique_ptr<Adapter> adapter_; member in bluetooth::__anonb44be6420111::DaemonImpl
|
D | low_energy_client.h | 189 Adapter& adapter_; variable 271 Adapter& adapter_; variable
|
D | low_energy_client.cpp | 307 : adapter_(adapter), in LowEnergyClient() 417 if (!adapter_.IsEnabled()) { in StartScan() 831 : adapter_(adapter) { in LowEnergyClientFactory() 882 client.reset(new LowEnergyClient(adapter_, uuid, client_id)); in RegisterClientCallback()
|