Searched refs:con_state (Results 1 – 14 of 14) sorted by relevance
/external/bluetooth/bluedroid/stack/bnep/ |
D | bnep_utils.c | 61 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 …]
|
D | bnep_main.c | 134 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 …]
|
D | bnep_api.c | 164 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()
|
D | bnep_int.h | 120 UINT8 con_state; member
|
/external/bluetooth/bluedroid/stack/pan/ |
D | pan_utils.c | 189 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()
|
D | pan_main.c | 251 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 …]
|
D | pan_api.c | 402 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()
|
D | pan_int.h | 49 UINT8 con_state; member
|
/external/bluetooth/bluedroid/stack/gap/ |
D | gap_conn.c | 210 p_ccb->con_state = GAP_CCB_STATE_LISTENING; in GAP_ConnOpen() 219 p_ccb->con_state = GAP_CCB_STATE_CONN_SETUP; in GAP_ConnOpen() 261 if (p_ccb->con_state != GAP_CCB_STATE_LISTENING) in GAP_ConnClose() 366 if (p_ccb->con_state == GAP_CCB_STATE_CONNECTED) in GAP_GetRxQueueCnt() 446 if (p_ccb->con_state != GAP_CCB_STATE_CONNECTED) in GAP_ConnBTWrite() 514 if (p_ccb->con_state != GAP_CCB_STATE_CONNECTED) in GAP_ConnWriteData() 593 if (p_ccb->con_state == GAP_CCB_STATE_CONNECTED) in GAP_ConnReconfig() 656 if ((p_ccb) && (p_ccb->con_state > GAP_CCB_STATE_LISTENING)) in GAP_ConnGetRemoteAddr() 735 if ((p_ccb->con_state == GAP_CCB_STATE_LISTENING) in gap_connect_ind() 754 p_ccb->con_state = GAP_CCB_STATE_CFG_SETUP; in gap_connect_ind() [all …]
|
D | gap_int.h | 80 UINT8 con_state; member
|
/external/bluetooth/bluedroid/stack/sdp/ |
D | sdp_main.c | 181 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 …]
|
D | sdp_utils.c | 64 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()
|
D | sdpint.h | 175 UINT8 con_state; member
|
D | sdp_api.c | 1441 if ( (p_ccb->con_state == SDP_STATE_CONNECTED) && in SDP_WriteData()
|