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.cc42 GattServer::GattServer(const UUID& uuid, int server_id) in GattServer() function in bluetooth::GattServer
45 GattServer::~GattServer() { in ~GattServer()
60 void GattServer::SetDelegate(Delegate* delegate) { in SetDelegate()
65 const UUID& GattServer::GetAppIdentifier() const { return app_identifier_; } in GetAppIdentifier()
67 int GattServer::GetInstanceId() const { return server_id_; } in GetInstanceId()
69 bool GattServer::AddService(const bluetooth::Service& service, in AddService()
114 bool GattServer::SendResponse(const std::string& device_address, int request_id, in SendResponse()
184 bool GattServer::SendNotification(const std::string& device_address, in SendNotification()
248 void GattServer::ConnectionCallback( in ConnectionCallback()
298 void GattServer::ServiceAddedCallback(hal::BluetoothGattInterface* gatt_iface, in ServiceAddedCallback()
[all …]
Dgatt_server.h38 class GattServer : public BluetoothInstance,
52 virtual void OnCharacteristicReadRequest(GattServer* gatt_server,
61 virtual void OnDescriptorReadRequest(GattServer* gatt_server,
76 GattServer* gatt_server, const std::string& device_address,
90 GattServer* gatt_server, const std::string& device_address,
98 virtual void OnExecuteWriteRequest(GattServer* gatt_server,
102 virtual void OnConnectionStateChanged(GattServer* gatt_server,
111 ~GattServer() override;
191 GattServer(const UUID& uuid, int server_id);
265 DISALLOW_COPY_AND_ASSIGN(GattServer);
/system/bt/service/test/
Dgatt_server_unittest.cc51 class TestDelegate : public GattServer::Delegate {
81 void OnCharacteristicReadRequest(GattServer* gatt_server, in OnCharacteristicReadRequest()
94 void OnDescriptorReadRequest(GattServer* gatt_server, in OnDescriptorReadRequest()
107 void OnCharacteristicWriteRequest(GattServer* gatt_server, in OnCharacteristicWriteRequest()
124 void OnDescriptorWriteRequest(GattServer* gatt_server, in OnDescriptorWriteRequest()
141 void OnExecuteWriteRequest(GattServer* gatt_server, in OnExecuteWriteRequest()
151 void OnConnectionStateChanged(GattServer* gatt_server, in OnConnectionStateChanged()
221 gatt_server_ = std::unique_ptr<GattServer>( in SetUp()
222 static_cast<GattServer*>(in_client.release())); in SetUp()
290 std::unique_ptr<GattServer> gatt_server_;
[all …]