Home
last modified time | relevance | path

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

12

/system/bt/service/
Dadapter.h32 class Adapter {
52 virtual void OnAdapterStateChanged(Adapter* adapter,
61 Adapter* adapter, const std::string& device_address, bool connected);
66 static std::unique_ptr<Adapter> Create();
68 virtual ~Adapter() = default;
137 Adapter() = default;
140 DISALLOW_COPY_AND_ASSIGN(Adapter);
Dadapter.cpp40 const char Adapter::kDefaultAddress[] = "00:00:00:00:00:00";
42 const char Adapter::kDefaultName[] = "not-initialized";
59 void Adapter::Observer::OnAdapterStateChanged(Adapter* adapter, in OnAdapterStateChanged()
65 void Adapter::Observer::OnDeviceConnectionStateChanged( in OnDeviceConnectionStateChanged()
66 Adapter* adapter, const std::string& device_address, bool connected) { in OnDeviceConnectionStateChanged()
71 class AdapterImpl : public Adapter,
90 void AddObserver(Adapter::Observer* observer) override { in AddObserver()
95 void RemoveObserver(Adapter::Observer* observer) override { in RemoveObserver()
326 Adapter::Observer, observers_, in AclStateChangedCallback()
357 FOR_EACH_OBSERVER(Adapter::Observer, observers_, in NotifyAdapterStateChanged()
[all …]
Dlow_energy_client.h44 class Adapter; variable
147 LowEnergyClient(Adapter& adapter, const UUID& uuid, int client_id);
189 Adapter& adapter_;
250 LowEnergyClientFactory(Adapter& adapter);
271 Adapter& adapter_;
Ddaemon.cpp120 adapter_ = Adapter::Create(); in Init()
137 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
63 explicit IPCManager(bluetooth::Adapter* adapter);
95 bluetooth::Adapter* adapter_;
Dlinux_ipc_host.h28 class Adapter; variable
40 LinuxIPCHost(int sockfd, bluetooth::Adapter* adapter);
96 bluetooth::Adapter *adapter_;
Dipc_handler.cpp23 IPCHandler::IPCHandler(bluetooth::Adapter* adapter, in IPCHandler()
Dipc_handler_linux.h38 IPCHandlerLinux(bluetooth::Adapter* adapter,
Dipc_manager.cpp24 IPCManager::IPCManager(bluetooth::Adapter* adapter) in IPCManager()
Dlinux_ipc_host.cpp40 using bluetooth::Adapter;
77 LinuxIPCHost::LinuxIPCHost(int sockfd, Adapter* adapter) in LinuxIPCHost()
Dipc_handler_linux.cpp31 IPCHandlerLinux::IPCHandlerLinux(bluetooth::Adapter* adapter, in IPCHandlerLinux()
/system/bt/service/ipc/binder/
Dbluetooth_binder_server.h40 public bluetooth::Adapter::Observer {
42 explicit BluetoothBinderServer(bluetooth::Adapter* adapter);
69 void OnAdapterStateChanged(bluetooth::Adapter* adapter,
74 bluetooth::Adapter* adapter_; // weak
Dbluetooth_gatt_client_binder_server.h27 class Adapter; variable
37 explicit BluetoothGattClientBinderServer(bluetooth::Adapter* adapter);
63 bluetooth::Adapter* adapter_; // weak
Dbluetooth_low_energy_binder_server.h30 class Adapter; variable
42 explicit BluetoothLowEnergyBinderServer(bluetooth::Adapter* adapter);
88 bluetooth::Adapter* adapter_; // weak
Dbluetooth_gatt_server_binder_server.h27 class Adapter; variable
38 explicit BluetoothGattServerBinderServer(bluetooth::Adapter* adapter);
112 bluetooth::Adapter* adapter_; // weak
Dipc_handler_binder.h29 IPCHandlerBinder(bluetooth::Adapter* adapter,
Dbluetooth_binder_server.cpp32 BluetoothBinderServer::BluetoothBinderServer(bluetooth::Adapter* adapter) in BluetoothBinderServer()
175 bluetooth::Adapter* adapter, in OnAdapterStateChanged()
Dipc_handler_binder.cpp36 bluetooth::Adapter* adapter, in IPCHandlerBinder()
Dbluetooth_gatt_client_binder_server.cpp31 bluetooth::Adapter* adapter) : adapter_(adapter) { in BluetoothGattClientBinderServer()
/system/bt/service/test/
Dadapter_unittest.cpp42 adapter_ = Adapter::Create(); in SetUp()
54 std::unique_ptr<Adapter> adapter_;
60 class TestObserver final : public bluetooth::Adapter::Observer {
62 TestObserver(bluetooth::Adapter* adapter) in TestObserver()
87 void OnAdapterStateChanged(bluetooth::Adapter* adapter, in OnAdapterStateChanged()
96 Adapter* adapter, in OnDeviceConnectionStateChanged()
105 bluetooth::Adapter* adapter_;
209 EXPECT_EQ(bluetooth::Adapter::kDefaultName, adapter_->GetName()); in TEST_F()
230 EXPECT_EQ(bluetooth::Adapter::kDefaultAddress, adapter_->GetAddress()); in TEST_F()
Dstub_ipc_handler_binder.cpp26 bluetooth::Adapter* adapter, in IPCHandlerBinder()
Dstub_ipc_handler_linux.cpp26 bluetooth::Adapter* adapter, in IPCHandlerLinux()
Dmock_adapter.h26 class MockAdapter : public Adapter {
Dipc_linux_unittest.cpp64 adapter_ = bluetooth::Adapter::Create(); in SetUp()
106 std::unique_ptr<bluetooth::Adapter> adapter_;

12