/system/nfc/src/nfc/llcp/ |
D | llcp_link.cc | 100 if ((llcp_cb.lcb.inact_timer.in_use == false) && in llcp_link_start_inactivity_timer() 101 (llcp_cb.lcb.inact_timeout > 0)) { in llcp_link_start_inactivity_timer() 103 "Start inactivity_timer: %d ms", llcp_cb.lcb.inact_timeout); in llcp_link_start_inactivity_timer() 105 nfc_start_quick_timer(&llcp_cb.lcb.inact_timer, NFC_TTYPE_LLCP_LINK_INACT, in llcp_link_start_inactivity_timer() 106 ((uint32_t)llcp_cb.lcb.inact_timeout) * in llcp_link_start_inactivity_timer() 121 if (llcp_cb.lcb.inact_timer.in_use) { in llcp_link_stop_inactivity_timer() 124 nfc_stop_quick_timer(&llcp_cb.lcb.inact_timer); in llcp_link_stop_inactivity_timer() 138 if (llcp_cb.lcb.symm_state == LLCP_LINK_SYMM_LOCAL_XMIT_NEXT) { in llcp_link_start_link_timer() 141 &llcp_cb.lcb.timer, NFC_TTYPE_LLCP_LINK_MANAGER, in llcp_link_start_link_timer() 142 (((uint32_t)llcp_cb.lcb.symm_delay) * QUICK_TIMER_TICKS_PER_SEC) / in llcp_link_start_link_timer() [all …]
|
D | llcp_main.cc | 59 llcp_cb.lcb.local_link_miu = in llcp_init() 61 llcp_cb.lcb.local_opt = LLCP_OPT_VALUE; in llcp_init() 62 llcp_cb.lcb.local_wt = LLCP_WAITING_TIME; in llcp_init() 63 llcp_cb.lcb.local_lto = LLCP_LTO_VALUE; in llcp_init() 65 llcp_cb.lcb.inact_timeout_init = LLCP_INIT_INACTIVITY_TIMEOUT; in llcp_init() 66 llcp_cb.lcb.inact_timeout_target = LLCP_TARGET_INACTIVITY_TIMEOUT; in llcp_init() 67 llcp_cb.lcb.symm_delay = LLCP_DELAY_RESP_TIME; in llcp_init() 68 llcp_cb.lcb.data_link_timeout = LLCP_DATA_LINK_CONNECTION_TOUT; in llcp_init() 69 llcp_cb.lcb.delay_first_pdu_timeout = LLCP_DELAY_TIME_TO_SEND_FIRST_PDU; in llcp_init() 71 llcp_cb.lcb.wks = LLCP_WKS_MASK_LM; in llcp_init() [all …]
|
D | llcp_api.cc | 129 llcp_cb.lcb.local_link_miu = LLCP_MIU; in LLCP_SetConfig() 131 llcp_cb.lcb.local_link_miu = link_miu; in LLCP_SetConfig() 133 llcp_cb.lcb.local_opt = opt; in LLCP_SetConfig() 134 llcp_cb.lcb.local_wt = wt; in LLCP_SetConfig() 141 llcp_cb.lcb.local_lto = LLCP_DEFAULT_LTO_IN_MS; in LLCP_SetConfig() 147 llcp_cb.lcb.local_lto = LLCP_MAX_LTO_IN_MS; in LLCP_SetConfig() 149 llcp_cb.lcb.local_lto = link_timeout; in LLCP_SetConfig() 151 llcp_cb.lcb.inact_timeout_init = inact_timeout_init; in LLCP_SetConfig() 152 llcp_cb.lcb.inact_timeout_target = inact_timeout_target; in LLCP_SetConfig() 153 llcp_cb.lcb.symm_delay = symm_delay; in LLCP_SetConfig() [all …]
|
D | llcp_util.cc | 70 BE_STREAM_TO_UINT8(llcp_cb.lcb.peer_version, p); in llcp_util_parse_link_params() 72 << StringPrintf("Peer Version - 0x%02X", llcp_cb.lcb.peer_version); in llcp_util_parse_link_params() 81 BE_STREAM_TO_UINT16(llcp_cb.lcb.peer_miu, p); in llcp_util_parse_link_params() 82 llcp_cb.lcb.peer_miu &= LLCP_MIUX_MASK; in llcp_util_parse_link_params() 83 llcp_cb.lcb.peer_miu += LLCP_DEFAULT_MIU; in llcp_util_parse_link_params() 85 << StringPrintf("Peer MIU - %d bytes", llcp_cb.lcb.peer_miu); in llcp_util_parse_link_params() 94 BE_STREAM_TO_UINT16(llcp_cb.lcb.peer_wks, p); in llcp_util_parse_link_params() 96 << StringPrintf("Peer WKS - 0x%04X", llcp_cb.lcb.peer_wks); in llcp_util_parse_link_params() 105 BE_STREAM_TO_UINT8(llcp_cb.lcb.peer_lto, p); in llcp_util_parse_link_params() 106 llcp_cb.lcb.peer_lto *= LLCP_LTO_UNIT; /* 10ms unit */ in llcp_util_parse_link_params() [all …]
|
D | llcp_sdp.cc | 81 GKI_enqueue(&llcp_cb.lcb.sig_xmit_q, llcp_cb.sdp_cb.p_snl); in llcp_sdp_check_send_snl() 156 llcp_cb.lcb.effective_miu)) { in llcp_sdp_send_sdreq() 183 (llcp_cb.lcb.symm_state == LLCP_LINK_SYMM_LOCAL_XMIT_NEXT)) { in llcp_sdp_send_sdreq() 249 llcp_cb.lcb.effective_miu)) { in llcp_sdp_send_sdres() 276 (llcp_cb.lcb.symm_state == LLCP_LINK_SYMM_LOCAL_XMIT_NEXT)) { in llcp_sdp_send_sdres() 390 if ((llcp_cb.lcb.agreed_major_version < LLCP_MIN_SNL_MAJOR_VERSION) || in llcp_sdp_proc_snl() 391 ((llcp_cb.lcb.agreed_major_version == LLCP_MIN_SNL_MAJOR_VERSION) && in llcp_sdp_proc_snl() 392 (llcp_cb.lcb.agreed_minor_version < LLCP_MIN_SNL_MINOR_VERSION))) { in llcp_sdp_proc_snl()
|
D | llcp_dlc.cc | 135 (uint32_t)(llcp_cb.lcb.data_link_timeout * in llcp_dlsm_idle() 146 if (p_params->miu > llcp_cb.lcb.peer_miu) { in llcp_dlsm_idle() 150 p_params->miu = llcp_cb.lcb.peer_miu; in llcp_dlsm_idle() 171 (uint32_t)(llcp_cb.lcb.data_link_timeout * in llcp_dlsm_idle() 214 if (p_params->miu > llcp_cb.lcb.peer_miu) { in llcp_dlsm_w4_remote_resp() 218 p_params->miu = llcp_cb.lcb.peer_miu; in llcp_dlsm_w4_remote_resp() 404 (uint32_t)(llcp_cb.lcb.data_link_timeout * in llcp_dlsm_connected()
|
/system/bt/stack/avct/ |
D | avct_lcb.cc | 235 tAVCT_LCB* p_lcb = &avct_cb.lcb[0]; in avct_lcb_by_bd() 265 tAVCT_LCB* p_lcb = &avct_cb.lcb[0]; in avct_lcb_alloc() 329 tAVCT_LCB* p_lcb = &avct_cb.lcb[0]; in avct_lcb_by_lcid()
|
D | avct_int.h | 131 tAVCT_LCB lcb[AVCT_NUM_LINKS]; /* link control blocks */ member
|
D | avct_bcb_act.cc | 632 return &avct_cb.lcb[p_bcb->allocated - 1]; in avct_lcb_by_bcb()
|
/system/bt/bta/av/ |
D | bta_av_main.cc | 1409 for (size_t i = 0; i < sizeof(bta_av_cb.lcb) / sizeof(bta_av_cb.lcb[0]); in bta_debug_av_dump() 1411 const tBTA_AV_LCB& lcb = bta_av_cb.lcb[i]; in bta_debug_av_dump() local 1412 if (lcb.addr.IsEmpty()) { in bta_debug_av_dump() 1416 lcb.addr.ToString().c_str()); in bta_debug_av_dump() 1417 dprintf(fd, " Connected stream handle mask: 0x%x\n", lcb.conn_msk); in bta_debug_av_dump() 1418 dprintf(fd, " Index(+1) to LCB: %d\n", lcb.lidx); in bta_debug_av_dump()
|
D | bta_av_act.cc | 459 if ((mask & p_cb->conn_lcb) && p_cb->lcb[xx].addr == addr) { in bta_av_find_lcb() 460 p_lcb = &p_cb->lcb[xx]; in bta_av_find_lcb() 539 p_cb->rcb[i].lidx, p_cb->lcb[BTA_AV_NUM_LINKS].lidx); in bta_av_rc_opened() 542 if (!shdl && 0 == p_cb->lcb[BTA_AV_NUM_LINKS].lidx) { in bta_av_rc_opened() 545 p_lcb = &p_cb->lcb[BTA_AV_NUM_LINKS]; in bta_av_rc_opened() 1162 p_lcb_rc = &p_cb->lcb[BTA_AV_NUM_LINKS]; in bta_av_conn_chg() 1194 p_cb->lcb[p_rcb2->lidx - 1].lidx); in bta_av_conn_chg() 1199 p_cb->lcb[p_rcb->lidx - 1].lidx); in bta_av_conn_chg() 1432 p_lcb = &p_cb->lcb[xx]; in bta_av_sig_chg() 1537 p_lcb = &p_cb->lcb[xx]; in bta_av_signalling_timer() [all …]
|
D | bta_av_int.h | 621 tBTA_AV_LCB lcb[BTA_AV_NUM_LINKS + 1]; /* link control block */ member
|
/system/nfc/src/nfc/include/ |
D | llcp_int.h | 220 tLLCP_LCB lcb; /* LLCP link control block */ member
|
/system/bt/main/shim/ |
D | acl.cc | 897 const tL2C_LCB& lcb = l2cb.lcb_pool[i]; in DumpsysL2cap() local 898 if (!lcb.in_use) continue; in DumpsysL2cap() 899 LOG_DUMPSYS(fd, "link_state:%s", link_state_text(lcb.link_state).c_str()); in DumpsysL2cap() 900 LOG_DUMPSYS(fd, "handle:0x%04x", lcb.Handle()); in DumpsysL2cap() 902 const tL2C_CCB* ccb = lcb.ccb_queue.p_first_ccb; in DumpsysL2cap()
|
/system/bt/stack/l2cap/ |
D | l2c_link.cc | 1372 tL2C_LCB* lcb = l2cu_find_lcb_by_bd_addr(bd_addr, BT_TRANSPORT_LE); in l2cble_update_sec_act() local 1373 lcb->sec_act = sec_act; in l2cble_update_sec_act()
|