Searched refs:ch_state (Results 1 – 13 of 13) sorted by relevance
/system/bt/stack/avct/ |
D | avct_l2c.cc | 109 if (!avct_l2c_is_passive(p_lcb) || (p_lcb->ch_state == AVCT_CH_OPEN)) { in avct_l2c_connect_ind_cback() 123 lcid, result, p_lcb->ch_state); in avct_l2c_connect_ind_cback() 137 p_lcb->ch_state = AVCT_CH_CFG; in avct_l2c_connect_ind_cback() 140 if (p_lcb) AVCT_TRACE_DEBUG("ch_state cni: %d ", p_lcb->ch_state); in avct_l2c_connect_ind_cback() 146 if (p_lcb->ch_state == AVCT_CH_CONN) { in avct_on_l2cap_error() 156 } else if (p_lcb->ch_state == AVCT_CH_CFG) { in avct_on_l2cap_error() 158 p_lcb->ch_state); in avct_on_l2cap_error() 186 lcid, result, p_lcb->ch_state, p_lcb->conflict_lcid); in avct_l2c_connect_cfm_cback() 188 if (p_lcb->ch_state == AVCT_CH_CONN) { in avct_l2c_connect_cfm_cback() 192 p_lcb->ch_state = AVCT_CH_CFG; in avct_l2c_connect_cfm_cback() [all …]
|
D | avct_l2c_br.cc | 104 p_bcb->ch_state = AVCT_CH_CFG; in avct_l2c_br_connect_ind_cback() 134 if ((p_lcb == NULL) || (p_lcb->ch_state != AVCT_CH_CONN)) return; in avct_l2c_br_connect_cfm_cback() 143 p_lcb->ch_state = AVCT_CH_CFG; in avct_l2c_br_connect_cfm_cback() 164 if ((p_lcb == NULL) || (p_lcb->ch_state != AVCT_CH_CFG)) return; in avct_l2c_br_config_cfm_cback() 166 p_lcb->ch_state = AVCT_CH_OPEN; in avct_l2c_br_config_cfm_cback()
|
D | avct_int.h | 68 uint8_t ch_state; /* L2CAP channel state */ member 78 uint8_t ch_state; /* L2CAP channel state */ member 93 uint8_t ch_state; /* L2CAP channel state */ member
|
D | avct_api.cc | 156 AVCT_TRACE_DEBUG("ch_state: %d", p_lcb->ch_state); in AVCT_CreateConn() 260 AVCT_TRACE_DEBUG("ch_state: %d", p_bcb->ch_state); in AVCT_CreateBrowse()
|
D | avct_bcb_act.cc | 114 p_bcb->ch_state = AVCT_CH_CONN; in avct_bcb_chnl_open() 423 AVCT_TRACE_DEBUG("ch_state: %d, allocated:%d->%d", p_bcb->ch_state, in avct_bcb_discard_msg()
|
D | avct_lcb_act.cc | 179 p_lcb->ch_state = AVCT_CH_CONN; in avct_lcb_chnl_open()
|
/system/bt/stack/gatt/ |
D | gatt_main.cc | 249 tGATT_CH_STATE ch_state = gatt_get_ch_state(p_tcb); in gatt_disconnect() local 250 if (ch_state == GATT_CH_CLOSING) { in gatt_disconnect() 256 if (ch_state == GATT_CH_OPEN) { in gatt_disconnect() 266 if ((ch_state == GATT_CH_OPEN) || (ch_state == GATT_CH_CFG)) { in gatt_disconnect() 959 void gatt_set_ch_state(tGATT_TCB* p_tcb, tGATT_CH_STATE ch_state) { in gatt_set_ch_state() argument 962 VLOG(1) << __func__ << ": old=" << +p_tcb->ch_state in gatt_set_ch_state() 963 << " new=" << loghex(static_cast<uint8_t>(ch_state)); in gatt_set_ch_state() 964 p_tcb->ch_state = ch_state; in gatt_set_ch_state() 971 VLOG(1) << "gatt_get_ch_state: ch_state=" << +p_tcb->ch_state; in gatt_get_ch_state() 972 return p_tcb->ch_state; in gatt_get_ch_state()
|
D | gatt_int.h | 299 tGATT_CH_STATE ch_state; member 453 extern void gatt_set_ch_state(tGATT_TCB* p_tcb, tGATT_CH_STATE ch_state);
|
D | gatt_utils.cc | 260 if (gatt_cb.tcb[i].in_use && gatt_cb.tcb[i].ch_state == GATT_CH_OPEN) { in gatt_find_the_connected_bda()
|
/system/bt/test/mock/ |
D | mock_stack_gatt_main.cc | 105 void gatt_set_ch_state(tGATT_TCB* p_tcb, tGATT_CH_STATE ch_state) { in gatt_set_ch_state() argument
|
/system/bt/stack/test/gatt/ |
D | mock_gatt_utils_ref.cc | 69 void gatt_set_ch_state(tGATT_TCB* p_tcb, tGATT_CH_STATE ch_state) {} in gatt_set_ch_state() argument
|
D | gatt_sr_test.cc | 102 void gatt_set_ch_state(tGATT_TCB* p_tcb, tGATT_CH_STATE ch_state) {} in gatt_set_ch_state() argument
|
/system/bt/stack/test/common/ |
D | mock_gatt_main.cc | 105 void gatt_set_ch_state(tGATT_TCB* p_tcb, tGATT_CH_STATE ch_state) { in gatt_set_ch_state() argument
|