Lines Matching refs:privacy_mode
630 bool BTM_BleConfigPrivacy(bool privacy_mode) { in BTM_BleConfigPrivacy() argument
641 if (!privacy_mode) /* if privacy disabled, always use public address */ in BTM_BleConfigPrivacy()
644 p_cb->privacy_mode = BTM_PRIVACY_NONE; in BTM_BleConfigPrivacy()
657 p_cb->privacy_mode = in BTM_BleConfigPrivacy()
660 p_cb->privacy_mode = BTM_PRIVACY_1_1; in BTM_BleConfigPrivacy()
698 return (btm_cb.ble_ctr_cb.privacy_mode != BTM_PRIVACY_NONE); in BTM_BleLocalPrivacyEnabled()
771 if (btm_cb.ble_ctr_cb.privacy_mode == BTM_PRIVACY_1_2 || in btm_set_conn_mode_adv_init_addr()
772 btm_cb.ble_ctr_cb.privacy_mode == BTM_PRIVACY_MIXED) { in btm_set_conn_mode_adv_init_addr()
798 if ((btm_cb.ble_ctr_cb.privacy_mode == BTM_PRIVACY_1_2 && in btm_set_conn_mode_adv_init_addr()
800 btm_cb.ble_ctr_cb.privacy_mode == BTM_PRIVACY_MIXED) { in btm_set_conn_mode_adv_init_addr()
820 else if (btm_cb.ble_ctr_cb.privacy_mode != BTM_PRIVACY_NONE) { in btm_set_conn_mode_adv_init_addr()