Home
last modified time | relevance | path

Searched refs:nfaStat (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Nfc/nci/jni/
DSecureElement.cpp152 tNFA_STATUS nfaStat; in initialize() local
211 nfaStat = NFA_HciRegister (const_cast<char*>(APP_NAME), nfaHciCallback, TRUE); in initialize()
212 if (nfaStat != NFA_STATUS_OK) in initialize()
214 ALOGE ("%s: fail hci register; error=0x%X", fn, nfaStat); in initialize()
275 tNFA_STATUS nfaStat = NFA_STATUS_FAILED; in getEeInfo() local
282 if ((nfaStat = NFA_EeGetInfo (&mActualNumEe, mEeInfo)) != NFA_STATUS_OK) in getEeInfo()
284 ALOGE ("%s: fail get info; error=0x%X", fn, nfaStat); in getEeInfo()
438 tNFA_STATUS nfaStat = NFA_STATUS_FAILED; in activate() local
494 … if ((nfaStat = NFA_EeModeSet (eeItem.ee_handle, NFA_EE_MD_ACTIVATE)) == NFA_STATUS_OK) in activate()
501 ALOGE ("%s: NFA_EeModeSet failed; error=0x%X", fn, nfaStat); in activate()
[all …]
DRoutingManager.cpp43 tNFA_STATUS nfaStat; in initialize() local
47 nfaStat = NFA_EeRegister (nfaEeCallback); in initialize()
48 if (nfaStat != NFA_STATUS_OK) in initialize()
50 ALOGE ("%s: fail ee register; error=0x%X", fn, nfaStat); in initialize()
75 tNFA_STATUS nfaStat; in setDefaultRouting() local
78 nfaStat = NFA_EeSetDefaultTechRouting (mDefaultEe, 0x01, 0, 0); in setDefaultRouting()
79 if (nfaStat == NFA_STATUS_OK) in setDefaultRouting()
85 nfaStat = NFA_EeSetDefaultProtoRouting(mDefaultEe, NFA_PROTOCOL_MASK_ISO_DEP, 0, 0); in setDefaultRouting()
86 if (nfaStat == NFA_STATUS_OK) in setDefaultRouting()
92 nfaStat = NFA_CeConfigureUiccListenTech (mDefaultEe, 0x01); in setDefaultRouting()
[all …]
DPeerToPeer.cpp473 tNFA_STATUS nfaStat = NFA_STATUS_FAILED; in deregisterServer() local
491 nfaStat = NFA_P2pDeregister (pSrv->mNfaP2pServerHandle); in deregisterServer()
492 if (nfaStat != NFA_STATUS_OK) in deregisterServer()
494 ALOGE ("%s: deregister error=0x%X", fn, nfaStat); in deregisterServer()
668 tNFA_STATUS nfaStat = NFA_STATUS_FAILED; in createDataLinkConn() local
682 nfaStat = NFA_P2pConnectByName (pClient->mNfaP2pClientHandle, in createDataLinkConn()
686 nfaStat = NFA_P2pConnectBySap (pClient->mNfaP2pClientHandle, destinationSap, in createDataLinkConn()
688 if (nfaStat == NFA_STATUS_OK) in createDataLinkConn()
695 if (nfaStat == NFA_STATUS_OK) in createDataLinkConn()
700 nfaStat = NFA_STATUS_FAILED; in createDataLinkConn()
[all …]
DNativeNfcTag.cpp756 tNFA_STATUS nfaStat = NFA_STATUS_OK; in nativeNfcTag_doDisconnect() local
766 nfaStat = NFA_Deactivate (FALSE); in nativeNfcTag_doDisconnect()
767 if (nfaStat != NFA_STATUS_OK) in nativeNfcTag_doDisconnect()
768 ALOGE ("%s: deactivate failed; error=0x%X", __FUNCTION__, nfaStat); in nativeNfcTag_doDisconnect()
772 return (nfaStat == NFA_STATUS_OK) ? JNI_TRUE : JNI_FALSE; in nativeNfcTag_doDisconnect()