Searched refs:jniHandle (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Nfc/nci/jni/ |
D | PeerToPeer.cpp | 148 sp<P2pServer> PeerToPeer::findServerLocked(tJNI_HANDLE jniHandle) { in findServerLocked() argument 150 if ((mServers[i] != NULL) && (mServers[i]->mJniHandle == jniHandle)) { in findServerLocked() 192 bool PeerToPeer::registerServer(tJNI_HANDLE jniHandle, in registerServer() argument 197 serviceName, jniHandle); in registerServer() 208 pSrv->mJniHandle = jniHandle; in registerServer() 215 pSrv = mServers[ii] = new P2pServer(jniHandle, serviceName); in registerServer() 219 jniHandle, serviceName); in registerServer() 237 removeServer(jniHandle); in registerServer() 252 void PeerToPeer::removeServer(tJNI_HANDLE jniHandle) { in removeServer() argument 258 if ((mServers[i] != NULL) && (mServers[i]->mJniHandle == jniHandle)) { in removeServer() [all …]
|
D | PeerToPeer.h | 143 bool registerServer(tJNI_HANDLE jniHandle, const char* serviceName); 154 bool deregisterServer(tJNI_HANDLE jniHandle); 184 bool createClient(tJNI_HANDLE jniHandle, uint16_t miu, uint8_t rw); 197 bool connectConnOriented(tJNI_HANDLE jniHandle, const char* serviceName); 210 bool connectConnOriented(tJNI_HANDLE jniHandle, uint8_t destinationSap); 224 bool send(tJNI_HANDLE jniHandle, uint8_t* buffer, uint16_t bufferLen); 239 bool receive(tJNI_HANDLE jniHandle, uint8_t* buffer, uint16_t bufferLen, 252 bool disconnectConnOriented(tJNI_HANDLE jniHandle); 264 uint16_t getRemoteMaxInfoUnit(tJNI_HANDLE jniHandle); 276 uint8_t getRemoteRecvWindow(tJNI_HANDLE jniHandle); [all …]
|
D | NativeLlcpSocket.cpp | 46 PeerToPeer::tJNI_HANDLE jniHandle = in nativeLlcpSocket_doConnect() local 48 bool stat = PeerToPeer::getInstance().connectConnOriented(jniHandle, nSap); in nativeLlcpSocket_doConnect() 69 PeerToPeer::tJNI_HANDLE jniHandle = in nativeLlcpSocket_doConnectBy() local 77 jniHandle, serviceName.c_str()); in nativeLlcpSocket_doConnectBy() 97 PeerToPeer::tJNI_HANDLE jniHandle = in nativeLlcpSocket_doClose() local 99 bool stat = PeerToPeer::getInstance().disconnectConnOriented(jniHandle); in nativeLlcpSocket_doClose() 122 PeerToPeer::tJNI_HANDLE jniHandle = in nativeLlcpSocket_doSend() local 126 bool stat = PeerToPeer::getInstance().send(jniHandle, raw_ptr, bytes.size()); in nativeLlcpSocket_doSend() 150 PeerToPeer::tJNI_HANDLE jniHandle = in nativeLlcpSocket_doReceive() local 154 jniHandle, reinterpret_cast<uint8_t*>(&bytes[0]), bytes.size(), in nativeLlcpSocket_doReceive() [all …]
|
D | NativeNfcManager.cpp | 1348 PeerToPeer::tJNI_HANDLE jniHandle = in nfcManager_doCreateLlcpServiceSocket() local 1376 if (!PeerToPeer::getInstance().registerServer(jniHandle, in nfcManager_doCreateLlcpServiceSocket() 1386 e->SetIntField(serviceSocket, f, (jint)jniHandle); in nfcManager_doCreateLlcpServiceSocket() 1388 << StringPrintf("%s: socket Handle = 0x%X", __func__, jniHandle); in nfcManager_doCreateLlcpServiceSocket() 1512 PeerToPeer::tJNI_HANDLE jniHandle = in nfcManager_doCreateLlcpSocket() local 1514 PeerToPeer::getInstance().createClient(jniHandle, miu, rw); in nfcManager_doCreateLlcpSocket() 1541 e->SetIntField(clientSocket, f, (jint)jniHandle); in nfcManager_doCreateLlcpSocket()
|