r8q: Kang AIDL SEC NFC HAL

From pa1qxxx-user 15 AP3A.240905.015.A2 S931BXXU1AYB4 release-keys

Change-Id: Ie9a0b0732a787abdbfef6965d8f7f1a5b49d4f91
This commit is contained in:
Atakan
2025-03-27 14:32:35 +03:00
parent be61fbc642
commit dc7c49027e
6 changed files with 75 additions and 0 deletions
+62
View File
@@ -3483,6 +3483,9 @@ cc_prebuilt_library_shared {
"libutils", "libutils",
"libcrypto", "libcrypto",
"libsecnativefeature", "libsecnativefeature",
"libbinder_ndk",
"android.hardware.nfc-V1-ndk",
"vendor.samsung.hardware.nfc_aidl-V1-ndk",
"libc++", "libc++",
"libc", "libc",
"libm", "libm",
@@ -3909,6 +3912,31 @@ cc_prebuilt_library_shared {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_library_shared {
name: "vendor.samsung.hardware.nfc_aidl-V1-ndk",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/vendor.samsung.hardware.nfc_aidl-V1-ndk.so",
],
shared_libs: [
"libbinder_ndk",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
android_app_import { android_app_import {
name: "CACertService", name: "CACertService",
owner: "samsung", owner: "samsung",
@@ -3966,6 +3994,40 @@ cc_prebuilt_binary {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_binary {
name: "sec.android.hardware.nfc-service",
owner: "samsung",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/hw/sec.android.hardware.nfc-service",
],
shared_libs: [
"nfc_nci_sec",
"android.hardware.nfc-V1-ndk",
"vendor.samsung.hardware.nfc_aidl-V1-ndk",
"libbase",
"libhardware",
"liblog",
"libutils",
"libcrypto",
"libbinder_ndk",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
relative_install_path: "hw",
soc_specific: true,
}
cc_prebuilt_binary { cc_prebuilt_binary {
name: "loc_launcher", name: "loc_launcher",
owner: "samsung", owner: "samsung",
Binary file not shown.
+10
View File
@@ -0,0 +1,10 @@
service nfc_hal_service /vendor/bin/hw/sec.android.hardware.nfc-service
interface aidl android.hardware.nfc.INfc/default
interface aidl vendor.samsung.hardware.nfc_aidl.ISehNfc/default
class hal
oneshot
disabled
user nfc
group nfc net_bt_admin
on property:ro.vendor.nfc.feature.chipname=SLSI
start nfc_hal_service
Binary file not shown.
+3
View File
@@ -20,6 +20,7 @@ PRODUCT_COPY_FILES += \
vendor/samsung/r8q/proprietary/vendor/etc/gnss_antenna_info.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss_antenna_info.conf \ vendor/samsung/r8q/proprietary/vendor/etc/gnss_antenna_info.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss_antenna_info.conf \
vendor/samsung/r8q/proprietary/vendor/etc/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \ vendor/samsung/r8q/proprietary/vendor/etc/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \
vendor/samsung/r8q/proprietary/vendor/etc/init/android.hardware.gnss@2.1-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.gnss@2.1-service-qti.rc \ vendor/samsung/r8q/proprietary/vendor/etc/init/android.hardware.gnss@2.1-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.gnss@2.1-service-qti.rc \
vendor/samsung/r8q/proprietary/vendor/etc/init/sec-nfc-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/sec-nfc-service.rc \
vendor/samsung/r8q/proprietary/vendor/etc/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \ vendor/samsung/r8q/proprietary/vendor/etc/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \
vendor/samsung/r8q/proprietary/vendor/etc/libese-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libese-nxp.conf \ vendor/samsung/r8q/proprietary/vendor/etc/libese-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libese-nxp.conf \
vendor/samsung/r8q/proprietary/vendor/etc/libse-gto-hal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf \ vendor/samsung/r8q/proprietary/vendor/etc/libse-gto-hal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf \
@@ -216,9 +217,11 @@ PRODUCT_PACKAGES += \
vendor.qti.hardware.cacert@1.0 \ vendor.qti.hardware.cacert@1.0 \
vendor.qti.hardware.qccsyshal@1.0 \ vendor.qti.hardware.qccsyshal@1.0 \
vendor.samsung.hardware.gnss@2.0 \ vendor.samsung.hardware.gnss@2.0 \
vendor.samsung.hardware.nfc_aidl-V1-ndk \
CACertService \ CACertService \
android.hardware.gnss@2.1-service-qti.xml \ android.hardware.gnss@2.1-service-qti.xml \
android.hardware.gnss@2.1-service-qti \ android.hardware.gnss@2.1-service-qti \
sec.android.hardware.nfc-service \
loc_launcher \ loc_launcher \
lowi-server \ lowi-server \
xtra-daemon xtra-daemon