/system/nfc/src/nfc/nci/ |
D | nci_hmsgs.cc | 62 UINT8_TO_STREAM(pp, (uint8_t)(tlv_size + 1)); in nci_snd_tlv_parameter_generic_cmd() 79 UINT8_TO_STREAM(pp, num); in nci_snd_tlv_parameter_generic_cmd() 110 UINT8_TO_STREAM(pp, NCI_CORE_PARAM_SIZE_RESET); in nci_snd_core_reset() 111 UINT8_TO_STREAM(pp, reset_type); in nci_snd_core_reset() 141 UINT8_TO_STREAM(pp, NCI_CORE_PARAM_SIZE_INIT(nci_version)); in nci_snd_core_init() 143 UINT8_TO_STREAM(pp, NCI2_X_CORE_INIT_CMD_BYTE_0); in nci_snd_core_init() 144 UINT8_TO_STREAM(pp, NCI2_X_CORE_INIT_CMD_BYTE_1); in nci_snd_core_init() 175 UINT8_TO_STREAM(pp, (uint8_t)(num_ids + 1)); in nci_snd_core_get_config() 176 UINT8_TO_STREAM(pp, num_ids); in nci_snd_core_get_config() 207 UINT8_TO_STREAM(pp, (uint8_t)(tlv_size + 1)); in nci_snd_core_set_config() [all …]
|
/system/nfc/src/nfc/tags/ |
D | ce_t3t.cc | 90 UINT8_TO_STREAM(p, (p_msg->len + 1)); in ce_t3t_send_to_lower() 169 UINT8_TO_STREAM(p_dst, opcode); in ce_t3t_send_rsp() 175 UINT8_TO_STREAM(p_dst, status1); in ce_t3t_send_rsp() 176 UINT8_TO_STREAM(p_dst, status2); in ce_t3t_send_rsp() 381 UINT8_TO_STREAM(p_dst, T3T_MSG_OPC_CHECK_RSP); in ce_t3t_handle_check_cmd() 390 UINT8_TO_STREAM(p_dst, T3T_MSG_RSP_STATUS_OK); in ce_t3t_handle_check_cmd() 391 UINT8_TO_STREAM(p_dst, T3T_MSG_RSP_STATUS_OK); in ce_t3t_handle_check_cmd() 392 UINT8_TO_STREAM(p_dst, p_cb->cur_cmd.num_blocks); in ce_t3t_handle_check_cmd() 419 UINT8_TO_STREAM(p_dst, T3T_MSG_RSP_STATUS_ERROR); in ce_t3t_handle_check_cmd() 420 UINT8_TO_STREAM(p_dst, T3T_MSG_RSP_STATUS2_ERROR_MEMORY); in ce_t3t_handle_check_cmd() [all …]
|
D | rw_t3t.cc | 592 UINT8_TO_STREAM(p, (p_msg->len + 1)); in rw_t3t_send_to_lower() 683 UINT8_TO_STREAM(p, T3T_MSG_OPC_UPDATE_CMD); in rw_t3t_send_update_ndef_attribute_cmd() 689 UINT8_TO_STREAM(p, 1); /* Number of services (only 1 service: NDEF) */ in rw_t3t_send_update_ndef_attribute_cmd() 694 UINT8_TO_STREAM(p, 1); /* Number of blocks to write in this command */ in rw_t3t_send_update_ndef_attribute_cmd() 697 UINT8_TO_STREAM(p, T3T_MSG_MASK_TWO_BYTE_BLOCK_DESC_FORMAT); in rw_t3t_send_update_ndef_attribute_cmd() 698 UINT8_TO_STREAM(p, 0); in rw_t3t_send_update_ndef_attribute_cmd() 703 UINT8_TO_STREAM(p, T3T_MSG_NDEF_VERSION); in rw_t3t_send_update_ndef_attribute_cmd() 704 UINT8_TO_STREAM(p, p_cb->ndef_attrib.nbr); in rw_t3t_send_update_ndef_attribute_cmd() 705 UINT8_TO_STREAM(p, p_cb->ndef_attrib.nbw); in rw_t3t_send_update_ndef_attribute_cmd() 719 UINT8_TO_STREAM(p, write_f); in rw_t3t_send_update_ndef_attribute_cmd() [all …]
|
D | rw_i93.cc | 732 UINT8_TO_STREAM(p, flags); in rw_i93_send_cmd_inventory() 735 UINT8_TO_STREAM(p, I93_CMD_INVENTORY); in rw_i93_send_cmd_inventory() 739 UINT8_TO_STREAM(p, afi); /* Optional AFI */ in rw_i93_send_cmd_inventory() 744 UINT8_TO_STREAM(p, I93_UID_BYTE_LEN * 8); /* Mask Length */ in rw_i93_send_cmd_inventory() 748 UINT8_TO_STREAM(p, 0x00); /* Mask Length */ in rw_i93_send_cmd_inventory() 786 UINT8_TO_STREAM(p, (I93_FLAG_ADDRESS_SET | RW_I93_FLAG_SUB_CARRIER | in rw_i93_send_cmd_stay_quiet() 790 UINT8_TO_STREAM(p, I93_CMD_STAY_QUIET); in rw_i93_send_cmd_stay_quiet() 856 UINT8_TO_STREAM(p, flags); in rw_i93_send_cmd_read_single_block() 860 UINT8_TO_STREAM(p, I93_CMD_EXT_READ_SINGLE_BLOCK); in rw_i93_send_cmd_read_single_block() 862 UINT8_TO_STREAM(p, I93_CMD_READ_SINGLE_BLOCK); in rw_i93_send_cmd_read_single_block() [all …]
|
D | rw_t2t.cc | 359 UINT8_TO_STREAM(p, opcode); in rw_t2t_send_cmd()
|
/system/nfc/src/nfa/dm/ |
D | nfa_dm_discover.cc | 388 UINT8_TO_STREAM(p, NFC_PMID_LA_BIT_FRAME_SDD); in nfa_dm_set_rf_listen_mode_config() 389 UINT8_TO_STREAM(p, NCI_PARAM_LEN_LA_BIT_FRAME_SDD); in nfa_dm_set_rf_listen_mode_config() 390 UINT8_TO_STREAM(p, 0x04); in nfa_dm_set_rf_listen_mode_config() 391 UINT8_TO_STREAM(p, NFC_PMID_LA_PLATFORM_CONFIG); in nfa_dm_set_rf_listen_mode_config() 392 UINT8_TO_STREAM(p, NCI_PARAM_LEN_LA_PLATFORM_CONFIG); in nfa_dm_set_rf_listen_mode_config() 393 UINT8_TO_STREAM(p, platform); in nfa_dm_set_rf_listen_mode_config() 394 UINT8_TO_STREAM(p, NFC_PMID_LA_SEL_INFO); in nfa_dm_set_rf_listen_mode_config() 395 UINT8_TO_STREAM(p, NCI_PARAM_LEN_LA_SEL_INFO); in nfa_dm_set_rf_listen_mode_config() 396 UINT8_TO_STREAM(p, sens_info); in nfa_dm_set_rf_listen_mode_config() 400 UINT8_TO_STREAM(p, NFC_PMID_LB_SENSB_INFO); in nfa_dm_set_rf_listen_mode_config() [all …]
|
D | nfa_dm_act.cc | 550 UINT8_TO_STREAM(p, p_data->setconfig.param_id); in nfa_dm_set_config() 551 UINT8_TO_STREAM(p, p_data->setconfig.length); in nfa_dm_set_config()
|
/system/nfc/src/nfc/nfc/ |
D | nfc_main.cc | 1017 UINT8_TO_STREAM(pp, NCI_CON_CREATE_TAG_NFCEE_VAL); in NFC_ConnCreate() 1018 UINT8_TO_STREAM(pp, 2); in NFC_ConnCreate() 1019 UINT8_TO_STREAM(pp, id); in NFC_ConnCreate() 1020 UINT8_TO_STREAM(pp, protocol); in NFC_ConnCreate() 1024 UINT8_TO_STREAM(pp, NCI_CON_CREATE_TAG_RF_DISC_ID); in NFC_ConnCreate() 1025 UINT8_TO_STREAM(pp, 1); in NFC_ConnCreate() 1026 UINT8_TO_STREAM(pp, id); in NFC_ConnCreate() 1253 UINT8_TO_STREAM(p, NCI_RF_PARAM_ID_TECH_N_MODE); in NFC_UpdateRFCommParams() 1254 UINT8_TO_STREAM(p, 1); in NFC_UpdateRFCommParams() 1255 UINT8_TO_STREAM(p, p_params->rf_tech_n_mode); in NFC_UpdateRFCommParams() [all …]
|
/system/nfc/src/nfa/ce/ |
D | nfa_ce_act.cc | 337 UINT8_TO_STREAM(p_params, NFC_PMID_LF_T3T_ID1 + t3t_idx); /* type */ in nfc_ce_t3t_set_listen_params() 339 UINT8_TO_STREAM(p_params, NCI_PARAM_LEN_LF_T3T_ID(NFC_GetNCIVersion())); in nfc_ce_t3t_set_listen_params() 357 UINT8_TO_STREAM(p_params, NFC_PMID_LF_T3T_FLAGS2); /* type */ in nfc_ce_t3t_set_listen_params() 358 UINT8_TO_STREAM(p_params, NCI_PARAM_LEN_LF_T3T_FLAGS2); /* length */ in nfc_ce_t3t_set_listen_params() 364 UINT8_TO_STREAM(p_params, NCI_PARAM_ID_LF_T3T_RD_ALLOWED); /* type */ in nfc_ce_t3t_set_listen_params() 365 UINT8_TO_STREAM(p_params, NCI_PARAM_LEN_LF_T3T_RD_ALLOWED); /* length */ in nfc_ce_t3t_set_listen_params() 367 UINT8_TO_STREAM(p_params, NCI_PARAM_ID_LF_CON_ADV_FEAT); /* type */ in nfc_ce_t3t_set_listen_params() 368 UINT8_TO_STREAM(p_params, NCI_PARAM_LEN_LF_CON_ADV_FEAT); /* length */ in nfc_ce_t3t_set_listen_params() 370 UINT8_TO_STREAM(p_params, adv_Feat); in nfc_ce_t3t_set_listen_params() 373 UINT8_TO_STREAM(p_params, NCI_PARAM_ID_LF_T3T_PMM); /* type */ in nfc_ce_t3t_set_listen_params() [all …]
|
/system/nfc/src/include/ |
D | nfc_types.h | 62 #define UINT8_TO_STREAM(p, u8) \ macro
|