Home | History | Annotate | Download | only in jni

Lines Matching refs:nfaStat

152     tNFA_STATUS nfaStat;
211 nfaStat = NFA_HciRegister (const_cast<char*>(APP_NAME), nfaHciCallback, TRUE);
212 if (nfaStat != NFA_STATUS_OK)
214 ALOGE ("%s: fail hci register; error=0x%X", fn, nfaStat);
275 tNFA_STATUS nfaStat = NFA_STATUS_FAILED;
282 if ((nfaStat = NFA_EeGetInfo (&mActualNumEe, mEeInfo)) != NFA_STATUS_OK)
284 ALOGE ("%s: fail get info; error=0x%X", fn, nfaStat);
438 tNFA_STATUS nfaStat = NFA_STATUS_FAILED;
494 if ((nfaStat = NFA_EeModeSet (eeItem.ee_handle, NFA_EE_MD_ACTIVATE)) == NFA_STATUS_OK)
501 ALOGE ("%s: NFA_EeModeSet failed; error=0x%X", fn, nfaStat);
640 tNFA_STATUS nfaStat = NFA_STATUS_FAILED;
720 nfaStat = NFA_HciAddStaticPipe(mNfaHciHandle, host, gate, mNewPipeId);
721 if (nfaStat != NFA_STATUS_OK)
723 ALOGE ("%s: fail create static pipe; error=0x%X", fn, nfaStat);
739 nfaStat = NFA_HciGetGateAndPipeList (mNfaHciHandle);
740 if (nfaStat == NFA_STATUS_OK)
766 if ((nfaStat = NFA_HciAllocGate (mNfaHciHandle)) != NFA_STATUS_OK)
768 ALOGE ("%s: fail allocate source gate; error=0x%X", fn, nfaStat);
780 nfaStat = NFA_HciCreatePipe (mNfaHciHandle, mNewSourceGate, destHost, mDestinationGate);
781 if (nfaStat != NFA_STATUS_OK)
783 ALOGE ("%s: fail create pipe; error=0x%X", fn, nfaStat);
794 nfaStat = NFA_HciOpenPipe (mNfaHciHandle, mNewPipeId);
795 if (nfaStat != NFA_STATUS_OK)
797 ALOGE ("%s: fail open pipe; error=0x%X", fn, nfaStat);
834 tNFA_STATUS nfaStat = NFA_STATUS_FAILED;
845 nfaStat = NFA_HciSetRegistry (mNfaHciHandle, mNewPipeId,
847 if (nfaStat == NFA_STATUS_OK)
857 if ((nfaStat = NFA_HciDeallocGate (mNfaHciHandle, mNewSourceGate)) == NFA_STATUS_OK)
860 ALOGE ("%s: fail dealloc gate; error=0x%X", fn, nfaStat);
896 tNFA_STATUS nfaStat = NFA_STATUS_FAILED;
949 nfaStat = NFA_HciSendEvent (mNfaHciHandle, mNewPipeId, EVT_SEND_DATA, xmitBufferSize, xmitBuffer, sizeof(mResponseData), mResponseData, timeoutMillisec);
951 nfaStat = NFA_HciSendEvent (mNfaHciHandle, mNewPipeId, NFA_HCI_EVT_POST_DATA, xmitBufferSize, xmitBuffer, sizeof(mResponseData), mResponseData, timeoutMillisec);
952 if (nfaStat == NFA_STATUS_OK)
963 ALOGE ("%s: fail send data; error=0x%X", fn, nfaStat);
1183 tNFA_STATUS nfaStat = NFA_HciAddStaticPipe(mNfaHciHandle, host, gate, pipe);
1184 if (nfaStat != NFA_STATUS_OK)
1186 ALOGE ("%s: NFA_HciAddStaticPipe() failed, pipe = 0x%x, error=0x%X", __FUNCTION__, pipe, nfaStat);
1191 if (NFA_STATUS_OK == (nfaStat = NFA_HciGetRegistry (mNfaHciHandle, pipe, 0x02)))
1205 ALOGE ("%s: NFA_HciGetRegistry () failed: 0x%X", __FUNCTION__, nfaStat);