Home
last modified time | relevance | path

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

/external/bluetooth/bluedroid/btif/src/
Dbtif_dm.c213 static void btif_dm_ble_auth_cmpl_evt (tBTA_DM_AUTH_CMPL *p_auth_cmpl);
979 static void btif_dm_auth_cmpl_evt (tBTA_DM_AUTH_CMPL *p_auth_cmpl) in btif_dm_auth_cmpl_evt() argument
987 bdcpy(bd_addr.address, p_auth_cmpl->bd_addr); in btif_dm_auth_cmpl_evt()
988 if ( (p_auth_cmpl->success == TRUE) && (p_auth_cmpl->key_present) ) in btif_dm_auth_cmpl_evt()
990 …if ((p_auth_cmpl->key_type < HCI_LKEY_TYPE_DEBUG_COMB) || (p_auth_cmpl->key_type == HCI_LKEY_TYPE… in btif_dm_auth_cmpl_evt()
991 (p_auth_cmpl->key_type == HCI_LKEY_TYPE_CHANGED_COMB) || (!pairing_cb.is_temp)) in btif_dm_auth_cmpl_evt()
995 __FUNCTION__, p_auth_cmpl->key_type, pairing_cb.is_temp); in btif_dm_auth_cmpl_evt()
997 p_auth_cmpl->key, p_auth_cmpl->key_type, in btif_dm_auth_cmpl_evt()
1004 __FUNCTION__, p_auth_cmpl->key_type, pairing_cb.is_temp); in btif_dm_auth_cmpl_evt()
1016 if (p_auth_cmpl->success) in btif_dm_auth_cmpl_evt()
[all …]
/external/bluetooth/bluedroid/bta/dm/
Dbta_dm_act.c2934 tBTA_DM_AUTH_CMPL *p_auth_cmpl; in bta_dm_new_link_key_cback() local
2944 p_auth_cmpl = &sec_event.auth_cmpl; in bta_dm_new_link_key_cback()
2946 bdcpy(p_auth_cmpl->bd_addr, bd_addr); in bta_dm_new_link_key_cback()
2948 memcpy(p_auth_cmpl->bd_name, bd_name, (BD_NAME_LEN-1)); in bta_dm_new_link_key_cback()
2949 p_auth_cmpl->bd_name[BD_NAME_LEN-1] = 0; in bta_dm_new_link_key_cback()
2951 p_auth_cmpl->key_present = TRUE; in bta_dm_new_link_key_cback()
2952 p_auth_cmpl->key_type = key_type; in bta_dm_new_link_key_cback()
2953 p_auth_cmpl->success = TRUE; in bta_dm_new_link_key_cback()
2955 memcpy(p_auth_cmpl->key, key, LINK_KEY_LEN); in bta_dm_new_link_key_cback()