Lines Matching refs:serviceName
170 sp<P2pServer> PeerToPeer::findServerLocked(const char* serviceName) { in findServerLocked() argument
173 (mServers[i]->mServiceName.compare(serviceName) == 0)) in findServerLocked()
193 const char* serviceName) { in registerServer() argument
197 serviceName, jniHandle); in registerServer()
202 if ((pSrv = findServerLocked(serviceName)) != NULL) { in registerServer()
205 serviceName, pSrv->mNfaP2pServerHandle); in registerServer()
215 pSrv = mServers[ii] = new P2pServer(jniHandle, serviceName); in registerServer()
219 jniHandle, serviceName); in registerServer()
227 serviceName); in registerServer()
613 const char* serviceName) { in connectConnOriented() argument
616 "%s: enter; h: %u service name=%s", fn, jniHandle, serviceName); in connectConnOriented()
617 bool stat = createDataLinkConn(jniHandle, serviceName, 0); in connectConnOriented()
658 const char* serviceName, in createDataLinkConn() argument
675 if (serviceName) in createDataLinkConn()
677 const_cast<char*>(serviceName), in createDataLinkConn()
1597 P2pServer::P2pServer(PeerToPeer::tJNI_HANDLE jniHandle, const char* serviceName) in P2pServer() argument
1599 mServiceName.assign(serviceName); in P2pServer()