/system/bt/service/test/ |
D | adapter_unittest.cc | 42 adapter_ = Adapter::Create(); in SetUp() 46 adapter_.reset(); in TearDown() 54 std::unique_ptr<Adapter> adapter_; member in bluetooth::__anon14151afb0111::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::__anon14151afb0111::TestObserver [all …]
|
D | ipc_linux_unittest.cc | 65 adapter_ = bluetooth::Adapter::Create(); in SetUp() 66 ipc_manager_.reset(new ipc::IPCManager(adapter_.get())); in SetUp() 72 adapter_.reset(); in TearDown() 107 std::unique_ptr<bluetooth::Adapter> adapter_; member in __anon7c0b61650111::IPCLinuxTest
|
/system/bt/service/ipc/binder/ |
D | bluetooth_binder_server.cc | 45 : 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 …]
|
D | bluetooth_gatt_client_binder_server.cc | 34 : adapter_(adapter) { in BluetoothGattClientBinderServer() 35 CHECK(adapter_); in BluetoothGattClientBinderServer() 44 adapter_->GetGattClientFactory(); in RegisterClient()
|
D | bluetooth_le_scanner_binder_server.cc | 36 : adapter_(adapter) { in BluetoothLeScannerBinderServer() 37 CHECK(adapter_); in BluetoothLeScannerBinderServer() 47 adapter_->GetLeScannerFactory(); in RegisterScanner()
|
D | bluetooth_le_advertiser_binder_server.cc | 36 : adapter_(adapter) { in BluetoothLeAdvertiserBinderServer() 37 CHECK(adapter_); in BluetoothLeAdvertiserBinderServer() 47 adapter_->GetLeAdvertiserFactory(); in RegisterAdvertiser()
|
D | bluetooth_low_energy_binder_server.cc | 36 : adapter_(adapter) { in BluetoothLowEnergyBinderServer() 37 CHECK(adapter_); in BluetoothLowEnergyBinderServer() 47 adapter_->GetLowEnergyClientFactory(); in RegisterClient()
|
D | bluetooth_avrcp_control_binder_server.cc | 38 : adapter_(adapter) { in BluetoothAvrcpControlBinderServer() 39 CHECK(adapter_); in BluetoothAvrcpControlBinderServer() 48 adapter_->GetAvrcpControlFactory(); in Register()
|
D | bluetooth_gatt_client_binder_server.h | 69 bluetooth::Adapter* adapter_; // weak variable
|
D | bluetooth_gatt_server_binder_server.cc | 38 : adapter_(adapter) { in BluetoothGattServerBinderServer() 39 CHECK(adapter_); in BluetoothGattServerBinderServer() 47 adapter_->GetGattServerFactory(); in RegisterServer()
|
D | bluetooth_le_advertiser_binder_server.h | 79 bluetooth::Adapter* adapter_; // weak variable
|
D | bluetooth_le_scanner_binder_server.h | 81 bluetooth::Adapter* adapter_; // weak variable
|
D | bluetooth_a2dp_sink_binder_server.cc | 33 : adapter_(adapter) { in BluetoothA2dpSinkBinderServer() 40 auto factory = adapter_->GetA2dpSinkFactory(); in Register()
|
/system/bt/service/ipc/ |
D | ipc_manager.cc | 28 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()
|
D | ipc_handler.cc | 25 : adapter_(adapter), delegate_(delegate) { in IPCHandler() 26 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 | 98 bluetooth::Adapter* adapter_; variable
|
D | linux_ipc_host.h | 96 bluetooth::Adapter* adapter_; variable
|
/system/bt/service/ |
D | daemon.cc | 62 adapter_->Enable(); in OnIPCHandlerStarted() 99 adapter_.reset(); in CleanUpBluetoothStack() 144 adapter_ = Adapter::Create(); in Init() 145 ipc_manager_.reset(new ipc::IPCManager(adapter_.get())); in Init() 161 std::unique_ptr<Adapter> adapter_; member in bluetooth::__anon2ccc83600111::DaemonImpl
|
D | low_energy_scanner.cc | 71 : adapter_(adapter), in LowEnergyScanner() 101 if (!adapter_.IsEnabled()) { in StartScan() 165 : adapter_(adapter) { in LowEnergyScannerFactory() 214 scanner.reset(new LowEnergyScanner(adapter_, uuid, scanner_id)); in RegisterScannerCallback()
|
D | low_energy_scanner.h | 103 Adapter& adapter_; variable 156 Adapter& adapter_; variable
|
D | low_energy_client.h | 119 Adapter& adapter_; variable 170 Adapter& adapter_; variable
|
D | low_energy_client.cc | 36 : adapter_(adapter), in LowEnergyClient() 199 : adapter_(adapter) { in LowEnergyClientFactory() 246 client.reset(new LowEnergyClient(adapter_, uuid, client_id)); in RegisterClientCallback()
|
/system/bt/service/ipc/dbus/ |
D | bluetooth_adapter.cc | 51 : adapter_(adapter) { in BluetoothAdapter() 75 adapter_->Enable(false); in Enable() 82 adapter_->Disable(); in Disable()
|
D | bluetooth_adapter.h | 52 bluetooth::Adapter* adapter_; variable
|