Home
last modified time | relevance | path

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

/packages/apps/Nfc/nci/jni/
DNativeNfcTag.cpp97 static uint8_t* sReadData = NULL; variable
188 if (sReadData) free(sReadData); in nativeNfcTag_doReadCompleted()
189 sReadData = NULL; in nativeNfcTag_doReadCompleted()
251 sReadData = (uint8_t*)malloc(sReadDataLen); in ndefHandlerCallback()
252 memcpy(sReadData, eventData->ndef_data.p_data, eventData->ndef_data.len); in ndefHandlerCallback()
278 if (sReadData != NULL) { in nativeNfcTag_doRead()
279 free(sReadData); in nativeNfcTag_doRead()
280 sReadData = NULL; in nativeNfcTag_doRead()
301 e->SetByteArrayRegion(buf, 0, sReadDataLen, (jbyte*)sReadData); in nativeNfcTag_doRead()
307 sReadData = (uint8_t*)malloc(1); in nativeNfcTag_doRead()
[all …]