Home
last modified time | relevance | path

Searched refs:loc_auth_req (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Bluetooth/system/bta/test/
Dbta_sec_test.cc80 .loc_auth_req = BTM_AUTH_SP_YES, in TEST_F()
101 ASSERT_EQ(BTM_AUTH_SP_YES, cfm_req.loc_auth_req); in TEST_F()
130 .loc_auth_req = BTM_AUTH_SP_YES, in TEST_F()
169 .loc_auth_req = BTM_AUTH_SP_YES, in TEST_F()
188 ASSERT_EQ(BTM_AUTH_SP_YES, cfm_req.loc_auth_req); in TEST_F()
/packages/modules/Bluetooth/system/stack/smp/
Dsmp_act.cc167 p_cb->loc_auth_req = cb_data.io_req.auth_req; in smp_send_app_cback()
174 if (!(p_cb->loc_auth_req & SMP_AUTH_BOND)) { in smp_send_app_cback()
184 p_cb->loc_auth_req, p_cb->local_io_capability, p_cb->loc_oob_flag, in smp_send_app_cback()
191 p_cb->loc_auth_req |= SMP_SC_SUPPORT_BIT; in smp_send_app_cback()
201 (!(p_cb->loc_auth_req & SMP_SC_SUPPORT_BIT) || in smp_send_app_cback()
210 p_cb->loc_auth_req &= ~SMP_SC_SUPPORT_BIT; in smp_send_app_cback()
211 p_cb->loc_auth_req &= ~SMP_KP_SUPPORT_BIT; in smp_send_app_cback()
218 p_cb->loc_auth_req &= ~SMP_H7_SUPPORT_BIT; in smp_send_app_cback()
224 p_cb->loc_auth_req, p_cb->local_i_key, p_cb->local_r_key); in smp_send_app_cback()
233 p_cb->loc_auth_req |= SMP_H7_SUPPORT_BIT; in smp_send_app_cback()
[all …]
Dsmp_l2c.cc132 p_cb->loc_auth_req = p_cb->peer_auth_req = SMP_DEFAULT_AUTH_REQ; in smp_connect_callback()
204 p_cb->peer_auth_req, p_cb->loc_auth_req); in smp_data_received()
207 (p_cb->loc_auth_req & SMP_SC_SUPPORT_BIT)) { in smp_data_received()
310 p_cb->loc_auth_req = p_cb->peer_auth_req = 0; in smp_br_connect_callback()
Dsmp_utils.cc504 UINT8_TO_STREAM(p, p_cb->loc_auth_req); in smp_build_pairing_cmd()
734 UINT8_TO_STREAM(p, p_cb->loc_auth_req); in smp_build_security_request()
740 p_cb->loc_auth_req); in smp_build_security_request()
1310 p_cb->peer_auth_req, p_cb->loc_auth_req); in smp_select_association_model()
1315 (p_cb->loc_auth_req & SMP_SC_SUPPORT_BIT)) { in smp_select_association_model()
1320 (p_cb->loc_auth_req & SMP_H7_SUPPORT_BIT)) { in smp_select_association_model()
1354 SMP_NO_MITM_REQUIRED(p_cb->loc_auth_req)) in smp_select_legacy_association_model()
1392 SMP_NO_MITM_REQUIRED(p_cb->loc_auth_req)) in smp_select_association_model_secure_connections()
1446 iocap[2] = p_cb->loc_auth_req; in smp_collect_local_io_capabilities()
Dsmp_int.h320 tSMP_AUTH_REQ loc_auth_req; variable
Dsmp_keys.cc231 UINT8_TO_STREAM(p, p_cb->loc_auth_req); in smp_concatenate_local()
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_sec.cc229 sec_event.cfm_req.loc_auth_req = bta_dm_sec_cb.loc_auth_req; in bta_dm_pinname_cback()
421 sec_event.cfm_req.loc_auth_req = p_data->cfm_req.loc_auth_req; in bta_dm_sp_cback()
451 bta_dm_sec_cb.loc_auth_req = sec_event.cfm_req.loc_auth_req; in bta_dm_sp_cback()
Dbta_dm_sec_int.h57 tBTM_AUTH_REQ loc_auth_req; /* Authentication required for local device */ member
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_sec_int_types.h99 tBTM_AUTH_REQ loc_auth_req; /* the auth_req flag */ member
Dbtm_sec.cc2718 btm_sec_cb.devcb.loc_auth_req = evt_data.auth_req; in btm_io_capabilities_req()
2836 (btm_sec_cb.devcb.loc_auth_req & BTM_AUTH_SP_YES))) { in btm_proc_sp_req_evt()
2848 btm_sec_cb.devcb.loc_auth_req, in btm_proc_sp_req_evt()
2851 evt_data.cfm_req.loc_auth_req = btm_sec_cb.devcb.loc_auth_req; in btm_proc_sp_req_evt()
3415 btm_sec_cb.devcb.loc_auth_req == BTM_AUTH_SP_NO) { in btm_sec_encrypt_change()
/packages/modules/Bluetooth/system/bta/include/
Dbta_sec_api.h189 tBTM_AUTH_REQ loc_auth_req; /* Authentication required for local device */ member
/packages/modules/Bluetooth/system/stack/include/
Dbtm_sec_api_types.h318 tBTM_AUTH_REQ loc_auth_req; /* Authentication required for local device */ member
/packages/modules/Bluetooth/system/stack/test/
Dstack_smp_test.cc187 p_cb_.loc_auth_req = 0x00; in SetUp()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_dm.cc1075 p_ssp_cfm_req->loc_auth_req, p_ssp_cfm_req->rmt_auth_req); in btif_dm_ssp_cfm_req_evt()
1103 !(p_ssp_cfm_req->loc_auth_req & BTM_AUTH_BONDS) && in btif_dm_ssp_cfm_req_evt()