Lines Matching refs:link_policy
98 if (std::find(btm_cb.acl_cb_.link_policy.clients.begin(), in RegisterLinkPolicyClient()
99 btm_cb.acl_cb_.link_policy.clients.end(), in RegisterLinkPolicyClient()
100 p_cb) != btm_cb.acl_cb_.link_policy.clients.end()) { in RegisterLinkPolicyClient()
104 btm_cb.acl_cb_.link_policy.clients.push_back(p_cb); in RegisterLinkPolicyClient()
109 auto cb = std::find(btm_cb.acl_cb_.link_policy.clients.begin(), in UnregisterLinkPolicyClient()
110 btm_cb.acl_cb_.link_policy.clients.end(), p_cb); in UnregisterLinkPolicyClient()
111 if (cb == btm_cb.acl_cb_.link_policy.clients.end()) { in UnregisterLinkPolicyClient()
115 btm_cb.acl_cb_.link_policy.clients.erase(cb); in UnregisterLinkPolicyClient()
228 for (auto client_callback : btm_cb.acl_cb_.link_policy.clients) { in btm_pm_on_mode_change()
235 btm_cb.acl_cb_.link_policy.clients.size(), in btm_pm_on_mode_change()
279 for (auto client_callback : btm_cb.acl_cb_.link_policy.clients) { in btm_pm_on_sniff_subrating()
287 btm_cb.acl_cb_.link_policy.clients.size(), in btm_pm_on_sniff_subrating()