Home
last modified time | relevance | path

Searched refs:idLength (Results 1 - 3 of 3) sorted by relevance

/foundation/communication/nfc/interfaces/inner_api/common/
H A Dndef_message.cpp265 layout.idLength = layout.il ? (NfcSdkCommon::GetByteFromHexStr(data, parsedDataIndex++) & 0xFF) : 0; in ParseRecordLayoutLength()
309 if (layout.idLength <= 0) { in ParseRecordId()
310 ErrorLog("ParseRecordId, idLength <= 0"); in ParseRecordId()
313 if (NfcSdkCommon::GetHexStrBytesLen(data) < parsedDataIndex + layout.idLength) { in ParseRecordId()
315 NfcSdkCommon::GetHexStrBytesLen(data), parsedDataIndex, layout.idLength); in ParseRecordId()
318 std::string id = data.substr(parsedDataIndex * HEX_BYTE_LEN, layout.idLength * HEX_BYTE_LEN); in ParseRecordId()
319 parsedDataIndex += layout.idLength; in ParseRecordId()
H A Dndef_message.h43 uint16_t idLength; member
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/
H A Dfeature_ability_module.cpp207 uint16_t idLength = 0; in SendMsgToPeer() local
209 char *deviceId = MallocStringOf(devIdValue, &idLength); in SendMsgToPeer()
216 (idLength == 0), bundleName, dstBundleName, (reinterpret_cast<const uint8_t *>(message)), strlen(message), in SendMsgToPeer()

Completed in 3 milliseconds