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.c232 static void btif_dm_ble_auth_cmpl_evt (tBTA_DM_AUTH_CMPL *p_auth_cmpl);
1102 static void btif_dm_auth_cmpl_evt (tBTA_DM_AUTH_CMPL *p_auth_cmpl) in btif_dm_auth_cmpl_evt() argument
1112 bdcpy(bd_addr.address, p_auth_cmpl->bd_addr); in btif_dm_auth_cmpl_evt()
1113 if ( (p_auth_cmpl->success == TRUE) && (p_auth_cmpl->key_present) ) in btif_dm_auth_cmpl_evt()
1115 if ((p_auth_cmpl->key_type < HCI_LKEY_TYPE_DEBUG_COMB) || in btif_dm_auth_cmpl_evt()
1116 (p_auth_cmpl->key_type == HCI_LKEY_TYPE_AUTH_COMB) || in btif_dm_auth_cmpl_evt()
1117 (p_auth_cmpl->key_type == HCI_LKEY_TYPE_CHANGED_COMB) || in btif_dm_auth_cmpl_evt()
1118 (p_auth_cmpl->key_type == HCI_LKEY_TYPE_AUTH_COMB_P_256) || in btif_dm_auth_cmpl_evt()
1123 __FUNCTION__, p_auth_cmpl->key_type, pairing_cb.bond_type); in btif_dm_auth_cmpl_evt()
1125 p_auth_cmpl->key, p_auth_cmpl->key_type, in btif_dm_auth_cmpl_evt()
[all …]
/system/bt/bta/dm/
Dbta_dm_act.c2738 tBTA_DM_AUTH_CMPL *p_auth_cmpl; in bta_dm_new_link_key_cback() local
2748 p_auth_cmpl = &sec_event.auth_cmpl; in bta_dm_new_link_key_cback()
2750 bdcpy(p_auth_cmpl->bd_addr, bd_addr); in bta_dm_new_link_key_cback()
2752 memcpy(p_auth_cmpl->bd_name, bd_name, (BD_NAME_LEN-1)); in bta_dm_new_link_key_cback()
2753 p_auth_cmpl->bd_name[BD_NAME_LEN-1] = 0; in bta_dm_new_link_key_cback()
2755 p_auth_cmpl->key_present = TRUE; in bta_dm_new_link_key_cback()
2756 p_auth_cmpl->key_type = key_type; in bta_dm_new_link_key_cback()
2757 p_auth_cmpl->success = TRUE; in bta_dm_new_link_key_cback()
2759 memcpy(p_auth_cmpl->key, key, LINK_KEY_LEN); in bta_dm_new_link_key_cback()
2773 bta_dm_reset_sec_dev_pending(p_auth_cmpl->bd_addr); in bta_dm_new_link_key_cback()