Home
last modified time | relevance | path

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

/packages/apps/Nfc/nci/jni/
DRoutingManager.cpp138 tNFA_STATUS nfaStat = NFA_EeRegister(nfaEeCallback); in initialize() local
139 if (nfaStat != NFA_STATUS_OK) { in initialize()
141 nfaStat); in initialize()
158 tNFA_STATUS nfaStat = NFA_CeSetIsoDepListenTech( in initialize() local
161 if (nfaStat != NFA_STATUS_OK) in initialize()
165 nfaStat = NFA_CeRegisterAidOnDH(NULL, 0, stackCallback); in initialize()
166 if (nfaStat != NFA_STATUS_OK) in initialize()
182 tNFA_STATUS nfaStat; in enableRoutingToHost() local
187 nfaStat = NFA_EeSetDefaultProtoRouting(NFC_DH_ID, NFA_PROTOCOL_MASK_T3T, 0, in enableRoutingToHost()
189 if (nfaStat == NFA_STATUS_OK) in enableRoutingToHost()
[all …]
DPeerToPeer.cpp463 tNFA_STATUS nfaStat = NFA_STATUS_FAILED; in deregisterServer() local
485 nfaStat = NFA_P2pDeregister(pSrv->mNfaP2pServerHandle); in deregisterServer()
486 if (nfaStat != NFA_STATUS_OK) { in deregisterServer()
487 LOG(ERROR) << StringPrintf("%s: deregister error=0x%X", fn, nfaStat); in deregisterServer()
662 tNFA_STATUS nfaStat = NFA_STATUS_FAILED; in createDataLinkConn() local
676 nfaStat = NFA_P2pConnectByName(pClient->mNfaP2pClientHandle, in createDataLinkConn()
681 nfaStat = in createDataLinkConn()
685 if (nfaStat == NFA_STATUS_OK) { in createDataLinkConn()
693 if (nfaStat == NFA_STATUS_OK) { in createDataLinkConn()
696 nfaStat = NFA_STATUS_FAILED; in createDataLinkConn()
[all …]
DHciEventManager.cpp40 tNFA_STATUS nfaStat = NFA_HciRegister(const_cast<char*>(APP_NAME), in initialize() local
42 if (nfaStat != NFA_STATUS_OK) { in initialize()
43 LOG(ERROR) << "HCI registration failed; status=" << nfaStat; in initialize()
DNativeNfcTag.cpp861 tNFA_STATUS nfaStat = NFA_STATUS_OK; in nativeNfcTag_doDisconnect() local
870 nfaStat = NFA_Deactivate(FALSE); in nativeNfcTag_doDisconnect()
871 if (nfaStat != NFA_STATUS_OK) in nativeNfcTag_doDisconnect()
873 nfaStat); in nativeNfcTag_doDisconnect()
877 return (nfaStat == NFA_STATUS_OK) ? JNI_TRUE : JNI_FALSE; in nativeNfcTag_doDisconnect()