Searched refs:p_auth_cmpl (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_iot_config.cc | 72 void btif_iot_update_remote_info(tBTA_DM_AUTH_CMPL* p_auth_cmpl, bool is_ble, in btif_iot_update_remote_info() argument 86 if (strlen((const char*)p_auth_cmpl->bd_name)) { in btif_iot_update_remote_info() 87 name_length = strlen((char*)p_auth_cmpl->bd_name) > BD_NAME_LEN in btif_iot_update_remote_info() 89 : strlen((char*)p_auth_cmpl->bd_name) + 1; in btif_iot_update_remote_info() 90 strncpy(value, (char*)p_auth_cmpl->bd_name, name_length); in btif_iot_update_remote_info() 91 DEVICE_IOT_CONFIG_ADDR_SET_STR(p_auth_cmpl->bd_addr, in btif_iot_update_remote_info() 94 if (BTM_GetRemoteDeviceName(p_auth_cmpl->bd_addr, bd_name)) { in btif_iot_update_remote_info() 95 DEVICE_IOT_CONFIG_ADDR_SET_STR(p_auth_cmpl->bd_addr, in btif_iot_update_remote_info() 104 if (btif_storage_get_remote_device_property(&p_auth_cmpl->bd_addr, in btif_iot_update_remote_info() 112 DEVICE_IOT_CONFIG_ADDR_SET_INT(p_auth_cmpl->bd_addr, IOT_CONF_KEY_DEVCLASS, in btif_iot_update_remote_info() [all …]
|
D | btif_dm.cc | 290 static void btif_dm_ble_auth_cmpl_evt(tBTA_DM_AUTH_CMPL* p_auth_cmpl); 309 void btif_iot_update_remote_info(tBTA_DM_AUTH_CMPL* p_auth_cmpl, bool is_ble, 1175 static void btif_dm_auth_cmpl_evt(tBTA_DM_AUTH_CMPL* p_auth_cmpl) { in btif_dm_auth_cmpl_evt() argument 1182 p_auth_cmpl->success, p_auth_cmpl->key_present); in btif_dm_auth_cmpl_evt() 1184 pairing_cb.fail_reason = p_auth_cmpl->fail_reason; in btif_dm_auth_cmpl_evt() 1186 RawAddress bd_addr = p_auth_cmpl->bd_addr; in btif_dm_auth_cmpl_evt() 1187 tBLE_ADDR_TYPE addr_type = p_auth_cmpl->addr_type; in btif_dm_auth_cmpl_evt() 1188 if ((p_auth_cmpl->success) && (p_auth_cmpl->key_present)) { in btif_dm_auth_cmpl_evt() 1189 if ((p_auth_cmpl->key_type < HCI_LKEY_TYPE_DEBUG_COMB) || in btif_dm_auth_cmpl_evt() 1190 (p_auth_cmpl->key_type == HCI_LKEY_TYPE_AUTH_COMB) || in btif_dm_auth_cmpl_evt() [all …]
|
/packages/modules/Bluetooth/system/bta/dm/ |
D | bta_dm_sec.cc | 303 tBTA_DM_AUTH_CMPL* p_auth_cmpl; in bta_dm_new_link_key_cback() local 308 p_auth_cmpl = &sec_event.auth_cmpl; in bta_dm_new_link_key_cback() 310 p_auth_cmpl->bd_addr = bd_addr; in bta_dm_new_link_key_cback() 312 bd_name_copy(p_auth_cmpl->bd_name, bd_name); in bta_dm_new_link_key_cback() 313 p_auth_cmpl->key_present = true; in bta_dm_new_link_key_cback() 314 p_auth_cmpl->key_type = key_type; in bta_dm_new_link_key_cback() 315 p_auth_cmpl->success = true; in bta_dm_new_link_key_cback() 316 p_auth_cmpl->key = key; in bta_dm_new_link_key_cback() 317 p_auth_cmpl->is_ctkd = is_ctkd; in bta_dm_new_link_key_cback() 331 bta_dm_reset_sec_dev_pending(p_auth_cmpl->bd_addr); in bta_dm_new_link_key_cback()
|