Home
last modified time | relevance | path

Searched refs:gen_bytes_len (Results 1 – 6 of 6) sorted by relevance

/system/nfc/src/nfa/p2p/
Dnfa_p2p_main.cc442 config.gen_bytes_len = in nfa_p2p_activate_llcp()
443 p_data->activate.intf_param.intf_param.pa_nfc.gen_bytes_len; in nfa_p2p_activate_llcp()
521 uint8_t wt, gen_bytes_len = LLCP_MAX_GEN_BYTES; in nfa_p2p_set_config() local
526 LLCP_GetDiscoveryConfig(&wt, params + 2, &gen_bytes_len); in nfa_p2p_set_config()
528 gen_bytes_len = 0; in nfa_p2p_set_config()
541 UINT8_TO_BE_STREAM(p, gen_bytes_len); in nfa_p2p_set_config()
543 p += gen_bytes_len; in nfa_p2p_set_config()
544 length = gen_bytes_len + 2; in nfa_p2p_set_config()
559 UINT8_TO_BE_STREAM(p, gen_bytes_len); in nfa_p2p_set_config()
561 p += gen_bytes_len; in nfa_p2p_set_config()
[all …]
/system/nfc/src/nfc/nfc/
Dnfc_ncif.cc784 acm_p->gen_bytes_len = acm_p->atr_res_len - gb_idx; in nfc_ncif_decode_rf_params()
785 if (acm_p->gen_bytes_len > NFC_MAX_GEN_BYTES_LEN) in nfc_ncif_decode_rf_params()
786 acm_p->gen_bytes_len = NFC_MAX_GEN_BYTES_LEN; in nfc_ncif_decode_rf_params()
787 memcpy(acm_p->gen_bytes, &acm_p->atr_res[gb_idx], acm_p->gen_bytes_len); in nfc_ncif_decode_rf_params()
805 acm_p->gen_bytes_len = acm_p->atr_res_len - gb_idx; in nfc_ncif_decode_rf_params()
806 if (acm_p->gen_bytes_len > NFC_MAX_GEN_BYTES_LEN) in nfc_ncif_decode_rf_params()
807 acm_p->gen_bytes_len = NFC_MAX_GEN_BYTES_LEN; in nfc_ncif_decode_rf_params()
808 memcpy(acm_p->gen_bytes, &acm_p->atr_res[gb_idx], acm_p->gen_bytes_len); in nfc_ncif_decode_rf_params()
1076 p_pa_nfc->gen_bytes_len = p_pa_nfc->atr_res_len - gb_idx; in nfc_ncif_proc_activate()
1077 if (p_pa_nfc->gen_bytes_len > NFC_MAX_GEN_BYTES_LEN) in nfc_ncif_proc_activate()
[all …]
/system/nfc/src/nfc/llcp/
Dllcp_link.cc59 static bool llcp_link_parse_gen_bytes(uint8_t gen_bytes_len,
189 if (llcp_link_parse_gen_bytes(p_config->gen_bytes_len, in llcp_link_activate()
495 static bool llcp_link_parse_gen_bytes(uint8_t gen_bytes_len, in llcp_link_parse_gen_bytes() argument
498 uint8_t length = gen_bytes_len - LLCP_MAGIC_NUMBER_LEN; in llcp_link_parse_gen_bytes()
500 if ((gen_bytes_len >= LLCP_MAGIC_NUMBER_LEN) && in llcp_link_parse_gen_bytes()
/system/nfc/src/nfc/include/
Dllcp_api.h58 uint8_t gen_bytes_len; member
Dnfc_api.h650 uint8_t gen_bytes_len; /* len of general bytes */ member
662 uint8_t gen_bytes_len; /* len of general bytes */ member
/system/nfc/src/include/
Dnci_defs.h676 uint8_t gen_bytes_len; /* len of general bytes */ member