Home
last modified time | relevance | path

Searched refs:sec_level (Results 1 – 25 of 29) sorted by relevance

12

/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_l2cap_api.h80 uint16_t sec_level)>
83 uint16_t required_remote_mtu, uint16_t sec_level) { return 0; }};
87 uint16_t sec_level) { in operator()
89 required_remote_mtu, sec_level); in operator()
101 uint16_t sec_level)>
104 uint16_t required_remote_mtu, uint16_t sec_level) { return 0; }};
108 uint16_t sec_level) { in operator()
110 required_remote_mtu, sec_level); in operator()
143 uint16_t sec_level)>
144 body{[](uint16_t psm, const RawAddress& p_bd_addr, uint16_t sec_level) {
[all …]
Dmock_stack_l2cap_api.cc118 uint16_t sec_level) { in L2CA_Register2() argument
122 sec_level); in L2CA_Register2()
127 uint16_t sec_level) { in L2CA_Register() argument
131 sec_level); in L2CA_Register()
146 uint16_t sec_level) { in L2CA_ConnectReq2() argument
149 sec_level); in L2CA_ConnectReq2()
156 uint16_t sec_level, tL2CAP_LE_CFG_INFO cfg) { in L2CA_RegisterLECoc() argument
159 sec_level, cfg); in L2CA_RegisterLECoc()
166 tL2CAP_LE_CFG_INFO* p_cfg, uint16_t sec_level) { in L2CA_ConnectLECocReq() argument
169 p_cfg, sec_level); in L2CA_ConnectLECocReq()
Dmock_main_shim_l2cap_api.h110 uint16_t sec_level)>
113 uint16_t required_remote_mtu, uint16_t sec_level) { return 0; }};
117 uint16_t sec_level) { in operator()
119 required_remote_mtu, sec_level); in operator()
512 uint16_t sec_level, tL2CAP_LE_CFG_INFO cfg)>
514 uint16_t sec_level, tL2CAP_LE_CFG_INFO cfg) { return 0; }};
516 uint16_t sec_level, tL2CAP_LE_CFG_INFO cfg) { in operator()
517 return body(psm, callbacks, sec_level, cfg); in operator()
Dmock_main_shim_l2cap_api.cc117 uint16_t required_remote_mtu, uint16_t sec_level) { in L2CA_Register() argument
121 required_remote_mtu, sec_level); in L2CA_Register()
303 uint16_t sec_level, in L2CA_RegisterLECoc() argument
307 sec_level, cfg); in L2CA_RegisterLECoc()
Dmock_stack_btm_sec.cc107 uint8_t service_id, uint16_t sec_level, uint16_t psm, in BTM_SetSecurityLevel() argument
/packages/modules/Bluetooth/system/stack/smp/
Dsmp_act.cc369 .sec_level = p_cb->sec_level, in smp_send_enc_info()
410 .sec_level = p_cb->sec_level, in smp_send_csrk_info()
1000 le_key.penc_key.sec_level = p_cb->sec_level; in smp_proc_central_id()
1083 .sec_level = p_cb->sec_level, in smp_proc_srk_info()
1359 p_cb->sec_level = SMP_SEC_UNAUTHENTICATE; in smp_decide_association_model()
1361 p_cb->sec_level); in smp_decide_association_model()
1376 p_cb->sec_level = SMP_SEC_AUTHENTICATED; in smp_decide_association_model()
1378 p_cb->sec_level); in smp_decide_association_model()
1386 p_cb->sec_level = SMP_SEC_AUTHENTICATED; in smp_decide_association_model()
1388 p_cb->sec_level); in smp_decide_association_model()
[all …]
Dsmp_utils.cc964 .sec_level = (p_cb->status == SMP_SUCCESS) ? p_cb->sec_level in smp_proc_pairing_cmpl()
974 PRIVATE_ADDRESS(p_cb->pairing_bda), evt_data.cmplt.sec_level); in smp_proc_pairing_cmpl()
981 evt_data.cmplt.sec_level); in smp_proc_pairing_cmpl()
1521 .sec_level = p_cb->sec_level, in smp_save_secure_connections_long_term_key()
1531 .sec_level = p_cb->sec_level, in smp_save_secure_connections_long_term_key()
Dsmp_keys.cc988 if (p_cb->sec_level == SMP_SEC_AUTHENTICATED) in smp_calculate_link_key_from_long_term_key()
994 if (p_cb->sec_level == SMP_SEC_AUTHENTICATED) in smp_calculate_link_key_from_long_term_key()
1047 p_cb->sec_level = (br_link_key_type == BTM_LKEY_TYPE_AUTH_COMB_P_256) in smp_calculate_long_term_key_from_link_key()
/packages/modules/Bluetooth/system/stack/include/
Dl2c_api.h368 uint16_t sec_level);
387 uint16_t sec_level);
425 uint16_t sec_level);
457 uint16_t sec_level, tL2CAP_LE_CFG_INFO cfg);
485 uint16_t sec_level);
Dbtm_ble_api_types.h520 uint8_t sec_level; member
528 uint8_t sec_level; member
536 uint8_t sec_level; member
543 uint8_t sec_level; member
Dsmp_api_types.h258 tSMP_SEC_LEVEL sec_level; member
/packages/modules/Bluetooth/system/stack/test/common/
Dmock_l2cap_layer.cc33 uint16_t sec_level) { in L2CA_Register() argument
68 uint16_t sec_level, tL2CAP_LE_CFG_INFO cfg) { in L2CA_RegisterLECoc() argument
69 return l2cap_interface->RegisterLECoc(psm, cb_info, sec_level); in L2CA_RegisterLECoc()
Dmock_btm_api_layer.cc28 uint8_t service_id, uint16_t sec_level, uint16_t psm, in BTM_SetSecurityLevel() argument
31 sec_level, psm, mx_proto_id, in BTM_SetSecurityLevel()
Dmock_btm_api_layer.h30 uint8_t service_id, uint16_t sec_level,
47 uint16_t sec_level, uint16_t psm, uint32_t mx_proto_id,
Dmock_l2cap_layer.h43 …virtual uint16_t RegisterLECoc(uint16_t psm, const tL2CAP_APPL_INFO &cb_info, uint16_t sec_level) …
75 uint16_t(uint16_t psm, const tL2CAP_APPL_INFO &cb_info, uint16_t sec_level));
Dmock_btm_layer.cc47 uint8_t service_id, uint16_t sec_level, uint16_t psm, in BTM_SetSecurityLevel() argument
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_api.cc65 uint16_t sec_level) { in L2CA_Register2() argument
67 required_remote_mtu, sec_level); in L2CA_Register2()
68 BTM_SetSecurityLevel(false, "", 0, sec_level, psm, 0, 0); in L2CA_Register2()
112 uint16_t sec_level) { in L2CA_Register() argument
116 required_remote_mtu, sec_level); in L2CA_Register()
310 uint16_t sec_level) { in L2CA_ConnectReq2() argument
311 BTM_SetSecurityLevel(true, "", 0, sec_level, psm, 0, 0); in L2CA_ConnectReq2()
414 uint16_t sec_level, tL2CAP_LE_CFG_INFO cfg) { in L2CA_RegisterLECoc() argument
416 return bluetooth::shim::L2CA_RegisterLECoc(psm, p_cb_info, sec_level, cfg); in L2CA_RegisterLECoc()
422 BTM_SetSecurityLevel(false, "", 0, sec_level, psm, 0, 0); in L2CA_RegisterLECoc()
[all …]
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble.cc1189 p_rec->ble.keys.sec_level = p_keys->penc_key.sec_level; in btm_sec_save_le_key()
1194 if (p_keys->penc_key.sec_level == SMP_SEC_AUTHENTICATED) in btm_sec_save_le_key()
1200 p_rec->ble.key_type, p_rec->sec_flags, p_rec->ble.keys.sec_level); in btm_sec_save_le_key()
1224 p_rec->ble.keys.srk_sec_level = p_keys->pcsrk_key.sec_level; in btm_sec_save_le_key()
1228 if (p_keys->pcsrk_key.sec_level == SMP_SEC_AUTHENTICATED) in btm_sec_save_le_key()
1243 p_rec->ble.keys.sec_level = p_keys->lenc_key.sec_level; in btm_sec_save_le_key()
1251 p_rec->ble.keys.sec_level); in btm_sec_save_le_key()
1257 p_rec->ble.keys.local_csrk_sec_level = p_keys->lcsrk_key.sec_level; in btm_sec_save_le_key()
1386 cur_sec_level = p_dev_rec->ble.keys.sec_level; in btm_ble_link_sec_check()
1889 p_data->cmplt.sec_level, p_dev_rec->sec_flags); in btm_proc_smp_cback()
[all …]
Dbtm_sec.cc405 uint8_t service_id, uint16_t sec_level, uint16_t psm, in BTM_SetSecurityLevel() argument
412 BTM_TRACE_API("%s : sec: 0x%x", __func__, sec_level); in BTM_SetSecurityLevel()
471 sec_level &= ~(BTM_SEC_IN_ENCRYPT | BTM_SEC_IN_AUTHENTICATE | in BTM_SetSecurityLevel()
476 if (sec_level & BTM_SEC_OUT_AUTHENTICATE) sec_level |= BTM_SEC_OUT_MITM; in BTM_SetSecurityLevel()
480 if (sec_level & BTM_SEC_OUT_ENCRYPT) sec_level |= BTM_SEC_OUT_AUTHENTICATE; in BTM_SetSecurityLevel()
499 sec_level &= in BTM_SetSecurityLevel()
504 if (sec_level & BTM_SEC_IN_AUTHENTICATE) sec_level |= BTM_SEC_IN_MITM; in BTM_SetSecurityLevel()
508 if (sec_level & BTM_SEC_IN_ENCRYPT) sec_level |= BTM_SEC_IN_AUTHENTICATE; in BTM_SetSecurityLevel()
511 p_srec->security_flags |= (uint16_t)(sec_level | BTM_SEC_IN_USE); in BTM_SetSecurityLevel()
Dbtm_sec.h133 uint8_t service_id, uint16_t sec_level, uint16_t psm,
Dsecurity_device_record.h85 uint8_t sec_level; /* local pairing security level */ member
/packages/modules/Bluetooth/system/main/shim/
Dl2c_api.h49 uint16_t sec_level);
116 uint16_t sec_level, tL2CAP_LE_CFG_INFO cfg);
Dl2c_api.cc718 uint16_t sec_level) { in L2CA_Register() argument
740 if (sec_level & (BTM_SEC_IN_AUTHENTICATE | BTM_SEC_OUT_AUTHENTICATE)) { in L2CA_Register()
1501 uint16_t sec_level, tL2CAP_LE_CFG_INFO cfg) { in L2CA_RegisterLECoc() argument
1511 if (sec_level & (BTM_SEC_IN_AUTHENTICATE | BTM_SEC_OUT_AUTHENTICATE)) { in L2CA_RegisterLECoc()
/packages/modules/Bluetooth/system/stack/test/sdp/
Dstack_sdp_test.cc41 [](uint16_t psm, const RawAddress& p_bd_addr, uint16_t sec_level) { in SetUp() argument
55 uint16_t required_remote_mtu, uint16_t sec_level) { in SetUp() argument
/packages/modules/Bluetooth/system/stack/test/hid/
Dstack_hid_test.cc66 uint16_t sec_level) { in TEST_F() argument

12