Home
last modified time | relevance | path

Searched refs:switch_role_state (Results 1 – 3 of 3) sorted by relevance

/system/bt/stack/btm/
Dbtm_acl.cc234 p->switch_role_state = BTM_ACL_SWKEY_STATE_IDLE; in btm_acl_created()
577 if (p->switch_role_state != BTM_ACL_SWKEY_STATE_IDLE) { in BTM_SwitchRole()
578 BTM_TRACE_DEBUG("BTM_SwitchRole busy: %d", p->switch_role_state); in BTM_SwitchRole()
598 p->switch_role_state = BTM_ACL_SWKEY_STATE_MODE_CHANGE; in BTM_SwitchRole()
612 p->switch_role_state = BTM_ACL_SWKEY_STATE_ENCRYPTION_OFF; in BTM_SwitchRole()
615 p->switch_role_state = BTM_ACL_SWKEY_STATE_IN_PROGRESS; in BTM_SwitchRole()
662 if (p->switch_role_state == BTM_ACL_SWKEY_STATE_ENCRYPTION_OFF) { in btm_acl_encrypt_change()
665 p->switch_role_state = BTM_ACL_SWKEY_STATE_IDLE; in btm_acl_encrypt_change()
668 p->switch_role_state = BTM_ACL_SWKEY_STATE_SWITCHING; in btm_acl_encrypt_change()
680 else if (p->switch_role_state == BTM_ACL_SWKEY_STATE_ENCRYPTION_ON) { in btm_acl_encrypt_change()
[all …]
Dbtm_int_types.h90 uint8_t switch_role_state; member
Dbtm_sco.cc533 if (p_acl && p_acl->switch_role_state != BTM_ACL_SWKEY_STATE_IDLE) { in BTM_CreateSco()