/system/nfc/src/nfc/tags/ |
D | rw_t4t.cc | 165 UINT8_TO_BE_STREAM(p, T4T_CMD_DES_CLASS); in rw_t4t_get_hw_version() 166 UINT8_TO_BE_STREAM(p, T4T_CMD_INS_GET_HW_VERSION); in rw_t4t_get_hw_version() 202 UINT8_TO_BE_STREAM(p, T4T_CMD_DES_CLASS); in rw_t4t_get_sw_version() 203 UINT8_TO_BE_STREAM(p, T4T_ADDI_FRAME_RESP); in rw_t4t_get_sw_version() 288 UINT8_TO_BE_STREAM(p, T4T_CMD_DES_CLASS); in rw_t4t_get_uid_details() 289 UINT8_TO_BE_STREAM(p, T4T_ADDI_FRAME_RESP); in rw_t4t_get_uid_details() 327 UINT8_TO_BE_STREAM(p, T4T_CMD_DES_CLASS); in rw_t4t_create_app() 328 UINT8_TO_BE_STREAM(p, T4T_CMD_CREATE_AID); in rw_t4t_create_app() 331 UINT8_TO_BE_STREAM(p, (T4T_CMD_MAX_HDR_SIZE + sizeof(df_name) + 2)); in rw_t4t_create_app() 336 UINT8_TO_BE_STREAM(p, 0x00); /* Le */ in rw_t4t_create_app() [all …]
|
D | rw_mfc.cc | 192 UINT8_TO_BE_STREAM(p, MFC_Write); in rw_mfc_formatBlock() 193 UINT8_TO_BE_STREAM(p, block); in rw_mfc_formatBlock() 387 UINT8_TO_BE_STREAM(p, MFC_Write); in rw_mfc_writeBlock() 388 UINT8_TO_BE_STREAM(p, block); in rw_mfc_writeBlock() 393 UINT8_TO_BE_STREAM(p, 0x03); in rw_mfc_writeBlock() 394 UINT8_TO_BE_STREAM(p, p_mfc->ndef_length); in rw_mfc_writeBlock() 397 UINT8_TO_BE_STREAM(p, 0x03); in rw_mfc_writeBlock() 398 UINT8_TO_BE_STREAM(p, 0xFF); in rw_mfc_writeBlock() 399 UINT8_TO_BE_STREAM(p, (uint8_t)(p_mfc->ndef_length >>8)); in rw_mfc_writeBlock() 400 UINT8_TO_BE_STREAM(p, (uint8_t)(p_mfc->ndef_length & 0xFF)); in rw_mfc_writeBlock() [all …]
|
D | ce_t4t.cc | 198 UINT8_TO_BE_STREAM(p_dst, (uint8_t)(p_t4t->nlen)); in ce_t4t_read_binary() 325 UINT8_TO_BE_STREAM(p, version); in ce_t4t_set_version_in_cc() 847 UINT8_TO_BE_STREAM(p, T4T_MY_VERSION); in CE_T4tSetLocalNDEFMsg() 852 UINT8_TO_BE_STREAM(p, T4T_NDEF_FILE_CONTROL_TYPE); /* type */ in CE_T4tSetLocalNDEFMsg() 853 UINT8_TO_BE_STREAM(p, T4T_FILE_CONTROL_LENGTH); /* length */ in CE_T4tSetLocalNDEFMsg() 857 UINT8_TO_BE_STREAM(p, T4T_FC_READ_ACCESS); /* read access */ in CE_T4tSetLocalNDEFMsg() 860 UINT8_TO_BE_STREAM(p, T4T_FC_NO_WRITE_ACCESS); /* read only */ in CE_T4tSetLocalNDEFMsg() 863 UINT8_TO_BE_STREAM(p, T4T_FC_WRITE_ACCESS); /* write access */ in CE_T4tSetLocalNDEFMsg()
|
D | rw_t2t.cc | 666 UINT8_TO_BE_STREAM(p, sector); in rw_t2t_sector_change() 667 UINT8_TO_BE_STREAM(p, 0x00); in rw_t2t_sector_change() 668 UINT8_TO_BE_STREAM(p, 0x00); in rw_t2t_sector_change() 669 UINT8_TO_BE_STREAM(p, 0x00); in rw_t2t_sector_change() 725 UINT8_TO_BE_STREAM(p, T2T_CMD_READ); in rw_t2t_read() 726 UINT8_TO_BE_STREAM(p, read_cmd[0]); in rw_t2t_read() 784 UINT8_TO_BE_STREAM(p, T2T_CMD_WRITE); in rw_t2t_write()
|
D | rw_t1t_ndef.cc | 2176 UINT8_TO_BE_STREAM(p, T1T_CC_NMN); in RW_T1tFormatNDef() 2177 UINT8_TO_BE_STREAM(p, T1T_CC_VNO); in RW_T1tFormatNDef() 2178 UINT8_TO_BE_STREAM(p, p_ret->tms); in RW_T1tFormatNDef() 2179 UINT8_TO_BE_STREAM(p, T1T_CC_RWA_RW); in RW_T1tFormatNDef() 2182 UINT8_TO_BE_STREAM(p, TAG_LOCK_CTRL_TLV); in RW_T1tFormatNDef() 2183 UINT8_TO_BE_STREAM(p, T1T_DEFAULT_TLV_LEN); in RW_T1tFormatNDef() 2184 UINT8_TO_BE_STREAM(p, p_ret->lock_tlv[0]); in RW_T1tFormatNDef() 2185 UINT8_TO_BE_STREAM(p, p_ret->lock_tlv[1]); in RW_T1tFormatNDef() 2187 UINT8_TO_BE_STREAM(p, p_ret->lock_tlv[2]); in RW_T1tFormatNDef() 2188 UINT8_TO_BE_STREAM(p, TAG_MEM_CTRL_TLV); in RW_T1tFormatNDef() [all …]
|
D | rw_t2t_ndef.cc | 1860 UINT8_TO_BE_STREAM(p, p_t2t->tlv_value[2]); in rw_t2t_handle_format_tag_rsp() 1923 UINT8_TO_BE_STREAM(p, TAG_NDEF_TLV); in rw_t2t_handle_format_tag_rsp() 1924 UINT8_TO_BE_STREAM(p, 0); in rw_t2t_handle_format_tag_rsp() 1928 UINT8_TO_BE_STREAM(p, TAG_TERMINATOR_TLV); in rw_t2t_handle_format_tag_rsp() 1930 UINT8_TO_BE_STREAM(p, 0); in rw_t2t_handle_format_tag_rsp() 2516 UINT8_TO_BE_STREAM(p, T2T_TLV_TYPE_LOCK_CTRL); in rw_t2t_set_lock_tlv() 2517 UINT8_TO_BE_STREAM(p, T2T_TLEN_LOCK_CTRL_TLV); in rw_t2t_set_lock_tlv() 2518 UINT8_TO_BE_STREAM(p, (PageAddr << 4 | ByteOffset)); in rw_t2t_set_lock_tlv() 2519 UINT8_TO_BE_STREAM(p, num_dyn_lock_bits); in rw_t2t_set_lock_tlv() 2566 UINT8_TO_BE_STREAM(p, T2T_CC0_NMN); in rw_t2t_set_cc() [all …]
|
D | rw_t1t.cc | 339 UINT8_TO_BE_STREAM(p, opcode); in rw_t1t_send_static_cmd() 340 UINT8_TO_BE_STREAM(p, add); in rw_t1t_send_static_cmd() 341 UINT8_TO_BE_STREAM(p, dat); in rw_t1t_send_static_cmd() 399 UINT8_TO_BE_STREAM(p, opcode); in rw_t1t_send_dyn_cmd() 400 UINT8_TO_BE_STREAM(p, add); in rw_t1t_send_dyn_cmd()
|
/system/bt/stack/avrc/ |
D | avrc_bld_ct.cc | 50 UINT8_TO_BE_STREAM(p_data, p_cmd->target_pdu); in avrc_bld_next_cmd() 81 UINT8_TO_BE_STREAM(p_data, (AVRC_MAX_VOLUME & p_cmd->volume)); in avrc_bld_set_abs_volume_cmd() 107 UINT8_TO_BE_STREAM(p_data, event_id); in avrc_bld_register_notifn() 130 UINT8_TO_BE_STREAM(p_data, cap_id); in avrc_bld_get_capability_cmd() 172 UINT8_TO_BE_STREAM(p_data, attrib_id); in avrc_bld_list_player_app_values_cmd() 197 UINT8_TO_BE_STREAM(p_data, num_attrib_id); in avrc_bld_get_current_player_app_values_cmd() 199 UINT8_TO_BE_STREAM(p_data, attrib_ids[count]); in avrc_bld_get_current_player_app_values_cmd() 227 UINT8_TO_BE_STREAM(p_data, num_attrib_id); in avrc_bld_set_current_player_app_values_cmd() 229 UINT8_TO_BE_STREAM(p_data, p_val[count].attr_id); in avrc_bld_set_current_player_app_values_cmd() 230 UINT8_TO_BE_STREAM(p_data, p_val[count].attr_val); in avrc_bld_set_current_player_app_values_cmd() [all …]
|
D | avrc_bld_tg.cc | 72 UINT8_TO_BE_STREAM(p_data, p_rsp->capability_id); in avrc_bld_get_capability_rsp() 96 UINT8_TO_BE_STREAM(p_data, p_event_id[xx]); in avrc_bld_get_capability_rsp() 143 UINT8_TO_BE_STREAM(p_data, p_rsp->attrs[xx]); in avrc_bld_list_app_settings_attr_rsp() 189 UINT8_TO_BE_STREAM(p_data, p_rsp->vals[xx]); in avrc_bld_list_app_settings_values_rsp() 239 UINT8_TO_BE_STREAM(p_data, p_rsp->p_vals[xx].attr_id); in avrc_bld_get_cur_app_setting_value_rsp() 240 UINT8_TO_BE_STREAM(p_data, p_rsp->p_vals[xx].attr_val); in avrc_bld_get_cur_app_setting_value_rsp() 323 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].attr_id); in avrc_bld_app_setting_text_rsp() 325 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].str_len); in avrc_bld_app_setting_text_rsp() 537 UINT8_TO_BE_STREAM(p_data, p_rsp->play_status); in avrc_bld_get_play_status_rsp() 567 UINT8_TO_BE_STREAM(p_data, p_rsp->event_id); in avrc_bld_notify_rsp() [all …]
|
/system/bt/stack/sdp/ |
D | sdp_db.cc | 207 UINT8_TO_BE_STREAM(p, (DATA_ELE_SEQ_DESC_TYPE << 3) | SIZE_IN_NEXT_BYTE); in sdp_compose_proto_list() 212 UINT8_TO_BE_STREAM(p, (UUID_DESC_TYPE << 3) | SIZE_TWO_BYTES); in sdp_compose_proto_list() 222 UINT8_TO_BE_STREAM(p, (UINT_DESC_TYPE << 3) | SIZE_ONE_BYTE); in sdp_compose_proto_list() 223 UINT8_TO_BE_STREAM(p, p_elem_list->params[yy]); in sdp_compose_proto_list() 227 UINT8_TO_BE_STREAM(p, (UINT_DESC_TYPE << 3) | SIZE_TWO_BYTES); in sdp_compose_proto_list() 489 UINT8_TO_BE_STREAM(p, (type[xx] << 3) | SIZE_ONE_BYTE); in SDP_AddSequence() 492 UINT8_TO_BE_STREAM(p, (type[xx] << 3) | SIZE_TWO_BYTES); in SDP_AddSequence() 495 UINT8_TO_BE_STREAM(p, (type[xx] << 3) | SIZE_FOUR_BYTES); in SDP_AddSequence() 498 UINT8_TO_BE_STREAM(p, (type[xx] << 3) | SIZE_EIGHT_BYTES); in SDP_AddSequence() 501 UINT8_TO_BE_STREAM(p, (type[xx] << 3) | SIZE_SIXTEEN_BYTES); in SDP_AddSequence() [all …]
|
D | sdp_utils.cc | 414 UINT8_TO_BE_STREAM(p_out, in sdpu_build_attrib_seq() 418 UINT8_TO_BE_STREAM(p_out, in sdpu_build_attrib_seq() 420 UINT8_TO_BE_STREAM(p_out, xx); in sdpu_build_attrib_seq() 425 UINT8_TO_BE_STREAM(p_out, (UINT_DESC_TYPE << 3) | SIZE_FOUR_BYTES); in sdpu_build_attrib_seq() 431 UINT8_TO_BE_STREAM(p_out, (UINT_DESC_TYPE << 3) | SIZE_TWO_BYTES); in sdpu_build_attrib_seq() 452 UINT8_TO_BE_STREAM(p_out, (UINT_DESC_TYPE << 3) | SIZE_TWO_BYTES); in sdpu_build_attrib_entry() 464 UINT8_TO_BE_STREAM(p_out, (p_attr->type << 3) | SIZE_IN_NEXT_LONG); in sdpu_build_attrib_entry() 470 UINT8_TO_BE_STREAM(p_out, (p_attr->type << 3) | SIZE_IN_NEXT_WORD); in sdpu_build_attrib_entry() 475 UINT8_TO_BE_STREAM(p_out, (p_attr->type << 3) | SIZE_IN_NEXT_BYTE); in sdpu_build_attrib_entry() 476 UINT8_TO_BE_STREAM(p_out, p_attr->len); in sdpu_build_attrib_entry() [all …]
|
D | sdp_discovery.cc | 78 UINT8_TO_BE_STREAM(p_out, (DATA_ELE_SEQ_DESC_TYPE << 3) | SIZE_IN_NEXT_BYTE); in sdpu_build_uuid_seq() 88 UINT8_TO_BE_STREAM(p_out, (UUID_DESC_TYPE << 3) | SIZE_TWO_BYTES); in sdpu_build_uuid_seq() 91 UINT8_TO_BE_STREAM(p_out, (UUID_DESC_TYPE << 3) | SIZE_FOUR_BYTES); in sdpu_build_uuid_seq() 94 UINT8_TO_BE_STREAM(p_out, (UUID_DESC_TYPE << 3) | SIZE_SIXTEEN_BYTES); in sdpu_build_uuid_seq() 104 UINT8_TO_BE_STREAM(p_len, xx); in sdpu_build_uuid_seq() 129 UINT8_TO_BE_STREAM(p, SDP_PDU_SERVICE_SEARCH_REQ); in sdp_snd_service_search_req() 150 UINT8_TO_BE_STREAM(p, cont_len); in sdp_snd_service_search_req() 464 UINT8_TO_BE_STREAM(p, SDP_PDU_SERVICE_ATTR_REQ); in process_service_attr_rsp() 493 UINT8_TO_BE_STREAM(p, 0); in process_service_attr_rsp() 583 UINT8_TO_BE_STREAM(p, SDP_PDU_SERVICE_SEARCH_ATTR_REQ); in process_service_search_attr_rsp() [all …]
|
D | sdp_server.cc | 259 UINT8_TO_BE_STREAM(p_rsp, SDP_PDU_SERVICE_SEARCH_RSP); in process_service_search() 278 UINT8_TO_BE_STREAM(p_rsp, SDP_CONTINUATION_LEN); in process_service_search() 281 UINT8_TO_BE_STREAM(p_rsp, 0); in process_service_search() 493 UINT8_TO_BE_STREAM(p_rsp, SDP_PDU_SERVICE_ATTR_RSP); in process_service_attr_req() 511 UINT8_TO_BE_STREAM(p_rsp, SDP_CONTINUATION_LEN); in process_service_attr_req() 514 UINT8_TO_BE_STREAM(p_rsp, 0); in process_service_attr_req() 715 UINT8_TO_BE_STREAM(p_seq_start, in process_service_search_attr_req() 793 UINT8_TO_BE_STREAM(p_rsp, SDP_PDU_SERVICE_SEARCH_ATTR_RSP); in process_service_search_attr_req() 813 UINT8_TO_BE_STREAM(p_rsp, SDP_CONTINUATION_LEN); in process_service_search_attr_req() 816 UINT8_TO_BE_STREAM(p_rsp, 0); in process_service_search_attr_req()
|
/system/nfc/src/nfc/llcp/ |
D | llcp_util.cc | 452 UINT8_TO_BE_STREAM(p, LLCP_MIUX_TYPE); in llcp_util_send_connect() 453 UINT8_TO_BE_STREAM(p, LLCP_MIUX_LEN); in llcp_util_send_connect() 458 UINT8_TO_BE_STREAM(p, LLCP_RW_TYPE); in llcp_util_send_connect() 459 UINT8_TO_BE_STREAM(p, LLCP_RW_LEN); in llcp_util_send_connect() 460 UINT8_TO_BE_STREAM(p, p_params->rw); in llcp_util_send_connect() 464 UINT8_TO_BE_STREAM(p, LLCP_SN_TYPE); in llcp_util_send_connect() 465 UINT8_TO_BE_STREAM(p, sn_len - 2); in llcp_util_send_connect() 597 UINT8_TO_BE_STREAM(p, LLCP_MIUX_TYPE); in llcp_util_send_cc() 598 UINT8_TO_BE_STREAM(p, LLCP_MIUX_LEN); in llcp_util_send_cc() 603 UINT8_TO_BE_STREAM(p, LLCP_RW_TYPE); in llcp_util_send_cc() [all …]
|
D | llcp_api.cc | 244 UINT8_TO_BE_STREAM(p, LLCP_MAGIC_NUMBER_BYTE0); in LLCP_GetDiscoveryConfig() 245 UINT8_TO_BE_STREAM(p, LLCP_MAGIC_NUMBER_BYTE1); in LLCP_GetDiscoveryConfig() 246 UINT8_TO_BE_STREAM(p, LLCP_MAGIC_NUMBER_BYTE2); in LLCP_GetDiscoveryConfig() 249 UINT8_TO_BE_STREAM(p, LLCP_VERSION_TYPE); in LLCP_GetDiscoveryConfig() 250 UINT8_TO_BE_STREAM(p, LLCP_VERSION_LEN); in LLCP_GetDiscoveryConfig() 251 UINT8_TO_BE_STREAM(p, llcp_test_params.version); in LLCP_GetDiscoveryConfig() 253 UINT8_TO_BE_STREAM(p, LLCP_MIUX_TYPE); in LLCP_GetDiscoveryConfig() 254 UINT8_TO_BE_STREAM(p, LLCP_MIUX_LEN); in LLCP_GetDiscoveryConfig() 257 UINT8_TO_BE_STREAM(p, LLCP_WKS_TYPE); in LLCP_GetDiscoveryConfig() 258 UINT8_TO_BE_STREAM(p, LLCP_WKS_LEN); in LLCP_GetDiscoveryConfig() [all …]
|
D | llcp_sdp.cc | 110 UINT8_TO_BE_STREAM(p, LLCP_SDREQ_TYPE); in llcp_sdp_add_sdreq() 111 UINT8_TO_BE_STREAM(p, (1 + name_len)); in llcp_sdp_add_sdreq() 112 UINT8_TO_BE_STREAM(p, tid); in llcp_sdp_add_sdreq() 206 UINT8_TO_BE_STREAM(p, LLCP_SDRES_TYPE); in llcp_sdp_add_sdres() 207 UINT8_TO_BE_STREAM(p, LLCP_SDRES_LEN); in llcp_sdp_add_sdres() 208 UINT8_TO_BE_STREAM(p, tid); in llcp_sdp_add_sdres() 209 UINT8_TO_BE_STREAM(p, sap); in llcp_sdp_add_sdres()
|
/system/bt/stack/hid/ |
D | hidd_api.cc | 312 UINT8_TO_BE_STREAM(p, (DATA_ELE_SEQ_DESC_TYPE << 3) | SIZE_IN_NEXT_BYTE); in HID_DevAddRecord() 314 UINT8_TO_BE_STREAM(p, seq_len); in HID_DevAddRecord() 316 UINT8_TO_BE_STREAM(p, (UINT_DESC_TYPE << 3) | SIZE_ONE_BYTE); in HID_DevAddRecord() 317 UINT8_TO_BE_STREAM(p, cdt); in HID_DevAddRecord() 319 UINT8_TO_BE_STREAM(p, (TEXT_STR_DESC_TYPE << 3) | SIZE_IN_NEXT_BYTE); in HID_DevAddRecord() 320 UINT8_TO_BE_STREAM(p, desc_len); in HID_DevAddRecord() 334 UINT8_TO_BE_STREAM(p, (DATA_ELE_SEQ_DESC_TYPE << 3) | SIZE_IN_NEXT_BYTE); in HID_DevAddRecord() 335 UINT8_TO_BE_STREAM(p, seq_len); in HID_DevAddRecord() 336 UINT8_TO_BE_STREAM(p, (UINT_DESC_TYPE << 3) | SIZE_TWO_BYTES); in HID_DevAddRecord() 338 UINT8_TO_BE_STREAM(p, (UINT_DESC_TYPE << 3) | SIZE_TWO_BYTES); in HID_DevAddRecord()
|
/system/bt/stack/bnep/ |
D | bnep_utils.cc | 178 UINT8_TO_BE_STREAM(p, BNEP_FRAME_CONTROL); in bnep_send_conn_req() 181 UINT8_TO_BE_STREAM(p, BNEP_SETUP_CONNECTION_REQUEST_MSG); in bnep_send_conn_req() 186 UINT8_TO_BE_STREAM(p, len); in bnep_send_conn_req() 230 UINT8_TO_BE_STREAM(p, BNEP_FRAME_CONTROL); in bnep_send_conn_responce() 233 UINT8_TO_BE_STREAM(p, BNEP_SETUP_CONNECTION_RESPONSE_MSG); in bnep_send_conn_responce() 262 UINT8_TO_BE_STREAM(p, BNEP_FRAME_CONTROL); in bnepu_send_peer_our_filters() 265 UINT8_TO_BE_STREAM(p, BNEP_FILTER_NET_TYPE_SET_MSG); in bnepu_send_peer_our_filters() 304 UINT8_TO_BE_STREAM(p, BNEP_FRAME_CONTROL); in bnepu_send_peer_our_multi_filters() 307 UINT8_TO_BE_STREAM(p, BNEP_FILTER_MULTI_ADDR_SET_MSG); in bnepu_send_peer_our_multi_filters() 347 UINT8_TO_BE_STREAM(p, BNEP_FRAME_CONTROL); in bnepu_send_peer_filter_rsp() [all …]
|
/system/nfc/src/nfa/p2p/ |
D | nfa_p2p_main.cc | 540 UINT8_TO_BE_STREAM(p, NFC_PMID_ATR_REQ_GEN_BYTES); in nfa_p2p_set_config() 541 UINT8_TO_BE_STREAM(p, gen_bytes_len); in nfa_p2p_set_config() 558 UINT8_TO_BE_STREAM(p, NFC_PMID_ATR_RES_GEN_BYTES); in nfa_p2p_set_config() 559 UINT8_TO_BE_STREAM(p, gen_bytes_len); in nfa_p2p_set_config() 564 UINT8_TO_BE_STREAM(p, NFC_PMID_WT); in nfa_p2p_set_config() 565 UINT8_TO_BE_STREAM(p, NCI_PARAM_LEN_WT); in nfa_p2p_set_config() 566 UINT8_TO_BE_STREAM(p, wt); in nfa_p2p_set_config()
|
/system/nfc/src/include/ |
D | nfc_types.h | 127 #define UINT8_TO_BE_STREAM(p, u8) \ macro
|
/system/bt/stack/gatt/ |
D | gatt_utils.cc | 783 UINT8_TO_BE_STREAM(p, (UUID_DESC_TYPE << 3) | SIZE_FOUR_BYTES); in gatt_add_sdp_record() 792 UINT8_TO_BE_STREAM(p, (UUID_DESC_TYPE << 3) | SIZE_SIXTEEN_BYTES); in gatt_add_sdp_record()
|
/system/bt/stack/avdt/ |
D | avdt_scb_act.cc | 987 UINT8_TO_BE_STREAM(p, AVDT_MEDIA_OCTET1); in avdt_scb_hdl_write_req() 988 UINT8_TO_BE_STREAM(p, p_data->apiwrite.m_pt); in avdt_scb_hdl_write_req()
|
/system/bt/stack/include/ |
D | bt_types.h | 468 #define UINT8_TO_BE_STREAM(p, u8) \ macro
|
/system/bt/btif/src/ |
D | btif_rc.cc | 5242 UINT8_TO_BE_STREAM(start, key_code); in send_groupnavigation_cmd()
|