Lines Matching refs:nfaStat
143 tNFA_STATUS nfaStat = NFA_EeRegister(nfaEeCallback); in initialize() local
144 if (nfaStat != NFA_STATUS_OK) { in initialize()
146 nfaStat); in initialize()
163 tNFA_STATUS nfaStat = NFA_CeSetIsoDepListenTech( in initialize() local
166 if (nfaStat != NFA_STATUS_OK) in initialize()
170 nfaStat = NFA_CeRegisterAidOnDH(NULL, 0, stackCallback); in initialize()
171 if (nfaStat != NFA_STATUS_OK) in initialize()
187 tNFA_STATUS nfaStat; in enableRoutingToHost() local
192 nfaStat = NFA_EeSetDefaultProtoRouting(NFC_DH_ID, NFA_PROTOCOL_MASK_T3T, 0, in enableRoutingToHost()
194 if (nfaStat == NFA_STATUS_OK) in enableRoutingToHost()
203 nfaStat = NFA_EeSetDefaultProtoRouting( in enableRoutingToHost()
205 if (nfaStat == NFA_STATUS_OK) in enableRoutingToHost()
215 nfaStat = NFA_EeSetDefaultTechRouting( in enableRoutingToHost()
218 if (nfaStat == NFA_STATUS_OK) in enableRoutingToHost()
228 nfaStat = NFA_EeSetDefaultTechRouting( in enableRoutingToHost()
231 if (nfaStat == NFA_STATUS_OK) in enableRoutingToHost()
241 nfaStat = NFA_EeSetDefaultTechRouting( in enableRoutingToHost()
244 if (nfaStat == NFA_STATUS_OK) in enableRoutingToHost()
253 tNFA_STATUS nfaStat; in disableRoutingToHost() local
258 nfaStat = in disableRoutingToHost()
260 if (nfaStat == NFA_STATUS_OK) in disableRoutingToHost()
269 nfaStat = NFA_EeClearDefaultTechRouting(NFC_DH_ID, NFA_TECHNOLOGY_MASK_A); in disableRoutingToHost()
270 if (nfaStat == NFA_STATUS_OK) in disableRoutingToHost()
279 nfaStat = NFA_EeClearDefaultTechRouting(NFC_DH_ID, NFA_TECHNOLOGY_MASK_B); in disableRoutingToHost()
280 if (nfaStat == NFA_STATUS_OK) in disableRoutingToHost()
289 nfaStat = NFA_EeClearDefaultTechRouting(NFC_DH_ID, NFA_TECHNOLOGY_MASK_F); in disableRoutingToHost()
290 if (nfaStat == NFA_STATUS_OK) in disableRoutingToHost()
298 nfaStat = NFA_EeClearDefaultProtoRouting(NFC_DH_ID, NFA_PROTOCOL_MASK_T3T); in disableRoutingToHost()
299 if (nfaStat == NFA_STATUS_OK) in disableRoutingToHost()
322 tNFA_STATUS nfaStat = NFA_EeGetInfo(&mActualNumEe, eeInfo); in isTypeATypeBTechSupportedInEe() local
324 if (nfaStat != NFA_STATUS_OK) { in isTypeATypeBTechSupportedInEe()
353 tNFA_STATUS nfaStat = in addAidRouting() local
355 if (nfaStat == NFA_STATUS_OK) { in addAidRouting()
381 tNFA_STATUS nfaStat = NFA_EeRemoveAidRouting(aidLen, (uint8_t*)aid); in removeAidRouting() local
382 if (nfaStat == NFA_STATUS_OK) { in removeAidRouting()
396 tNFA_STATUS nfaStat = 0; in commitRouting() local
404 nfaStat = NFA_EeUpdateNow(); in commitRouting()
405 if (nfaStat == NFA_STATUS_OK) { in commitRouting()
409 return (nfaStat == NFA_STATUS_OK); in commitRouting()
416 tNFA_STATUS nfaStat = NFA_STATUS_FAILED; in onNfccShutdown() local
422 if ((nfaStat = NFA_EeGetInfo(&actualNumEe, eeInfo)) != NFA_STATUS_OK) { in onNfccShutdown()
423 LOG(ERROR) << StringPrintf("%s: fail get info; error=0x%X", fn, nfaStat); in onNfccShutdown()
439 if ((nfaStat = NFA_EeModeSet(eeInfo[xx].ee_handle, in onNfccShutdown()
611 tNFA_STATUS nfaStat; in updateIsoDepProtocolRoute() local
614 nfaStat = NFA_EeClearDefaultProtoRouting(mDefaultIsoDepRoute, protoMask); in updateIsoDepProtocolRoute()
615 if (nfaStat == NFA_STATUS_OK) in updateIsoDepProtocolRoute()
629 tNFA_STATUS nfaStat; in updateDefaultProtocolRoute() local
633 nfaStat = NFA_EeClearDefaultProtoRouting(mDefaultIsoDepRoute, protoMask); in updateDefaultProtocolRoute()
634 nfaStat = NFA_EeSetDefaultProtoRouting( in updateDefaultProtocolRoute()
639 nfaStat = NFA_EeClearDefaultProtoRouting(NFC_DH_ID, protoMask); in updateDefaultProtocolRoute()
640 nfaStat = NFA_EeSetDefaultProtoRouting( in updateDefaultProtocolRoute()
643 if (nfaStat == NFA_STATUS_OK) in updateDefaultProtocolRoute()
653 nfaStat = in updateDefaultProtocolRoute()
656 nfaStat = NFA_EeClearDefaultProtoRouting(mDefaultEe, protoMask); in updateDefaultProtocolRoute()
657 nfaStat = NFA_EeSetDefaultProtoRouting( in updateDefaultProtocolRoute()
661 if (nfaStat == NFA_STATUS_OK) in updateDefaultProtocolRoute()
674 tNFA_STATUS nfaStat = NFA_EeAddSystemCodeRouting( in updateDefaultRoute() local
677 if (nfaStat == NFA_STATUS_NOT_SUPPORTED) { in updateDefaultRoute()
680 } else if (nfaStat == NFA_STATUS_OK) { in updateDefaultRoute()
701 nfaStat = NFA_EeAddAidRouting(mDefaultEe, 0, NULL, powerState, in updateDefaultRoute()
703 if (nfaStat == NFA_STATUS_OK) in updateDefaultRoute()
713 tNFA_STATUS nfaStat; in updateTechnologyABRoute() local
716 nfaStat = NFA_EeClearDefaultTechRouting( in updateTechnologyABRoute()
719 if (nfaStat == NFA_STATUS_OK) in updateTechnologyABRoute()
737 tNFA_STATUS nfaStat; in updateEeTechRouteSetting() local
772 nfaStat = NFA_CeConfigureUiccListenTech(eeHandle, seTechMask); in updateEeTechRouteSetting()
773 if (nfaStat != NFA_STATUS_OK) in updateEeTechRouteSetting()
777 nfaStat = NFA_EeClearDefaultTechRouting(eeHandle, seTechMask); in updateEeTechRouteSetting()
778 if (nfaStat != NFA_STATUS_OK) in updateEeTechRouteSetting()
781 nfaStat = NFA_EeSetDefaultTechRouting( in updateEeTechRouteSetting()
786 if (nfaStat != NFA_STATUS_OK) in updateEeTechRouteSetting()
796 nfaStat = NFA_EeClearDefaultTechRouting(NFC_DH_ID, NFA_TECHNOLOGY_MASK_A); in updateEeTechRouteSetting()
797 if (nfaStat != NFA_STATUS_OK) in updateEeTechRouteSetting()
804 nfaStat = NFA_EeClearDefaultTechRouting(NFC_DH_ID, NFA_TECHNOLOGY_MASK_B); in updateEeTechRouteSetting()
805 if (nfaStat != NFA_STATUS_OK) in updateEeTechRouteSetting()
812 nfaStat = NFA_EeClearDefaultTechRouting(NFC_DH_ID, NFA_TECHNOLOGY_MASK_F); in updateEeTechRouteSetting()
813 if (nfaStat != NFA_STATUS_OK) in updateEeTechRouteSetting()
1015 tNFA_STATUS nfaStat = NFA_CeRegisterFelicaSystemCodeOnDH( in registerT3tIdentifier() local
1017 if (nfaStat == NFA_STATUS_OK) { in registerT3tIdentifier()
1029 tNFA_STATUS nfaStat = NFA_EeAddSystemCodeRouting(systemCode, NCI_DH_ID, in registerT3tIdentifier() local
1031 if (nfaStat == NFA_STATUS_OK) { in registerT3tIdentifier()
1034 if ((nfaStat != NFA_STATUS_OK) || (mCbEventData.status != NFA_STATUS_OK)) { in registerT3tIdentifier()
1054 tNFA_STATUS nfaStat = NFA_CeDeregisterFelicaSystemCodeOnDH(handle); in deregisterT3tIdentifier() local
1055 if (nfaStat == NFA_STATUS_OK) { in deregisterT3tIdentifier()
1072 tNFA_STATUS nfaStat = NFA_EeRemoveSystemCodeRouting(systemCode); in deregisterT3tIdentifier() local
1073 if (nfaStat == NFA_STATUS_OK) { in deregisterT3tIdentifier()
1168 tNFA_STATUS nfaStat = NFA_STATUS_FAILED; in clearRoutingEntry() local
1182 nfaStat = in clearRoutingEntry()
1184 if (nfaStat == NFA_STATUS_OK) { in clearRoutingEntry()
1192 nfaStat = in clearRoutingEntry()
1194 if (nfaStat == NFA_STATUS_OK) { in clearRoutingEntry()
1205 nfaStat = NFA_EeClearDefaultTechRouting( in clearRoutingEntry()
1208 if (nfaStat == NFA_STATUS_OK) { in clearRoutingEntry()
1216 nfaStat = NFA_EeClearDefaultTechRouting( in clearRoutingEntry()
1219 if (nfaStat == NFA_STATUS_OK) { in clearRoutingEntry()