History log of /packages/apps/Nfc/nxp/jni/com_android_nfc_NativeNfcManager.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8d154680537afa5242edeb98c8f414d6186558cf 04-Oct-2013 Martijn Coenen <maco@google.com> Increase reader mode pull duration.

Also fixed a bug where gActivated is not
properly reset (scenario: turn NFC off
while doing P2P/reader) and moved some
logs to DBG. Will flick the DBG switch
later.

Bug: 10852675
Change-Id: If115ab162ddc4a080166f00cdf5e95ed4da70642
/packages/apps/Nfc/nxp/jni/com_android_nfc_NativeNfcManager.cpp
d6ead4d11c56cc4b1e90a93d6d5fe7583abbbfb8 12-Sep-2013 Martijn Coenen <maco@google.com> Reader API: disable LPTD on NCI devices when in reader mode.

To improve reader performance.

Bug: 10360259
Change-Id: I3a76563b876aafa9c8cd555127a32f8c8e5bfd14
/packages/apps/Nfc/nxp/jni/com_android_nfc_NativeNfcManager.cpp
3dd24ecefb71ce4f585faa002ba1054a0c6dbd06 04-Sep-2013 Martijn Coenen <maco@google.com> Implement reader mode API for NXP chipsets.

Bug: 10360259
Change-Id: I1339840ed900b73d3f9ae43e1a01b59c7e679f9e
/packages/apps/Nfc/nxp/jni/com_android_nfc_NativeNfcManager.cpp
476ee8a64404b7ee042ba1a70400bcb1dd5ace10 26-Apr-2013 Martijn Coenen <maco@google.com> Fix more race conditions.

In the old NXP JNI:
- We can be in the process of discovering a tag/p2p target
when we try to configure discovery. In case ConfigureDiscovery
returns BUSY, don't immediately call abort(), but retry a few
times.
- Completely disable Tag/P2P discovery *before* opening a pipe
to the SMX. This avoids nasty races with opening the SMX
while a P2P/Tag device enters the field.

Bug: 8552749
Change-Id: I433a40c918373c661abda3bc40dd36db7b233245
/packages/apps/Nfc/nxp/jni/com_android_nfc_NativeNfcManager.cpp
18cbef124c779d889b538f29dfa5880951a2c59c 13-Apr-2013 Martijn Coenen <maco@google.com> Restore discovery notification callback when (de)selecting SE.

When the host opens the pipe to the SE for communication,
the notification callback is temporarily changed to a
SE-specific callback. In itself this is fine, because
there can be no other devices discovered while the eSE
is connected.

However, when disconnecting the connection from the host,
the PN544 already resumes discovery. This is before we
call enableDiscover(), and before we've restored the
correct target notification callback. This race-condition
can cause a crash.

Fix it by restoring the proper notification when
(de)selecting the secure element.

Bug: 8599167
Change-Id: I26816eb8851637de18058e974b98607e4379f55d
/packages/apps/Nfc/nxp/jni/com_android_nfc_NativeNfcManager.cpp
959d40d8ce836c2cc6bca9cdcb81c211ee8a09cc 11-Jan-2013 Martijn Coenen <maco@google.com> Fix emergency_recovery logic.

Change-Id: I1ea17f15a0e627296fb46b20765c59d0998eaf2a
/packages/apps/Nfc/nxp/jni/com_android_nfc_NativeNfcManager.cpp
2534d9a546f24435d9dab8168f9ea5bf8ca1eb9b 18-Dec-2012 Elliott Hughes <enh@google.com> Fix NFC JNI local reference and pin table leaks.

Also turn compiler warnings up and fix the easy ones.

Bug: http://code.google.com/p/android/issues/detail?id=20441
Change-Id: I1043300f344b8296cfbb6bfad17388d5c3b314d1
/packages/apps/Nfc/nxp/jni/com_android_nfc_NativeNfcManager.cpp
642ab20c81425ba93e206d2a30602cd67ae8bd38 25-Jul-2012 Martijn Coenen <maco@google.com> Point jni class references to new dhimpl package.

The DeviceHost classed moved to a new package,
updated the JNI references accordingly.

Change-Id: I11d30b241f80e2efba4570a921346ea3689b4ec5
/packages/apps/Nfc/nxp/jni/com_android_nfc_NativeNfcManager.cpp
4bbd47e5507d4c47a4d722216606307e45195a0a 25-Jul-2012 Martijn Coenen <maco@google.com> Move NXP JNI and DeviceHost implementation into separate dir.

Preparation for the new NCI stack. The idea is to
build either the NXP or the NCI stack, triggered
by a makefile switch. To that end, move the
DeviceHost and JNI implementations in their own
directory, so we can build them only if needed.

Change-Id: I8579ec30ceb1908e4cd180cfbd10224aa4bddb8d
/packages/apps/Nfc/nxp/jni/com_android_nfc_NativeNfcManager.cpp
ff94ceff4c2715134c85a84c75d47a5835f1a598 25-Jul-2012 Martijn Coenen <maco@google.com> Revert "Move NXP JNI and DeviceHost implementation into separate dir."

This reverts commit 26f6049196acaa9768ba6bdef343216ea878a4c1.
/packages/apps/Nfc/nxp/jni/com_android_nfc_NativeNfcManager.cpp
26f6049196acaa9768ba6bdef343216ea878a4c1 20-Jul-2012 Martijn Coenen <maco@google.com> Move NXP JNI and DeviceHost implementation into separate dir.

Preparation for the new NCI stack. The idea is to
build either the NXP or the NCI stack, triggered
by a makefile switch. To that end, move the
DeviceHost and JNI implementations in their own
directory, so we can build them only if needed.

Change-Id: Ibb6aeb11f0bb887e153fd457860b1ad0e39e7933
/packages/apps/Nfc/nxp/jni/com_android_nfc_NativeNfcManager.cpp