Lines Matching refs:serviceName

188 sp<P2pServer> PeerToPeer::findServerLocked (const char *serviceName)  in findServerLocked()  argument
192 if ( (mServers[i] != NULL) && (mServers[i]->mServiceName.compare(serviceName) == 0) ) in findServerLocked()
212 bool PeerToPeer::registerServer (tJNI_HANDLE jniHandle, const char *serviceName) in registerServer() argument
215 ALOGV("%s: enter; service name: %s JNI handle: %u", fn, serviceName, jniHandle); in registerServer()
220 if ((pSrv = findServerLocked(serviceName)) != NULL) in registerServer()
222 …ALOGV("%s: service name=%s already registered, handle: 0x%04x", fn, serviceName, pSrv->mNfaP2pSer… in registerServer()
234 pSrv = mServers[ii] = new P2pServer(jniHandle, serviceName); in registerServer()
236 …ALOGV("%s: added new p2p server index: %d handle: %u name: %s", fn, ii, jniHandle, serviceName); in registerServer()
244 ALOGE("%s: service name=%s no free entry", fn, serviceName); in registerServer()
637 bool PeerToPeer::connectConnOriented (tJNI_HANDLE jniHandle, const char* serviceName) in connectConnOriented() argument
640 ALOGV("%s: enter; h: %u service name=%s", fn, jniHandle, serviceName); in connectConnOriented()
641 bool stat = createDataLinkConn (jniHandle, serviceName, 0); in connectConnOriented()
680 bool PeerToPeer::createDataLinkConn (tJNI_HANDLE jniHandle, const char* serviceName, uint8_t destin… in createDataLinkConn() argument
697 if (serviceName) in createDataLinkConn()
699 const_cast<char*>(serviceName), pClient->mClientConn->mMaxInfoUnit, in createDataLinkConn()
1621 P2pServer::P2pServer(PeerToPeer::tJNI_HANDLE jniHandle, const char* serviceName) in P2pServer() argument
1625 mServiceName.assign (serviceName); in P2pServer()