third_party/nxp: use /data/vendor/ese not /data/nfc
Correct the data path to one ese-ls-provision can use.
Bug: 37779872
Test: ese-ls-provision runs as user ese.
Change-Id: I187c86a022a5e9b3d54e5216f6b6db4d4ecffd67
diff --git a/third_party/NXPNFC_P61_JCOP_Kit/inc/Ala.h b/third_party/NXPNFC_P61_JCOP_Kit/inc/Ala.h
index 9ef132e..e365fde 100644
--- a/third_party/NXPNFC_P61_JCOP_Kit/inc/Ala.h
+++ b/third_party/NXPNFC_P61_JCOP_Kit/inc/Ala.h
@@ -126,10 +126,10 @@
#define LS_ABORT_SW1 0x69
#define LS_ABORT_SW2 0x87
-#define AID_MEM_PATH "/data/nfc/AID_MEM.txt"
-#define LS_STATUS_PATH "/data/nfc/LS_Status.txt"
-#define LS_SRC_BACKUP "/data/nfc/LS_Src_Backup.txt"
-#define LS_DST_BACKUP "/data/nfc/LS_Dst_Backup.txt"
+#define AID_MEM_PATH "/data/vendor/ese/AID_MEM.txt"
+#define LS_STATUS_PATH "/data/vendor/ese/LS_Status.txt"
+#define LS_SRC_BACKUP "/data/vendor/ese/LS_Src_Backup.txt"
+#define LS_DST_BACKUP "/data/vendor/ese/LS_Dst_Backup.txt"
#define MAX_CERT_LEN (255+137)
#endif
diff --git a/third_party/NXPNFC_P61_JCOP_Kit/inc/JcopOsDownload.h b/third_party/NXPNFC_P61_JCOP_Kit/inc/JcopOsDownload.h
index 1db86a1..9085568 100644
--- a/third_party/NXPNFC_P61_JCOP_Kit/inc/JcopOsDownload.h
+++ b/third_party/NXPNFC_P61_JCOP_Kit/inc/JcopOsDownload.h
@@ -71,7 +71,7 @@
#define JCOP_UPDATE_STATE2 2
#define JCOP_UPDATE_STATE3 3
#define JCOP_MAX_RETRY_CNT 3
-#define JCOP_INFO_PATH "/data/nfc/jcop_info.txt"
+#define JCOP_INFO_PATH "/data/vendor/ese/jcop_info.txt"
#define JCOP_MAX_BUF_SIZE 10240
diff --git a/third_party/NXPNFC_P61_JCOP_Kit/src/JcopOsDownload.cpp b/third_party/NXPNFC_P61_JCOP_Kit/src/JcopOsDownload.cpp
index cff9882..2a725ae 100644
--- a/third_party/NXPNFC_P61_JCOP_Kit/src/JcopOsDownload.cpp
+++ b/third_party/NXPNFC_P61_JCOP_Kit/src/JcopOsDownload.cpp
@@ -40,9 +40,9 @@
};
pJcopOs_Dwnld_Context_t gpJcopOs_Dwnld_Context = NULL;
-static const char *path[3] = {"/data/nfc/JcopOs_Update1.apdu",
- "/data/nfc/JcopOs_Update2.apdu",
- "/data/nfc/JcopOs_Update3.apdu"};
+static const char *path[3] = {"/data/vendor/ese/JcopOs_Update1.apdu",
+ "/data/vendor/ese/JcopOs_Update2.apdu",
+ "/data/vendor/ese/JcopOs_Update3.apdu"};
/*******************************************************************************
**