Searched refs:bnep_cb (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Bluetooth/system/stack/bnep/ |
D | bnep_main.cc | 50 tBNEP_CB bnep_cb; variable 77 memset(&bnep_cb.l2cap_my_cfg, 0, sizeof(tL2CAP_CFG_INFO)); in bnep_register_with_l2cap() 79 bnep_cb.l2cap_my_cfg.mtu_present = true; in bnep_register_with_l2cap() 80 bnep_cb.l2cap_my_cfg.mtu = BNEP_MTU_SIZE; in bnep_register_with_l2cap() 82 bnep_cb.reg_info.pL2CA_ConnectInd_Cb = bnep_connect_ind; in bnep_register_with_l2cap() 83 bnep_cb.reg_info.pL2CA_ConnectCfm_Cb = bnep_connect_cfm; in bnep_register_with_l2cap() 84 bnep_cb.reg_info.pL2CA_ConfigInd_Cb = nullptr; in bnep_register_with_l2cap() 85 bnep_cb.reg_info.pL2CA_ConfigCfm_Cb = bnep_config_cfm; in bnep_register_with_l2cap() 86 bnep_cb.reg_info.pL2CA_DisconnectInd_Cb = bnep_disconnect_ind; in bnep_register_with_l2cap() 87 bnep_cb.reg_info.pL2CA_DataInd_Cb = bnep_data_ind; in bnep_register_with_l2cap() [all …]
|
D | bnep_api.cc | 55 memset(&bnep_cb, 0, sizeof(tBNEP_CB)); in BNEP_Init() 77 bnep_cb.p_conn_ind_cb = p_reg_info->p_conn_ind_cb; in BNEP_Register() 78 bnep_cb.p_conn_state_cb = p_reg_info->p_conn_state_cb; in BNEP_Register() 79 bnep_cb.p_data_ind_cb = p_reg_info->p_data_ind_cb; in BNEP_Register() 80 bnep_cb.p_data_buf_cb = p_reg_info->p_data_buf_cb; in BNEP_Register() 81 bnep_cb.p_filter_ind_cb = p_reg_info->p_filter_ind_cb; in BNEP_Register() 82 bnep_cb.p_mfilter_ind_cb = p_reg_info->p_mfilter_ind_cb; in BNEP_Register() 83 bnep_cb.p_tx_data_flow_cb = p_reg_info->p_tx_data_flow_cb; in BNEP_Register() 87 bnep_cb.profile_registered = true; in BNEP_Register() 106 bnep_cb.p_conn_ind_cb = NULL; in BNEP_Deregister() [all …]
|
D | bnep_utils.cc | 69 for (xx = 0, p_bcb = bnep_cb.bcb; xx < BNEP_MAX_CONNECTIONS; xx++, p_bcb++) { in bnepu_find_bcb_by_cid() 93 for (xx = 0, p_bcb = bnep_cb.bcb; xx < BNEP_MAX_CONNECTIONS; xx++, p_bcb++) { in bnepu_find_bcb_by_bd_addr() 117 for (xx = 0, p_bcb = bnep_cb.bcb; xx < BNEP_MAX_CONNECTIONS; xx++, p_bcb++) { in bnepu_allocate_bcb() 687 if (bnep_cb.p_conn_state_cb) in bnep_process_setup_conn_responce() 688 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, resp, true); in bnep_process_setup_conn_responce() 700 if ((p_bcb->con_flags & BNEP_FLAGS_IS_ORIG) && (bnep_cb.p_conn_state_cb)) in bnep_process_setup_conn_responce() 701 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, resp, false); in bnep_process_setup_conn_responce() 919 if (bnep_cb.p_filter_ind_cb) in bnepu_process_peer_filter_set() 920 (*bnep_cb.p_filter_ind_cb)(p_bcb->handle, true, 0, len, p_filters); in bnepu_process_peer_filter_set() 972 if (bnep_cb.p_filter_ind_cb) in bnepu_process_peer_filter_rsp() [all …]
|
D | bnep_int.h | 162 extern tBNEP_CB bnep_cb;
|