• Home
  • Raw
  • Download

Lines Matching refs:uuid

33 GattServer::GattServer(const Uuid& uuid, int server_id)  in GattServer()  argument
34 : app_identifier_(uuid), server_id_(server_id), delegate_(nullptr) {} in GattServer()
74 .uuid = service.uuid()}); in AddService()
78 .uuid = characteristic.uuid(), in AddService()
83 .uuid = descriptor.uuid(), in AddService()
304 << " service Uuid: " << Uuid(svc[0].uuid).ToString() in ServiceAddedCallback()
307 Service service(svc[0].attribute_handle, true, Uuid(svc[0].uuid), {}, {}); in ServiceAddedCallback()
315 Uuid(curr.uuid), in ServiceAddedCallback()
321 {curr.attribute_handle, Uuid(curr.uuid), curr.permissions}); in ServiceAddedCallback()
579 bool GattServerFactory::RegisterInstance(const Uuid& uuid, in RegisterInstance() argument
581 VLOG(1) << __func__ << " - Uuid: " << uuid.ToString(); in RegisterInstance()
584 if (pending_calls_.find(uuid) != pending_calls_.end()) { in RegisterInstance()
586 << " - Uuid: " << uuid.ToString(); in RegisterInstance()
593 if (hal_iface->register_server(uuid) != BT_STATUS_SUCCESS) return false; in RegisterInstance()
595 pending_calls_[uuid] = callback; in RegisterInstance()
603 Uuid uuid(app_uuid); in RegisterServerCallback() local
605 VLOG(1) << __func__ << " - Uuid: " << uuid.ToString(); in RegisterServerCallback()
608 auto iter = pending_calls_.find(uuid); in RegisterServerCallback()
610 VLOG(1) << "Ignoring callback for unknown app_id: " << uuid.ToString(); in RegisterServerCallback()
618 server.reset(new GattServer(uuid, server_id)); in RegisterServerCallback()
626 iter->second(result, uuid, std::move(server)); in RegisterServerCallback()