Home
last modified time | relevance | path

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

/external/bluetooth/bluedroid/stack/avct/
Davct_l2c.c122 if (!avct_l2c_is_passive (p_lcb) || (p_lcb->ch_state == AVCT_CH_OPEN)) in avct_l2c_connect_ind_cback()
138 lcid, result, p_lcb->ch_state); in avct_l2c_connect_ind_cback()
150 p_lcb->ch_state = AVCT_CH_CFG; in avct_l2c_connect_ind_cback()
162 AVCT_TRACE_DEBUG1("ch_state cni: %d ", p_lcb->ch_state); in avct_l2c_connect_ind_cback()
185 lcid, result, p_lcb->ch_state, p_lcb->conflict_lcid); in avct_l2c_connect_cfm_cback()
187 if (p_lcb->ch_state == AVCT_CH_CONN) in avct_l2c_connect_cfm_cback()
193 p_lcb->ch_state = AVCT_CH_CFG; in avct_l2c_connect_cfm_cback()
215 …2("avct_l2c_connect_cfm_cback ch_state: %d, conflict_lcid:0x%x", p_lcb->ch_state, p_lcb->conflict_… in avct_l2c_connect_cfm_cback()
223 AVCT_TRACE_DEBUG1("ch_state cnc: %d ", p_lcb->ch_state); in avct_l2c_connect_cfm_cback()
245 lcid, p_lcb->ch_state, p_cfg->result); in avct_l2c_config_cfm_cback()
[all …]
Davct_int.h68 UINT8 ch_state; /* L2CAP channel state */ member
79 UINT8 ch_state; /* L2CAP channel state */ member
95 UINT8 ch_state; /* L2CAP channel state */ member
Davct_api.c172 AVCT_TRACE_DEBUG1("ch_state: %d", p_lcb->ch_state); in AVCT_CreateConn()
285 AVCT_TRACE_DEBUG1("ch_state: %d", p_bcb->ch_state); in AVCT_CreateBrowse()
Davct_lcb_act.c176 p_lcb->ch_state = AVCT_CH_CONN; in avct_lcb_chnl_open()
/external/bluetooth/bluedroid/stack/gatt/
Dgatt_main.c180 tGATT_CH_STATE ch_state; in gatt_disconnect() local
186 if ( (ch_state = gatt_get_ch_state(p_tcb)) != GATT_CH_CLOSING ) in gatt_disconnect()
190 if (ch_state == GATT_CH_OPEN) in gatt_disconnect()
1086 void gatt_set_ch_state(tGATT_TCB *p_tcb, tGATT_CH_STATE ch_state) in gatt_set_ch_state() argument
1090 GATT_TRACE_DEBUG2 ("gatt_set_ch_state: old=%d new=%d", p_tcb->ch_state, ch_state); in gatt_set_ch_state()
1091 p_tcb->ch_state = ch_state; in gatt_set_ch_state()
1106 tGATT_CH_STATE ch_state = GATT_CH_CLOSE; in gatt_get_ch_state() local
1109 GATT_TRACE_DEBUG1 ("gatt_get_ch_state: ch_state=%d", p_tcb->ch_state); in gatt_get_ch_state()
1110 ch_state = p_tcb->ch_state; in gatt_get_ch_state()
1112 return ch_state; in gatt_get_ch_state()
Dgatt_int.h343 tGATT_CH_STATE ch_state; member
519 extern void gatt_set_ch_state(tGATT_TCB *p_tcb, tGATT_CH_STATE ch_state);