Home
last modified time | relevance | path

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

/packages/apps/Nfc/nci/jni/
DNativeNfcTag.cpp950 jint* targetLost = NULL; in nativeNfcTag_doTransceive() local
955 targetLost = e->GetIntArrayElements(statusTargetLost, 0); in nativeNfcTag_doTransceive()
956 if (targetLost) in nativeNfcTag_doTransceive()
957 *targetLost = 1; // causes NFC service to throw TagLostException in nativeNfcTag_doTransceive()
958 e->ReleaseIntArrayElements(statusTargetLost, targetLost, 0); in nativeNfcTag_doTransceive()
974 targetLost = e->GetIntArrayElements(statusTargetLost, 0); in nativeNfcTag_doTransceive()
975 if (targetLost) *targetLost = 0; // success, tag is still present in nativeNfcTag_doTransceive()
1005 if (targetLost) in nativeNfcTag_doTransceive()
1006 *targetLost = 1; // causes NFC service to throw TagLostException in nativeNfcTag_doTransceive()
1012 if (targetLost) in nativeNfcTag_doTransceive()
[all …]
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java1489 int[] targetLost = new int[1]; in transceive() local
1490 response = tag.transceive(data, raw, targetLost); in transceive()
1494 } else if (targetLost[0] == 1) { in transceive()