Searched refs:ch_state (Results 1 – 9 of 9) sorted by relevance
/system/bt/stack/avct/ |
D | avct_l2c.cc | 120 if (!avct_l2c_is_passive(p_lcb) || (p_lcb->ch_state == AVCT_CH_OPEN)) { in avct_l2c_connect_ind_cback() 134 lcid, result, p_lcb->ch_state); in avct_l2c_connect_ind_cback() 145 p_lcb->ch_state = AVCT_CH_CFG; in avct_l2c_connect_ind_cback() 155 if (p_lcb) AVCT_TRACE_DEBUG("ch_state cni: %d ", p_lcb->ch_state); in avct_l2c_connect_ind_cback() 178 lcid, result, p_lcb->ch_state, p_lcb->conflict_lcid); in avct_l2c_connect_cfm_cback() 180 if (p_lcb->ch_state == AVCT_CH_CONN) { in avct_l2c_connect_cfm_cback() 184 p_lcb->ch_state = AVCT_CH_CFG; in avct_l2c_connect_cfm_cback() 209 p_lcb->ch_state, p_lcb->conflict_lcid); in avct_l2c_connect_cfm_cback() 217 AVCT_TRACE_DEBUG("ch_state cnc: %d ", p_lcb->ch_state); in avct_l2c_connect_cfm_cback() 238 lcid, p_lcb->ch_state, p_cfg->result); in avct_l2c_config_cfm_cback() [all …]
|
D | avct_l2c_br.cc | 168 p_bcb->ch_state = AVCT_CH_CFG; in avct_l2c_br_connect_ind_cback() 191 if ((p_lcb == NULL) || (p_lcb->ch_state != AVCT_CH_CONN)) return; in avct_l2c_br_connect_cfm_cback() 203 p_lcb->ch_state = AVCT_CH_CFG; in avct_l2c_br_connect_cfm_cback() 232 if ((p_lcb == NULL) || (p_lcb->ch_state != AVCT_CH_CFG)) return; in avct_l2c_br_config_cfm_cback() 241 p_lcb->ch_state = AVCT_CH_OPEN; in avct_l2c_br_config_cfm_cback() 318 p_lcb->ch_state = AVCT_CH_OPEN; in avct_l2c_br_config_ind_cback()
|
D | avct_int.h | 68 uint8_t ch_state; /* L2CAP channel state */ member 79 uint8_t ch_state; /* L2CAP channel state */ member 95 uint8_t ch_state; /* L2CAP channel state */ member
|
D | avct_api.cc | 169 AVCT_TRACE_DEBUG("ch_state: %d", p_lcb->ch_state); in AVCT_CreateConn() 273 AVCT_TRACE_DEBUG("ch_state: %d", p_bcb->ch_state); in AVCT_CreateBrowse()
|
D | avct_bcb_act.cc | 117 p_bcb->ch_state = AVCT_CH_CONN; in avct_bcb_chnl_open() 426 AVCT_TRACE_DEBUG("ch_state: %d, allocated:%d->%d", p_bcb->ch_state, in avct_bcb_discard_msg()
|
D | avct_lcb_act.cc | 172 p_lcb->ch_state = AVCT_CH_CONN; in avct_lcb_chnl_open()
|
/system/bt/stack/gatt/ |
D | gatt_main.cc | 225 tGATT_CH_STATE ch_state; in gatt_disconnect() local 231 ch_state = gatt_get_ch_state(p_tcb); in gatt_disconnect() 232 if (ch_state != GATT_CH_CLOSING) { in gatt_disconnect() 234 if (ch_state == GATT_CH_OPEN) { in gatt_disconnect() 243 if ((ch_state == GATT_CH_OPEN) || (ch_state == GATT_CH_CFG)) in gatt_disconnect() 1151 void gatt_set_ch_state(tGATT_TCB* p_tcb, tGATT_CH_STATE ch_state) { in gatt_set_ch_state() argument 1153 VLOG(1) << __func__ << ": old=" << +p_tcb->ch_state << " new=" << ch_state; in gatt_set_ch_state() 1154 p_tcb->ch_state = ch_state; in gatt_set_ch_state() 1168 tGATT_CH_STATE ch_state = GATT_CH_CLOSE; in gatt_get_ch_state() local 1170 VLOG(1) << "gatt_get_ch_state: ch_state=" << +p_tcb->ch_state; in gatt_get_ch_state() [all …]
|
D | gatt_int.h | 276 tGATT_CH_STATE ch_state; member 414 extern void gatt_set_ch_state(tGATT_TCB* p_tcb, tGATT_CH_STATE ch_state);
|
D | gatt_utils.cc | 270 if (gatt_cb.tcb[i].in_use && gatt_cb.tcb[i].ch_state == GATT_CH_OPEN) { in gatt_find_the_connected_bda()
|