Home
last modified time | relevance | path

Searched refs:targetLost (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Nfc/nci/jni/
DNativeNfcTag.cpp821 jint *targetLost = NULL; in nativeNfcTag_doTransceive() local
827 targetLost = e->GetIntArrayElements (statusTargetLost, 0); in nativeNfcTag_doTransceive()
828 if (targetLost) in nativeNfcTag_doTransceive()
829 *targetLost = 1; //causes NFC service to throw TagLostException in nativeNfcTag_doTransceive()
830 e->ReleaseIntArrayElements (statusTargetLost, targetLost, 0); in nativeNfcTag_doTransceive()
845 targetLost = e->GetIntArrayElements (statusTargetLost, 0); in nativeNfcTag_doTransceive()
846 if (targetLost) in nativeNfcTag_doTransceive()
847 *targetLost = 0; //success, tag is still present in nativeNfcTag_doTransceive()
873 if (targetLost) in nativeNfcTag_doTransceive()
874 *targetLost = 1; //causes NFC service to throw TagLostException in nativeNfcTag_doTransceive()
[all …]
/packages/apps/Nfc/nxp/jni/
Dcom_android_nfc_NativeNfcTag.cpp718 jint *targetLost; in com_android_nfc_NativeNfcTag_doTransceive() local
720 targetLost = e->GetIntArrayElements(statusTargetLost, 0); in com_android_nfc_NativeNfcTag_doTransceive()
721 if (targetLost != NULL) { in com_android_nfc_NativeNfcTag_doTransceive()
722 *targetLost = 0; in com_android_nfc_NativeNfcTag_doTransceive()
725 targetLost = NULL; in com_android_nfc_NativeNfcTag_doTransceive()
827 if ((targetLost != NULL) && (status == NFCSTATUS_TARGET_LOST)) { in com_android_nfc_NativeNfcTag_doTransceive()
828 *targetLost = 1; in com_android_nfc_NativeNfcTag_doTransceive()
843 if ((targetLost != NULL) && (cb_data.status == NFCSTATUS_TARGET_LOST)) { in com_android_nfc_NativeNfcTag_doTransceive()
844 *targetLost = 1; in com_android_nfc_NativeNfcTag_doTransceive()
884 if (targetLost != NULL) { in com_android_nfc_NativeNfcTag_doTransceive()
[all …]
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java1177 int[] targetLost = new int[1]; in transceive() local
1178 response = tag.transceive(data, raw, targetLost); in transceive()
1182 } else if (targetLost[0] == 1) { in transceive()