Home
last modified time | relevance | path

Searched refs:passkey (Results 1 – 17 of 17) sorted by relevance

/system/bt/stack/smp/
Dsmp_api.c303 void SMP_PasskeyReply (BD_ADDR bd_addr, UINT8 res, UINT32 passkey) in SMP_PasskeyReply() argument
309 passkey, res); in SMP_PasskeyReply()
330 if (passkey > BTM_MAX_PASSKEY_VAL || res != SMP_SUCCESS) in SMP_PasskeyReply()
332 SMP_TRACE_WARNING ("SMP_PasskeyReply() - Wrong key len: %d or passkey entry fail", passkey); in SMP_PasskeyReply()
339 smp_sm_event(&smp_cb, SMP_SC_KEY_READY_EVT, &passkey); in SMP_PasskeyReply()
343 smp_convert_string_to_tk(p_cb->tk, passkey); in SMP_PasskeyReply()
Dsmp_keys.c210 UINT32 passkey; /* 19655 test number; */ in smp_proc_passkey() local
214 STREAM_TO_UINT32(passkey, pp); in smp_proc_passkey()
215 passkey &= ~SMP_PASSKEY_MASK; in smp_proc_passkey()
218 while (passkey > BTM_MAX_PASSKEY_VAL) in smp_proc_passkey()
219 passkey >>= 1; in smp_proc_passkey()
223 UINT32_TO_STREAM(tt, passkey); in smp_proc_passkey()
230 (*p_cb->p_callback)(SMP_PASSKEY_NOTIF_EVT, p_cb->pairing_bda, (tSMP_EVT_DATA *)&passkey); in smp_proc_passkey()
235 smp_sm_event(&smp_cb, SMP_KEY_READY_EVT, &passkey); in smp_proc_passkey()
Dsmp_int.h240 UINT32 passkey; member
481 extern void smp_convert_string_to_tk(BT_OCTET16 tk, UINT32 passkey);
Dsmp_act.c164 cb_data.passkey = p_data->passkey; in smp_send_app_cback()
1866 UINT32_TO_STREAM(p, p_data->passkey); in smp_start_passkey_verification()
1869 UINT32_TO_STREAM(p, p_data->passkey); in smp_start_passkey_verification()
Dsmp_utils.c772 void smp_convert_string_to_tk(BT_OCTET16 tk, UINT32 passkey) in smp_convert_string_to_tk() argument
777 UINT32_TO_STREAM(p, passkey); in smp_convert_string_to_tk()
/system/bt/btif/include/
Dbtif_api.h296 uint8_t accept, uint32_t passkey);
309 uint32_t passkey);
/system/bt/stack/include/
Dsmp_api.h272 UINT32 passkey; member
400 extern void SMP_PasskeyReply (BD_ADDR bd_addr, UINT8 res, UINT32 passkey);
Dbtm_api.h1471 UINT32 passkey; /* passkey */ member
3487 extern void BTM_PasskeyReqReply(tBTM_STATUS res, BD_ADDR bd_addr, UINT32 passkey);
Dbtm_ble_api.h1209 extern void BTM_BlePasskeyReply (BD_ADDR bd_addr, UINT8 res, UINT32 passkey);
/system/bt/btif/src/
Dbluetooth.c322 uint8_t accept, uint32_t passkey) in ssp_reply() argument
328 return btif_dm_ssp_reply(bd_addr, variant, accept, passkey); in ssp_reply()
Dbtif_dm.c1083 p_ssp_key_notif->passkey); in btif_dm_ssp_key_notif_evt()
2523 UINT32 passkey = 0; in btif_dm_pin_reply() local
2529 passkey += (multi[i] * (pin_code->pin[i] - '0')); in btif_dm_pin_reply()
2531 BTIF_TRACE_DEBUG("btif_dm_pin_reply: passkey: %d", passkey); in btif_dm_pin_reply()
2532 BTA_DmBlePasskeyReply(remote_bd_addr, accept, passkey); in btif_dm_pin_reply()
2561 uint32_t passkey) in btif_dm_ssp_reply() argument
2563 UNUSED(passkey); in btif_dm_ssp_reply()
3033 p_ssp_key_notif->passkey); in btif_dm_ble_key_notif_evt()
3322 p_notif_req->passkey); in btif_dm_ble_key_nc_req_evt()
/system/bt/bta/dm/
Dbta_dm_api.c701 void BTA_DmBlePasskeyReply(BD_ADDR bd_addr, BOOLEAN accept, UINT32 passkey) in BTA_DmBlePasskeyReply() argument
712 p_msg->passkey = passkey; in BTA_DmBlePasskeyReply()
Dbta_dm_act.c2658 sec_event.key_notif.passkey = bta_dm_cb.num_val; /* get PIN code numeric number */ in bta_dm_pinname_cback()
2680 sec_event.key_notif.passkey = bta_dm_cb.num_val; /* get PIN code numeric number */ in bta_dm_pinname_cback()
2898 bta_dm_cb.num_val = sec_event.key_notif.passkey = p_data->key_notif.passkey; in bta_dm_sp_cback()
4369 sec_event.key_notif.passkey = p_data->key_notif; in bta_dm_ble_smp_cback()
4386 sec_event.key_notif.passkey = p_data->key_notif; in bta_dm_ble_smp_cback()
4538 …BlePasskeyReply(p_data->ble_passkey_reply.bd_addr, BTM_SUCCESS, p_data->ble_passkey_reply.passkey); in bta_dm_ble_passkey_reply()
4542 …keyReply(p_data->ble_passkey_reply.bd_addr, BTM_NOT_AUTHORIZED, p_data->ble_passkey_reply.passkey); in bta_dm_ble_passkey_reply()
Dbta_dm_int.h412 UINT32 passkey; member
/system/bt/bta/include/
Dbta_api.h853 …UINT32 passkey; /* the numeric value for comparison. If just_works, do not show th… member
1736 extern void BTA_DmBlePasskeyReply(BD_ADDR bd_addr, BOOLEAN accept, UINT32 passkey);
/system/bt/stack/btm/
Dbtm_sec.c1573 void BTM_PasskeyReqReply(tBTM_STATUS res, BD_ADDR bd_addr, UINT32 passkey) in BTM_PasskeyReqReply() argument
1606 if (passkey > BTM_MAX_PASSKEY_VAL) in BTM_PasskeyReqReply()
1618 btsnd_hcic_user_passkey_reply (bd_addr, passkey); in BTM_PasskeyReqReply()
3672 STREAM_TO_UINT32 (evt_data.key_notif.passkey, p); in btm_proc_sp_req_evt()
3674 BTM_TRACE_DEBUG ("BTM_SP_KEY_NOTIF_EVT: passkey: %u", evt_data.key_notif.passkey); in btm_proc_sp_req_evt()
Dbtm_ble.c394 void BTM_BlePasskeyReply (BD_ADDR bd_addr, UINT8 res, UINT32 passkey) in BTM_BlePasskeyReply() argument
408 SMP_PasskeyReply(bd_addr, res_smp, passkey); in BTM_BlePasskeyReply()