Home
last modified time | relevance | path

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

/packages/apps/Nfc/nci/jni/
DNativeNfcTag.cpp922 jint *targetLost = NULL; in nativeNfcTag_doTransceive() local
929 targetLost = e->GetIntArrayElements (statusTargetLost, 0); in nativeNfcTag_doTransceive()
930 if (targetLost) in nativeNfcTag_doTransceive()
931 *targetLost = 1; //causes NFC service to throw TagLostException in nativeNfcTag_doTransceive()
932 e->ReleaseIntArrayElements (statusTargetLost, targetLost, 0); in nativeNfcTag_doTransceive()
947 targetLost = e->GetIntArrayElements (statusTargetLost, 0); in nativeNfcTag_doTransceive()
948 if (targetLost) in nativeNfcTag_doTransceive()
949 *targetLost = 0; //success, tag is still present in nativeNfcTag_doTransceive()
984 if (targetLost) in nativeNfcTag_doTransceive()
985 *targetLost = 1; //causes NFC service to throw TagLostException in nativeNfcTag_doTransceive()
[all …]
/packages/apps/Nfc/nxp/jni/
Dcom_android_nfc_NativeNfcTag.cpp719 jint *targetLost; in com_android_nfc_NativeNfcTag_doTransceive() local
721 targetLost = e->GetIntArrayElements(statusTargetLost, 0); in com_android_nfc_NativeNfcTag_doTransceive()
722 if (targetLost != NULL) { in com_android_nfc_NativeNfcTag_doTransceive()
723 *targetLost = 0; in com_android_nfc_NativeNfcTag_doTransceive()
726 targetLost = NULL; in com_android_nfc_NativeNfcTag_doTransceive()
828 if ((targetLost != NULL) && (status == NFCSTATUS_TARGET_LOST)) { in com_android_nfc_NativeNfcTag_doTransceive()
829 *targetLost = 1; in com_android_nfc_NativeNfcTag_doTransceive()
844 if ((targetLost != NULL) && (cb_data.status == NFCSTATUS_TARGET_LOST)) { in com_android_nfc_NativeNfcTag_doTransceive()
845 *targetLost = 1; in com_android_nfc_NativeNfcTag_doTransceive()
885 if (targetLost != NULL) { in com_android_nfc_NativeNfcTag_doTransceive()
[all …]
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java1191 int[] targetLost = new int[1]; in transceive() local
1192 response = tag.transceive(data, raw, targetLost); in transceive()
1196 } else if (targetLost[0] == 1) { in transceive()