Home
last modified time | relevance | path

Searched refs:Adapter (Results 1 – 25 of 47) sorted by relevance

12

/system/bt/service/
Dadapter.h41 class Adapter {
61 virtual void OnAdapterStateChanged(Adapter* adapter,
70 Adapter* adapter, const std::string& device_address, bool connected);
73 virtual void OnScanEnableChanged(Adapter* adapter, bool scan_enabled);
76 virtual void OnSspRequest(Adapter* adapter,
82 virtual void OnBondStateChanged(Adapter* adapter, int status,
88 Adapter* adapter, int status,
92 virtual void OnGetRemoteDeviceProperties(Adapter* adapter, int status,
97 virtual void OnDeviceFound(Adapter* adapter,
103 static std::unique_ptr<Adapter> Create();
[all …]
Dadapter.cc129 const char Adapter::kDefaultAddress[] = "00:00:00:00:00:00";
131 const char Adapter::kDefaultName[] = "not-initialized";
148 void Adapter::Observer::OnAdapterStateChanged(Adapter* adapter, in OnAdapterStateChanged()
154 void Adapter::Observer::OnDeviceConnectionStateChanged( in OnDeviceConnectionStateChanged()
155 Adapter* adapter, const std::string& device_address, bool connected) { in OnDeviceConnectionStateChanged()
159 void Adapter::Observer::OnScanEnableChanged(Adapter* adapter, in OnScanEnableChanged()
164 void Adapter::Observer::OnSspRequest(Adapter* adapter, in OnSspRequest()
171 void Adapter::Observer::OnBondStateChanged(Adapter* adapter, int status, in OnBondStateChanged()
177 void Adapter::Observer::OnGetBondedDevices( in OnGetBondedDevices()
178 Adapter* adapter, int status, in OnGetBondedDevices()
[all …]
Dlow_energy_scanner.h38 class Adapter; variable
96 LowEnergyScanner(Adapter& adapter, const Uuid& uuid, int scanner_id);
103 Adapter& adapter_;
136 explicit LowEnergyScannerFactory(Adapter& adapter);
156 Adapter& adapter_;
Dlow_energy_client.h42 class Adapter; variable
102 LowEnergyClient(Adapter& adapter, const Uuid& uuid, int client_id);
119 Adapter& adapter_;
150 explicit LowEnergyClientFactory(Adapter& adapter);
170 Adapter& adapter_;
Ddaemon.cc144 adapter_ = Adapter::Create(); in Init()
161 std::unique_ptr<Adapter> adapter_;
/system/bt/service/ipc/
Dipc_handler.h25 class Adapter; variable
34 IPCHandler(bluetooth::Adapter* adapter, IPCManager::Delegate* delegate);
47 bluetooth::Adapter* adapter() const { return adapter_; } in adapter()
54 bluetooth::Adapter* adapter_;
Dipc_manager.h25 class Adapter; variable
64 explicit IPCManager(bluetooth::Adapter* adapter);
98 bluetooth::Adapter* adapter_;
Dlinux_ipc_host.h28 class Adapter; variable
40 LinuxIPCHost(int sockfd, bluetooth::Adapter* adapter);
96 bluetooth::Adapter* adapter_;
Dipc_handler.cc23 IPCHandler::IPCHandler(bluetooth::Adapter* adapter, in IPCHandler()
/system/bt/service/ipc/binder/
Dbluetooth_binder_server.h66 public bluetooth::Adapter::Observer {
68 explicit BluetoothBinderServer(bluetooth::Adapter* adapter);
123 void OnAdapterStateChanged(bluetooth::Adapter* adapter,
127 void OnDeviceConnectionStateChanged(bluetooth::Adapter* adapter,
131 void OnScanEnableChanged(bluetooth::Adapter* adapter,
134 void OnSspRequest(bluetooth::Adapter* adapter,
139 void OnBondStateChanged(bluetooth::Adapter* adapter, int status,
143 bluetooth::Adapter* adapter, int status,
146 bluetooth::Adapter* adapter, int status,
149 void OnDeviceFound(bluetooth::Adapter* adapter,
[all …]
Dbluetooth_gatt_client_binder_server.h33 class Adapter; variable
43 explicit BluetoothGattClientBinderServer(bluetooth::Adapter* adapter);
69 bluetooth::Adapter* adapter_; // weak
Dbluetooth_le_advertiser_binder_server.h37 class Adapter; variable
47 explicit BluetoothLeAdvertiserBinderServer(bluetooth::Adapter* adapter);
79 bluetooth::Adapter* adapter_; // weak
Dbluetooth_le_scanner_binder_server.h37 class Adapter; variable
49 explicit BluetoothLeScannerBinderServer(bluetooth::Adapter* adapter);
81 bluetooth::Adapter* adapter_; // weak
Dbluetooth_low_energy_binder_server.h37 class Adapter; variable
49 explicit BluetoothLowEnergyBinderServer(bluetooth::Adapter* adapter);
85 bluetooth::Adapter* adapter_; // weak
Dbluetooth_a2dp_sink_binder_server.h31 class Adapter; variable
42 explicit BluetoothA2dpSinkBinderServer(bluetooth::Adapter* adapter);
80 bluetooth::Adapter* adapter_; // weak
Dbluetooth_a2dp_source_binder_server.h32 class Adapter; variable
43 explicit BluetoothA2dpSourceBinderServer(bluetooth::Adapter* adapter);
89 bluetooth::Adapter* const adapter_; // weak
Dbluetooth_avrcp_control_binder_server.h31 class Adapter; variable
42 explicit BluetoothAvrcpControlBinderServer(bluetooth::Adapter* adapter);
83 bluetooth::Adapter* adapter_; // weak
Dbluetooth_gatt_server_binder_server.h33 class Adapter; variable
44 explicit BluetoothGattServerBinderServer(bluetooth::Adapter* adapter);
111 bluetooth::Adapter* adapter_; // weak
Dbluetooth_binder_server.cc44 BluetoothBinderServer::BluetoothBinderServer(bluetooth::Adapter* adapter) in BluetoothBinderServer()
386 bluetooth::Adapter* adapter, bluetooth::AdapterState prev_state, in OnAdapterStateChanged()
397 bluetooth::Adapter* adapter, const std::string& device_address, in OnDeviceConnectionStateChanged()
406 void BluetoothBinderServer::OnScanEnableChanged(bluetooth::Adapter* adapter, in OnScanEnableChanged()
414 void BluetoothBinderServer::OnSspRequest(bluetooth::Adapter* adapter, in OnSspRequest()
434 bluetooth::Adapter* adapter, int status, const std::string& device_address, in OnBondStateChanged()
447 bluetooth::Adapter* adapter, int status, in OnGetBondedDevices()
462 bluetooth::Adapter* adapter, int status, const std::string& device_address, in OnGetRemoteDeviceProperties()
477 bluetooth::Adapter* adapter, in OnDeviceFound()
Dipc_handler_binder.h29 IPCHandlerBinder(bluetooth::Adapter* adapter, IPCManager::Delegate* delegate);
Dbluetooth_avrcp_target_binder_server.h32 class Adapter; variable
43 explicit BluetoothAvrcpTargetBinderServer(bluetooth::Adapter* adapter);
125 bluetooth::Adapter* const adapter_; // weak
/system/bt/service/test/
Dadapter_unittest.cc42 adapter_ = Adapter::Create(); in SetUp()
54 std::unique_ptr<Adapter> adapter_;
60 class TestObserver final : public bluetooth::Adapter::Observer {
62 explicit TestObserver(bluetooth::Adapter* adapter) in TestObserver()
85 void OnAdapterStateChanged(bluetooth::Adapter* adapter, in OnAdapterStateChanged()
93 void OnDeviceConnectionStateChanged(Adapter* adapter, in OnDeviceConnectionStateChanged()
102 bluetooth::Adapter* adapter_;
206 EXPECT_EQ(bluetooth::Adapter::kDefaultName, adapter_->GetName()); in TEST_F()
227 EXPECT_EQ(bluetooth::Adapter::kDefaultAddress, adapter_->GetAddress()); in TEST_F()
Dstub_ipc_handler_binder.cc25 IPCHandlerBinder::IPCHandlerBinder(bluetooth::Adapter* adapter, in IPCHandlerBinder()
/system/bt/service/ipc/dbus/
Dbluetooth_adapter.h38 bluetooth::Adapter* adapter);
52 bluetooth::Adapter* adapter_;
Dipc_handler_dbus.h31 IPCHandlerDBus(bluetooth::Adapter* adapter, IPCManager::Delegate* delegate);

12