Home
last modified time | relevance | path

Searched refs:link_policy (Results 1 – 9 of 9) sorted by relevance

/system/bt/main/shim/
Dlink_policy.cc98 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()
[all …]
DAndroid.bp27 "link_policy.cc",
DBUILD.gn33 "link_policy.cc",
Dacl.cc943 link_policy_text(static_cast<tLINK_POLICY>(link.link_policy)) in DumpsysAcl()
/system/bt/stack/btm/
Dbtm_client_interface.cc85 .link_policy =
/system/bt/stack/acl/
Dacl.h197 tLINK_POLICY link_policy; member
406 } link_policy; member
Dbtm_acl.cc669 conn->link_policy = policy; in btm_set_link_policy()
670 check_link_policy(&conn->link_policy); in btm_set_link_policy()
671 if ((conn->link_policy & HCI_ENABLE_CENTRAL_PERIPHERAL_SWITCH) && in btm_set_link_policy()
673 conn->link_policy &= (~HCI_ENABLE_SNIFF_MODE); in btm_set_link_policy()
676 static_cast<uint16_t>(conn->link_policy)); in btm_set_link_policy()
686 btm_set_link_policy(conn, conn->link_policy | flag); in btm_toggle_policy_on_for()
696 btm_set_link_policy(conn, conn->link_policy & ~flag); in btm_toggle_policy_off_for()
705 return conn->link_policy & HCI_ENABLE_SNIFF_MODE; in BTM_is_sniff_allowed_for()
/system/bt/stack/include/
Dbtm_client_interface.h109 } link_policy; member
/system/bt/main/
DAndroid.bp237 "shim/link_policy.cc",