• Home
  • Raw
  • Download

Lines Matching refs:NULL

127     if ((mServers[i] != NULL) &&  in findServerLocked()
134 return NULL; in findServerLocked()
150 if ((mServers[i] != NULL) && (mServers[i]->mJniHandle == jniHandle)) { in findServerLocked()
156 return NULL; in findServerLocked()
172 if ((mServers[i] != NULL) && in findServerLocked()
178 return NULL; in findServerLocked()
198 sp<P2pServer> pSrv = NULL; in registerServer()
202 if ((pSrv = findServerLocked(serviceName)) != NULL) { in registerServer()
214 if (mServers[ii] == NULL) { in registerServer()
225 if (pSrv == NULL) { in registerServer()
258 if ((mServers[i] != NULL) && (mServers[i]->mJniHandle == jniHandle)) { in removeServer()
264 mServers[i] = NULL; in removeServer()
293 JNIEnv* e = NULL; in llcpActivatedHandler()
295 if (e == NULL) { in llcpActivatedHandler()
332 if (nat->tag != NULL) { in llcpActivatedHandler()
368 JNIEnv* e = NULL; in llcpDeactivatedHandler()
370 if (e == NULL) { in llcpDeactivatedHandler()
395 JNIEnv* e = NULL; in llcpFirstPacketHandler()
397 if (e == NULL) { in llcpFirstPacketHandler()
431 sp<P2pServer> pSrv = NULL; in accept()
439 if ((pSrv = findServerLocked(serverJniHandle)) == NULL) { in accept()
464 sp<P2pServer> pSrv = NULL; in deregisterServer()
468 if ((pSrv = findServerLocked(jniHandle)) == NULL) { in deregisterServer()
519 sp<P2pClient> client = NULL; in createClient()
521 if (mClients[i] == NULL) { in createClient()
532 if (client == NULL) { in createClient()
577 if ((mClients[ii] != NULL) && in removeConn()
582 mClients[ii] = NULL; in removeConn()
591 if (mServers[ii] != NULL) { in removeConn()
639 bool stat = createDataLinkConn(jniHandle, NULL, destinationSap); in connectConnOriented()
663 sp<P2pClient> pClient = NULL; in createDataLinkConn()
665 if ((pClient = findClient(jniHandle)) == NULL) { in createDataLinkConn()
721 if ((mClients[i] != NULL) && in findClient()
725 return (NULL); in findClient()
741 if ((mClients[i] != NULL) && in findClient()
745 return (NULL); in findClient()
761 if ((mClients[i] != NULL) && in findClientCon()
765 return (NULL); in findClientCon()
782 if ((mClients[ii] != NULL) && in findConnection()
790 if (mServers[ii] != NULL) { in findConnection()
792 if (conn != NULL) { in findConnection()
799 return NULL; in findConnection()
816 if ((mClients[ii] != NULL) && in findConnection()
824 if (mServers[ii] != NULL) { in findConnection()
826 if (conn != NULL) { in findConnection()
833 return NULL; in findConnection()
852 sp<NfaConn> pConn = NULL; in send()
854 if ((pConn = findConnection(jniHandle)) == NULL) { in send()
911 sp<NfaConn> pConn = NULL; in receive()
917 if ((pConn = findConnection(jniHandle)) == NULL) { in receive()
964 sp<P2pClient> pClient = NULL; in disconnectConnOriented()
965 sp<NfaConn> pConn = NULL; in disconnectConnOriented()
970 if ((pConn = findConnection(jniHandle)) == NULL) { in disconnectConnOriented()
978 if (((pClient = findClient(jniHandle)) != NULL) && (pClient->mIsConnecting)) { in disconnectConnOriented()
1026 sp<NfaConn> pConn = NULL; in getRemoteMaxInfoUnit()
1028 if ((pConn = findConnection(jniHandle)) == NULL) { in getRemoteMaxInfoUnit()
1052 sp<NfaConn> pConn = NULL; in getRemoteRecvWindow()
1054 if ((pConn = findConnection(jniHandle)) == NULL) { in getRemoteRecvWindow()
1172 if (mClients[ii] != NULL) { in handleNfcOnOff()
1194 if (mServers[ii] != NULL) { in handleNfcOnOff()
1216 sp<P2pServer> pSrv = NULL; in nfaServerCallback()
1217 sp<NfaConn> pConn = NULL; in nfaServerCallback()
1235 if (pSrv == NULL) { in nfaServerCallback()
1268 if (pSrv == NULL) { in nfaServerCallback()
1278 (tNFA_HANDLE)NFA_HANDLE_INVALID)) == NULL) { in nfaServerCallback()
1305 if ((pConn = sP2p.findConnection(eventData->disc.handle)) == NULL) { in nfaServerCallback()
1342 if ((pConn = sP2p.findConnection(eventData->data.handle)) == NULL) { in nfaServerCallback()
1357 if ((pConn = sP2p.findConnection(eventData->congest.handle)) == NULL) { in nfaServerCallback()
1394 sp<NfaConn> pConn = NULL; in nfaClientCallback()
1395 sp<P2pClient> pClient = NULL; in nfaClientCallback()
1404 NULL) { in nfaClientCallback()
1420 if ((pClient = sP2p.findClient(eventData->activated.handle)) == NULL) { in nfaClientCallback()
1439 NULL) { in nfaClientCallback()
1466 if ((pConn = sP2p.findConnection(eventData->disc.handle)) == NULL) { in nfaClientCallback()
1468 if ((pClient = sP2p.findClient(eventData->disc.handle)) == NULL) { in nfaClientCallback()
1510 if ((pConn = sP2p.findConnection(eventData->data.handle)) == NULL) { in nfaClientCallback()
1525 if ((pConn = sP2p.findConnection(eventData->congest.handle)) == NULL) { in nfaClientCallback()
1666 if (connection == NULL) { in accept()
1723 if (mServerConn[jj] != NULL) { in unblockAll()
1742 if (mServerConn[ii] == NULL) { in allocateConnection()
1749 return NULL; in allocateConnection()
1767 if ((mServerConn[jj] != NULL) && in findServerConnection()
1773 return (NULL); in findServerConnection()
1791 if ((mServerConn[jj] != NULL) && (mServerConn[jj]->mJniHandle == jniHandle)) in findServerConnection()
1796 return (NULL); in findServerConnection()
1814 if ((mServerConn[jj] != NULL) && in removeServerConnection()
1816 mServerConn[jj] = NULL; in removeServerConnection()