Lines Matching refs:mTechParams
60 memset (mTechParams, 0, sizeof(mTechParams));
254 memcpy (&(mTechParams[0]), &(rfDetail.rf_tech_param), sizeof(rfDetail.rf_tech_param));
255 if (mTechParams [0].mode != NFC_DISCOVERY_TYPE_POLL_KOVIO)
262 if (mTechParams[0].param.pk.uid_len == mLastKovioUidLen)
264 if (memcmp(mLastKovioUid, &mTechParams [0].param.pk.uid, mTechParams[0].param.pk.uid_len) == 0)
278 if ((mLastKovioUidLen = mTechParams[0].param.pk.uid_len) > NFC_KOVIO_MAX_LEN)
280 memcpy(mLastKovioUid, mTechParams[0].param.pk.uid, mLastKovioUidLen);
309 memcpy (&(mTechParams[mNumTechList]), &(rfDetail.rf_tech_param), sizeof(rfDetail.rf_tech_param));
335 memcpy (&(mTechParams[mNumTechList]), &(rfDetail.rf_tech_param), sizeof(rfDetail.rf_tech_param));
372 memcpy (&(mTechParams[mNumTechList]), &(rfDetail.rf_tech_param), sizeof(rfDetail.rf_tech_param));
384 memcpy (&(mTechParams[mNumTechList]), &(rfDetail.rf_tech_param), sizeof(rfDetail.rf_tech_param));
439 memcpy (&(mTechParams[mNumTechList]), &(discovery_ntf.rf_tech_param), sizeof(discovery_ntf.rf_tech_param));
461 memcpy (&(mTechParams[mNumTechList]), &(discovery_ntf.rf_tech_param), sizeof(discovery_ntf.rf_tech_param));
482 memcpy (&(mTechParams[mNumTechList]), &(discovery_ntf.rf_tech_param), sizeof(discovery_ntf.rf_tech_param));
497 memcpy (&(mTechParams[mNumTechList]), &(discovery_ntf.rf_tech_param), sizeof(discovery_ntf.rf_tech_param));
695 ALOGD ("%s: index=%d; rf tech params mode=%u", fn, i, mTechParams [i].mode);
696 switch (mTechParams [i].mode)
704 e->SetByteArrayRegion(pollBytes.get(), 0, 2, (jbyte*) mTechParams [i].param.pa.sens_res);
719 len = mTechParams [i].param.pb.sensb_res_len;
722 e->SetByteArrayRegion(pollBytes.get(), 0, len, (jbyte*) (mTechParams [i].param.pb.sensb_res+4));
747 for (int ii = 0; ii < mTechParams [i].param.pf.sensf_res_len; ii++)
750 fn, ii, mTechParams [i].param.pf.sensf_res[ii],mTechParams [i].param.pf.sensf_res[ii]);
753 memcpy (result, mTechParams [i].param.pf.sensf_res + 8, 8); //copy PMm
826 e->SetByteArrayRegion(actBytes.get(), 0, 1, (jbyte*) &mTechParams [i].param.pa.sel_rsp);
842 if ( (mTechParams[i].mode == NFC_DISCOVERY_TYPE_POLL_A) ||
843 (mTechParams[i].mode == NFC_DISCOVERY_TYPE_POLL_A_ACTIVE) ||
844 (mTechParams[i].mode == NFC_DISCOVERY_TYPE_LISTEN_A) ||
845 (mTechParams[i].mode == NFC_DISCOVERY_TYPE_LISTEN_A_ACTIVE) )
864 else if ( (mTechParams[i].mode == NFC_DISCOVERY_TYPE_POLL_B) ||
865 (mTechParams[i].mode == NFC_DISCOVERY_TYPE_POLL_B_PRIME) ||
866 (mTechParams[i].mode == NFC_DISCOVERY_TYPE_LISTEN_B) ||
867 (mTechParams[i].mode == NFC_DISCOVERY_TYPE_LISTEN_B_PRIME) )
891 e->SetByteArrayRegion(actBytes.get(), 0, 1, (jbyte*) &mTechParams [i].param.pa.sel_rsp);
945 switch (mTechParams [0].mode)
949 len = mTechParams [0].param.pk.uid_len;
952 (jbyte*) &mTechParams [0].param.pk.uid);
960 len = mTechParams [0].param.pa.nfcid1_len;
963 (jbyte*) &mTechParams [0].param.pa.nfcid1);
968 mIsDynamicTagId = (mTechParams [0].param.pa.nfcid1_len == 4) &&
969 (mTechParams [0].param.pa.nfcid1 [0] == 0x08);
979 (jbyte*) &mTechParams [0].param.pb.nfcid0);
988 (jbyte*) &mTechParams [0].param.pf.nfcid2);
1065 if ( (mTechParams[i].mode == NFC_DISCOVERY_TYPE_POLL_F) ||
1066 (mTechParams[i].mode == NFC_DISCOVERY_TYPE_POLL_F_ACTIVE) )
1071 else if ( (mTechParams[i].mode == NFC_DISCOVERY_TYPE_POLL_A) ||
1072 (mTechParams[i].mode == NFC_DISCOVERY_TYPE_POLL_A_ACTIVE) )
1110 memset (mTechParams, 0, sizeof(mTechParams));
1237 if (mTechParams[i].mode == NFC_DISCOVERY_TYPE_POLL_A)
1242 if ( (mTechParams[i].param.pa.sens_res[0] == 0x44) &&
1243 (mTechParams[i].param.pa.sens_res[1] == 0) &&
1244 ( (mTechParams[i].param.pa.sel_rsp == 0) || (mTechParams[i].param.pa.sel_rsp == 0x04) ) &&
1245 (mTechParams[i].param.pa.nfcid1[0] == 0x04) )
1516 if (mTechParams[i].mode == NFC_DISCOVERY_TYPE_POLL_A)
1520 if (mTechParams[i].param.pa.nfcid1[0] == 0x05)
1522 UINT8 highNibble = mTechParams[i].param.pa.nfcid1[1] & 0xF0;
1550 if (mTechParams[i].mode == NFC_DISCOVERY_TYPE_POLL_A)
1554 if (mTechParams[i].param.pa.nfcid1[0] == 0x37)