Home
last modified time | relevance | path

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

/packages/apps/Nfc/nxp/jni/
Dcom_android_nfc_NativeLlcpServiceSocket.cpp50 nfc_jni_listen_data_t * pListenData; in getIncomingSocket() local
54 LIST_FOREACH(pListenData, &pMonitor->incoming_socket_head, entries) in getIncomingSocket()
56 if (pListenData->pServerSocket == hServerSocket) in getIncomingSocket()
58 pIncomingSocket = pListenData->pIncomingSocket; in getIncomingSocket()
59 LIST_REMOVE(pListenData, entries); in getIncomingSocket()
60 free(pListenData); in getIncomingSocket()
Dcom_android_nfc_NativeNfcManager.cpp759 nfc_jni_listen_data_t * pListenData = NULL; in nfc_jni_llcp_linkStatus_callback() local
797 pListenData = LIST_FIRST(&pMonitor->incoming_socket_head); in nfc_jni_llcp_linkStatus_callback()
798 LIST_REMOVE(pListenData, entries); in nfc_jni_llcp_linkStatus_callback()
799 free(pListenData); in nfc_jni_llcp_linkStatus_callback()
837 nfc_jni_listen_data_t * pListenData = NULL; in nfc_jni_llcp_transport_listen_socket_callback() local
845 pListenData = (nfc_jni_listen_data_t*)malloc(sizeof(nfc_jni_listen_data_t)); in nfc_jni_llcp_transport_listen_socket_callback()
846 if (pListenData == NULL) in nfc_jni_llcp_transport_listen_socket_callback()
851 pListenData->pServerSocket = hServiceSocket; in nfc_jni_llcp_transport_listen_socket_callback()
852 pListenData->pIncomingSocket = hIncomingSocket; in nfc_jni_llcp_transport_listen_socket_callback()
853 LIST_INSERT_HEAD(&pMonitor->incoming_socket_head, pListenData, entries); in nfc_jni_llcp_transport_listen_socket_callback()