/system/bt/stack/avct/ |
H A D | avct_api.cc | 135 tAVCT_LCB* p_lcb; local 150 p_lcb = avct_lcb_by_bd(peer_addr); 151 if (p_lcb == NULL) { 152 p_lcb = avct_lcb_alloc(peer_addr); 153 if (p_lcb == NULL) { 160 else if (avct_lcb_has_pid(p_lcb, p_cc->pid)) { 167 p_ccb->p_lcb = p_lcb; 168 AVCT_TRACE_DEBUG("ch_state: %d", p_lcb->ch_state); 169 avct_lcb_event(p_lcb, AVCT_LCB_UL_BIND_EV [all...] |
H A D | avct_l2c.cc | 75 static bool avct_l2c_is_passive(tAVCT_LCB* p_lcb) { argument 81 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb)) { 104 tAVCT_LCB* p_lcb; local 109 p_lcb = avct_lcb_by_bd(bd_addr); 110 if (p_lcb == NULL) { 112 p_lcb = avct_lcb_alloc(bd_addr); 113 if (p_lcb == NULL) { 120 if (!avct_l2c_is_passive(p_lcb) || (p_lcb 169 tAVCT_LCB* p_lcb; local 229 tAVCT_LCB* p_lcb; local 276 tAVCT_LCB* p_lcb; local 321 tAVCT_LCB* p_lcb; local 350 tAVCT_LCB* p_lcb; local 379 tAVCT_LCB* p_lcb; local 400 tAVCT_LCB* p_lcb; local [all...] |
H A D | avct_l2c_br.cc | 121 tAVCT_LCB* p_lcb; local 130 p_lcb = avct_lcb_by_bd(bd_addr); 131 if (p_lcb != NULL) { 133 p_bcb = avct_bcb_by_lcb(p_lcb); 140 p_bcb->allocated = p_lcb->allocated; /* copy the index from lcb */ 186 tAVCT_BCB* p_lcb; local 190 p_lcb = avct_bcb_by_lcid(lcid); 191 if ((p_lcb == NULL) || (p_lcb->ch_state != AVCT_CH_CONN)) return; 195 avct_bcb_event(p_lcb, AVCT_LCB_LL_CLOSE_EV 226 tAVCT_BCB* p_lcb; local 264 tAVCT_BCB* p_lcb; local 333 tAVCT_BCB* p_lcb; local 359 tAVCT_BCB* p_lcb; local 384 tAVCT_BCB* p_lcb; local 404 tAVCT_BCB* p_lcb; local [all...] |
H A D | avct_bcb_act.cc | 96 tAVCT_LCB* p_lcb = avct_lcb_by_bcb(p_bcb); local 99 BTM_SetOutService(p_lcb->peer_addr, BTM_SEC_SERVICE_AVCTP_BROWSE, 0); 112 L2CA_ErtmConnectReq(AVCT_BR_PSM, p_lcb->peer_addr, &ertm_info); 163 0, p_ccb->p_lcb->peer_addr); 168 (p_ccb->p_lcb != NULL) && 169 (!memcmp(p_bcb->peer_addr, p_ccb->p_lcb->peer_addr, 176 0, p_ccb->p_lcb->peer_addr); 236 tAVCT_LCB* p_lcb = avct_lcb_by_bcb(p_bcb); local 243 p_lcb->peer_addr); 284 if (p_ccb->p_lcb 302 tAVCT_LCB* p_lcb = avct_lcb_by_bcb(p_bcb); local 376 tAVCT_LCB* p_lcb = avct_lcb_by_bcb(p_bcb); local 501 tAVCT_LCB* p_lcb = avct_lcb_by_bcb(p_bcb); local 600 avct_close_bcb(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data) argument 629 avct_bcb_by_lcb(tAVCT_LCB* p_lcb) argument [all...] |
H A D | avct_int.h | 108 tAVCT_LCB* p_lcb; /* Associated LCB */ member in struct:__anon826 147 extern void avct_lcb_event(tAVCT_LCB* p_lcb, uint8_t event, 151 extern void avct_close_bcb(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 153 extern tAVCT_BCB* avct_bcb_by_lcb(tAVCT_LCB* p_lcb); 159 extern void avct_lcb_dealloc(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 161 extern tAVCT_CCB* avct_lcb_has_pid(tAVCT_LCB* p_lcb, uint16_t pid); 162 extern bool avct_lcb_last_ccb(tAVCT_LCB* p_lcb, tAVCT_CCB* p_ccb_last); 165 extern void avct_lcb_chnl_open(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 166 extern void avct_lcb_unbind_disc(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 167 extern void avct_lcb_open_ind(tAVCT_LCB* p_lcb, tAVCT_LCB_EV [all...] |
H A D | avct_lcb.cc | 163 void avct_lcb_event(tAVCT_LCB* p_lcb, uint8_t event, tAVCT_LCB_EVT* p_data) { argument 168 AVCT_TRACE_EVENT("LCB lcb=%d event=%s state=%s", p_lcb->allocated, 169 avct_lcb_evt_str[event], avct_lcb_st_str[p_lcb->state]); 172 state_table = avct_lcb_st_tbl[p_lcb->state]; 175 p_lcb->state = state_table[event][AVCT_LCB_NEXT_STATE]; 181 (*avct_lcb_action[action])(p_lcb, p_data); 234 tAVCT_LCB* p_lcb = &avct_cb.lcb[0]; local 237 for (i = 0; i < AVCT_NUM_LINKS; i++, p_lcb++) { 239 if (p_lcb->allocated && (!memcmp(p_lcb 266 tAVCT_LCB* p_lcb = &avct_cb.lcb[0]; local 297 avct_lcb_dealloc(tAVCT_LCB* p_lcb, UNUSED_ATTR tAVCT_LCB_EVT* p_data) argument 329 tAVCT_LCB* p_lcb = &avct_cb.lcb[0]; local 358 avct_lcb_has_pid(tAVCT_LCB* p_lcb, uint16_t pid) argument 380 avct_lcb_last_ccb(tAVCT_LCB* p_lcb, tAVCT_CCB* p_ccb_last) argument [all...] |
H A D | avct_lcb_act.cc | 51 static BT_HDR* avct_lcb_msg_asmbl(tAVCT_LCB* p_lcb, BT_HDR* p_buf) { argument 69 if (p_lcb->p_rx_msg != NULL) 72 osi_free_and_reset((void**)&p_lcb->p_rx_msg); 79 if (p_lcb->p_rx_msg != NULL) 82 osi_free(p_lcb->p_rx_msg); 89 p_lcb->p_rx_msg = (BT_HDR*)osi_malloc(BT_DEFAULT_BUFFER_SIZE); 90 memcpy(p_lcb->p_rx_msg, p_buf, sizeof(BT_HDR) + p_buf->offset + p_buf->len); 96 p = (uint8_t*)(p_lcb->p_rx_msg + 1) + p_lcb->p_rx_msg->offset; 102 p_lcb 167 avct_lcb_chnl_open(tAVCT_LCB* p_lcb, UNUSED_ATTR tAVCT_LCB_EVT* p_data) argument 190 avct_lcb_unbind_disc(UNUSED_ATTR tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data) argument 207 avct_lcb_open_ind(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data) argument 252 avct_lcb_open_fail(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data) argument 275 avct_lcb_close_ind(tAVCT_LCB* p_lcb, UNUSED_ATTR tAVCT_LCB_EVT* p_data) argument 303 avct_lcb_close_cfm(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data) argument 339 avct_lcb_bind_conn(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data) argument 357 avct_lcb_chk_disc(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data) argument 381 avct_lcb_chnl_disc(tAVCT_LCB* p_lcb, UNUSED_ATTR tAVCT_LCB_EVT* p_data) argument 396 avct_lcb_bind_fail(UNUSED_ATTR tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data) argument 410 avct_lcb_cong_ind(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data) argument 447 avct_lcb_discard_msg(UNUSED_ATTR tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data) argument 462 avct_lcb_send_msg(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data) argument 561 avct_lcb_free_msg_ind(UNUSED_ATTR tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data) argument 578 avct_lcb_msg_ind(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data) argument [all...] |
/system/bt/stack/l2cap/ |
H A D | l2c_main.cc | 48 static void process_l2cap_cmd(tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len); 69 tL2C_LCB* p_lcb; local 83 p_lcb = l2cu_find_lcb_by_handle(handle); 84 if (p_lcb == NULL) { 146 if (p_lcb && p_lcb->transport == BT_TRANSPORT_LE && 147 p_lcb->link_state != LST_DISCONNECTING) 150 l2cble_notify_le_connection(p_lcb->remote_bd_addr); 154 p_ccb = l2cu_find_ccb_by_cid(p_lcb, rcv_cid); 175 process_l2cap_cmd(p_lcb, 254 process_l2cap_cmd(tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len) argument 844 tL2C_LCB* p_lcb = (tL2C_LCB*)data; local [all...] |
H A D | l2c_ucd.cc | 313 tL2C_LCB* p_lcb; local 332 if (((p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, BT_TRANSPORT_BR_EDR)) == 334 ((p_ccb = l2cu_find_ccb_by_cid(p_lcb, L2CAP_CONNECTIONLESS_CID)) == 350 if ((p_lcb) && (p_lcb->link_state == LST_CONNECTED)) { 352 p_ccb = l2cu_find_ccb_by_cid(p_lcb, L2CAP_CONNECTIONLESS_CID); 378 tL2C_LCB* p_lcb; local 399 if (((p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, BT_TRANSPORT_BR_EDR)) == 401 ((p_ccb = l2cu_find_ccb_by_cid(p_lcb, L2CAP_CONNECTIONLESS_CID)) == 410 if (((p_lcb 473 tL2C_LCB* p_lcb; local 505 tL2C_LCB* p_lcb; local 545 tL2C_LCB* p_lcb; local 624 l2c_ucd_delete_sec_pending_q(tL2C_LCB* p_lcb) argument [all...] |
H A D | l2c_link.cc | 48 static bool l2c_link_send_to_lower(tL2C_LCB* p_lcb, BT_HDR* p_buf); 61 tL2C_LCB* p_lcb; local 67 p_lcb = l2cu_find_lcb_by_bd_addr(bd_addr, BT_TRANSPORT_BR_EDR); 70 if (!p_lcb) { 71 p_lcb = l2cu_allocate_lcb(bd_addr, false, BT_TRANSPORT_BR_EDR); 72 if (!p_lcb) { 83 if (p_lcb_cur == p_lcb) continue; 87 p_lcb->link_role = HCI_ROLE_MASTER; 94 p_lcb->link_role = HCI_ROLE_SLAVE; 96 p_lcb 150 tL2C_LCB* p_lcb; local 277 tL2C_LCB* p_lcb; local 336 tL2C_LCB* p_lcb; local 471 tL2C_LCB* p_lcb; local 498 l2c_link_timeout(tL2C_LCB* p_lcb) argument 609 tL2C_LCB* p_lcb = (tL2C_LCB*)data; local 664 tL2C_LCB* p_lcb; local 852 tL2C_LCB* p_lcb; local 891 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(bd_addr, BT_TRANSPORT_BR_EDR); local 910 l2c_link_check_power_mode(tL2C_LCB* p_lcb) argument 955 l2c_link_check_send_pkts(tL2C_LCB* p_lcb, tL2C_CCB* p_ccb, BT_HDR* p_buf) argument 1096 l2c_link_send_to_lower(tL2C_LCB* p_lcb, BT_HDR* p_buf) argument 1204 tL2C_LCB* p_lcb; local 1304 tL2C_LCB* p_lcb; local [all...] |
H A D | l2c_ble.cc | 39 static void l2cble_start_conn_update(tL2C_LCB* p_lcb); 53 tL2C_LCB* p_lcb; local 77 p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, BT_TRANSPORT_LE); 79 if (p_lcb != NULL && 80 !(p_lcb->link_role == HCI_ROLE_SLAVE && 82 p_lcb->disc_reason = L2CAP_CONN_CANCEL; 83 l2cu_release_lcb(p_lcb); 105 tL2C_LCB* p_lcb; local 109 p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, BT_TRANSPORT_LE); 112 if (!p_lcb || !p_acl_c 203 tL2C_LCB* p_lcb; local 220 tL2C_LCB* p_lcb; local 241 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(bda, BT_TRANSPORT_LE); local 276 tL2C_LCB* p_lcb; local 358 tL2C_LCB* p_lcb; local 460 l2cble_start_conn_update(tL2C_LCB* p_lcb) argument 545 tL2C_LCB* p_lcb = l2cu_find_lcb_by_handle(handle); local 573 l2cble_process_sig_cmd(tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len) argument 840 l2cble_init_direct_conn(tL2C_LCB* p_lcb) argument 936 l2cble_create_conn(tL2C_LCB* p_lcb) argument 993 tL2C_LCB* p_lcb; local 1109 tL2C_LCB* p_lcb = l2cu_find_lcb_by_handle(handle); local 1143 l2cble_update_data_length(tL2C_LCB* p_lcb) argument 1179 tL2C_LCB* p_lcb = l2cu_find_lcb_by_handle(handle); local 1202 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(remote_bda, BT_TRANSPORT_LE); local 1325 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(p_bda, BT_TRANSPORT_LE); local 1403 tL2C_LCB* p_lcb = NULL; local [all...] |
H A D | l2c_api.cc | 125 tL2C_LCB* p_lcb; local 132 p_lcb = &l2cb.lcb_pool[0]; 133 for (ii = 0; ii < MAX_L2CAP_LINKS; ii++, p_lcb++) { 134 if (p_lcb->in_use) { 135 p_ccb = p_lcb->ccb_queue.p_first_ccb; 136 if ((p_ccb == NULL) || (p_lcb->link_state == LST_DISCONNECTING)) { 230 tL2C_LCB* p_lcb; local 257 p_lcb = l2cu_find_lcb_by_bd_addr(p_bd_addr, BT_TRANSPORT_BR_EDR); 258 if (p_lcb == NULL) { 260 p_lcb 411 tL2C_LCB* p_lcb = &l2cb.lcb_pool[0]; local 466 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(p_bd_addr, BT_TRANSPORT_LE); local 540 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(p_bd_addr, BT_TRANSPORT_LE); local 672 tL2C_LCB* p_lcb; local 899 tL2C_LCB* p_lcb; local 964 tL2C_LCB* p_lcb; local 1036 tL2C_LCB* p_lcb; local 1081 tL2C_LCB* p_lcb; local 1093 tL2C_LCB* p_lcb = &l2cb.lcb_pool[0]; local 1171 tL2C_LCB* p_lcb; local 1405 tL2C_LCB* p_lcb; local 1495 tL2C_LCB* p_lcb; local 1534 tL2C_LCB* p_lcb = NULL; local 1616 tL2C_LCB* p_lcb; local 1729 tL2C_LCB* p_lcb; local 1844 tL2C_LCB* p_lcb; local 1918 tL2C_LCB* p_lcb; local 2041 tL2C_LCB* p_lcb; local 2142 tL2C_LCB* p_lcb; local [all...] |
H A D | l2c_utils.cc | 56 tL2C_LCB* p_lcb = &l2cb.lcb_pool[0]; local 58 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) { 59 if (!p_lcb->in_use) { 60 alarm_free(p_lcb->l2c_lcb_timer); 61 alarm_free(p_lcb->info_resp_timer); 62 memset(p_lcb, 0, sizeof(tL2C_LCB)); 64 memcpy(p_lcb->remote_bd_addr, p_bd_addr, BD_ADDR_LEN); 66 p_lcb->in_use = true; 67 p_lcb->link_state = LST_DISCONNECTED; 68 p_lcb 111 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(p_bd_addr, BT_TRANSPORT_BR_EDR); local 132 l2cu_release_lcb(tL2C_LCB* p_lcb) argument 249 tL2C_LCB* p_lcb = &l2cb.lcb_pool[0]; local 289 l2c_is_cmd_rejected(uint8_t cmd_code, uint8_t id, tL2C_LCB* p_lcb) argument 318 l2cu_build_header(tL2C_LCB* p_lcb, uint16_t len, uint8_t cmd, uint8_t id) argument 368 l2cu_adj_id(tL2C_LCB* p_lcb, uint8_t adj_mask) argument 384 l2cu_send_peer_cmd_reject(tL2C_LCB* p_lcb, uint16_t reason, uint8_t rem_id, uint16_t p1, uint16_t p2) argument 505 l2cu_reject_connection(tL2C_LCB* p_lcb, uint16_t remote_cid, uint8_t rem_id, uint16_t result) argument 899 l2cu_send_peer_disc_rsp(tL2C_LCB* p_lcb, uint8_t remote_id, uint16_t local_cid, uint16_t remote_cid) argument 931 l2cu_send_peer_echo_req(tL2C_LCB* p_lcb, uint8_t* p_data, uint16_t data_len) argument 966 l2cu_send_peer_echo_rsp(tL2C_LCB* p_lcb, uint8_t id, uint8_t* p_data, uint16_t data_len) argument 1020 l2cu_send_peer_info_req(tL2C_LCB* p_lcb, uint16_t info_type) argument 1059 l2cu_send_peer_info_rsp(tL2C_LCB* p_lcb, uint8_t remote_id, uint16_t info_type) argument 1372 l2cu_allocate_ccb(tL2C_LCB* p_lcb, uint16_t cid) argument 1524 tL2C_LCB* p_lcb = l2cu_find_lcb_by_handle(handle); local 1564 tL2C_LCB* p_lcb = p_ccb->p_lcb; local 1649 l2cu_find_ccb_by_remote_cid(tL2C_LCB* p_lcb, uint16_t remote_cid) argument 1981 tL2C_LCB* p_lcb; local 2085 tL2C_LCB* p_lcb = &l2cb.lcb_pool[0]; local 2104 l2cu_create_conn(tL2C_LCB* p_lcb, tBT_TRANSPORT transport) argument 2109 l2cu_create_conn(tL2C_LCB* p_lcb, tBT_TRANSPORT transport, uint8_t initiating_phys) argument 2189 tL2C_LCB* p_lcb = &l2cb.lcb_pool[0]; local 2210 l2cu_create_conn_after_switch(tL2C_LCB* p_lcb) argument 2278 tL2C_LCB* p_lcb = &l2cb.lcb_pool[0]; local 2303 tL2C_LCB* p_lcb; local 2348 tL2C_LCB* p_lcb; local 2419 tL2C_LCB* p_lcb; local 2527 l2cu_initialize_fixed_ccb(tL2C_LCB* p_lcb, uint16_t fixed_cid, tL2CAP_FCR_OPTS* p_fcr) argument 2591 l2cu_no_dynamic_ccbs(tL2C_LCB* p_lcb) argument 2655 l2cu_process_fixed_chnl_resp(tL2C_LCB* p_lcb) argument 2704 l2cu_process_fixed_disc_cback(tL2C_LCB* p_lcb) argument 2743 l2cu_send_peer_ble_par_req(tL2C_LCB* p_lcb, uint16_t min_int, uint16_t max_int, uint16_t latency, uint16_t timeout) argument 2781 l2cu_send_peer_ble_par_rsp(tL2C_LCB* p_lcb, uint16_t reason, uint8_t rem_id) argument 2814 tL2C_LCB* p_lcb = NULL; local 2867 l2cu_reject_ble_connection(tL2C_LCB* p_lcb, uint8_t rem_id, uint16_t result) argument 2942 tL2C_LCB* p_lcb = NULL; local 2982 tL2C_LCB* p_lcb = NULL; local 3026 tL2C_LCB* p_lcb = &l2cb.lcb_pool[0]; local 3049 l2cu_find_ccb_by_cid(tL2C_LCB* p_lcb, uint16_t local_cid) argument 3102 l2cu_get_next_channel_in_rr(tL2C_LCB* p_lcb) argument 3201 l2cu_get_next_channel(tL2C_LCB* p_lcb) argument 3238 l2cu_get_next_buffer_to_send(tL2C_LCB* p_lcb) argument [all...] |
H A D | l2c_int.h | 288 struct t_l2c_linkcb* p_lcb; /* Link this CCB is assigned to */ member in struct:t_l2c_ccb 586 extern void l2cu_release_lcb(tL2C_LCB* p_lcb); 600 extern tL2C_CCB* l2cu_allocate_ccb(tL2C_LCB* p_lcb, uint16_t cid); 602 extern tL2C_CCB* l2cu_find_ccb_by_cid(tL2C_LCB* p_lcb, uint16_t local_cid); 603 extern tL2C_CCB* l2cu_find_ccb_by_remote_cid(tL2C_LCB* p_lcb, 605 extern void l2cu_adj_id(tL2C_LCB* p_lcb, uint8_t adj_mask); 606 extern bool l2c_is_cmd_rejected(uint8_t cmd_code, uint8_t id, tL2C_LCB* p_lcb); 608 extern void l2cu_send_peer_cmd_reject(tL2C_LCB* p_lcb, uint16_t reason, 618 extern void l2cu_send_peer_disc_rsp(tL2C_LCB* p_lcb, uint8_t remote_id, 620 extern void l2cu_send_peer_echo_req(tL2C_LCB* p_lcb, uint8_ [all...] |
/system/bt/stack/btm/ |
H A D | btm_ble_bgconn.cc | 577 tL2C_LCB* p_lcb = (tL2C_LCB*)p_req->p_param; local 578 if ((p_lcb == NULL) || (!p_lcb->in_use)) { 582 if (!memcmp(rem_bda, p_lcb->remote_bd_addr, BD_ADDR_LEN)) { 608 tL2C_LCB* p_lcb = (tL2C_LCB*)(p_req->p_param); local 610 if (p_lcb->in_use) rt = l2cble_init_direct_conn(p_lcb);
|
H A D | btm_pm.cc | 745 tL2C_LCB* p_lcb; local 762 p_lcb = l2cu_find_lcb_by_bd_addr(p->remote_addr, BT_TRANSPORT_BR_EDR); 763 if (p_lcb != NULL) { 769 l2c_link_check_send_pkts(p_lcb, NULL, NULL);
|
H A D | btm_acl.cc | 821 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(bda, BT_TRANSPORT_LE); local 832 ((p_lcb->min_interval < p_dev_rec->conn_params.min_conn_int && 834 (p_lcb->min_interval > p_dev_rec->conn_params.max_conn_int) || 835 (p_lcb->latency > p_dev_rec->conn_params.slave_latency) || 836 (p_lcb->timeout > p_dev_rec->conn_params.supervision_tout))) { 840 __func__, p_lcb->handle, p_dev_rec->conn_params.min_conn_int, 845 p_lcb->min_interval = p_dev_rec->conn_params.min_conn_int; 846 p_lcb->max_interval = p_dev_rec->conn_params.max_conn_int; 847 p_lcb->timeout = p_dev_rec->conn_params.supervision_tout; 848 p_lcb [all...] |
H A D | btm_sec.cc | 2921 tL2C_LCB* p_lcb = local 2923 if (p_lcb && (p_lcb->link_state == LST_CONNECTED || 2924 p_lcb->link_state == LST_CONNECTING)) { 2931 if (!p_lcb && 2932 (p_lcb = l2cu_allocate_lcb(p_dev_rec->bd_addr, true, 2945 if (l2cu_create_conn(p_lcb, BT_TRANSPORT_BR_EDR) == false) { 2951 l2cu_release_lcb(p_lcb);
|
/system/bt/bta/av/ |
H A D | bta_av_act.cc | 443 tBTA_AV_LCB* p_lcb = NULL; local 448 p_lcb = &p_cb->lcb[xx]; 456 return p_lcb; 473 tBTA_AV_LCB* p_lcb; local 533 p_lcb = &p_cb->lcb[BTA_AV_NUM_LINKS]; 534 bdcpy(p_lcb->addr, p_data->rc_conn_chg.peer_addr); 536 p_lcb->addr[0], p_lcb->addr[1], p_lcb->addr[2], 537 p_lcb 1154 tBTA_AV_LCB* p_lcb; local 1393 tBTA_AV_LCB* p_lcb = NULL; local 1508 tBTA_AV_LCB* p_lcb = NULL; local 1739 tBTA_AV_LCB* p_lcb; local 1858 tBTA_AV_LCB* p_lcb; local [all...] |
/system/bt/stack/gatt/ |
H A D | gatt_api.cc | 722 tACL_CONN* p_lcb = btm_bda_to_acl(p_tcb->peer_bda, BT_TRANSPORT_LE); local 723 if (p_lcb == NULL) { 724 GATT_TRACE_ERROR("%s: no p_lcb for conn_id %d", __func__, conn_id); 728 uint16_t handle = p_lcb->hci_handle; 749 tACL_CONN* p_lcb = btm_bda_to_acl(p_tcb->peer_bda, BT_TRANSPORT_LE); local 750 if (p_lcb == NULL) { 751 GATT_TRACE_ERROR("%s: no p_lcb for conn_id %d", __func__, conn_id); 754 uint16_t handle = p_lcb->hci_handle;
|