Lines Matching refs:remote
435 auto remote = hci::AddressWithType(address, hci::AddressType::PUBLIC_DEVICE_ADDRESS); in OnPairingHandlerComplete() local
437 NotifyDeviceBonded(remote); in OnPairingHandlerComplete()
439 NotifyDeviceBondFailed(remote, std::get<PairingFailure>(status)); in OnPairingHandlerComplete()
441 auto record = this->security_database_.FindOrCreate(remote); in OnPairingHandlerComplete()
445 auto policy_callback_entry = enforce_security_policy_callback_map_.find(remote); in OnPairingHandlerComplete()
447 UpdateLinkSecurityCondition(remote); in OnPairingHandlerComplete()
790 hci::AddressWithType remote, in InternalEnforceSecurityPolicy() argument
793 if (IsSecurityRequirementSatisfied(remote, policy)) { in InternalEnforceSecurityPolicy()
800 auto record = this->security_database_.FindOrCreate(remote); in InternalEnforceSecurityPolicy()
802 enforce_security_policy_callback_map_[remote] = {policy, std::move(result_callback)}; in InternalEnforceSecurityPolicy()
829 void SecurityManagerImpl::UpdateLinkSecurityCondition(hci::AddressWithType remote) { in UpdateLinkSecurityCondition() argument
830 auto entry = enforce_security_policy_callback_map_.find(remote); in UpdateLinkSecurityCondition()
832 LOG_ERROR("No L2CAP security policy callback pending for %s", remote.ToString().c_str()); in UpdateLinkSecurityCondition()
835 …std::move(entry->second.callback_).Invoke(IsSecurityRequirementSatisfied(remote, entry->second.pol… in UpdateLinkSecurityCondition()
840 hci::AddressWithType remote, l2cap::classic::SecurityPolicy policy) { in IsSecurityRequirementSatisfied() argument
841 auto record = security_database_.FindOrCreate(remote); in IsSecurityRequirementSatisfied()
854 hci::AddressWithType remote, in EnforceSecurityPolicy() argument
858 auto record = security_database_.FindOrCreate(remote); in EnforceSecurityPolicy()
860 this->InternalEnforceSecurityPolicy(remote, policy, std::move(result_callback)); in EnforceSecurityPolicy()
865 hci::AddressWithType remote, l2cap::le::SecurityPolicy policy, in EnforceLeSecurityPolicy() argument