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.cc33 GattServer::GattServer(const Uuid& uuid, int server_id) in GattServer() function in bluetooth::GattServer
36 GattServer::~GattServer() { in ~GattServer()
51 void GattServer::SetDelegate(Delegate* delegate) { in SetDelegate()
56 const Uuid& GattServer::GetAppIdentifier() const { return app_identifier_; } in GetAppIdentifier()
58 int GattServer::GetInstanceId() const { return server_id_; } in GetInstanceId()
60 bool GattServer::AddService(const bluetooth::Service& service, in AddService()
107 bool GattServer::SendResponse(const std::string& device_address, int request_id, in SendResponse()
183 bool GattServer::SendNotification(const std::string& device_address, in SendNotification()
247 void GattServer::ConnectionCallback( in ConnectionCallback()
297 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.cc52 class TestDelegate : public GattServer::Delegate {
82 void OnCharacteristicReadRequest(GattServer* gatt_server, in OnCharacteristicReadRequest()
95 void OnDescriptorReadRequest(GattServer* gatt_server, in OnDescriptorReadRequest()
108 void OnCharacteristicWriteRequest(GattServer* gatt_server, in OnCharacteristicWriteRequest()
125 void OnDescriptorWriteRequest(GattServer* gatt_server, in OnDescriptorWriteRequest()
142 void OnExecuteWriteRequest(GattServer* gatt_server, in OnExecuteWriteRequest()
152 void OnConnectionStateChanged(GattServer* gatt_server, in OnConnectionStateChanged()
222 gatt_server_ = std::unique_ptr<GattServer>( in SetUp()
223 static_cast<GattServer*>(in_client.release())); in SetUp()
290 std::unique_ptr<GattServer> gatt_server_;
[all …]