Lines Matching refs:nfaStat
138 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()
198 nfaStat = NFA_EeSetDefaultProtoRouting( in enableRoutingToHost()
200 if (nfaStat == NFA_STATUS_OK) in enableRoutingToHost()
210 nfaStat = NFA_EeSetDefaultTechRouting( in enableRoutingToHost()
213 if (nfaStat == NFA_STATUS_OK) in enableRoutingToHost()
223 nfaStat = NFA_EeSetDefaultTechRouting( in enableRoutingToHost()
226 if (nfaStat == NFA_STATUS_OK) in enableRoutingToHost()
236 nfaStat = NFA_EeSetDefaultTechRouting( in enableRoutingToHost()
239 if (nfaStat == NFA_STATUS_OK) in enableRoutingToHost()
248 tNFA_STATUS nfaStat; in disableRoutingToHost() local
253 nfaStat = in disableRoutingToHost()
255 if (nfaStat == NFA_STATUS_OK) in disableRoutingToHost()
264 nfaStat = NFA_EeClearDefaultTechRouting(NFC_DH_ID, NFA_TECHNOLOGY_MASK_A); in disableRoutingToHost()
265 if (nfaStat == NFA_STATUS_OK) in disableRoutingToHost()
274 nfaStat = NFA_EeClearDefaultTechRouting(NFC_DH_ID, NFA_TECHNOLOGY_MASK_B); in disableRoutingToHost()
275 if (nfaStat == NFA_STATUS_OK) in disableRoutingToHost()
284 nfaStat = NFA_EeClearDefaultTechRouting(NFC_DH_ID, NFA_TECHNOLOGY_MASK_F); in disableRoutingToHost()
285 if (nfaStat == NFA_STATUS_OK) in disableRoutingToHost()
293 nfaStat = NFA_EeClearDefaultProtoRouting(NFC_DH_ID, NFA_PROTOCOL_MASK_T3T); in disableRoutingToHost()
294 if (nfaStat == NFA_STATUS_OK) in disableRoutingToHost()
311 tNFA_STATUS nfaStat = in addAidRouting() local
313 if (nfaStat == NFA_STATUS_OK) { in addAidRouting()
330 tNFA_STATUS nfaStat = NFA_EeRemoveAidRouting(aidLen, (uint8_t*)aid); in removeAidRouting() local
331 if (nfaStat == NFA_STATUS_OK) { in removeAidRouting()
345 tNFA_STATUS nfaStat = 0; in commitRouting() local
353 nfaStat = NFA_EeUpdateNow(); in commitRouting()
354 if (nfaStat == NFA_STATUS_OK) { in commitRouting()
358 return (nfaStat == NFA_STATUS_OK); in commitRouting()
365 tNFA_STATUS nfaStat = NFA_STATUS_FAILED; in onNfccShutdown() local
371 if ((nfaStat = NFA_EeGetInfo(&actualNumEe, eeInfo)) != NFA_STATUS_OK) { in onNfccShutdown()
372 LOG(ERROR) << StringPrintf("%s: fail get info; error=0x%X", fn, nfaStat); in onNfccShutdown()
388 if ((nfaStat = NFA_EeModeSet(eeInfo[xx].ee_handle, in onNfccShutdown()
562 tNFA_STATUS nfaStat; in updateDefaultProtocolRoute() local
564 nfaStat = NFA_EeClearDefaultProtoRouting(mDefaultIsoDepRoute, protoMask); in updateDefaultProtocolRoute()
565 nfaStat = NFA_EeSetDefaultProtoRouting( in updateDefaultProtocolRoute()
570 nfaStat = NFA_EeClearDefaultProtoRouting(NFC_DH_ID, protoMask); in updateDefaultProtocolRoute()
571 nfaStat = NFA_EeSetDefaultProtoRouting( in updateDefaultProtocolRoute()
574 if (nfaStat == NFA_STATUS_OK) in updateDefaultProtocolRoute()
585 nfaStat = in updateDefaultProtocolRoute()
588 nfaStat = NFA_EeClearDefaultProtoRouting(mDefaultEe, protoMask); in updateDefaultProtocolRoute()
589 nfaStat = NFA_EeSetDefaultProtoRouting( in updateDefaultProtocolRoute()
593 if (nfaStat == NFA_STATUS_OK) in updateDefaultProtocolRoute()
606 tNFA_STATUS nfaStat = NFA_EeAddSystemCodeRouting( in updateDefaultRoute() local
609 if (nfaStat == NFA_STATUS_NOT_SUPPORTED) { in updateDefaultRoute()
612 } else if (nfaStat == NFA_STATUS_OK) { in updateDefaultRoute()
626 nfaStat = NFA_EeAddAidRouting(mDefaultEe, 0, NULL, powerState, in updateDefaultRoute()
628 if (nfaStat == NFA_STATUS_OK) in updateDefaultRoute()
646 tNFA_STATUS nfaStat; in updateEeTechRouteSetting() local
678 nfaStat = NFA_CeConfigureUiccListenTech(eeHandle, seTechMask); in updateEeTechRouteSetting()
679 if (nfaStat != NFA_STATUS_OK) in updateEeTechRouteSetting()
683 nfaStat = NFA_EeClearDefaultTechRouting(eeHandle, seTechMask); in updateEeTechRouteSetting()
684 if (nfaStat != NFA_STATUS_OK) in updateEeTechRouteSetting()
687 nfaStat = NFA_EeSetDefaultTechRouting( in updateEeTechRouteSetting()
692 if (nfaStat != NFA_STATUS_OK) in updateEeTechRouteSetting()
702 nfaStat = NFA_EeClearDefaultTechRouting(NFC_DH_ID, NFA_TECHNOLOGY_MASK_A); in updateEeTechRouteSetting()
703 if (nfaStat != NFA_STATUS_OK) in updateEeTechRouteSetting()
710 nfaStat = NFA_EeClearDefaultTechRouting(NFC_DH_ID, NFA_TECHNOLOGY_MASK_B); in updateEeTechRouteSetting()
711 if (nfaStat != NFA_STATUS_OK) in updateEeTechRouteSetting()
718 nfaStat = NFA_EeClearDefaultTechRouting(NFC_DH_ID, NFA_TECHNOLOGY_MASK_F); in updateEeTechRouteSetting()
719 if (nfaStat != NFA_STATUS_OK) in updateEeTechRouteSetting()
918 tNFA_STATUS nfaStat = NFA_CeRegisterFelicaSystemCodeOnDH( in registerT3tIdentifier() local
920 if (nfaStat == NFA_STATUS_OK) { in registerT3tIdentifier()
933 tNFA_STATUS nfaStat = NFA_EeAddSystemCodeRouting(systemCode, NCI_DH_ID, in registerT3tIdentifier() local
935 if (nfaStat == NFA_STATUS_OK) { in registerT3tIdentifier()
938 if ((nfaStat != NFA_STATUS_OK) || (mCbEventData.status != NFA_STATUS_OK)) { in registerT3tIdentifier()
960 tNFA_STATUS nfaStat = NFA_CeDeregisterFelicaSystemCodeOnDH(handle); in deregisterT3tIdentifier() local
961 if (nfaStat == NFA_STATUS_OK) { in deregisterT3tIdentifier()
978 tNFA_STATUS nfaStat = NFA_EeRemoveSystemCodeRouting(systemCode); in deregisterT3tIdentifier() local
979 if (nfaStat == NFA_STATUS_OK) { in deregisterT3tIdentifier()