Home | History | Annotate | Download | only in jni

Lines Matching refs:PeerToPeer

21 #include "PeerToPeer.h"
48 PeerToPeer PeerToPeer::sP2p;
54 ** Function: PeerToPeer
61 PeerToPeer::PeerToPeer ()
77 ** Function: ~PeerToPeer
84 PeerToPeer::~PeerToPeer ()
93 ** Description: Get the singleton PeerToPeer object.
95 ** Returns: Singleton PeerToPeer object.
98 PeerToPeer& PeerToPeer::getInstance ()
113 void PeerToPeer::initialize ()
115 ALOGD ("PeerToPeer::initialize");
127 ** Description: Find a PeerToPeer object by connection handle.
131 ** Returns: PeerToPeer object.
134 sp<P2pServer> PeerToPeer::findServerLocked (tNFA_HANDLE nfaP2pServerHandle)
154 ** Description: Find a PeerToPeer object by connection handle.
158 ** Returns: PeerToPeer object.
161 sp<P2pServer> PeerToPeer::findServerLocked (tJNI_HANDLE jniHandle)
181 ** Description: Find a PeerToPeer object by service name
185 ** Returns: PeerToPeer object.
188 sp<P2pServer> PeerToPeer::findServerLocked (const char *serviceName)
212 bool PeerToPeer::registerServer (tJNI_HANDLE jniHandle, const char *serviceName)
214 static const char fn [] = "PeerToPeer::registerServer";
269 void PeerToPeer::removeServer (tJNI_HANDLE jniHandle)
271 static const char fn [] = "PeerToPeer::removeServer";
301 void PeerToPeer::llcpActivatedHandler (nfc_jni_native_data* nat, tNFA_LLCP_ACTIVATED& activated)
303 static const char fn [] = "PeerToPeer::llcpActivatedHandler";
379 void PeerToPeer::llcpDeactivatedHandler (nfc_jni_native_data* nat, tNFA_LLCP_DEACTIVATED& /*deactivated*/)
381 static const char fn [] = "PeerToPeer::llcpDeactivatedHandler";
406 void PeerToPeer::llcpFirstPacketHandler (nfc_jni_native_data* nat)
408 static const char fn [] = "PeerToPeer::llcpFirstPacketHandler";
444 bool PeerToPeer::accept (tJNI_HANDLE serverJniHandle, tJNI_HANDLE connJniHandle, int maxInfoUnit, int recvWindow)
446 static const char fn [] = "PeerToPeer::accept";
474 bool PeerToPeer::deregisterServer (tJNI_HANDLE jniHandle)
476 static const char fn [] = "PeerToPeer::deregisterServer";
532 bool PeerToPeer::createClient (tJNI_HANDLE jniHandle, UINT16 miu, UINT8 rw)
534 static const char fn [] = "PeerToPeer::createClient";
592 void PeerToPeer::removeConn(tJNI_HANDLE jniHandle)
594 static const char fn[] = "PeerToPeer::removeConn";
637 bool PeerToPeer::connectConnOriented (tJNI_HANDLE jniHandle, const char* serviceName)
639 static const char fn [] = "PeerToPeer::connectConnOriented";
658 bool PeerToPeer::connectConnOriented (tJNI_HANDLE jniHandle, UINT8 destinationSap)
660 static const char fn [] = "PeerToPeer::connectConnOriented";
680 bool PeerToPeer::createDataLinkConn (tJNI_HANDLE jniHandle, const char* serviceName, UINT8 destinationSap)
682 static const char fn [] = "PeerToPeer::createDataLinkConn";
736 ** Description: Find a PeerToPeer object with a client connection handle.
739 ** Returns: PeerToPeer object.
742 sp<P2pClient> PeerToPeer::findClient (tNFA_HANDLE nfaConnHandle)
758 ** Description: Find a PeerToPeer object with a client connection handle.
761 ** Returns: PeerToPeer object.
764 sp<P2pClient> PeerToPeer::findClient (tJNI_HANDLE jniHandle)
780 ** Description: Find a PeerToPeer object with a client connection handle.
783 ** Returns: PeerToPeer object.
786 sp<P2pClient> PeerToPeer::findClientCon (tNFA_HANDLE nfaConnHandle)
802 ** Description: Find a PeerToPeer object with a connection handle.
805 ** Returns: PeerToPeer object.
808 sp<NfaConn> PeerToPeer::findConnection (tNFA_HANDLE nfaConnHandle)
841 ** Description: Find a PeerToPeer object with a connection handle.
844 ** Returns: PeerToPeer object.
847 sp<NfaConn> PeerToPeer::findConnection (tJNI_HANDLE jniHandle)
888 bool PeerToPeer::send (tJNI_HANDLE jniHandle, UINT8 *buffer, UINT16 bufferLen)
890 static const char fn [] = "PeerToPeer::send";
942 bool PeerToPeer::receive (tJNI_HANDLE jniHandle, UINT8* buffer, UINT16 bufferLen, UINT16& actualLen)
944 static const char fn [] = "PeerToPeer::receive";
992 bool PeerToPeer::disconnectConnOriented (tJNI_HANDLE jniHandle)
994 static const char fn [] = "PeerToPeer::disconnectConnOriented";
1055 UINT16 PeerToPeer::getRemoteMaxInfoUnit (tJNI_HANDLE jniHandle)
1057 static const char fn [] = "PeerToPeer::getRemoteMaxInfoUnit";
1080 UINT8 PeerToPeer::getRemoteRecvWindow (tJNI_HANDLE jniHandle)
1082 static const char fn [] = "PeerToPeer::getRemoteRecvWindow";
1104 void PeerToPeer::setP2pListenMask (tNFA_TECHNOLOGY_MASK p2pListenMask) {
1118 tNFA_TECHNOLOGY_MASK PeerToPeer::getP2pListenMask ()
1133 void PeerToPeer::resetP2pListenMask ()
1155 void PeerToPeer::enableP2pListening (bool isEnable)
1157 static const char fn [] = "PeerToPeer::enableP2pListening";
1200 void PeerToPeer::handleNfcOnOff (bool isOn)
1202 static const char fn [] = "PeerToPeer::handleNfcOnOff";
1266 void PeerToPeer::nfaServerCallback (tNFA_P2P_EVT p2pEvent, tNFA_P2P_EVT_DATA* eventData)
1268 static const char fn [] = "PeerToPeer::nfaServerCallback";
1423 void PeerToPeer::nfaClientCallback (tNFA_P2P_EVT p2pEvent, tNFA_P2P_EVT_DATA* eventData)
1425 static const char fn [] = "PeerToPeer::nfaClientCallback";
1574 void PeerToPeer::connectionEventHandler (UINT8 event, tNFA_CONN_EVT_DATA* /*eventData*/)
1597 PeerToPeer::tJNI_HANDLE PeerToPeer::getNewJniHandle ()
1621 P2pServer::P2pServer(PeerToPeer::tJNI_HANDLE jniHandle, const char* serviceName)
1667 PeerToPeer::nfaServerCallback);
1681 bool P2pServer::accept(PeerToPeer::tJNI_HANDLE serverJniHandle, PeerToPeer::tJNI_HANDLE connJniHandle,
1751 sp<NfaConn> P2pServer::allocateConnection (PeerToPeer::tJNI_HANDLE jniHandle)
1804 sp<NfaConn> P2pServer::findServerConnection (PeerToPeer::tJNI_HANDLE jniHandle)
1829 bool P2pServer::removeServerConnection (PeerToPeer::tJNI_HANDLE jniHandle)