Home
last modified time | relevance | path

Searched refs:new_pl_len (Results 1 – 2 of 2) sorted by relevance

/system/nfc/src/nfc/ndef/
Dndef_utils.cc993 uint8_t* p_new_pl, uint32_t new_pl_len) { in NDEF_MsgReplacePayload() argument
1022 if (new_pl_len > prev_paylen) { in NDEF_MsgReplacePayload()
1024 paylen_delta = new_pl_len - prev_paylen; in NDEF_MsgReplacePayload()
1028 if ((prev_paylen < 256) && (new_pl_len > 255)) { in NDEF_MsgReplacePayload()
1040 if (new_pl_len > 255) { in NDEF_MsgReplacePayload()
1041 UINT32_TO_BE_STREAM(pp, new_pl_len); in NDEF_MsgReplacePayload()
1043 *pp = (uint8_t)new_pl_len; in NDEF_MsgReplacePayload()
1053 } else if (new_pl_len < prev_paylen) { in NDEF_MsgReplacePayload()
1055 paylen_delta = prev_paylen - new_pl_len; in NDEF_MsgReplacePayload()
1059 if ((prev_paylen > 255) && (new_pl_len < 256)) { in NDEF_MsgReplacePayload()
[all …]
/system/nfc/src/nfc/include/
Dndef_utils.h298 uint32_t new_pl_len);