Lines Matching refs:device_address
156 Adapter* adapter, const std::string& device_address, bool connected) { in OnDeviceConnectionStateChanged() argument
166 const std::string& device_address, in OnSspRequest() argument
173 const std::string& device_address, in OnBondStateChanged() argument
185 Adapter* adapter, int status, const std::string& device_address, in OnGetRemoteDeviceProperties() argument
353 bool SspReply(const std::string& device_address, int variant, bool accept, in SspReply() argument
356 if (!RawAddress::FromString(device_address, addr)) { in SspReply()
357 LOG(ERROR) << "Invalid device address given: " << device_address; in SspReply()
372 bool CreateBond(const std::string& device_address, int transport) override { in CreateBond() argument
374 if (!RawAddress::FromString(device_address, addr)) { in CreateBond()
375 LOG(ERROR) << "Invalid device address given: " << device_address; in CreateBond()
395 bool IsDeviceConnected(const std::string& device_address) override { in IsDeviceConnected() argument
397 return connected_devices_.find(device_address) != connected_devices_.end(); in IsDeviceConnected()
429 bool RemoveBond(const std::string& device_address) override { in RemoveBond() argument
431 if (!RawAddress::FromString(device_address, addr)) { in RemoveBond()
432 LOG(ERROR) << "Invalid device address given: " << device_address; in RemoveBond()
447 bool GetRemoteDeviceProperties(const std::string& device_address) override { in GetRemoteDeviceProperties() argument
449 if (!RawAddress::FromString(device_address, addr)) { in GetRemoteDeviceProperties()
450 LOG(ERROR) << "Invalid device address given: " << device_address; in GetRemoteDeviceProperties()
612 std::string device_address = BtAddrString(remote_bdaddr); in RemoteDevicePropertiesCallback() local
616 observer.OnGetRemoteDeviceProperties(this, status, device_address, in RemoteDevicePropertiesCallback()
630 observer.OnGetRemoteDeviceProperties(this, status, device_address, props); in RemoteDevicePropertiesCallback()
666 std::string device_address = BtAddrString(remote_bdaddr); in SSPRequestCallback() local
671 observer.OnSspRequest(this, device_address, name, cod, pairing_variant, in SSPRequestCallback()
678 std::string device_address = BtAddrString(remote_bdaddr); in BondStateChangedCallback() local
682 observer.OnBondStateChanged(this, status, device_address, state); in BondStateChangedCallback()
690 std::string device_address = BtAddrString(&remote_bdaddr); in AclStateChangedCallback() local
692 LOG(INFO) << "ACL state changed: " << device_address in AclStateChangedCallback()
706 connected_devices_.insert(device_address); in AclStateChangedCallback()
708 connected_devices_.erase(device_address); in AclStateChangedCallback()
713 observer.OnDeviceConnectionStateChanged(this, device_address, connected); in AclStateChangedCallback()