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.cc213 static void btif_dm_ble_auth_cmpl_evt(tBTA_DM_AUTH_CMPL* p_auth_cmpl);
905 static void btif_dm_auth_cmpl_evt(tBTA_DM_AUTH_CMPL* p_auth_cmpl) { in btif_dm_auth_cmpl_evt() argument
912 pairing_cb.state, p_auth_cmpl->success, in btif_dm_auth_cmpl_evt()
913 p_auth_cmpl->key_present); in btif_dm_auth_cmpl_evt()
915 RawAddress bd_addr = p_auth_cmpl->bd_addr; in btif_dm_auth_cmpl_evt()
917 if ((p_auth_cmpl->success) && (p_auth_cmpl->key_present)) { in btif_dm_auth_cmpl_evt()
918 if ((p_auth_cmpl->key_type < HCI_LKEY_TYPE_DEBUG_COMB) || in btif_dm_auth_cmpl_evt()
919 (p_auth_cmpl->key_type == HCI_LKEY_TYPE_AUTH_COMB) || in btif_dm_auth_cmpl_evt()
920 (p_auth_cmpl->key_type == HCI_LKEY_TYPE_CHANGED_COMB) || in btif_dm_auth_cmpl_evt()
921 (p_auth_cmpl->key_type == HCI_LKEY_TYPE_AUTH_COMB_P_256) || in btif_dm_auth_cmpl_evt()
[all …]
/system/bt/bta/dm/
Dbta_dm_act.cc2065 tBTA_DM_AUTH_CMPL* p_auth_cmpl; in bta_dm_new_link_key_cback() local
2071 p_auth_cmpl = &sec_event.auth_cmpl; in bta_dm_new_link_key_cback()
2073 p_auth_cmpl->bd_addr = bd_addr; in bta_dm_new_link_key_cback()
2075 memcpy(p_auth_cmpl->bd_name, bd_name, BD_NAME_LEN); in bta_dm_new_link_key_cback()
2076 p_auth_cmpl->bd_name[BD_NAME_LEN] = 0; in bta_dm_new_link_key_cback()
2077 p_auth_cmpl->key_present = true; in bta_dm_new_link_key_cback()
2078 p_auth_cmpl->key_type = key_type; in bta_dm_new_link_key_cback()
2079 p_auth_cmpl->success = true; in bta_dm_new_link_key_cback()
2080 p_auth_cmpl->key = key; in bta_dm_new_link_key_cback()
2093 bta_dm_reset_sec_dev_pending(p_auth_cmpl->bd_addr); in bta_dm_new_link_key_cback()