Home
last modified time | relevance | path

Searched refs:con_state (Results 1 – 12 of 12) sorted by relevance

/external/bluetooth/bluedroid/stack/bnep/
Dbnep_utils.c61 if ((p_bcb->con_state != BNEP_STATE_IDLE) && (p_bcb->l2cap_cid == cid)) in bnepu_find_bcb_by_cid()
88 if (p_bcb->con_state != BNEP_STATE_IDLE) in bnepu_find_bcb_by_bd_addr()
117 if (p_bcb->con_state == BNEP_STATE_IDLE) in bnepu_allocate_bcb()
150 p_bcb->con_state = BNEP_STATE_IDLE; in bnepu_release_bcb()
588 if (p_bcb->con_state != BNEP_STATE_CONN_SETUP && in bnep_process_setup_conn_req()
589 p_bcb->con_state != BNEP_STATE_SEC_CHECKING && in bnep_process_setup_conn_req()
590 p_bcb->con_state != BNEP_STATE_CONNECTED) in bnep_process_setup_conn_req()
592 BNEP_TRACE_ERROR1 ("BNEP - setup request in bad state %d", p_bcb->con_state); in bnep_process_setup_conn_req()
605 if (p_bcb->con_state != BNEP_STATE_CONNECTED && in bnep_process_setup_conn_req()
609 BNEP_TRACE_ERROR1 ("BNEP - setup request when we are originator", p_bcb->con_state); in bnep_process_setup_conn_req()
[all …]
Dbnep_main.c134 p_bcb->con_state = BNEP_STATE_CFG_SETUP; in bnep_connect_ind()
177 if ((result == L2CAP_CONN_OK) && (bcb->con_state == BNEP_STATE_CONN_START)) in bnep_connect_cfm()
179 bcb->con_state = BNEP_STATE_CFG_SETUP; in bnep_connect_cfm()
262 p_bcb->con_state = BNEP_STATE_SEC_CHECKING; in bnep_config_ind()
308 p_bcb->con_state = BNEP_STATE_SEC_CHECKING; in bnep_config_cfm()
364 if (p_bcb->con_state == BNEP_STATE_CONNECTED) in bnep_disconnect_ind()
495 if ((p_bcb->con_state != BNEP_STATE_CONNECTED) && in bnep_data_ind()
500 p_bcb->con_state, l2cap_cid); in bnep_data_ind()
564 p_bcb->con_state != BNEP_STATE_CONNECTED && in bnep_data_ind()
691 p_bcb->con_state, p_bcb->l2cap_cid, p_bcb->con_flags, p_bcb->re_transmits); in bnep_process_timeout()
[all …]
Dbnep_api.c164 else if (p_bcb->con_state != BNEP_STATE_CONNECTED) in BNEP_Connect()
179 if (p_bcb->con_state == BNEP_STATE_CONNECTED) in BNEP_Connect()
182 p_bcb->con_state = BNEP_STATE_SEC_CHECKING; in BNEP_Connect()
200 p_bcb->con_state = BNEP_STATE_CONN_START; in BNEP_Connect()
250 if (p_bcb->con_state != BNEP_STATE_CONN_SETUP || in BNEP_ConnectResp()
271 p_bcb->con_state = BNEP_STATE_CONNECTED; in BNEP_ConnectResp()
327 if (p_bcb->con_state == BNEP_STATE_IDLE) in BNEP_Disconnect()
599 if ((p_bcb->con_state != BNEP_STATE_CONNECTED) && in BNEP_SetProtocolFilters()
662 if ((p_bcb->con_state != BNEP_STATE_CONNECTED) && in BNEP_SetMulticastFilters()
757 if ((p_bcb->con_state != BNEP_STATE_CONNECTED) && in BNEP_GetStatus()
Dbnep_int.h120 UINT8 con_state; member
/external/bluetooth/bluedroid/stack/pan/
Dpan_utils.c189 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_allocate_pcb()
196 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_allocate_pcb()
203 if (pan_cb.pcb[i].con_state == PAN_STATE_IDLE) in pan_allocate_pcb()
230 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_get_pcb_by_handle()
254 if (pan_cb.pcb[i].con_state == PAN_STATE_IDLE) in pan_get_pcb_by_addr()
288 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE) in pan_close_all_connections()
291 pan_cb.pcb[i].con_state = PAN_STATE_IDLE; in pan_close_all_connections()
314 p_pcb->con_state = PAN_STATE_IDLE; in pan_release_pcb()
341 i, p_pcb->con_state, p_pcb->handle, p_pcb->src_uuid, p_pcb->dst_uuid, in pan_dump_status()
Dpan_main.c251 if (pcb->con_state == PAN_STATE_CONNECTED) in pan_conn_ind_cb()
305 pcb->con_state = PAN_STATE_CONN_START; in pan_conn_ind_cb()
353 if (pcb->con_state != PAN_STATE_CONNECTED && in pan_connect_state_cb()
358 pcb->con_state = PAN_STATE_CONNECTED; in pan_connect_state_cb()
371 if (pcb->con_state == PAN_STATE_CONNECTED) in pan_connect_state_cb()
398 pcb->con_state = PAN_STATE_CONNECTED; in pan_connect_state_cb()
464 if (pcb->con_state != PAN_STATE_CONNECTED) in pan_data_ind_cb()
467 pcb->con_state, handle); in pan_data_ind_cb()
478 if (pan_cb.pcb[i].con_state == PAN_STATE_CONNECTED && in pan_data_ind_cb()
495 if (pan_cb.pcb[i].con_state == PAN_STATE_CONNECTED && in pan_data_ind_cb()
[all …]
Dpan_api.c402 if (pcb->con_state == PAN_STATE_IDLE) in PAN_Connect()
406 else if (pcb->con_state == PAN_STATE_CONNECTED) in PAN_Connect()
414 pcb->con_state = PAN_STATE_CONN_START; in PAN_Connect()
468 if (pcb->con_state == PAN_STATE_CONNECTED) in PAN_Disconnect()
528 if (pan_cb.pcb[i].con_state == PAN_STATE_CONNECTED) in PAN_Write()
540 if (pan_cb.pcb[i].con_state == PAN_STATE_CONNECTED && in PAN_Write()
574 if (pcb->con_state != PAN_STATE_CONNECTED) in PAN_Write()
652 if (pan_cb.pcb[i].con_state == PAN_STATE_CONNECTED && in PAN_WriteBuf()
689 if (pcb->con_state != PAN_STATE_CONNECTED) in PAN_WriteBuf()
Dpan_int.h49 UINT8 con_state; member
/external/bluetooth/bluedroid/stack/sdp/
Dsdp_main.c181 p_ccb->con_state = SDP_STATE_CFG_SETUP; in sdp_connect_ind()
242 if ((result == L2CAP_CONN_OK) && (p_ccb->con_state == SDP_STATE_CONN_SETUP)) in sdp_connect_cfm()
244 p_ccb->con_state = SDP_STATE_CFG_SETUP; in sdp_connect_cfm()
378 p_ccb->con_state = SDP_STATE_CONNECTED; in sdp_config_ind()
420 p_ccb->con_state = SDP_STATE_CONNECTED; in sdp_config_cfm()
476 (*p_ccb->p_cb) ((UINT16) ((p_ccb->con_state == SDP_STATE_CONNECTED) ? in sdp_disconnect_ind()
479 (*p_ccb->p_cb2) ((UINT16) ((p_ccb->con_state == SDP_STATE_CONNECTED) ? in sdp_disconnect_ind()
508 if (p_ccb->con_state == SDP_STATE_CONNECTED) in sdp_data_ind()
518 p_ccb->con_state, l2cap_cid); in sdp_data_ind()
562 p_ccb->con_state = SDP_STATE_CONN_SETUP; in sdp_conn_originate()
[all …]
Dsdp_utils.c64 if ((p_ccb->con_state != SDP_STATE_IDLE) && (p_ccb->connection_id == cid)) in sdpu_find_ccb_by_cid()
94 if ((p_ccb->con_state != SDP_STATE_IDLE) && (p_ccb->p_db == p_db)) in sdpu_find_ccb_by_db()
121 if (p_ccb->con_state == SDP_STATE_IDLE) in sdpu_allocate_ccb()
151 p_ccb->con_state = SDP_STATE_IDLE; in sdpu_release_ccb()
Dsdpint.h175 UINT8 con_state; member
Dsdp_api.c1437 if ( (p_ccb->con_state == SDP_STATE_CONNECTED) && in SDP_WriteData()