Home
last modified time | relevance | path

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

/packages/apps/Nfc/nci/jni/
DNativeNfcTag.cpp93 static uint32_t sReadDataLen = 0; variable
192 sReadDataLen = 0; in nativeNfcTag_doReadCompleted()
254 sReadDataLen = eventData->ndef_data.len; in ndefHandlerCallback()
255 sReadData = (uint8_t*)malloc(sReadDataLen); in ndefHandlerCallback()
281 sReadDataLen = 0; in nativeNfcTag_doRead()
296 if (sReadDataLen > 0) // if stack actually read data from the tag in nativeNfcTag_doRead()
298 LOG(DEBUG) << StringPrintf("%s: read %u bytes", __func__, sReadDataLen); in nativeNfcTag_doRead()
299 buf = e->NewByteArray(sReadDataLen); in nativeNfcTag_doRead()
300 e->SetByteArrayRegion(buf, 0, sReadDataLen, (jbyte*)sReadData); in nativeNfcTag_doRead()
304 sReadDataLen = 0; in nativeNfcTag_doRead()
[all …]