Searched refs:pan_cb (Results 1 – 5 of 5) sorted by relevance
/system/bt/stack/pan/ |
D | pan_api.c | 64 pan_cb.pan_conn_state_cb = p_register->pan_conn_state_cb; in PAN_Register() 65 pan_cb.pan_bridge_req_cb = p_register->pan_bridge_req_cb; in PAN_Register() 66 pan_cb.pan_data_buf_ind_cb = p_register->pan_data_buf_ind_cb; in PAN_Register() 67 pan_cb.pan_data_ind_cb = p_register->pan_data_ind_cb; in PAN_Register() 68 pan_cb.pan_pfilt_ind_cb = p_register->pan_pfilt_ind_cb; in PAN_Register() 69 pan_cb.pan_mfilt_ind_cb = p_register->pan_mfilt_ind_cb; in PAN_Register() 70 pan_cb.pan_tx_data_flow_cb = p_register->pan_tx_data_flow_cb; in PAN_Register() 94 pan_cb.pan_bridge_req_cb = NULL; in PAN_Deregister() 95 pan_cb.pan_data_buf_ind_cb = NULL; in PAN_Deregister() 96 pan_cb.pan_data_ind_cb = NULL; in PAN_Deregister() [all …]
|
D | pan_main.c | 40 tPAN_CB pan_cb; variable 183 … handle, pan_cb.role, local_uuid->uu.uuid16, remote_uuid->uu.uuid16, is_role_change?"YES":"NO"); in pan_conn_ind_cb() 213 if (((!(pan_cb.role & UUID_SERVCLASS_PANU)) in pan_conn_ind_cb() 215 ((!(pan_cb.role & UUID_SERVCLASS_GN)) in pan_conn_ind_cb() 217 ((!(pan_cb.role & UUID_SERVCLASS_NAP)) in pan_conn_ind_cb() 239 if (pan_cb.num_conns > 1 && local_uuid->uu.uuid16 == UUID_SERVCLASS_PANU) in pan_conn_ind_cb() 262 if (pan_cb.pan_bridge_req_cb) in pan_conn_ind_cb() 263 (*pan_cb.pan_bridge_req_cb) (pcb->rem_bda, FALSE); in pan_conn_ind_cb() 267 pan_cb.active_role = req_role; in pan_conn_ind_cb() 279 if (pan_cb.num_conns && in pan_conn_ind_cb() [all …]
|
D | pan_utils.c | 186 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_allocate_pcb() 187 pan_cb.pcb[i].handle == handle) in pan_allocate_pcb() 193 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_allocate_pcb() 194 memcmp (pan_cb.pcb[i].rem_bda, p_bda, BD_ADDR_LEN) == 0) in pan_allocate_pcb() 200 if (pan_cb.pcb[i].con_state == PAN_STATE_IDLE) in pan_allocate_pcb() 202 memset (&(pan_cb.pcb[i]), 0, sizeof (tPAN_CONN)); in pan_allocate_pcb() 203 memcpy (pan_cb.pcb[i].rem_bda, p_bda, BD_ADDR_LEN); in pan_allocate_pcb() 204 pan_cb.pcb[i].handle = handle; in pan_allocate_pcb() 205 return &(pan_cb.pcb[i]); in pan_allocate_pcb() 227 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_get_pcb_by_handle() [all …]
|
D | pan_int.h | 103 extern tPAN_CB pan_cb; 106 #define pan_cb (*pan_cb_ptr)
|
/system/bt/include/ |
D | bt_trace.h | 288 #define PAN_TRACE_ERROR(...) {if (pan_cb.trace_level >= BT_TRACE_LEVEL_ERROR) B… 289 #define PAN_TRACE_WARNING(...) {if (pan_cb.trace_level >= BT_TRACE_LEVEL_WARNING)… 290 #define PAN_TRACE_API(...) {if (pan_cb.trace_level >= BT_TRACE_LEVEL_API) BT_… 291 #define PAN_TRACE_EVENT(...) {if (pan_cb.trace_level >= BT_TRACE_LEVEL_EVENT) B… 292 #define PAN_TRACE_DEBUG(...) {if (pan_cb.trace_level >= BT_TRACE_LEVEL_DEBUG) B…
|