summaryrefslogtreecommitdiffstats
path: root/core/jni/android_nfc.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename (IF_)LOG() to (IF_)ALOG() DO NOT MERGESteve Block2011-10-251-1/+1
| | | | | | | See https://android-git.corp.google.com/g/#/c/141576 Bug: 5449033 Change-Id: I42575e7c29cf1c0f465c357a5c97ab118df6f473
* Reduce log clutter.Jeff Hamilton2010-11-081-0/+9
| | | | Change-Id: Ia034b563b028d74b4878f1af7db9188c82d03548
* NFC: Move NFC service implementation out of system_server.Nick Pelly2010-10-151-0/+54
NFC service is now an application service in packages/apps/Nfc. NFC service is registered through ServiceManager.addService(), and the proxy object NfcAdapter obtains a handle to it through ServiceManager.getService(). **Important** Had to add new symbols AID_NFC / NFC_UID / android.uid.nfc and modify service_manager.c, Process.java and PackageManagerService.java in order to force the com.android.nfc process to take a fixed uid, so that it can use ServiceManager.addService(). Most of the JNI has moved to packages/apps/Nfc/jni. However NdefRecord and NdefMessage require some in-process native code, so android_com_NdefMessage.cpp and android_com_NdefRecord.cpp stay in frameworks/base/core/jni. They link to a very small library libnfc_ndef.so that implements NDEF message parsing. This has been added to core.mk so all devices (even without NFC hardware) can work with NDEF data. Bug: 3041259 Bug: 3097445 Change-Id: If8f00ce8f2053acfc9319ca366d4a9c02bd396e6 Signed-off-by: Nick Pelly <npelly@google.com>