Lines Matching refs:uuid
29 GattClient::GattClient(const Uuid& uuid, int client_id) in GattClient() argument
30 : app_identifier_(uuid), client_id_(client_id) {} in GattClient()
56 bool GattClientFactory::RegisterInstance(const Uuid& uuid, in RegisterInstance() argument
58 VLOG(1) << __func__ << " - Uuid: " << uuid.ToString(); in RegisterInstance()
61 if (pending_calls_.find(uuid) != pending_calls_.end()) { in RegisterInstance()
63 << "Uuid: " << uuid.ToString(); in RegisterInstance()
70 if (hal_iface->register_client(uuid) != BT_STATUS_SUCCESS) return false; in RegisterInstance()
72 pending_calls_[uuid] = callback; in RegisterInstance()
80 Uuid uuid(app_uuid); in RegisterClientCallback() local
82 auto iter = pending_calls_.find(uuid); in RegisterClientCallback()
84 VLOG(1) << "Ignoring callback for unknown app_id: " << uuid.ToString(); in RegisterClientCallback()
93 if (success) client.reset(new GattClient(uuid, client_id)); in RegisterClientCallback()
96 iter->second(result, uuid, std::move(client)); in RegisterClientCallback()