• Home
  • Raw
  • Download

Lines Matching refs:service_uuid

107 bool LinuxIPCHost::OnCreateService(const std::string& service_uuid) {  in OnCreateService()  argument
108 gatt_servers_[service_uuid] = std::unique_ptr<Server>(new Server); in OnCreateService()
111 bool status = gatt_servers_[service_uuid]->Initialize( in OnCreateService()
112 Uuid::FromString(service_uuid), &gattfd); in OnCreateService()
122 bool LinuxIPCHost::OnDestroyService(const std::string& service_uuid) { in OnDestroyService() argument
123 gatt_servers_.erase(service_uuid); in OnDestroyService()
129 bool LinuxIPCHost::OnAddCharacteristic(const std::string& service_uuid, in OnAddCharacteristic() argument
157 gatt_servers_[service_uuid]->AddCharacteristic( in OnAddCharacteristic()
161 gatt_servers_[service_uuid]->AddBlob(Uuid::FromString(characteristic_uuid), in OnAddCharacteristic()
169 const std::string& service_uuid, const std::string& characteristic_uuid, in OnSetCharacteristicValue() argument
174 gatt_servers_[service_uuid]->SetCharacteristicValue( in OnSetCharacteristicValue()
179 bool LinuxIPCHost::OnSetAdvertisement(const std::string& service_uuid, in OnSetAdvertisement() argument
185 service_uuid.c_str(), advertise_uuids.c_str(), in OnSetAdvertisement()
205 gatt_servers_[service_uuid]->SetAdvertisement(ids, decoded_advertise_data, in OnSetAdvertisement()
211 bool LinuxIPCHost::OnSetScanResponse(const std::string& service_uuid, in OnSetScanResponse() argument
233 gatt_servers_[service_uuid]->SetScanResponse(ids, decoded_advertise_data, in OnSetScanResponse()
239 bool LinuxIPCHost::OnStartService(const std::string& service_uuid) { in OnStartService() argument
240 return gatt_servers_[service_uuid]->Start(); in OnStartService()
243 bool LinuxIPCHost::OnStopService(const std::string& service_uuid) { in OnStopService() argument
244 return gatt_servers_[service_uuid]->Stop(); in OnStopService()