Searched refs:server_id (Results 1 – 8 of 8) sorted by relevance
/system/bt/service/ipc/binder/ |
D | bluetooth_gatt_server_binder_server.cc | 53 Status BluetoothGattServerBinderServer::UnregisterServer(int server_id) { in UnregisterServer() argument 55 UnregisterInstanceBase(server_id); in UnregisterServer() 66 int server_id, const android::bluetooth::BluetoothGattService& service, in AddService() argument 71 auto gatt_server = GetGattServer(server_id); in AddService() 73 LOG(ERROR) << "Unknown server_id: " << server_id; in AddService() 91 auto gatt_cb = GetGattServerCallback(server_id); in AddService() 111 int server_id, const String16& device_address, int request_id, int status, in SendResponse() argument 116 auto gatt_server = GetGattServer(server_id); in SendResponse() 118 LOG(ERROR) << "Unknown server_id: " << server_id; in SendResponse() 131 int server_id, const String16& device_address, int handle, bool confirm, in SendNotification() argument [all …]
|
D | bluetooth_gatt_server_binder_server.h | 52 Status UnregisterServer(int32_t server_id) override; 54 Status AddService(int32_t server_id, 57 Status SendResponse(int32_t server_id, 62 Status SendNotification(int32_t server_id, 100 int server_id); 104 std::shared_ptr<bluetooth::GattServer> GetGattServer(int server_id);
|
/system/bt/service/common/android/bluetooth/ |
D | IBluetoothGattServer.aidl | 26 void UnregisterServer(int server_id); in UnregisterServer() argument 29 boolean AddService(int server_id, in BluetoothGattService service); in AddService() argument 32 int server_id, in SendResponse() argument 39 int server_id, in SendNotification() argument
|
D | IBluetoothGattServerCallback.aidl | 22 void OnServerRegistered(int status, int server_id); in OnServerRegistered() argument
|
/system/bt/service/ |
D | gatt_server.cc | 33 GattServer::GattServer(const Uuid& uuid, int server_id) in GattServer() argument 34 : app_identifier_(uuid), server_id_(server_id), delegate_(nullptr) {} in GattServer() 246 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int server_id, in ConnectionCallback() argument 250 if (server_id != server_id_) return; in ConnectionCallback() 296 int status, int server_id, in ServiceAddedCallback() argument 300 if (server_id != server_id_) return; in ServiceAddedCallback() 302 VLOG(1) << __func__ << " - status: " << status << " server_id: " << server_id in ServiceAddedCallback() 601 hal::BluetoothGattInterface* gatt_iface, int status, int server_id, in RegisterServerCallback() argument 618 server.reset(new GattServer(uuid, server_id)); in RegisterServerCallback()
|
D | gatt_server.h | 192 GattServer(const Uuid& uuid, int server_id); 196 int server_id, int connected, 202 int status, int server_id, 286 int status, int server_id,
|
/system/bt/service/example/heart_rate/ |
D | heart_rate_server.h | 58 Status OnServerRegistered(int status, int server_id) override;
|
/system/bt/service/doc/ |
D | IBluetoothGattServer.txt | 47 boolean AddService(int server_id, in BluetoothGattService service);
|