Home
last modified time | relevance | path

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

12

/system/bt/service/test/
Dadapter_unittest.cc42 adapter_ = Adapter::Create(); in SetUp()
46 adapter_.reset(); in TearDown()
54 std::unique_ptr<Adapter> adapter_; member in bluetooth::__anon3376b8a20111::AdapterTest
63 : adapter_(adapter), in TestObserver()
67 CHECK(adapter_); in TestObserver()
68 adapter_->AddObserver(this); in TestObserver()
71 ~TestObserver() override { adapter_->RemoveObserver(this); } in ~TestObserver()
88 ASSERT_EQ(adapter_, adapter); in OnAdapterStateChanged()
96 ASSERT_EQ(adapter_, adapter); in OnDeviceConnectionStateChanged()
102 bluetooth::Adapter* adapter_; member in bluetooth::__anon3376b8a20111::TestObserver
[all …]
Dipc_linux_unittest.cc67 adapter_ = bluetooth::Adapter::Create(); in SetUp()
68 ipc_manager_.reset(new ipc::IPCManager(adapter_.get())); in SetUp()
74 adapter_.reset(); in TearDown()
109 std::unique_ptr<bluetooth::Adapter> adapter_; member in __anonfa4b04cc0111::IPCLinuxTest
/system/bt/service/ipc/binder/
Dbluetooth_binder_server.cc45 : adapter_(adapter) { in BluetoothBinderServer()
46 CHECK(adapter_); in BluetoothBinderServer()
47 adapter_->AddObserver(this); in BluetoothBinderServer()
51 adapter_->RemoveObserver(this); in ~BluetoothBinderServer()
57 *_aidl_return = adapter_->IsEnabled(); in IsEnabled()
63 *_aidl_return = adapter_->GetState(); in GetState()
69 *_aidl_return = adapter_->Enable(); in Enable()
82 *_aidl_return = adapter_->Disable(); in Disable()
88 *_aidl_return = String16(String8(adapter_->GetAddress().c_str())); in GetAddress()
103 *_aidl_return = adapter_->SetName(std::string(String8(name).string())); in SetName()
[all …]
Dbluetooth_gatt_client_binder_server.cc34 : adapter_(adapter) { in BluetoothGattClientBinderServer()
35 CHECK(adapter_); in BluetoothGattClientBinderServer()
44 adapter_->GetGattClientFactory(); in RegisterClient()
Dbluetooth_le_scanner_binder_server.cc36 : adapter_(adapter) { in BluetoothLeScannerBinderServer()
37 CHECK(adapter_); in BluetoothLeScannerBinderServer()
47 adapter_->GetLeScannerFactory(); in RegisterScanner()
Dbluetooth_le_advertiser_binder_server.cc36 : adapter_(adapter) { in BluetoothLeAdvertiserBinderServer()
37 CHECK(adapter_); in BluetoothLeAdvertiserBinderServer()
47 adapter_->GetLeAdvertiserFactory(); in RegisterAdvertiser()
Dbluetooth_low_energy_binder_server.cc36 : adapter_(adapter) { in BluetoothLowEnergyBinderServer()
37 CHECK(adapter_); in BluetoothLowEnergyBinderServer()
47 adapter_->GetLowEnergyClientFactory(); in RegisterClient()
Dbluetooth_avrcp_control_binder_server.cc38 : adapter_(adapter) { in BluetoothAvrcpControlBinderServer()
39 CHECK(adapter_); in BluetoothAvrcpControlBinderServer()
48 adapter_->GetAvrcpControlFactory(); in Register()
Dbluetooth_gatt_client_binder_server.h69 bluetooth::Adapter* adapter_; // weak variable
Dbluetooth_le_advertiser_binder_server.h79 bluetooth::Adapter* adapter_; // weak variable
Dbluetooth_gatt_server_binder_server.cc38 : adapter_(adapter) { in BluetoothGattServerBinderServer()
39 CHECK(adapter_); in BluetoothGattServerBinderServer()
47 adapter_->GetGattServerFactory(); in RegisterServer()
Dbluetooth_le_scanner_binder_server.h81 bluetooth::Adapter* adapter_; // weak variable
Dbluetooth_a2dp_sink_binder_server.cc33 : adapter_(adapter) { in BluetoothA2dpSinkBinderServer()
40 auto factory = adapter_->GetA2dpSinkFactory(); in Register()
/system/bt/service/ipc/
Dipc_manager.cc28 IPCManager::IPCManager(bluetooth::Adapter* adapter) : adapter_(adapter) { in IPCManager()
29 CHECK(adapter_); in IPCManager()
48 linux_handler_ = new IPCHandlerLinux(adapter_, delegate); in Start()
62 binder_handler_ = new IPCHandlerBinder(adapter_, delegate); in Start()
75 dbus_handler_ = new IPCHandlerDBus(adapter_, delegate); in Start()
Dipc_handler.cc25 : adapter_(adapter), delegate_(delegate) { in IPCHandler()
26 CHECK(adapter_); in IPCHandler()
Dipc_handler.h47 bluetooth::Adapter* adapter() const { return adapter_; } in adapter()
54 bluetooth::Adapter* adapter_; variable
Dipc_manager.h98 bluetooth::Adapter* adapter_; variable
Dlinux_ipc_host.h96 bluetooth::Adapter* adapter_; variable
/system/bt/service/
Ddaemon.cc63 adapter_->Enable(); in OnIPCHandlerStarted()
100 adapter_.reset(); in CleanUpBluetoothStack()
145 adapter_ = Adapter::Create(); in Init()
146 ipc_manager_.reset(new ipc::IPCManager(adapter_.get())); in Init()
162 std::unique_ptr<Adapter> adapter_; member in bluetooth::__anon35b3a7e70111::DaemonImpl
Dlow_energy_scanner.cc71 : adapter_(adapter), in LowEnergyScanner()
101 if (!adapter_.IsEnabled()) { in StartScan()
165 : adapter_(adapter) { in LowEnergyScannerFactory()
216 scanner.reset(new LowEnergyScanner(adapter_, uuid, scanner_id)); in RegisterScannerCallback()
Dlow_energy_scanner.h103 Adapter& adapter_; variable
156 Adapter& adapter_; variable
Dlow_energy_client.h119 Adapter& adapter_; variable
170 Adapter& adapter_; variable
Dlow_energy_client.cc39 : adapter_(adapter), in LowEnergyClient()
202 : adapter_(adapter) { in LowEnergyClientFactory()
250 client.reset(new LowEnergyClient(adapter_, uuid, client_id)); in RegisterClientCallback()
/system/bt/service/ipc/dbus/
Dbluetooth_adapter.cc65 : adapter_(adapter) { in BluetoothAdapter()
89 adapter_->Enable(); in Enable()
96 adapter_->Disable(); in Disable()
Dbluetooth_adapter.h52 bluetooth::Adapter* adapter_; variable

12