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.cc232 p->switch_role_state = BTM_ACL_SWKEY_STATE_IDLE; in btm_acl_created()
575 if (p->switch_role_state != BTM_ACL_SWKEY_STATE_IDLE) { in BTM_SwitchRole()
576 BTM_TRACE_DEBUG("BTM_SwitchRole busy: %d", p->switch_role_state); in BTM_SwitchRole()
596 p->switch_role_state = BTM_ACL_SWKEY_STATE_MODE_CHANGE; in BTM_SwitchRole()
610 p->switch_role_state = BTM_ACL_SWKEY_STATE_ENCRYPTION_OFF; in BTM_SwitchRole()
613 p->switch_role_state = BTM_ACL_SWKEY_STATE_IN_PROGRESS; in BTM_SwitchRole()
660 if (p->switch_role_state == BTM_ACL_SWKEY_STATE_ENCRYPTION_OFF) { in btm_acl_encrypt_change()
663 p->switch_role_state = BTM_ACL_SWKEY_STATE_IDLE; in btm_acl_encrypt_change()
666 p->switch_role_state = BTM_ACL_SWKEY_STATE_SWITCHING; in btm_acl_encrypt_change()
678 else if (p->switch_role_state == BTM_ACL_SWKEY_STATE_ENCRYPTION_ON) { in btm_acl_encrypt_change()
[all …]
Dbtm_int_types.h91 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()