Home
last modified time | relevance | path

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

/packages/apps/Nfc/nxp/jni/
Dcom_android_nfc_NativeLlcpConnectionlessSocket.cpp127 phNfc_sData_t sReceiveBuffer; in com_android_nfc_NativeLlcpConnectionlessSocket_doReceiveFrom() local
159 sReceiveBuffer.buffer = (uint8_t*)malloc(linkMiu); in com_android_nfc_NativeLlcpConnectionlessSocket_doReceiveFrom()
160 sReceiveBuffer.length = linkMiu; in com_android_nfc_NativeLlcpConnectionlessSocket_doReceiveFrom()
165 &sReceiveBuffer, in com_android_nfc_NativeLlcpConnectionlessSocket_doReceiveFrom()
189 TRACE("Data Received From SSAP = %d\n, length = %d", ssap, sReceiveBuffer.length); in com_android_nfc_NativeLlcpConnectionlessSocket_doReceiveFrom()
198 receivedData = e->NewByteArray(sReceiveBuffer.length); in com_android_nfc_NativeLlcpConnectionlessSocket_doReceiveFrom()
199 e->SetByteArrayRegion(receivedData, 0, sReceiveBuffer.length,(jbyte *)sReceiveBuffer.buffer); in com_android_nfc_NativeLlcpConnectionlessSocket_doReceiveFrom()
Dcom_android_nfc_NativeLlcpSocket.cpp315 phNfc_sData_t sReceiveBuffer = {NULL, 0}; in com_android_nfc_NativeLlcpSocket_doReceive() local
329 sReceiveBuffer.buffer = (uint8_t*)e->GetByteArrayElements(buffer, NULL); in com_android_nfc_NativeLlcpSocket_doReceive()
330 sReceiveBuffer.length = (uint32_t)e->GetArrayLength(buffer); in com_android_nfc_NativeLlcpSocket_doReceive()
336 &sReceiveBuffer, in com_android_nfc_NativeLlcpSocket_doReceive()
351 result = sReceiveBuffer.length; in com_android_nfc_NativeLlcpSocket_doReceive()
356 result = sReceiveBuffer.length; in com_android_nfc_NativeLlcpSocket_doReceive()
367 if (sReceiveBuffer.buffer != NULL) in com_android_nfc_NativeLlcpSocket_doReceive()
369 e->ReleaseByteArrayElements(buffer, (jbyte*)sReceiveBuffer.buffer, 0); in com_android_nfc_NativeLlcpSocket_doReceive()