Home
last modified time | relevance | path

Searched refs:MAX_L2CAP_LINKS (Results 1 – 13 of 13) sorted by relevance

/system/bt/stack/btm/
Dbtm_pm.cc172 if (acl_ind == MAX_L2CAP_LINKS) return (BTM_UNKNOWN_ADDR); in BTM_SetPowerMode()
211 (btm_cb.pm_pend_link != MAX_L2CAP_LINKS))) { in BTM_SetPowerMode()
228 (btm_cb.pm_pend_link != MAX_L2CAP_LINKS)) { in BTM_SetPowerMode()
266 if (acl_ind == MAX_L2CAP_LINKS) return (BTM_UNKNOWN_ADDR); in BTM_ReadPowerMode()
297 if (acl_ind == MAX_L2CAP_LINKS) return (BTM_UNKNOWN_ADDR); in btm_read_power_mode_state()
328 if (acl_ind == MAX_L2CAP_LINKS) return (BTM_UNKNOWN_ADDR); in BTM_SetSsrParams()
370 if (cb != NULL && btm_cb.pm_pend_link < MAX_L2CAP_LINKS) in btm_pm_reset()
375 btm_cb.pm_pend_link = MAX_L2CAP_LINKS; in btm_pm_reset()
411 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p++) { in btm_pm_find_acl_ind()
599 btm_cb.pm_pend_link = MAX_L2CAP_LINKS; in btm_pm_snd_md_req()
[all …]
Dbtm_acl.cc99 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p++) { in btm_bda_to_acl()
124 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p++) { in btm_handle_to_acl_index()
213 for (xx = 0, p = &btm_cb.acl_db[0]; xx < MAX_L2CAP_LINKS; xx++, p++) { in btm_acl_created()
300 if (idx != MAX_L2CAP_LINKS) { in btm_acl_update_conn_addr()
418 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p++) { in btm_acl_device_down()
654 if (xx < MAX_L2CAP_LINKS) in btm_acl_encrypt_change()
882 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_acl_cb++) { in btm_read_remote_version_complete()
985 if (acl_idx >= MAX_L2CAP_LINKS) { in btm_read_remote_features()
1046 if (acl_idx >= MAX_L2CAP_LINKS) { in btm_read_remote_features_complete()
1110 if (acl_idx >= MAX_L2CAP_LINKS) { in btm_read_remote_ext_features_complete()
[all …]
Dbtm_int_types.h742 tACL_CONN acl_db[MAX_L2CAP_LINKS];
753 tBTM_PM_MCB pm_mode_db[MAX_L2CAP_LINKS]; /* per ACL link */
Dbtm_sco.cc266 if (acl_index < MAX_L2CAP_LINKS) { in btm_send_connect_request()
Dbtm_ble.cc247 if (xx >= MAX_L2CAP_LINKS) return false; in BTM_IsBleConnection()
Dbtm_ble_gap.cc2343 if (idx == MAX_L2CAP_LINKS) { in btm_ble_read_remote_features_complete()
Dbtm_sec.cc3989 if (acl_idx != MAX_L2CAP_LINKS) p_acl = &btm_cb.acl_db[acl_idx]; in btm_sec_encrypt_change()
/system/bt/stack/l2cap/
Dl2c_link.cc79 for (xx = 0, p_lcb_cur = &l2cb.lcb_pool[0]; xx < MAX_L2CAP_LINKS; in l2c_link_hci_conn_req()
687 for (yy = 0, p_lcb = &l2cb.lcb_pool[0]; yy < MAX_L2CAP_LINKS; yy++, p_lcb++) { in l2c_link_adjust_allocation()
734 for (yy = 0, p_lcb = &l2cb.lcb_pool[0]; yy < MAX_L2CAP_LINKS; yy++, p_lcb++) { in l2c_link_adjust_allocation()
878 for (xx = 0, p_lcb = &l2cb.lcb_pool[0]; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) { in l2c_link_role_changed()
1002 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) { in l2c_link_check_send_pkts()
1004 if (p_lcb == &l2cb.lcb_pool[MAX_L2CAP_LINKS]) p_lcb = &l2cb.lcb_pool[0]; in l2c_link_check_send_pkts()
Dl2c_utils.cc53 for (int i = 0; i < MAX_L2CAP_LINKS; i++) { in l2cu_can_allocate_lcb()
73 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) { in l2cu_allocate_lcb()
250 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) { in l2cu_find_lcb_by_bd_addr()
2105 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) { in l2cu_device_reset()
2143 for (xx = 0, p_lcb_cur = &l2cb.lcb_pool[0]; xx < MAX_L2CAP_LINKS; in l2cu_create_conn_br_edr()
2198 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) { in l2cu_get_num_hi_priority()
2287 for (i = 0; i < MAX_L2CAP_LINKS; i++, p_lcb++) { in l2cu_find_lcb_by_state()
2317 for (i = 0; i < MAX_L2CAP_LINKS; i++, p_lcb++) { in l2cu_lcb_disconnecting()
2449 for (xx = 0, p_lcb = &l2cb.lcb_pool[0]; xx < MAX_L2CAP_LINKS; in l2cu_resubmit_pending_sec_req()
3047 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) { in l2cu_find_lcb_by_handle()
Dl2c_api.cc136 for (ii = 0; ii < MAX_L2CAP_LINKS; ii++, p_lcb++) { in L2CA_Deregister()
477 for (int i = 0; i < MAX_L2CAP_LINKS; i++, p_lcb++) { in L2CA_DeregisterLECoc()
1157 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) { in L2CA_SetIdleTimeoutByBdAddr()
1517 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) { in L2CA_SetFlushTimeout()
Dl2c_ble.cc828 for (yy = 0, p_lcb = &l2cb.lcb_pool[0]; yy < MAX_L2CAP_LINKS; yy++, p_lcb++) { in l2c_ble_link_adjust_allocation()
875 for (yy = 0, p_lcb = &l2cb.lcb_pool[0]; yy < MAX_L2CAP_LINKS; yy++, p_lcb++) { in l2c_ble_link_adjust_allocation()
Dl2c_int.h474 tL2C_LCB lcb_pool[MAX_L2CAP_LINKS]; /* Link Control Block pool */
/system/bt/internal_include/
Dbt_target.h477 #define MAX_L2CAP_LINKS 13 macro
479 #define MAX_L2CAP_LINKS MAX_ACL_CONNECTIONS macro