| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
From partner drop at 07/20. Modified to fit into our new
JNI/DH split.
New build config that builds two targets,
Nfc and NfcNci, each with their own dependencies. Product config files
have to specify either Nfc or NfcNci in their packages config.
Change-Id: I348a3aad7167195ca03baf9636408ab8e4c55fce
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
This reverts commit 26f6049196acaa9768ba6bdef343216ea878a4c1.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I5607abe5d28ef9682afa084651c50aa651655b60
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The LLCP stack is still using globals without
holding the concurrency lock. When turning the
screen off we were previously disabling the
NFCEE routing before disconnecting the active
target. The routing code would grab the lock
and then touch the globals, which the LLCP
was using illegally, causing a crash when the
LLCP triggered callbacks are delivered.
This change reorders the shutdown at screen
off to disconnect the remote target before
issuing the change to the NFCEE routing in
an attempt to stop the ongoing LLCP
transactions, thereby avoiding the crash.
Since the callbacks are asynchronous the
race is still there, but it's hit more like
10% of the time instead of 100% of the time.
Bug: 5366024
Change-Id: I31230166c1c5bf116195db350ac6605feb90e87f
|
| |
|
|
|
|
|
| |
Change-Id: I0ef8bdd1587d6eee6a08f4e617050f8fa0cbd72c
Signed-off-by: Nick Pelly <npelly@google.com>
|
|
|
|
|
|
|
| |
This should fix the -userdebug builds.
Change-Id: Icf027422d642588a29cb7d081836f4bd7c92881f
Signed-off-by: Nick Pelly <npelly@google.com>
|
|
Uses ServiceManager.addService() to register the service.
Uses BOOT_COMPLETE to start the service.
Uses sharedUserId com.android.nfc so that it has a fixed uid.
Uses android:persistant so that the process is not killed.
Change-Id: If4264baf5dc457ee0a3ad5788c5945e84173b1ea
Signed-off-by: Nick Pelly <npelly@google.com>
|