Lines Matching refs:link
45 auto* link = GetLink(device); in ConnectFixedChannelServices() local
46 if (link != nullptr) { in ConnectFixedChannelServices()
51 if (link->IsFixedChannelAllocated(fixed_channel_service.first)) { in ConnectFixedChannelServices()
56 this->TriggerPairing(link); in ConnectFixedChannelServices()
59 …auto fixed_channel_impl = link->AllocateFixedChannel(fixed_channel_service.first, SecurityPolicy()… in ConnectFixedChannelServices()
89 auto* link = GetLink(device); in ConnectDynamicChannelServices() local
90 if (link == nullptr) { in ConnectDynamicChannelServices()
102 !link->IsAuthenticated()) { in ConnectDynamicChannelServices()
103 link->AddChannelPendingingAuthentication( in ConnectDynamicChannelServices()
104 {psm, link->ReserveDynamicChannel(), std::move(pending_dynamic_channel_connection)}); in ConnectDynamicChannelServices()
105 link->Authenticate(); in ConnectDynamicChannelServices()
108 …link->SendConnectionRequest(psm, link->ReserveDynamicChannel(), std::move(pending_dynamic_channel_… in ConnectDynamicChannelServices()
118 void LinkManager::TriggerPairing(Link* link) { in TriggerPairing() argument
119 if (!link->IsAuthenticated()) { in TriggerPairing()
120 link->Authenticate(); in TriggerPairing()
122 link->ReadRemoteVersionInformation(); in TriggerPairing()
123 link->ReadRemoteSupportedFeatures(); in TriggerPairing()
124 link->ReadRemoteExtendedFeatures(); in TriggerPairing()
125 link->ReadClockOffset(); in TriggerPairing()
138 auto* link = GetLink(device); in OnConnectSuccess() local
139 ASSERT(link != nullptr); in OnConnectSuccess()
140 link->SendInformationRequest(InformationRequestInfoType::EXTENDED_FEATURES_SUPPORTED); in OnConnectSuccess()
141 link->SendInformationRequest(InformationRequestInfoType::FIXED_CHANNELS_SUPPORTED); in OnConnectSuccess()
146 …auto fixed_channel_impl = link->AllocateFixedChannel(fixed_channel_service.first, SecurityPolicy()… in OnConnectSuccess()
150 this->TriggerPairing(link); in OnConnectSuccess()
156 link->SendConnectionRequest(psm, link->ReserveDynamicChannel(), std::move(callbacks)); in OnConnectSuccess()
202 auto* link = GetLink(device); in OnDisconnect() local
203 …ASSERT_LOG(link != nullptr, "Device %s is disconnected with reason 0x%x, but not in local database… in OnDisconnect()
205 link->OnAclDisconnected(status); in OnDisconnect()