/packages/modules/Bluetooth/system/test/mock/ |
D | mock_stack_l2cap_api.h | 80 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 …]
|
D | mock_stack_l2cap_api.cc | 118 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()
|
D | mock_main_shim_l2cap_api.h | 110 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()
|
D | mock_main_shim_l2cap_api.cc | 117 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()
|
D | mock_stack_btm_sec.cc | 107 uint8_t service_id, uint16_t sec_level, uint16_t psm, in BTM_SetSecurityLevel() argument
|
/packages/modules/Bluetooth/system/stack/smp/ |
D | smp_act.cc | 369 .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 …]
|
D | smp_utils.cc | 964 .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()
|
D | smp_keys.cc | 988 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/ |
D | l2c_api.h | 368 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);
|
D | btm_ble_api_types.h | 520 uint8_t sec_level; member 528 uint8_t sec_level; member 536 uint8_t sec_level; member 543 uint8_t sec_level; member
|
D | smp_api_types.h | 258 tSMP_SEC_LEVEL sec_level; member
|
/packages/modules/Bluetooth/system/stack/test/common/ |
D | mock_l2cap_layer.cc | 33 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()
|
D | mock_btm_api_layer.cc | 28 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()
|
D | mock_btm_api_layer.h | 30 uint8_t service_id, uint16_t sec_level, 47 uint16_t sec_level, uint16_t psm, uint32_t mx_proto_id,
|
D | mock_l2cap_layer.h | 43 …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));
|
D | mock_btm_layer.cc | 47 uint8_t service_id, uint16_t sec_level, uint16_t psm, in BTM_SetSecurityLevel() argument
|
/packages/modules/Bluetooth/system/stack/l2cap/ |
D | l2c_api.cc | 65 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/ |
D | btm_ble.cc | 1189 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 …]
|
D | btm_sec.cc | 405 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()
|
D | btm_sec.h | 133 uint8_t service_id, uint16_t sec_level, uint16_t psm,
|
D | security_device_record.h | 85 uint8_t sec_level; /* local pairing security level */ member
|
/packages/modules/Bluetooth/system/main/shim/ |
D | l2c_api.h | 49 uint16_t sec_level); 116 uint16_t sec_level, tL2CAP_LE_CFG_INFO cfg);
|
D | l2c_api.cc | 718 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/ |
D | stack_sdp_test.cc | 41 [](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/ |
D | stack_hid_test.cc | 66 uint16_t sec_level) { in TEST_F() argument
|