Home
last modified time | relevance | path

Searched refs:p_conn_state_cb (Results 1 – 6 of 6) sorted by relevance

/system/bt/stack/bnep/
Dbnep_main.c196 if (bnep_cb.p_conn_state_cb && in bnep_connect_cfm()
199 (*bnep_cb.p_conn_state_cb) (bcb->handle, bcb->rem_bda, BNEP_CONN_FAILED, FALSE); in bnep_connect_cfm()
327 if ((p_bcb->con_flags & BNEP_FLAGS_IS_ORIG) && (bnep_cb.p_conn_state_cb)) in bnep_config_cfm()
329 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, BNEP_CONN_FAILED_CFG, FALSE); in bnep_config_cfm()
368 if (bnep_cb.p_conn_state_cb) in bnep_disconnect_ind()
369 … (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, BNEP_CONN_DISCONNECTED, FALSE); in bnep_disconnect_ind()
373 if ((bnep_cb.p_conn_state_cb) && ((p_bcb->con_flags & BNEP_FLAGS_IS_ORIG) || in bnep_disconnect_ind()
375 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, BNEP_CONN_FAILED, FALSE); in bnep_disconnect_ind()
709 if ((p_bcb->con_flags & BNEP_FLAGS_IS_ORIG) && (bnep_cb.p_conn_state_cb)) in bnep_process_timeout()
710 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, BNEP_CONN_FAILED, FALSE); in bnep_process_timeout()
[all …]
Dbnep_api.c71 if ((!p_reg_info) || (!(p_reg_info->p_conn_state_cb))) in BNEP_Register()
75 bnep_cb.p_conn_state_cb = p_reg_info->p_conn_state_cb; in BNEP_Register()
107 bnep_cb.p_conn_state_cb = NULL; in BNEP_Deregister()
204 if (bnep_cb.p_conn_state_cb) in BNEP_Connect()
205 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, BNEP_CONN_FAILED, FALSE); in BNEP_Connect()
Dbnep_utils.c748 if (bnep_cb.p_conn_state_cb) in bnep_process_setup_conn_responce()
749 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, resp, TRUE); in bnep_process_setup_conn_responce()
760 if ((p_bcb->con_flags & BNEP_FLAGS_IS_ORIG) && (bnep_cb.p_conn_state_cb)) in bnep_process_setup_conn_responce()
761 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, resp, FALSE); in bnep_process_setup_conn_responce()
1222 if (bnep_cb.p_conn_state_cb) in bnep_sec_check_complete()
1223 … (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, BNEP_SECURITY_FAIL, is_role_change); in bnep_sec_check_complete()
1234 if (bnep_cb.p_conn_state_cb) in bnep_sec_check_complete()
1235 … (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, BNEP_SECURITY_FAIL, is_role_change); in bnep_sec_check_complete()
Dbnep_int.h174 tBNEP_CONN_STATE_CB *p_conn_state_cb; member
/system/bt/stack/include/
Dbnep_api.h190 tBNEP_CONN_STATE_CB *p_conn_state_cb; /* To indicate conn state change */ member
/system/bt/stack/pan/
Dpan_main.c65 reg_info.p_conn_state_cb = pan_connect_state_cb; in pan_register_with_bnep()