summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.mk8
-rw-r--r--jni/Android.mk (renamed from nxp/jni/Android.mk)0
-rw-r--r--jni/com_android_nfc.cpp (renamed from nxp/jni/com_android_nfc.cpp)0
-rw-r--r--jni/com_android_nfc.h (renamed from nxp/jni/com_android_nfc.h)0
-rw-r--r--jni/com_android_nfc_NativeLlcpConnectionlessSocket.cpp (renamed from nxp/jni/com_android_nfc_NativeLlcpConnectionlessSocket.cpp)0
-rw-r--r--jni/com_android_nfc_NativeLlcpServiceSocket.cpp (renamed from nxp/jni/com_android_nfc_NativeLlcpServiceSocket.cpp)0
-rw-r--r--jni/com_android_nfc_NativeLlcpSocket.cpp (renamed from nxp/jni/com_android_nfc_NativeLlcpSocket.cpp)0
-rw-r--r--jni/com_android_nfc_NativeNfcManager.cpp (renamed from nxp/jni/com_android_nfc_NativeNfcManager.cpp)0
-rwxr-xr-xjni/com_android_nfc_NativeNfcSecureElement.cpp (renamed from nxp/jni/com_android_nfc_NativeNfcSecureElement.cpp)0
-rw-r--r--jni/com_android_nfc_NativeNfcTag.cpp (renamed from nxp/jni/com_android_nfc_NativeNfcTag.cpp)0
-rw-r--r--jni/com_android_nfc_NativeP2pDevice.cpp (renamed from nxp/jni/com_android_nfc_NativeP2pDevice.cpp)0
-rw-r--r--jni/com_android_nfc_list.cpp (renamed from nxp/jni/com_android_nfc_list.cpp)0
-rw-r--r--jni/com_android_nfc_list.h (renamed from nxp/jni/com_android_nfc_list.h)0
-rwxr-xr-xsrc/com/android/nfc/NfcService.java4
-rwxr-xr-xsrc/com/android/nfc/nxp/NativeLlcpConnectionlessSocket.java (renamed from nxp/src/com/android/nfc/dhimpl/NativeLlcpConnectionlessSocket.java)2
-rwxr-xr-xsrc/com/android/nfc/nxp/NativeLlcpServiceSocket.java (renamed from nxp/src/com/android/nfc/dhimpl/NativeLlcpServiceSocket.java)2
-rwxr-xr-xsrc/com/android/nfc/nxp/NativeLlcpSocket.java (renamed from nxp/src/com/android/nfc/dhimpl/NativeLlcpSocket.java)2
-rwxr-xr-xsrc/com/android/nfc/nxp/NativeNfcManager.java (renamed from nxp/src/com/android/nfc/dhimpl/NativeNfcManager.java)2
-rwxr-xr-xsrc/com/android/nfc/nxp/NativeNfcSecureElement.java (renamed from nxp/src/com/android/nfc/dhimpl/NativeNfcSecureElement.java)2
-rwxr-xr-xsrc/com/android/nfc/nxp/NativeNfcTag.java (renamed from nxp/src/com/android/nfc/dhimpl/NativeNfcTag.java)2
-rwxr-xr-xsrc/com/android/nfc/nxp/NativeP2pDevice.java (renamed from nxp/src/com/android/nfc/dhimpl/NativeP2pDevice.java)2
21 files changed, 9 insertions, 17 deletions
diff --git a/Android.mk b/Android.mk
index 2cdfc68..a041854 100644
--- a/Android.mk
+++ b/Android.mk
@@ -6,14 +6,6 @@ LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := \
$(call all-java-files-under, src)
-ifeq ($(NFC_USE_NCI_STACK), true)
- LOCAL_SRC_FILES += \
- $(call all-java-files-under, nci)
-else
- LOCAL_SRC_FILES += \
- $(call all-java-files-under, nxp)
-endif
-
LOCAL_PACKAGE_NAME := Nfc
LOCAL_CERTIFICATE := platform
diff --git a/nxp/jni/Android.mk b/jni/Android.mk
index 8ae792a..8ae792a 100644
--- a/nxp/jni/Android.mk
+++ b/jni/Android.mk
diff --git a/nxp/jni/com_android_nfc.cpp b/jni/com_android_nfc.cpp
index d794d6e..d794d6e 100644
--- a/nxp/jni/com_android_nfc.cpp
+++ b/jni/com_android_nfc.cpp
diff --git a/nxp/jni/com_android_nfc.h b/jni/com_android_nfc.h
index b876dad..b876dad 100644
--- a/nxp/jni/com_android_nfc.h
+++ b/jni/com_android_nfc.h
diff --git a/nxp/jni/com_android_nfc_NativeLlcpConnectionlessSocket.cpp b/jni/com_android_nfc_NativeLlcpConnectionlessSocket.cpp
index 188edb4..188edb4 100644
--- a/nxp/jni/com_android_nfc_NativeLlcpConnectionlessSocket.cpp
+++ b/jni/com_android_nfc_NativeLlcpConnectionlessSocket.cpp
diff --git a/nxp/jni/com_android_nfc_NativeLlcpServiceSocket.cpp b/jni/com_android_nfc_NativeLlcpServiceSocket.cpp
index 92de3e4..92de3e4 100644
--- a/nxp/jni/com_android_nfc_NativeLlcpServiceSocket.cpp
+++ b/jni/com_android_nfc_NativeLlcpServiceSocket.cpp
diff --git a/nxp/jni/com_android_nfc_NativeLlcpSocket.cpp b/jni/com_android_nfc_NativeLlcpSocket.cpp
index 0c0b830..0c0b830 100644
--- a/nxp/jni/com_android_nfc_NativeLlcpSocket.cpp
+++ b/jni/com_android_nfc_NativeLlcpSocket.cpp
diff --git a/nxp/jni/com_android_nfc_NativeNfcManager.cpp b/jni/com_android_nfc_NativeNfcManager.cpp
index e6da0fa..e6da0fa 100644
--- a/nxp/jni/com_android_nfc_NativeNfcManager.cpp
+++ b/jni/com_android_nfc_NativeNfcManager.cpp
diff --git a/nxp/jni/com_android_nfc_NativeNfcSecureElement.cpp b/jni/com_android_nfc_NativeNfcSecureElement.cpp
index bf0bffc..bf0bffc 100755
--- a/nxp/jni/com_android_nfc_NativeNfcSecureElement.cpp
+++ b/jni/com_android_nfc_NativeNfcSecureElement.cpp
diff --git a/nxp/jni/com_android_nfc_NativeNfcTag.cpp b/jni/com_android_nfc_NativeNfcTag.cpp
index dbf8dc9..dbf8dc9 100644
--- a/nxp/jni/com_android_nfc_NativeNfcTag.cpp
+++ b/jni/com_android_nfc_NativeNfcTag.cpp
diff --git a/nxp/jni/com_android_nfc_NativeP2pDevice.cpp b/jni/com_android_nfc_NativeP2pDevice.cpp
index b3cc6e3..b3cc6e3 100644
--- a/nxp/jni/com_android_nfc_NativeP2pDevice.cpp
+++ b/jni/com_android_nfc_NativeP2pDevice.cpp
diff --git a/nxp/jni/com_android_nfc_list.cpp b/jni/com_android_nfc_list.cpp
index f0487d3..f0487d3 100644
--- a/nxp/jni/com_android_nfc_list.cpp
+++ b/jni/com_android_nfc_list.cpp
diff --git a/nxp/jni/com_android_nfc_list.h b/jni/com_android_nfc_list.h
index 22b4f09..22b4f09 100644
--- a/nxp/jni/com_android_nfc_list.h
+++ b/jni/com_android_nfc_list.h
diff --git a/src/com/android/nfc/NfcService.java b/src/com/android/nfc/NfcService.java
index 3e7a6b5..602b25d 100755
--- a/src/com/android/nfc/NfcService.java
+++ b/src/com/android/nfc/NfcService.java
@@ -23,8 +23,8 @@ import com.android.nfc.DeviceHost.LlcpSocket;
import com.android.nfc.DeviceHost.NfcDepEndpoint;
import com.android.nfc.DeviceHost.TagEndpoint;
import com.android.nfc.handover.HandoverManager;
-import com.android.nfc.dhimpl.NativeNfcManager;
-import com.android.nfc.dhimpl.NativeNfcSecureElement;
+import com.android.nfc.nxp.NativeNfcManager;
+import com.android.nfc.nxp.NativeNfcSecureElement;
import android.app.Application;
import android.app.KeyguardManager;
diff --git a/nxp/src/com/android/nfc/dhimpl/NativeLlcpConnectionlessSocket.java b/src/com/android/nfc/nxp/NativeLlcpConnectionlessSocket.java
index db78496..c9d3b5d 100755
--- a/nxp/src/com/android/nfc/dhimpl/NativeLlcpConnectionlessSocket.java
+++ b/src/com/android/nfc/nxp/NativeLlcpConnectionlessSocket.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package com.android.nfc.dhimpl;
+package com.android.nfc.nxp;
import com.android.nfc.DeviceHost;
import com.android.nfc.LlcpPacket;
diff --git a/nxp/src/com/android/nfc/dhimpl/NativeLlcpServiceSocket.java b/src/com/android/nfc/nxp/NativeLlcpServiceSocket.java
index 3a7e57f..531afd8 100755
--- a/nxp/src/com/android/nfc/dhimpl/NativeLlcpServiceSocket.java
+++ b/src/com/android/nfc/nxp/NativeLlcpServiceSocket.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package com.android.nfc.dhimpl;
+package com.android.nfc.nxp;
import com.android.nfc.DeviceHost;
import com.android.nfc.DeviceHost.LlcpSocket;
diff --git a/nxp/src/com/android/nfc/dhimpl/NativeLlcpSocket.java b/src/com/android/nfc/nxp/NativeLlcpSocket.java
index 69506c5..a337d35 100755
--- a/nxp/src/com/android/nfc/dhimpl/NativeLlcpSocket.java
+++ b/src/com/android/nfc/nxp/NativeLlcpSocket.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package com.android.nfc.dhimpl;
+package com.android.nfc.nxp;
import com.android.nfc.DeviceHost;
diff --git a/nxp/src/com/android/nfc/dhimpl/NativeNfcManager.java b/src/com/android/nfc/nxp/NativeNfcManager.java
index f969627..4bd8c24 100755
--- a/nxp/src/com/android/nfc/dhimpl/NativeNfcManager.java
+++ b/src/com/android/nfc/nxp/NativeNfcManager.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package com.android.nfc.dhimpl;
+package com.android.nfc.nxp;
import com.android.nfc.DeviceHost;
import com.android.nfc.LlcpException;
diff --git a/nxp/src/com/android/nfc/dhimpl/NativeNfcSecureElement.java b/src/com/android/nfc/nxp/NativeNfcSecureElement.java
index e2d91ec..88f9b9d 100755
--- a/nxp/src/com/android/nfc/dhimpl/NativeNfcSecureElement.java
+++ b/src/com/android/nfc/nxp/NativeNfcSecureElement.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package com.android.nfc.dhimpl;
+package com.android.nfc.nxp;
import android.content.Context;
import android.content.SharedPreferences;
diff --git a/nxp/src/com/android/nfc/dhimpl/NativeNfcTag.java b/src/com/android/nfc/nxp/NativeNfcTag.java
index eddde94..8996dfb 100755
--- a/nxp/src/com/android/nfc/dhimpl/NativeNfcTag.java
+++ b/src/com/android/nfc/nxp/NativeNfcTag.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package com.android.nfc.dhimpl;
+package com.android.nfc.nxp;
import com.android.nfc.DeviceHost.TagEndpoint;
diff --git a/nxp/src/com/android/nfc/dhimpl/NativeP2pDevice.java b/src/com/android/nfc/nxp/NativeP2pDevice.java
index 094f46a..7c7db41 100755
--- a/nxp/src/com/android/nfc/dhimpl/NativeP2pDevice.java
+++ b/src/com/android/nfc/nxp/NativeP2pDevice.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package com.android.nfc.dhimpl;
+package com.android.nfc.nxp;
import com.android.nfc.DeviceHost.NfcDepEndpoint;