Home
last modified time | relevance | path

Searched refs:adapter_ (Results 1 – 19 of 19) sorted by relevance

/system/bt/service/test/
Dadapter_unittest.cpp42 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 …]
Dipc_linux_unittest.cpp64 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/
Dbluetooth_binder_server.cpp33 : 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 …]
Dbluetooth_gatt_client_binder_server.cpp31 bluetooth::Adapter* adapter) : adapter_(adapter) { in BluetoothGattClientBinderServer()
32 CHECK(adapter_); in BluetoothGattClientBinderServer()
40 adapter_->GetGattClientFactory(); in RegisterClient()
Dbluetooth_low_energy_binder_server.cpp31 bluetooth::Adapter* adapter) : adapter_(adapter) { in BluetoothLowEnergyBinderServer()
32 CHECK(adapter_); in BluetoothLowEnergyBinderServer()
42 adapter_->GetLowEnergyClientFactory(); in RegisterClient()
Dbluetooth_gatt_client_binder_server.h63 bluetooth::Adapter* adapter_; // weak variable
Dbluetooth_gatt_server_binder_server.cpp31 bluetooth::Adapter* adapter) : adapter_(adapter) { in BluetoothGattServerBinderServer()
32 CHECK(adapter_); in BluetoothGattServerBinderServer()
39 adapter_->GetGattServerFactory(); in RegisterServer()
Dbluetooth_binder_server.h74 bluetooth::Adapter* adapter_; // weak
Dbluetooth_low_energy_binder_server.h88 bluetooth::Adapter* adapter_; // weak variable
Dbluetooth_gatt_server_binder_server.h112 bluetooth::Adapter* adapter_; // weak variable
/system/bt/service/ipc/
Dipc_manager.cpp25 : 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()
Dipc_handler.cpp25 : adapter_(adapter), in IPCHandler()
27 CHECK(adapter_); in IPCHandler()
Dipc_handler.h47 bluetooth::Adapter* adapter() const { return adapter_; } in adapter()
54 bluetooth::Adapter* adapter_; variable
Dipc_manager.h95 bluetooth::Adapter* adapter_; variable
Dlinux_ipc_host.h96 bluetooth::Adapter *adapter_; variable
Dlinux_ipc_host.cpp78 : adapter_(adapter), pfds_(1, {sockfd, POLLIN, 0}) {} in LinuxIPCHost()
109 return adapter_->SetName(decoded_data); in OnSetAdapterName()
/system/bt/service/
Ddaemon.cpp85 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
Dlow_energy_client.h189 Adapter& adapter_; variable
271 Adapter& adapter_; variable
Dlow_energy_client.cpp307 : 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()