Home
last modified time | relevance | path

Searched refs:LowEnergyClient (Results 1 – 5 of 5) sorted by relevance

/system/bt/service/
Dlow_energy_client.cc37 LowEnergyClient::LowEnergyClient(Adapter& adapter, const Uuid& uuid, in LowEnergyClient() function in bluetooth::LowEnergyClient
44 LowEnergyClient::~LowEnergyClient() { in ~LowEnergyClient()
56 bool LowEnergyClient::Connect(const std::string& address, bool is_direct) { in Connect()
73 bool LowEnergyClient::Disconnect(const std::string& address) { in Disconnect()
100 bool LowEnergyClient::SetMtu(const std::string& address, int mtu) { in SetMtu()
127 void LowEnergyClient::SetDelegate(Delegate* delegate) { in SetDelegate()
132 const Uuid& LowEnergyClient::GetAppIdentifier() const { in GetAppIdentifier()
136 int LowEnergyClient::GetInstanceId() const { return client_id_; } in GetInstanceId()
138 void LowEnergyClient::ConnectCallback(hal::BluetoothGattInterface* gatt_iface, in ConnectCallback()
158 void LowEnergyClient::DisconnectCallback( in DisconnectCallback()
[all …]
Dlow_energy_client.h47 class LowEnergyClient : private hal::BluetoothGattInterface::ClientObserver,
58 virtual void OnConnectionState(LowEnergyClient* client, int status,
62 virtual void OnMtuChanged(LowEnergyClient* client, int status,
71 ~LowEnergyClient() override;
102 LowEnergyClient(Adapter& adapter, const Uuid& uuid, int client_id);
137 DISALLOW_COPY_AND_ASSIGN(LowEnergyClient);
158 friend class LowEnergyClient;
/system/bt/service/test/
Dlow_energy_client_unittest.cc54 class TestDelegate : public LowEnergyClient::Delegate {
62 void OnConnectionState(LowEnergyClient* client, int status, in OnConnectionState()
68 void OnMtuChanged(LowEnergyClient* client, int status, const char* address, in OnMtuChanged()
122 auto callback = [&](std::unique_ptr<LowEnergyClient> client) { in SetUp()
137 const std::function<void(std::unique_ptr<LowEnergyClient> client)> in RegisterTestClient()
146 callback(std::unique_ptr<LowEnergyClient>( in RegisterTestClient()
147 static_cast<LowEnergyClient*>(in_client.release()))); in RegisterTestClient()
162 std::unique_ptr<LowEnergyClient> le_client_;
180 std::unique_ptr<LowEnergyClient> client; in TEST_F()
187 client = std::unique_ptr<LowEnergyClient>( in TEST_F()
[all …]
/system/bt/service/ipc/binder/
Dbluetooth_low_energy_binder_server.h47 public bluetooth::LowEnergyClient::Delegate {
66 void OnConnectionState(bluetooth::LowEnergyClient* client, int status,
68 void OnMtuChanged(bluetooth::LowEnergyClient* client, int status,
78 std::shared_ptr<bluetooth::LowEnergyClient> GetLEClient(int client_id);
Dbluetooth_low_energy_binder_server.cc121 bluetooth::LowEnergyClient* client, int status, const char* address, in OnConnectionState()
137 bluetooth::LowEnergyClient* client, int status, const char* address, in OnMtuChanged()
159 std::shared_ptr<bluetooth::LowEnergyClient>
161 return std::static_pointer_cast<bluetooth::LowEnergyClient>( in GetLEClient()
169 bluetooth::LowEnergyClient* le_client = in OnRegisterInstanceImpl()
170 static_cast<bluetooth::LowEnergyClient*>(instance); in OnRegisterInstanceImpl()