/system/bt/stack/smp/ |
D | smp_keys.cc | 132 ARRAY_TO_STREAM(p, plain_text, pt_len); /* byte 0 to byte 15 */ in smp_encrypt_data() 1029 ARRAY_TO_STREAM(p, v, BT_OCTET32_LEN); in smp_calculate_f4() 1030 ARRAY_TO_STREAM(p, u, BT_OCTET32_LEN); in smp_calculate_f4() 1037 ARRAY_TO_STREAM(p, x, BT_OCTET16_LEN); in smp_calculate_f4() 1050 ARRAY_TO_STREAM(p, cmac, BT_OCTET16_LEN); in smp_calculate_f4() 1131 ARRAY_TO_STREAM(p, y, BT_OCTET16_LEN); in smp_calculate_g2() 1132 ARRAY_TO_STREAM(p, v, BT_OCTET32_LEN); in smp_calculate_g2() 1133 ARRAY_TO_STREAM(p, u, BT_OCTET32_LEN); in smp_calculate_g2() 1146 ARRAY_TO_STREAM(p, x, BT_OCTET16_LEN); in smp_calculate_g2() 1381 ARRAY_TO_STREAM(p, t, BT_OCTET16_LEN); in smp_calculate_f5_mackey_or_long_term_key() [all …]
|
D | smp_utils.cc | 456 ARRAY_TO_STREAM(p, p_cb->confirm, BT_OCTET16_LEN); in smp_build_confirm_cmd() 480 ARRAY_TO_STREAM(p, p_cb->rand, BT_OCTET16_LEN); in smp_build_rand_cmd() 505 ARRAY_TO_STREAM(p, p_cb->ltk, BT_OCTET16_LEN); in smp_build_encrypt_info_cmd() 531 ARRAY_TO_STREAM(p, p_cb->enc_rand, BT_OCTET8_LEN); in smp_build_master_id_cmd() 560 ARRAY_TO_STREAM(p, irk, BT_OCTET16_LEN); in smp_build_identity_info_cmd() 611 ARRAY_TO_STREAM(p, p_cb->csrk, BT_OCTET16_LEN); in smp_build_signing_info_cmd() 693 ARRAY_TO_STREAM(p, p_publ_key, 2 * BT_OCTET32_LEN); in smp_build_pair_public_key_cmd() 718 ARRAY_TO_STREAM(p, p_cb->commitment, BT_OCTET16_LEN); in smp_build_pairing_commitment_cmd() 743 ARRAY_TO_STREAM(p, p_cb->dhkey_check, BT_OCTET16_LEN); in smp_build_pair_dhkey_check_cmd()
|
/system/nfc/src/nfc/tags/ |
D | ce_t3t.cc | 176 ARRAY_TO_STREAM(p_dst, p_nfcid2, NCI_RF_F_UID_LEN); in ce_t3t_send_rsp() 388 ARRAY_TO_STREAM(p_dst, p_cb->local_nfcid2, NCI_RF_F_UID_LEN); in ce_t3t_handle_check_cmd() 474 ARRAY_TO_STREAM( in ce_t3t_handle_check_cmd() 480 ARRAY_TO_STREAM( in ce_t3t_handle_check_cmd() 548 ARRAY_TO_STREAM(p_dst, p_cb->local_nfcid2, NCI_RF_F_UID_LEN); in ce_t3t_handle_non_nfc_forum_cmd() 551 ARRAY_TO_STREAM(p_dst, p_cb->local_pmm, NCI_T3T_PMM_LEN); in ce_t3t_handle_non_nfc_forum_cmd() 567 ARRAY_TO_STREAM(p_dst, p_cb->local_nfcid2, NCI_RF_F_UID_LEN); in ce_t3t_handle_non_nfc_forum_cmd() 578 ARRAY_TO_STREAM(p_dst, p_cb->local_nfcid2, NCI_RF_F_UID_LEN); in ce_t3t_handle_non_nfc_forum_cmd() 957 ARRAY_TO_STREAM(p_dst, p_cb->local_nfcid2, NCI_RF_F_UID_LEN); in CE_T3tSendCheckRsp() 965 ARRAY_TO_STREAM(p_dst, p_block_data, (num_blocks * T3T_MSG_BLOCKSIZE)); in CE_T3tSendCheckRsp()
|
D | rw_t3t.cc | 662 ARRAY_TO_STREAM(p, p_cb->peer_nfcid2, NCI_NFCID2_LEN); in rw_t3t_send_update_ndef_attribute_cmd() 790 ARRAY_TO_STREAM(p, p_cb->peer_nfcid2, NCI_NFCID2_LEN); in rw_t3t_send_next_ndef_update_cmd() 841 ARRAY_TO_STREAM(p, p_cur_ndef_src_offset, (ndef_blocks_to_write * 16)); in rw_t3t_send_next_ndef_update_cmd() 847 ARRAY_TO_STREAM(p, p_cur_ndef_src_offset, (int)(16 - ndef_padding)); in rw_t3t_send_next_ndef_update_cmd() 923 ARRAY_TO_STREAM(p, p_cb->peer_nfcid2, NCI_NFCID2_LEN); in rw_t3t_send_next_ndef_check_cmd() 998 ARRAY_TO_STREAM((*p), p_cb->peer_nfcid2, NCI_NFCID2_LEN); in rw_t3t_message_set_block_list() 1112 ARRAY_TO_STREAM(p, p_data, num_blocks * 16); in rw_t3t_send_update_cmd() 1150 ARRAY_TO_STREAM(p, p_cb->peer_nfcid2, NCI_NFCID2_LEN); in rw_t3t_check_mc_block() 1198 ARRAY_TO_STREAM(p, p_data, len); in rw_t3t_send_raw_frame() 1700 ARRAY_TO_STREAM(p, p_cb->peer_nfcid2, NCI_NFCID2_LEN); in rw_t3t_handle_ndef_detect_poll_rsp() [all …]
|
D | rw_t1t.cc | 342 ARRAY_TO_STREAM(p, p_t1t->mem, T1T_CMD_UID_LEN); in rw_t1t_send_static_cmd() 402 ARRAY_TO_STREAM(p, p_dat, 8); in rw_t1t_send_dyn_cmd() 407 ARRAY_TO_STREAM(p, p_t1t->mem, T1T_CMD_UID_LEN); in rw_t1t_send_dyn_cmd()
|
D | rw_t2t.cc | 365 ARRAY_TO_STREAM(p, p_dat, (p_cmd_rsp_info->cmd_len - 1)); in rw_t2t_send_cmd()
|
/system/bt/stack/hcic/ |
D | hciblecmds.cc | 44 ARRAY_TO_STREAM(pp, feat_set, HCIC_PARAM_SIZE_SET_USED_FEAT_CMD); in btsnd_hcic_ble_set_local_used_feat() 121 ARRAY_TO_STREAM(pp, p_data, data_len); in btsnd_hcic_ble_set_adv_data() 143 ARRAY_TO_STREAM(pp, p_scan_rsp, data_len); in btsnd_hcic_ble_set_scan_rsp_data() 331 ARRAY_TO_STREAM(pp, chnl_map, HCIC_BLE_CHNL_MAP_SIZE); in btsnd_hcic_ble_set_host_chnl_class() 387 ARRAY_TO_STREAM(pp, key, key_len); in btsnd_hcic_ble_encrypt() 389 ARRAY_TO_STREAM(pp, plain_text, pt_len); in btsnd_hcic_ble_encrypt() 420 ARRAY_TO_STREAM(pp, rand, HCIC_BLE_RAND_DI_SIZE); in btsnd_hcic_ble_start_enc() 422 ARRAY_TO_STREAM(pp, ltk, HCIC_BLE_ENCRYT_KEY_SIZE); in btsnd_hcic_ble_start_enc() 439 ARRAY_TO_STREAM(pp, ltk, HCIC_BLE_ENCRYT_KEY_SIZE); in btsnd_hcic_ble_ltk_req_reply() 576 ARRAY_TO_STREAM(pp, irk_peer, HCIC_BLE_ENCRYT_KEY_SIZE); in btsnd_hcic_ble_add_device_resolving_list() [all …]
|
D | hcicmds.cc | 687 if (filt_cond_len) ARRAY_TO_STREAM(pp, filt_cond, filt_cond_len); in btsnd_hcic_set_event_filter() 745 ARRAY_TO_STREAM(pp, name, len); in btsnd_hcic_change_name() 1447 ARRAY_TO_STREAM(pp, p_data, len); in btsnd_hcic_vendor_spec_cmd()
|
/system/bt/stack/btm/ |
D | btm_ble_adv_filter.cc | 311 ARRAY_TO_STREAM(p, name.data(), size); in BTM_LE_PF_local_name() 359 ARRAY_TO_STREAM(p, data.data(), size); in BTM_LE_PF_manu_data() 372 ARRAY_TO_STREAM(p, data_mask.data(), size); in BTM_LE_PF_manu_data() 410 ARRAY_TO_STREAM(p, data.data(), size); in BTM_LE_PF_srvc_data_pattern() 412 ARRAY_TO_STREAM(p, data_mask.data(), size); in BTM_LE_PF_srvc_data_pattern() 565 ARRAY_TO_STREAM(p, tmp.data(), (int)Uuid::kNumBytes128); in BTM_LE_PF_uuid_filter() 582 ARRAY_TO_STREAM(p, tmp.data(), (int)Uuid::kNumBytes128); in BTM_LE_PF_uuid_filter()
|
D | ble_advertiser_hci_interface.cc | 177 ARRAY_TO_STREAM(pp, data, data_length); in SetAdvertisingData() 204 ARRAY_TO_STREAM(pp, scan_response_data, scan_response_data_length); in SetScanResponseData() 404 ARRAY_TO_STREAM(pp, data, data_length); in SetAdvertisingData() 430 ARRAY_TO_STREAM(pp, scan_response_data, scan_response_data_length); in SetScanResponseData() 584 ARRAY_TO_STREAM(pp, data, data_length); in SetAdvertisingData() 606 ARRAY_TO_STREAM(pp, scan_response_data, scan_response_data_length); in SetScanResponseData() 683 ARRAY_TO_STREAM(pp, adv_data, adv_data_length); in SetPeriodicAdvertisingData()
|
D | btm_ble_privacy.cc | 757 ARRAY_TO_STREAM(p, p_dev_rec->ble.keys.irk, BT_OCTET16_LEN); in btm_ble_resolving_list_load_dev()
|
D | btm_sec.cc | 1628 ARRAY_TO_STREAM(p, c, BTM_OOB_HASH_C_SIZE); in BTM_BuildOobData() 1638 ARRAY_TO_STREAM(p, r, BTM_OOB_RAND_R_SIZE); in BTM_BuildOobData() 1661 ARRAY_TO_STREAM(p, btm_cb.cfg.bd_name, name_size); in BTM_BuildOobData()
|
/system/nfc/src/nfc/nci/ |
D | nci_hmsgs.cc | 124 ARRAY_TO_STREAM(pp, param_ids, num_ids); in nci_snd_core_get_config() 172 ARRAY_TO_STREAM(pp, p_param_tlvs, tlv_size); in nci_snd_core_set_config() 208 ARRAY_TO_STREAM(pp, p_param_tlvs, tlv_size); in nci_snd_core_conn_create() 578 ARRAY_TO_STREAM(pp, p_param_tlvs, tlv_size); in nci_snd_parameter_update_cmd() 656 ARRAY_TO_STREAM(pp, p_param_tlvs, tlv_size); in nci_snd_set_routing_cmd()
|
/system/nfc/src/include/ |
D | nfc_types.h | 71 #define ARRAY_TO_STREAM(p, a, len) \ macro
|
/system/nfc/src/nfa/dm/ |
D | nfa_dm_discover.cc | 467 ARRAY_TO_STREAM(p, p_cfg->la_nfcid1, p_cfg->la_nfcid1_len); in nfa_dm_set_rf_listen_mode_raw_config() 486 ARRAY_TO_STREAM(p, p_cfg->lb_nfcid0, p_cfg->lb_nfcid0_len); in nfa_dm_set_rf_listen_mode_raw_config() 490 ARRAY_TO_STREAM(p, p_cfg->lb_app_data, NCI_PARAM_LEN_LB_APPDATA); in nfa_dm_set_rf_listen_mode_raw_config() 533 ARRAY_TO_STREAM(p, p_cfg->lf_t3t_identifier[xx], in nfa_dm_set_rf_listen_mode_raw_config() 540 ARRAY_TO_STREAM(p, p_cfg->lf_t3t_pmm, NCI_PARAM_LEN_LF_T3T_PMM); in nfa_dm_set_rf_listen_mode_raw_config() 567 ARRAY_TO_STREAM(p, p_cfg->la_hist_bytes, p_cfg->la_hist_bytes_len); in nfa_dm_set_rf_listen_mode_raw_config() 573 ARRAY_TO_STREAM(p, p_cfg->lb_h_info_resp, p_cfg->lb_h_info_resp_len); in nfa_dm_set_rf_listen_mode_raw_config() 593 ARRAY_TO_STREAM(p, p_cfg->ln_atr_res_gen_bytes, in nfa_dm_set_rf_listen_mode_raw_config()
|
D | nfa_dm_act.cc | 558 ARRAY_TO_STREAM(p, p_data->setconfig.p_data, p_data->setconfig.length) in nfa_dm_set_config()
|
/system/bt/stack/gatt/ |
D | gatt_auth.cc | 62 ARRAY_TO_STREAM(p, p_attr->value, p_attr->len); in gatt_sign_data()
|
D | att_protocol.cc | 311 ARRAY_TO_STREAM(p, p_data, len); in attp_build_value_cmd()
|
D | gatt_utils.cc | 478 ARRAY_TO_STREAM(p, uuid.To128BitLE(), (int)Uuid::kNumBytes128); in gatt_build_uuid_to_stream() 481 ARRAY_TO_STREAM(p, uuid.To128BitLE(), (int)Uuid::kNumBytes128); in gatt_build_uuid_to_stream()
|
D | gatt_sr.cc | 549 ARRAY_TO_STREAM(p, attr.uuid.To128BitLE(), (int)Uuid::kNumBytes128); in gatt_build_find_info_rsp() 553 ARRAY_TO_STREAM(p, attr.uuid.To128BitLE(), (int)Uuid::kNumBytes128); in gatt_build_find_info_rsp()
|
D | gatt_db.cc | 207 ARRAY_TO_STREAM(p, val_attr->uuid.To128BitLE(), (int)Uuid::kNumBytes128); in read_attr_value()
|
/system/bt/stack/srvc/ |
D | srvc_dis.cc | 157 ARRAY_TO_STREAM(p, pp, p_value->len); in dis_read_attr_value()
|
/system/bt/stack/gap/ |
D | gap_ble.cc | 142 ARRAY_TO_STREAM(p, p_dev_name, p_value->len); in read_attr_value()
|
/system/bt/stack/include/ |
D | bt_types.h | 317 #define ARRAY_TO_STREAM(p, a, len) \ macro
|
/system/bt/stack/l2cap/ |
D | l2c_utils.cc | 958 ARRAY_TO_STREAM(p, p_data, data_len); in l2cu_send_peer_echo_req() 1013 ARRAY_TO_STREAM(p, p_data, data_len); in l2cu_send_peer_echo_rsp()
|