Lines Matching refs:device_address
155 Adapter* adapter, const std::string& device_address, bool connected) { in OnDeviceConnectionStateChanged() argument
165 const std::string& device_address, in OnSspRequest() argument
172 const std::string& device_address, in OnBondStateChanged() argument
184 Adapter* adapter, int status, const std::string& device_address, in OnGetRemoteDeviceProperties() argument
352 bool SspReply(const std::string& device_address, int variant, bool accept, in SspReply() argument
355 if (!RawAddress::FromString(device_address, addr)) { in SspReply()
356 LOG(ERROR) << "Invalid device address given: " << device_address; in SspReply()
371 bool CreateBond(const std::string& device_address, int transport) override { in CreateBond() argument
373 if (!RawAddress::FromString(device_address, addr)) { in CreateBond()
374 LOG(ERROR) << "Invalid device address given: " << device_address; in CreateBond()
394 bool IsDeviceConnected(const std::string& device_address) override { in IsDeviceConnected() argument
396 return connected_devices_.find(device_address) != connected_devices_.end(); in IsDeviceConnected()
428 bool RemoveBond(const std::string& device_address) override { in RemoveBond() argument
430 if (!RawAddress::FromString(device_address, addr)) { in RemoveBond()
431 LOG(ERROR) << "Invalid device address given: " << device_address; in RemoveBond()
446 bool GetRemoteDeviceProperties(const std::string& device_address) override { in GetRemoteDeviceProperties() argument
448 if (!RawAddress::FromString(device_address, addr)) { in GetRemoteDeviceProperties()
449 LOG(ERROR) << "Invalid device address given: " << device_address; in GetRemoteDeviceProperties()
609 std::string device_address = BtAddrString(remote_bdaddr); in RemoteDevicePropertiesCallback() local
613 observer.OnGetRemoteDeviceProperties(this, status, device_address, in RemoteDevicePropertiesCallback()
627 observer.OnGetRemoteDeviceProperties(this, status, device_address, props); in RemoteDevicePropertiesCallback()
663 std::string device_address = BtAddrString(remote_bdaddr); in SSPRequestCallback() local
668 observer.OnSspRequest(this, device_address, name, cod, pairing_variant, in SSPRequestCallback()
675 std::string device_address = BtAddrString(remote_bdaddr); in BondStateChangedCallback() local
679 observer.OnBondStateChanged(this, status, device_address, state); in BondStateChangedCallback()
686 std::string device_address = BtAddrString(&remote_bdaddr); in AclStateChangedCallback() local
688 LOG(INFO) << "ACL state changed: " << device_address in AclStateChangedCallback()
702 connected_devices_.insert(device_address); in AclStateChangedCallback()
704 connected_devices_.erase(device_address); in AclStateChangedCallback()
709 observer.OnDeviceConnectionStateChanged(this, device_address, connected); in AclStateChangedCallback()