Lines Matching refs:privacy_mode
678 bool BTM_BleConfigPrivacy(bool privacy_mode) { in BTM_BleConfigPrivacy() argument
688 if (!privacy_mode) /* if privacy disabled, always use public address */ in BTM_BleConfigPrivacy()
691 p_cb->privacy_mode = BTM_PRIVACY_NONE; in BTM_BleConfigPrivacy()
703 p_cb->privacy_mode = BTM_PRIVACY_1_2; in BTM_BleConfigPrivacy()
705 p_cb->privacy_mode = BTM_PRIVACY_1_1; in BTM_BleConfigPrivacy()
712 bluetooth::shim::ACL_ConfigureLePrivacy(privacy_mode); in BTM_BleConfigPrivacy()
749 return (btm_cb.ble_ctr_cb.privacy_mode != BTM_PRIVACY_NONE); in BTM_BleLocalPrivacyEnabled()
794 if (btm_cb.ble_ctr_cb.privacy_mode == BTM_PRIVACY_1_2 || in btm_set_conn_mode_adv_init_addr()
795 btm_cb.ble_ctr_cb.privacy_mode == BTM_PRIVACY_MIXED) { in btm_set_conn_mode_adv_init_addr()
819 if ((btm_cb.ble_ctr_cb.privacy_mode == BTM_PRIVACY_1_2 && in btm_set_conn_mode_adv_init_addr()
821 btm_cb.ble_ctr_cb.privacy_mode == BTM_PRIVACY_MIXED) { in btm_set_conn_mode_adv_init_addr()
841 else if (btm_cb.ble_ctr_cb.privacy_mode != BTM_PRIVACY_NONE) { in btm_set_conn_mode_adv_init_addr()