• Home
  • Raw
  • Download

Lines Matching refs:pClient

663   sp<P2pClient> pClient = NULL;  in createDataLinkConn()  local
665 if ((pClient = findClient(jniHandle)) == NULL) { in createDataLinkConn()
672 SyncEventGuard guard(pClient->mConnectingEvent); in createDataLinkConn()
673 pClient->mIsConnecting = true; in createDataLinkConn()
676 nfaStat = NFA_P2pConnectByName(pClient->mNfaP2pClientHandle, in createDataLinkConn()
678 pClient->mClientConn->mMaxInfoUnit, in createDataLinkConn()
679 pClient->mClientConn->mRecvWindow); in createDataLinkConn()
682 NFA_P2pConnectBySap(pClient->mNfaP2pClientHandle, destinationSap, in createDataLinkConn()
683 pClient->mClientConn->mMaxInfoUnit, in createDataLinkConn()
684 pClient->mClientConn->mRecvWindow); in createDataLinkConn()
688 pClient.get()); in createDataLinkConn()
689 pClient->mConnectingEvent.wait(); in createDataLinkConn()
694 if (pClient->mClientConn->mNfaConnHandle == NFA_HANDLE_INVALID) { in createDataLinkConn()
698 pClient->mIsConnecting = false; in createDataLinkConn()
964 sp<P2pClient> pClient = NULL; in disconnectConnOriented() local
978 if (((pClient = findClient(jniHandle)) != NULL) && (pClient->mIsConnecting)) { in disconnectConnOriented()
979 SyncEventGuard guard(pClient->mConnectingEvent); in disconnectConnOriented()
980 pClient->mConnectingEvent.notifyOne(); in disconnectConnOriented()
1395 sp<P2pClient> pClient = NULL; in nfaClientCallback() local
1403 if ((pClient = sP2p.findClient((tNFA_HANDLE)NFA_HANDLE_INVALID)) == in nfaClientCallback()
1410 fn, eventData->reg_client.client_handle, pClient.get()); in nfaClientCallback()
1412 SyncEventGuard guard(pClient->mRegisteringEvent); in nfaClientCallback()
1413 pClient->mNfaP2pClientHandle = eventData->reg_client.client_handle; in nfaClientCallback()
1414 pClient->mRegisteringEvent.notifyOne(); in nfaClientCallback()
1420 if ((pClient = sP2p.findClient(eventData->activated.handle)) == NULL) { in nfaClientCallback()
1426 eventData->activated.handle, pClient.get()); in nfaClientCallback()
1438 if ((pClient = sP2p.findClient(eventData->connected.client_handle)) == in nfaClientCallback()
1449 pClient.get()); in nfaClientCallback()
1451 SyncEventGuard guard(pClient->mConnectingEvent); in nfaClientCallback()
1452 pClient->mClientConn->mNfaConnHandle = eventData->connected.conn_handle; in nfaClientCallback()
1453 pClient->mClientConn->mRemoteMaxInfoUnit = in nfaClientCallback()
1455 pClient->mClientConn->mRemoteRecvWindow = in nfaClientCallback()
1457 pClient->mConnectingEvent.notifyOne(); // unblock createDataLinkConn() in nfaClientCallback()
1468 if ((pClient = sP2p.findClient(eventData->disc.handle)) == NULL) { in nfaClientCallback()
1475 SyncEventGuard guard(pClient->mConnectingEvent); in nfaClientCallback()
1476 pClient->mConnectingEvent.notifyOne(); in nfaClientCallback()