Searched refs:bnep_cb (Results 1 – 5 of 5) sorted by relevance
/system/bt/stack/bnep/ |
D | bnep_main.cc | 52 tBNEP_CB bnep_cb; variable 80 memset(&bnep_cb.l2cap_my_cfg, 0, sizeof(tL2CAP_CFG_INFO)); in bnep_register_with_l2cap() 82 bnep_cb.l2cap_my_cfg.mtu_present = true; in bnep_register_with_l2cap() 83 bnep_cb.l2cap_my_cfg.mtu = BNEP_MTU_SIZE; in bnep_register_with_l2cap() 84 bnep_cb.l2cap_my_cfg.flush_to_present = true; in bnep_register_with_l2cap() 85 bnep_cb.l2cap_my_cfg.flush_to = BNEP_FLUSH_TO; in bnep_register_with_l2cap() 87 bnep_cb.reg_info.pL2CA_ConnectInd_Cb = bnep_connect_ind; in bnep_register_with_l2cap() 88 bnep_cb.reg_info.pL2CA_ConnectCfm_Cb = bnep_connect_cfm; in bnep_register_with_l2cap() 89 bnep_cb.reg_info.pL2CA_ConfigInd_Cb = bnep_config_ind; in bnep_register_with_l2cap() 90 bnep_cb.reg_info.pL2CA_ConfigCfm_Cb = bnep_config_cfm; in bnep_register_with_l2cap() [all …]
|
D | bnep_api.cc | 43 memset(&bnep_cb, 0, sizeof(tBNEP_CB)); in BNEP_Init() 46 bnep_cb.trace_level = BNEP_INITIAL_TRACE_LEVEL; in BNEP_Init() 48 bnep_cb.trace_level = BT_TRACE_LEVEL_NONE; /* No traces */ in BNEP_Init() 71 bnep_cb.p_conn_ind_cb = p_reg_info->p_conn_ind_cb; in BNEP_Register() 72 bnep_cb.p_conn_state_cb = p_reg_info->p_conn_state_cb; in BNEP_Register() 73 bnep_cb.p_data_ind_cb = p_reg_info->p_data_ind_cb; in BNEP_Register() 74 bnep_cb.p_data_buf_cb = p_reg_info->p_data_buf_cb; in BNEP_Register() 75 bnep_cb.p_filter_ind_cb = p_reg_info->p_filter_ind_cb; in BNEP_Register() 76 bnep_cb.p_mfilter_ind_cb = p_reg_info->p_mfilter_ind_cb; in BNEP_Register() 77 bnep_cb.p_tx_data_flow_cb = p_reg_info->p_tx_data_flow_cb; in BNEP_Register() [all …]
|
D | bnep_utils.cc | 66 for (xx = 0, p_bcb = bnep_cb.bcb; xx < BNEP_MAX_CONNECTIONS; xx++, p_bcb++) { in bnepu_find_bcb_by_cid() 90 for (xx = 0, p_bcb = bnep_cb.bcb; xx < BNEP_MAX_CONNECTIONS; xx++, p_bcb++) { in bnepu_find_bcb_by_bd_addr() 114 for (xx = 0, p_bcb = bnep_cb.bcb; xx < BNEP_MAX_CONNECTIONS; xx++, p_bcb++) { in bnepu_allocate_bcb() 689 if (bnep_cb.p_conn_state_cb) in bnep_process_setup_conn_responce() 690 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, resp, true); in bnep_process_setup_conn_responce() 699 if ((p_bcb->con_flags & BNEP_FLAGS_IS_ORIG) && (bnep_cb.p_conn_state_cb)) in bnep_process_setup_conn_responce() 700 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, resp, false); in bnep_process_setup_conn_responce() 937 if (bnep_cb.p_filter_ind_cb) in bnepu_process_peer_filter_set() 938 (*bnep_cb.p_filter_ind_cb)(p_bcb->handle, true, 0, len, p_filters); in bnepu_process_peer_filter_set() 991 if (bnep_cb.p_filter_ind_cb) in bnepu_process_peer_filter_rsp() [all …]
|
D | bnep_int.h | 182 extern tBNEP_CB bnep_cb;
|
/system/bt/internal_include/ |
D | bt_trace.h | 396 if (bnep_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \ 401 if (bnep_cb.trace_level >= BT_TRACE_LEVEL_WARNING) \ 406 if (bnep_cb.trace_level >= BT_TRACE_LEVEL_API) \ 411 if (bnep_cb.trace_level >= BT_TRACE_LEVEL_EVENT) \ 416 if (bnep_cb.trace_level >= BT_TRACE_LEVEL_DEBUG) \
|