Home
last modified time | relevance | path

Searched refs:p_auth_cmpl (Results 1 – 2 of 2) sorted by relevance

/system/bt/btif/src/
Dbtif_dm.cc226 static void btif_dm_ble_auth_cmpl_evt(tBTA_DM_AUTH_CMPL* p_auth_cmpl);
1033 static void btif_dm_auth_cmpl_evt(tBTA_DM_AUTH_CMPL* p_auth_cmpl) { in btif_dm_auth_cmpl_evt() argument
1042 bdcpy(bd_addr.address, p_auth_cmpl->bd_addr); in btif_dm_auth_cmpl_evt()
1043 if ((p_auth_cmpl->success == true) && (p_auth_cmpl->key_present)) { in btif_dm_auth_cmpl_evt()
1044 if ((p_auth_cmpl->key_type < HCI_LKEY_TYPE_DEBUG_COMB) || in btif_dm_auth_cmpl_evt()
1045 (p_auth_cmpl->key_type == HCI_LKEY_TYPE_AUTH_COMB) || in btif_dm_auth_cmpl_evt()
1046 (p_auth_cmpl->key_type == HCI_LKEY_TYPE_CHANGED_COMB) || in btif_dm_auth_cmpl_evt()
1047 (p_auth_cmpl->key_type == HCI_LKEY_TYPE_AUTH_COMB_P_256) || in btif_dm_auth_cmpl_evt()
1051 __func__, p_auth_cmpl->key_type, pairing_cb.bond_type); in btif_dm_auth_cmpl_evt()
1052 ret = btif_storage_add_bonded_device(&bd_addr, p_auth_cmpl->key, in btif_dm_auth_cmpl_evt()
[all …]
/system/bt/bta/dm/
Dbta_dm_act.cc2541 tBTA_DM_AUTH_CMPL* p_auth_cmpl; in bta_dm_new_link_key_cback() local
2549 p_auth_cmpl = &sec_event.auth_cmpl; in bta_dm_new_link_key_cback()
2551 bdcpy(p_auth_cmpl->bd_addr, bd_addr); in bta_dm_new_link_key_cback()
2553 memcpy(p_auth_cmpl->bd_name, bd_name, (BD_NAME_LEN - 1)); in bta_dm_new_link_key_cback()
2554 p_auth_cmpl->bd_name[BD_NAME_LEN - 1] = 0; in bta_dm_new_link_key_cback()
2556 p_auth_cmpl->key_present = true; in bta_dm_new_link_key_cback()
2557 p_auth_cmpl->key_type = key_type; in bta_dm_new_link_key_cback()
2558 p_auth_cmpl->success = true; in bta_dm_new_link_key_cback()
2560 memcpy(p_auth_cmpl->key, key, LINK_KEY_LEN); in bta_dm_new_link_key_cback()
2573 bta_dm_reset_sec_dev_pending(p_auth_cmpl->bd_addr); in bta_dm_new_link_key_cback()