Lines Matching refs:pairing_state
760 btm_pair_state_descr(btm_cb.pairing_state), btm_cb.pairing_flags, pin_len, in BTM_PINCodeReply()
764 if (btm_cb.pairing_state != BTM_PAIR_STATE_WAIT_LOCAL_PIN) { in BTM_PINCodeReply()
766 btm_cb.pairing_state); in BTM_PINCodeReply()
889 if (btm_cb.pairing_state != BTM_PAIR_STATE_IDLE) { in btm_sec_bond_by_transport()
891 btm_pair_state_descr(btm_cb.pairing_state)); in btm_sec_bond_by_transport()
1019 btm_pair_state_descr(btm_cb.pairing_state), p_dev_rec->sm4, in btm_sec_bond_by_transport()
1108 btm_pair_state_descr(btm_cb.pairing_state), in BTM_SecBondCancel()
1127 if (BTM_PAIR_STATE_WAIT_LOCAL_PIN == btm_cb.pairing_state && in BTM_SecBondCancel()
1135 if ((btm_cb.pairing_state != BTM_PAIR_STATE_IDLE) && in BTM_SecBondCancel()
1159 if (btm_cb.pairing_state == BTM_PAIR_STATE_GET_REM_NAME) { in BTM_SecBondCancel()
1402 btm_pair_state_descr(btm_cb.pairing_state), res); in BTM_ConfirmReqReply()
1405 if ((btm_cb.pairing_state != BTM_PAIR_STATE_WAIT_NUMERIC_CONFIRM) || in BTM_ConfirmReqReply()
1448 btm_pair_state_descr(btm_cb.pairing_state), res); in BTM_PasskeyReqReply()
1450 if ((btm_cb.pairing_state == BTM_PAIR_STATE_IDLE) || in BTM_PasskeyReqReply()
1456 if ((btm_cb.pairing_state == BTM_PAIR_STATE_WAIT_AUTH_COMPLETE) && in BTM_PasskeyReqReply()
1474 } else if (btm_cb.pairing_state != BTM_PAIR_STATE_KEY_ENTRY) in BTM_PasskeyReqReply()
1508 if (btm_cb.pairing_state == BTM_PAIR_STATE_KEY_ENTRY) in BTM_SendKeypressNotif()
1530 btm_pair_state_descr(btm_cb.pairing_state), oob, io_cap); in BTM_IoCapRsp()
1532 if ((btm_cb.pairing_state != BTM_PAIR_STATE_WAIT_LOCAL_IOCAPS) || in BTM_IoCapRsp()
1572 btm_pair_state_descr(btm_cb.pairing_state), res); in BTM_RemoteOobDataReply()
1575 if (btm_cb.pairing_state != BTM_PAIR_STATE_WAIT_LOCAL_OOB_RSP) return; in BTM_RemoteOobDataReply()
2011 (btm_cb.pairing_state != BTM_PAIR_STATE_IDLE)) { in btm_sec_l2cap_access_req()
2013 __func__, psm, btm_pair_state_descr(btm_cb.pairing_state), in btm_sec_l2cap_access_req()
2316 (btm_cb.pairing_state != BTM_PAIR_STATE_IDLE)) { in btm_sec_mx_access_request()
2319 btm_pair_state_descr(btm_cb.pairing_state)); in btm_sec_mx_access_request()
2412 rc, btm_pair_state_descr(btm_cb.pairing_state)); in btm_sec_mx_access_request()
2537 if ((btm_cb.pairing_state != BTM_PAIR_STATE_IDLE) && in btm_sec_conn_req()
2579 (BTM_PAIR_STATE_WAIT_LOCAL_PIN == btm_cb.pairing_state && in btm_sec_bond_cancel_complete()
2581 (btm_cb.pairing_state == BTM_PAIR_STATE_GET_REM_NAME && in btm_sec_bond_cancel_complete()
2619 btm_pair_state_descr(btm_cb.pairing_state), status); in btm_create_conn_cancel_complete()
2657 if (btm_cb.pairing_state == BTM_PAIR_STATE_IDLE) { in btm_sec_check_pending_reqs()
2719 btm_pair_state_descr(btm_cb.pairing_state)); in btm_sec_device_down()
2878 __func__, btm_pair_state_descr(btm_cb.pairing_state), p_bd_name, status, in btm_sec_rmt_name_request_complete()
2882 btm_pair_state_descr(btm_cb.pairing_state), p_bd_name, in btm_sec_rmt_name_request_complete()
2926 if ((btm_cb.pairing_state == BTM_PAIR_STATE_WAIT_LOCAL_PIN) && p_bd_addr && in btm_sec_rmt_name_request_complete()
2951 if (btm_cb.pairing_state == BTM_PAIR_STATE_GET_REM_NAME) { in btm_sec_rmt_name_request_complete()
3147 btm_pair_state_descr(btm_cb.pairing_state)); in btm_io_capabilities_req()
3173 __func__, btm_pair_state_descr(btm_cb.pairing_state), in btm_io_capabilities_req()
3182 switch (btm_cb.pairing_state) { in btm_io_capabilities_req()
3213 btm_cb.pairing_state); in btm_io_capabilities_req()
3306 __func__, btm_pair_state_descr(btm_cb.pairing_state), in btm_io_capabilities_req()
3337 if (btm_cb.pairing_state == BTM_PAIR_STATE_IDLE) { in btm_io_capabilities_rsp()
3359 if (btm_cb.pairing_state == in btm_io_capabilities_rsp()
3398 << " State: " << btm_pair_state_descr(btm_cb.pairing_state); in btm_proc_sp_req_evt()
3401 if ((p_dev_rec != NULL) && (btm_cb.pairing_state != BTM_PAIR_STATE_IDLE) && in btm_proc_sp_req_evt()
3568 btm_pair_state_descr(btm_cb.pairing_state), status, p_dev_rec->sec_state); in btm_simple_pair_complete()
3745 if ((btm_cb.pairing_state == BTM_PAIR_STATE_IDLE) && in btm_sec_auth_retry()
3782 tBTM_PAIRING_STATE old_state = btm_cb.pairing_state; in btm_sec_auth_complete()
3788 << btm_pair_state_descr(btm_cb.pairing_state) in btm_sec_auth_complete()
3795 << btm_pair_state_descr(btm_cb.pairing_state) in btm_sec_auth_complete()
3825 if ((btm_cb.pairing_state != BTM_PAIR_STATE_IDLE) && in btm_sec_auth_complete()
3830 if ((btm_cb.pairing_state != BTM_PAIR_STATE_IDLE) && in btm_sec_auth_complete()
4136 << btm_pair_state_descr(btm_cb.pairing_state) in btm_sec_connected()
4142 << btm_pair_state_descr(btm_cb.pairing_state) in btm_sec_connected()
4154 if ((btm_cb.pairing_state != BTM_PAIR_STATE_IDLE) && in btm_sec_connected()
4169 if ((btm_cb.pairing_state != BTM_PAIR_STATE_IDLE) && in btm_sec_connected()
4176 (btm_cb.pairing_state == BTM_PAIR_STATE_WAIT_PIN_REQ)) { in btm_sec_connected()
4220 if ((btm_cb.pairing_state != BTM_PAIR_STATE_IDLE) && addr_matched) { in btm_sec_connected()
4242 if (btm_cb.pairing_state != BTM_PAIR_STATE_WAIT_LOCAL_PIN) { in btm_sec_connected()
4445 if ((btm_cb.pairing_state != BTM_PAIR_STATE_IDLE) && in btm_sec_disconnect()
4496 << " state: " << btm_pair_state_descr(btm_cb.pairing_state) in btm_sec_disconnected()
4505 if ((btm_cb.pairing_state != BTM_PAIR_STATE_IDLE) && in btm_sec_disconnected()
4631 if ((btm_cb.pairing_state != BTM_PAIR_STATE_IDLE) && in btm_sec_link_key_notification()
4730 if ((btm_cb.pairing_state == BTM_PAIR_STATE_WAIT_PIN_REQ) && in btm_sec_link_key_request()
4736 btm_cb.pairing_state, btm_cb.collision_start_time); in btm_sec_link_key_request()
4773 btm_pair_state_descr(p_cb->pairing_state), in btm_sec_pairing_timeout()
4776 switch (p_cb->pairing_state) { in btm_sec_pairing_timeout()
4859 btm_pair_state_descr(btm_cb.pairing_state)); in btm_sec_pairing_timeout()
4879 << " state: " << btm_pair_state_descr(btm_cb.pairing_state); in btm_sec_pin_code_request()
4881 if (btm_cb.pairing_state != BTM_PAIR_STATE_IDLE) { in btm_sec_pin_code_request()
4883 (btm_cb.pairing_state == BTM_PAIR_STATE_WAIT_AUTH_COMPLETE)) { in btm_sec_pin_code_request()
4886 } else if ((btm_cb.pairing_state != BTM_PAIR_STATE_WAIT_PIN_REQ) || in btm_sec_pin_code_request()
4889 btm_pair_state_descr(btm_cb.pairing_state)); in btm_sec_pin_code_request()
4899 if (btm_cb.pairing_state == BTM_PAIR_STATE_IDLE) { in btm_sec_pin_code_request()
5504 tBTM_PAIRING_STATE old_state = btm_cb.pairing_state; in btm_sec_change_pairing_state()
5507 btm_pair_state_descr(btm_cb.pairing_state)); in btm_sec_change_pairing_state()
5511 btm_cb.pairing_state = new_state; in btm_sec_change_pairing_state()