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.cc166 if (acl_ind == MAX_L2CAP_LINKS) return (BTM_UNKNOWN_ADDR); in BTM_SetPowerMode()
205 (btm_cb.pm_pend_link != MAX_L2CAP_LINKS))) { in BTM_SetPowerMode()
222 (btm_cb.pm_pend_link != MAX_L2CAP_LINKS)) { in BTM_SetPowerMode()
260 if (acl_ind == MAX_L2CAP_LINKS) return (BTM_UNKNOWN_ADDR); in BTM_ReadPowerMode()
291 if (acl_ind == MAX_L2CAP_LINKS) return (BTM_UNKNOWN_ADDR); in btm_read_power_mode_state()
322 if (acl_ind == MAX_L2CAP_LINKS) return (BTM_UNKNOWN_ADDR); in BTM_SetSsrParams()
364 if (cb != NULL && btm_cb.pm_pend_link < MAX_L2CAP_LINKS) in btm_pm_reset()
369 btm_cb.pm_pend_link = MAX_L2CAP_LINKS; in btm_pm_reset()
405 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p++) { in btm_pm_find_acl_ind()
593 btm_cb.pm_pend_link = MAX_L2CAP_LINKS; in btm_pm_snd_md_req()
[all …]
Dbtm_acl.cc101 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p++) { in btm_bda_to_acl()
126 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p++) { in btm_handle_to_acl_index()
215 for (xx = 0, p = &btm_cb.acl_db[0]; xx < MAX_L2CAP_LINKS; xx++, p++) { in btm_acl_created()
302 if (idx != MAX_L2CAP_LINKS) { in btm_acl_update_conn_addr()
420 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p++) { in btm_acl_device_down()
656 if (xx < MAX_L2CAP_LINKS) in btm_acl_encrypt_change()
855 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_acl_cb++) { in btm_read_remote_version_complete()
958 if (acl_idx >= MAX_L2CAP_LINKS) { in btm_read_remote_features()
1019 if (acl_idx >= MAX_L2CAP_LINKS) { in btm_read_remote_features_complete()
1083 if (acl_idx >= MAX_L2CAP_LINKS) { in btm_read_remote_ext_features_complete()
[all …]
Dbtm_int_types.h696 tACL_CONN acl_db[MAX_L2CAP_LINKS];
707 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.cc282 if (xx >= MAX_L2CAP_LINKS) return false; in BTM_IsBleConnection()
Dbtm_ble_gap.cc2274 if (idx == MAX_L2CAP_LINKS) { in btm_ble_read_remote_features_complete()
Dbtm_sec.cc3729 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.cc80 for (xx = 0, p_lcb_cur = &l2cb.lcb_pool[0]; xx < MAX_L2CAP_LINKS; in l2c_link_hci_conn_req()
695 for (yy = 0, p_lcb = &l2cb.lcb_pool[0]; yy < MAX_L2CAP_LINKS; yy++, p_lcb++) { in l2c_link_adjust_allocation()
743 for (yy = 0, p_lcb = &l2cb.lcb_pool[0]; yy < MAX_L2CAP_LINKS; yy++, p_lcb++) { in l2c_link_adjust_allocation()
888 for (xx = 0, p_lcb = &l2cb.lcb_pool[0]; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) { in l2c_link_role_changed()
1012 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) { in l2c_link_check_send_pkts()
1014 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()
2104 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()
2286 for (i = 0; i < MAX_L2CAP_LINKS; i++, p_lcb++) { in l2cu_find_lcb_by_state()
2316 for (i = 0; i < MAX_L2CAP_LINKS; i++, p_lcb++) { in l2cu_lcb_disconnecting()
2448 for (xx = 0, p_lcb = &l2cb.lcb_pool[0]; xx < MAX_L2CAP_LINKS; in l2cu_resubmit_pending_sec_req()
3033 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) { in l2cu_find_lcb_by_handle()
Dl2c_api.cc148 for (ii = 0; ii < MAX_L2CAP_LINKS; ii++, p_lcb++) { in L2CA_Deregister()
517 for (int i = 0; i < MAX_L2CAP_LINKS; i++, p_lcb++) { in L2CA_DeregisterLECoc()
1098 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) { in L2CA_SetIdleTimeoutByBdAddr()
1303 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) { in L2CA_SetFlushTimeout()
Dl2c_ble.cc831 for (yy = 0, p_lcb = &l2cb.lcb_pool[0]; yy < MAX_L2CAP_LINKS; yy++, p_lcb++) { in l2c_ble_link_adjust_allocation()
878 for (yy = 0, p_lcb = &l2cb.lcb_pool[0]; yy < MAX_L2CAP_LINKS; yy++, p_lcb++) { in l2c_ble_link_adjust_allocation()
Dl2c_int.h473 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