Searched refs:ch_state (Results 1 – 11 of 11) sorted by relevance
/packages/modules/Bluetooth/system/stack/avct/ |
D | avct_l2c.cc | 125 if (!avct_l2c_is_passive(p_lcb) || (p_lcb->ch_state == AVCT_CH_OPEN)) { in avct_l2c_connect_ind_cback() 139 lcid, result, p_lcb->ch_state); in avct_l2c_connect_ind_cback() 169 p_lcb->ch_state = AVCT_CH_CFG; in avct_l2c_connect_ind_cback() 172 if (p_lcb) log::verbose("ch_state cni: {}", p_lcb->ch_state); in avct_l2c_connect_ind_cback() 178 if (p_lcb->ch_state == AVCT_CH_CONN) { in avct_on_l2cap_error() 188 } else if (p_lcb->ch_state == AVCT_CH_CFG) { in avct_on_l2cap_error() 190 p_lcb->ch_state); in avct_on_l2cap_error() 221 lcid, result, p_lcb->ch_state, p_lcb->conflict_lcid); in avct_l2c_connect_cfm_cback() 223 if (p_lcb->ch_state == AVCT_CH_CONN) { in avct_l2c_connect_cfm_cback() 227 p_lcb->ch_state = AVCT_CH_CFG; in avct_l2c_connect_cfm_cback() [all …]
|
D | avct_l2c_br.cc | 132 if (!avct_l2c_br_is_passive(p_bcb) || (p_bcb->ch_state == AVCT_CH_OPEN)) { in avct_l2c_br_connect_ind_cback() 162 p_bcb->ch_state = AVCT_CH_CFG; in avct_l2c_br_connect_ind_cback() 170 if (p_bcb->ch_state == AVCT_CH_CONN && p_bcb->conflict_lcid == lcid) { in avct_br_on_l2cap_error() 202 if (p_bcb->ch_state == AVCT_CH_CONN) { in avct_l2c_br_connect_cfm_cback() 206 p_bcb->ch_state = AVCT_CH_CFG; in avct_l2c_br_connect_cfm_cback() 245 if ((p_lcb == NULL) || (p_lcb->ch_state != AVCT_CH_CFG)) return; in avct_l2c_br_config_cfm_cback() 247 p_lcb->ch_state = AVCT_CH_OPEN; in avct_l2c_br_config_cfm_cback()
|
D | avct_int.h | 69 uint8_t ch_state; /* L2CAP channel state */ member 79 uint8_t ch_state; /* L2CAP channel state */ member 94 uint8_t ch_state; /* L2CAP channel state */ member
|
D | avct_api.cc | 160 log::verbose("ch_state: {}", p_lcb->ch_state); in AVCT_CreateConn() 264 log::verbose("ch_state: {}", 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() 427 log::verbose("ch_state: {}, allocated:{}->{}", p_bcb->ch_state, in avct_bcb_discard_msg()
|
D | avct_lcb_act.cc | 186 p_lcb->ch_state = AVCT_CH_CONN; in avct_lcb_chnl_open()
|
/packages/modules/Bluetooth/system/stack/gatt/ |
D | gatt_main.cc | 266 tGATT_CH_STATE ch_state = gatt_get_ch_state(p_tcb); in gatt_disconnect() local 267 if (ch_state == GATT_CH_CLOSING) { in gatt_disconnect() 274 if (ch_state == GATT_CH_OPEN) { in gatt_disconnect() 303 if ((ch_state == GATT_CH_OPEN) || (ch_state == GATT_CH_CFG)) { in gatt_disconnect() 1185 void gatt_set_ch_state(tGATT_TCB* p_tcb, tGATT_CH_STATE ch_state) { in gatt_set_ch_state() argument 1188 log::verbose("old={} new=0x{:x}", p_tcb->ch_state, in gatt_set_ch_state() 1189 static_cast<uint8_t>(ch_state)); in gatt_set_ch_state() 1190 p_tcb->ch_state = ch_state; in gatt_set_ch_state() 1197 log::verbose("gatt_get_ch_state: ch_state={}", p_tcb->ch_state); in gatt_get_ch_state() 1198 return p_tcb->ch_state; in gatt_get_ch_state()
|
D | gatt_int.h | 306 tGATT_CH_STATE ch_state; member 484 void gatt_set_ch_state(tGATT_TCB* p_tcb, tGATT_CH_STATE ch_state);
|
D | gatt_utils.cc | 293 if (gatt_cb.tcb[i].in_use && gatt_cb.tcb[i].ch_state == GATT_CH_OPEN) { in gatt_find_the_connected_bda() 470 << " ch_state: " << gatt_channel_state_text(p_tcb->ch_state); in gatt_tcb_dump()
|
/packages/modules/Bluetooth/system/stack/test/gatt/ |
D | mock_gatt_utils_ref.cc | 61 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 | 91 void gatt_set_ch_state(tGATT_TCB* p_tcb, tGATT_CH_STATE ch_state) {} in gatt_set_ch_state() argument
|