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.cc988 uint8_t* p_new_pl, uint32_t new_pl_len) { in NDEF_MsgReplacePayload() argument
1017 if (new_pl_len > prev_paylen) { in NDEF_MsgReplacePayload()
1019 paylen_delta = new_pl_len - prev_paylen; in NDEF_MsgReplacePayload()
1023 if ((prev_paylen < 256) && (new_pl_len > 255)) { in NDEF_MsgReplacePayload()
1035 if (new_pl_len > 255) { in NDEF_MsgReplacePayload()
1036 UINT32_TO_BE_STREAM(pp, new_pl_len); in NDEF_MsgReplacePayload()
1038 *pp = (uint8_t)new_pl_len; in NDEF_MsgReplacePayload()
1048 } else if (new_pl_len < prev_paylen) { in NDEF_MsgReplacePayload()
1050 paylen_delta = prev_paylen - new_pl_len; in NDEF_MsgReplacePayload()
1054 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);