Home
last modified time | relevance | path

Searched refs:pan_cb (Results 1 – 5 of 5) sorted by relevance

/system/bt/stack/pan/
Dpan_api.cc64 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()
91 pan_cb.pan_bridge_req_cb = NULL; in PAN_Deregister()
92 pan_cb.pan_data_buf_ind_cb = NULL; in PAN_Deregister()
93 pan_cb.pan_data_ind_cb = NULL; in PAN_Deregister()
[all …]
Dpan_main.cc41 tPAN_CB pan_cb; variable
117 __func__, handle, pan_cb.role, local_uuid16, remote_uuid16, in pan_conn_ind_cb()
138 if (((!(pan_cb.role & UUID_SERVCLASS_PANU)) && in pan_conn_ind_cb()
140 ((!(pan_cb.role & UUID_SERVCLASS_GN)) && in pan_conn_ind_cb()
142 ((!(pan_cb.role & UUID_SERVCLASS_NAP)) && in pan_conn_ind_cb()
197 if (pan_cb.num_conns > 1 && local_uuid16 == UUID_SERVCLASS_PANU) { in pan_conn_ind_cb()
219 if (pan_cb.pan_bridge_req_cb) in pan_conn_ind_cb()
220 (*pan_cb.pan_bridge_req_cb)(pcb->rem_bda, false); in pan_conn_ind_cb()
224 pan_cb.active_role = req_role; in pan_conn_ind_cb()
234 if (pan_cb.num_conns && (local_uuid16 == UUID_SERVCLASS_PANU || in pan_conn_ind_cb()
[all …]
Dpan_utils.cc182 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_allocate_pcb()
183 pan_cb.pcb[i].handle == handle) in pan_allocate_pcb()
188 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_allocate_pcb()
189 pan_cb.pcb[i].rem_bda == p_bda) in pan_allocate_pcb()
194 if (pan_cb.pcb[i].con_state == PAN_STATE_IDLE) { in pan_allocate_pcb()
195 memset(&(pan_cb.pcb[i]), 0, sizeof(tPAN_CONN)); in pan_allocate_pcb()
196 pan_cb.pcb[i].rem_bda = p_bda; in pan_allocate_pcb()
197 pan_cb.pcb[i].handle = handle; in pan_allocate_pcb()
198 return &(pan_cb.pcb[i]); in pan_allocate_pcb()
217 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_get_pcb_by_handle()
[all …]
Dpan_int.h96 extern tPAN_CB pan_cb;
/system/bt/internal_include/
Dbt_trace.h423 if (pan_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \
428 if (pan_cb.trace_level >= BT_TRACE_LEVEL_WARNING) \
433 if (pan_cb.trace_level >= BT_TRACE_LEVEL_API) \
438 if (pan_cb.trace_level >= BT_TRACE_LEVEL_EVENT) \
443 if (pan_cb.trace_level >= BT_TRACE_LEVEL_DEBUG) \