Home
last modified time | relevance | path

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

/system/bt/service/ipc/binder/
Dbluetooth_gatt_server_binder_server.h42 public bluetooth::GattServer::Delegate {
68 void OnCharacteristicReadRequest(bluetooth::GattServer* gatt_server,
72 void OnDescriptorReadRequest(bluetooth::GattServer* gatt_server,
76 void OnCharacteristicWriteRequest(bluetooth::GattServer* gatt_server,
82 void OnDescriptorWriteRequest(bluetooth::GattServer* gatt_server,
88 void OnExecuteWriteRequest(bluetooth::GattServer* gatt_server,
91 void OnConnectionStateChanged(bluetooth::GattServer* gatt_server,
104 std::shared_ptr<bluetooth::GattServer> GetGattServer(int server_id);
Dbluetooth_gatt_server_binder_server.cc177 bluetooth::GattServer* gatt_server, const std::string& device_address, in OnCharacteristicReadRequest()
194 bluetooth::GattServer* gatt_server, const std::string& device_address, in OnDescriptorReadRequest()
217 std::shared_ptr<bluetooth::GattServer>
219 return std::static_pointer_cast<bluetooth::GattServer>( in GetGattServer()
228 bluetooth::GattServer* gatt_server = in OnRegisterInstanceImpl()
229 static_cast<bluetooth::GattServer*>(instance); in OnRegisterInstanceImpl()
240 bluetooth::GattServer* gatt_server, const std::string& device_address, in OnCharacteristicWriteRequest()
258 bluetooth::GattServer* gatt_server, const std::string& device_address, in OnDescriptorWriteRequest()
276 bluetooth::GattServer* gatt_server, const std::string& device_address, in OnExecuteWriteRequest()
293 bluetooth::GattServer* gatt_server, const std::string& device_address, in OnConnectionStateChanged()
/system/bt/service/
Dgatt_server.cc32 GattServer::GattServer(const Uuid& uuid, int server_id) in GattServer() function in bluetooth::GattServer
35 GattServer::~GattServer() { in ~GattServer()
50 void GattServer::SetDelegate(Delegate* delegate) { in SetDelegate()
55 const Uuid& GattServer::GetAppIdentifier() const { return app_identifier_; } in GetAppIdentifier()
57 int GattServer::GetInstanceId() const { return server_id_; } in GetInstanceId()
59 bool GattServer::AddService(const bluetooth::Service& service, in AddService()
106 bool GattServer::SendResponse(const std::string& device_address, int request_id, in SendResponse()
181 bool GattServer::SendNotification(const std::string& device_address, in SendNotification()
245 void GattServer::ConnectionCallback( in ConnectionCallback()
295 void GattServer::ServiceAddedCallback(hal::BluetoothGattInterface* gatt_iface, in ServiceAddedCallback()
[all …]
Dgatt_server.h39 class GattServer : public BluetoothInstance,
53 virtual void OnCharacteristicReadRequest(GattServer* gatt_server,
62 virtual void OnDescriptorReadRequest(GattServer* gatt_server,
77 GattServer* gatt_server, const std::string& device_address,
91 GattServer* gatt_server, const std::string& device_address,
99 virtual void OnExecuteWriteRequest(GattServer* gatt_server,
103 virtual void OnConnectionStateChanged(GattServer* gatt_server,
112 ~GattServer() override;
192 GattServer(const Uuid& uuid, int server_id);
265 DISALLOW_COPY_AND_ASSIGN(GattServer);
/system/bt/service/test/
Dgatt_server_unittest.cc53 class TestDelegate : public GattServer::Delegate {
83 void OnCharacteristicReadRequest(GattServer* gatt_server, in OnCharacteristicReadRequest()
96 void OnDescriptorReadRequest(GattServer* gatt_server, in OnDescriptorReadRequest()
109 void OnCharacteristicWriteRequest(GattServer* gatt_server, in OnCharacteristicWriteRequest()
126 void OnDescriptorWriteRequest(GattServer* gatt_server, in OnDescriptorWriteRequest()
143 void OnExecuteWriteRequest(GattServer* gatt_server, in OnExecuteWriteRequest()
153 void OnConnectionStateChanged(GattServer* gatt_server, in OnConnectionStateChanged()
223 gatt_server_ = std::unique_ptr<GattServer>( in SetUp()
224 static_cast<GattServer*>(in_client.release())); in SetUp()
291 std::unique_ptr<GattServer> gatt_server_;
[all …]