Lines Matching refs:nfaStat
131 tNFA_STATUS nfaStat = NFA_EeRegister(nfaEeCallback); in initialize() local
132 if (nfaStat != NFA_STATUS_OK) { in initialize()
134 nfaStat); in initialize()
151 tNFA_STATUS nfaStat = NFA_CeSetIsoDepListenTech(NFA_TECHNOLOGY_MASK_A); in initialize() local
152 if (nfaStat != NFA_STATUS_OK) in initialize()
156 nfaStat = NFA_CeRegisterAidOnDH(NULL, 0, stackCallback); in initialize()
157 if (nfaStat != NFA_STATUS_OK) in initialize()
173 tNFA_STATUS nfaStat; in enableRoutingToHost() local
178 nfaStat = NFA_EeSetDefaultProtoRouting(NFC_DH_ID, NFA_PROTOCOL_MASK_T3T, 0, in enableRoutingToHost()
180 if (nfaStat == NFA_STATUS_OK) in enableRoutingToHost()
189 nfaStat = NFA_EeSetDefaultProtoRouting( in enableRoutingToHost()
191 if (nfaStat == NFA_STATUS_OK) in enableRoutingToHost()
200 nfaStat = NFA_EeSetDefaultTechRouting( in enableRoutingToHost()
203 if (nfaStat == NFA_STATUS_OK) in enableRoutingToHost()
212 nfaStat = NFA_EeSetDefaultTechRouting( in enableRoutingToHost()
215 if (nfaStat == NFA_STATUS_OK) in enableRoutingToHost()
224 tNFA_STATUS nfaStat; in disableRoutingToHost() local
229 nfaStat = in disableRoutingToHost()
231 if (nfaStat == NFA_STATUS_OK) in disableRoutingToHost()
239 nfaStat = NFA_EeClearDefaultTechRouting(NFC_DH_ID, NFA_TECHNOLOGY_MASK_A); in disableRoutingToHost()
240 if (nfaStat == NFA_STATUS_OK) in disableRoutingToHost()
248 nfaStat = NFA_EeClearDefaultTechRouting(NFC_DH_ID, NFA_TECHNOLOGY_MASK_F); in disableRoutingToHost()
249 if (nfaStat == NFA_STATUS_OK) in disableRoutingToHost()
257 nfaStat = NFA_EeClearDefaultProtoRouting(NFC_DH_ID, NFA_PROTOCOL_MASK_T3T); in disableRoutingToHost()
258 if (nfaStat == NFA_STATUS_OK) in disableRoutingToHost()
275 tNFA_STATUS nfaStat = in addAidRouting() local
277 if (nfaStat == NFA_STATUS_OK) { in addAidRouting()
294 tNFA_STATUS nfaStat = NFA_EeRemoveAidRouting(aidLen, (uint8_t*)aid); in removeAidRouting() local
295 if (nfaStat == NFA_STATUS_OK) { in removeAidRouting()
309 tNFA_STATUS nfaStat = 0; in commitRouting() local
317 nfaStat = NFA_EeUpdateNow(); in commitRouting()
318 if (nfaStat == NFA_STATUS_OK) { in commitRouting()
322 return (nfaStat == NFA_STATUS_OK); in commitRouting()
329 tNFA_STATUS nfaStat = NFA_STATUS_FAILED; in onNfccShutdown() local
335 if ((nfaStat = NFA_EeGetInfo(&actualNumEe, eeInfo)) != NFA_STATUS_OK) { in onNfccShutdown()
336 LOG(ERROR) << StringPrintf("%s: fail get info; error=0x%X", fn, nfaStat); in onNfccShutdown()
352 if ((nfaStat = NFA_EeModeSet(eeInfo[xx].ee_handle, in onNfccShutdown()
526 tNFA_STATUS nfaStat; in updateDefaultProtocolRoute() local
528 nfaStat = NFA_EeClearDefaultProtoRouting(mDefaultIsoDepRoute, protoMask); in updateDefaultProtocolRoute()
529 nfaStat = NFA_EeSetDefaultProtoRouting( in updateDefaultProtocolRoute()
534 nfaStat = NFA_EeClearDefaultProtoRouting(NFC_DH_ID, protoMask); in updateDefaultProtocolRoute()
535 nfaStat = NFA_EeSetDefaultProtoRouting( in updateDefaultProtocolRoute()
538 if (nfaStat == NFA_STATUS_OK) in updateDefaultProtocolRoute()
549 nfaStat = in updateDefaultProtocolRoute()
552 nfaStat = NFA_EeClearDefaultProtoRouting(mDefaultEe, protoMask); in updateDefaultProtocolRoute()
553 nfaStat = NFA_EeSetDefaultProtoRouting( in updateDefaultProtocolRoute()
557 if (nfaStat == NFA_STATUS_OK) in updateDefaultProtocolRoute()
570 tNFA_STATUS nfaStat = NFA_EeAddSystemCodeRouting( in updateDefaultRoute() local
573 if (nfaStat == NFA_STATUS_NOT_SUPPORTED) { in updateDefaultRoute()
576 } else if (nfaStat == NFA_STATUS_OK) { in updateDefaultRoute()
590 nfaStat = NFA_EeAddAidRouting(mDefaultEe, 0, NULL, powerState, in updateDefaultRoute()
592 if (nfaStat == NFA_STATUS_OK) in updateDefaultRoute()
610 tNFA_STATUS nfaStat; in updateEeTechRouteSetting() local
642 nfaStat = NFA_CeConfigureUiccListenTech(eeHandle, seTechMask); in updateEeTechRouteSetting()
643 if (nfaStat != NFA_STATUS_OK) in updateEeTechRouteSetting()
647 nfaStat = NFA_EeClearDefaultTechRouting(eeHandle, seTechMask); in updateEeTechRouteSetting()
648 if (nfaStat != NFA_STATUS_OK) in updateEeTechRouteSetting()
651 nfaStat = NFA_EeSetDefaultTechRouting( in updateEeTechRouteSetting()
656 if (nfaStat != NFA_STATUS_OK) in updateEeTechRouteSetting()
665 nfaStat = NFA_EeClearDefaultTechRouting(NFC_DH_ID, NFA_TECHNOLOGY_MASK_A); in updateEeTechRouteSetting()
666 if (nfaStat != NFA_STATUS_OK) in updateEeTechRouteSetting()
672 nfaStat = NFA_EeClearDefaultTechRouting(NFC_DH_ID, NFA_TECHNOLOGY_MASK_F); in updateEeTechRouteSetting()
673 if (nfaStat != NFA_STATUS_OK) in updateEeTechRouteSetting()
869 tNFA_STATUS nfaStat = NFA_CeRegisterFelicaSystemCodeOnDH( in registerT3tIdentifier() local
871 if (nfaStat == NFA_STATUS_OK) { in registerT3tIdentifier()
884 tNFA_STATUS nfaStat = NFA_EeAddSystemCodeRouting(systemCode, NCI_DH_ID, in registerT3tIdentifier() local
886 if (nfaStat == NFA_STATUS_OK) { in registerT3tIdentifier()
889 if ((nfaStat != NFA_STATUS_OK) || (mCbEventData.status != NFA_STATUS_OK)) { in registerT3tIdentifier()
911 tNFA_STATUS nfaStat = NFA_CeDeregisterFelicaSystemCodeOnDH(handle); in deregisterT3tIdentifier() local
912 if (nfaStat == NFA_STATUS_OK) { in deregisterT3tIdentifier()
929 tNFA_STATUS nfaStat = NFA_EeRemoveSystemCodeRouting(systemCode); in deregisterT3tIdentifier() local
930 if (nfaStat == NFA_STATUS_OK) { in deregisterT3tIdentifier()