Home
last modified time | relevance | path

Searched refs:ch_state (Results 1 – 9 of 9) sorted by relevance

/system/bt/stack/avct/
Davct_l2c.cc119 if (!avct_l2c_is_passive(p_lcb) || (p_lcb->ch_state == AVCT_CH_OPEN)) { in avct_l2c_connect_ind_cback()
133 lcid, result, p_lcb->ch_state); in avct_l2c_connect_ind_cback()
144 p_lcb->ch_state = AVCT_CH_CFG; in avct_l2c_connect_ind_cback()
154 if (p_lcb) AVCT_TRACE_DEBUG("ch_state cni: %d ", p_lcb->ch_state); in avct_l2c_connect_ind_cback()
177 lcid, result, p_lcb->ch_state, p_lcb->conflict_lcid); in avct_l2c_connect_cfm_cback()
179 if (p_lcb->ch_state == AVCT_CH_CONN) { in avct_l2c_connect_cfm_cback()
183 p_lcb->ch_state = AVCT_CH_CFG; in avct_l2c_connect_cfm_cback()
208 p_lcb->ch_state, p_lcb->conflict_lcid); in avct_l2c_connect_cfm_cback()
216 AVCT_TRACE_DEBUG("ch_state cnc: %d ", p_lcb->ch_state); in avct_l2c_connect_cfm_cback()
237 lcid, p_lcb->ch_state, p_cfg->result); in avct_l2c_config_cfm_cback()
[all …]
Davct_l2c_br.cc168 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()
Davct_int.h68 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
Davct_api.cc171 AVCT_TRACE_DEBUG("ch_state: %d", p_lcb->ch_state); in AVCT_CreateConn()
275 AVCT_TRACE_DEBUG("ch_state: %d", p_bcb->ch_state); in AVCT_CreateBrowse()
Davct_bcb_act.cc117 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()
Davct_lcb_act.cc178 p_lcb->ch_state = AVCT_CH_CONN; in avct_lcb_chnl_open()
/system/bt/stack/gatt/
Dgatt_main.cc235 tGATT_CH_STATE ch_state = gatt_get_ch_state(p_tcb); in gatt_disconnect() local
236 if (ch_state == GATT_CH_CLOSING) { in gatt_disconnect()
243 if (ch_state == GATT_CH_OPEN) { in gatt_disconnect()
253 if ((ch_state == GATT_CH_OPEN) || (ch_state == GATT_CH_CFG)) in gatt_disconnect()
1007 void gatt_set_ch_state(tGATT_TCB* p_tcb, tGATT_CH_STATE ch_state) { in gatt_set_ch_state() argument
1010 VLOG(1) << __func__ << ": old=" << +p_tcb->ch_state in gatt_set_ch_state()
1011 << " new=" << loghex(ch_state); in gatt_set_ch_state()
1012 p_tcb->ch_state = ch_state; in gatt_set_ch_state()
1019 VLOG(1) << "gatt_get_ch_state: ch_state=" << +p_tcb->ch_state; in gatt_get_ch_state()
1020 return p_tcb->ch_state; in gatt_get_ch_state()
Dgatt_int.h276 tGATT_CH_STATE ch_state; member
408 extern void gatt_set_ch_state(tGATT_TCB* p_tcb, tGATT_CH_STATE ch_state);
Dgatt_utils.cc257 if (gatt_cb.tcb[i].in_use && gatt_cb.tcb[i].ch_state == GATT_CH_OPEN) { in gatt_find_the_connected_bda()