sm8250-common: Import Xiaomi TouchFeature service
This commit is contained in:
97
Android.bp
97
Android.bp
@@ -4260,6 +4260,40 @@ cc_prebuilt_library_shared {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "vendor.xiaomi.hardware.touchfeature@1.0-impl",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/vendor/lib64/hw/vendor.xiaomi.hardware.touchfeature@1.0-impl.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libhidlbase",
|
||||
"libhidltransport",
|
||||
"libutils",
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libhardware",
|
||||
"libbase",
|
||||
"libbinder",
|
||||
"vendor.xiaomi.hardware.touchfeature@1.0",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
relative_install_path: "hw",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "jcos_nq_client",
|
||||
owner: "xiaomi",
|
||||
@@ -13614,6 +13648,40 @@ cc_prebuilt_binary {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_binary {
|
||||
name: "vendor.xiaomi.hardware.touchfeature@1.0-service",
|
||||
owner: "xiaomi",
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/vendor/bin/hw/vendor.xiaomi.hardware.touchfeature@1.0-service",
|
||||
],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libbase",
|
||||
"libutils",
|
||||
"libbinder",
|
||||
"libhardware",
|
||||
"libhidlbase",
|
||||
"libhidltransport",
|
||||
"vendor.xiaomi.hardware.touchfeature@1.0",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
prefer: true,
|
||||
relative_install_path: "hw",
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_binary {
|
||||
name: "ims_rtp_daemon",
|
||||
owner: "xiaomi",
|
||||
@@ -14574,6 +14642,35 @@ cc_prebuilt_binary {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_binary {
|
||||
name: "toucheventcheck",
|
||||
owner: "xiaomi",
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/vendor/bin/toucheventcheck",
|
||||
],
|
||||
shared_libs: [
|
||||
"libutils",
|
||||
"libhardware",
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libbinder",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_binary {
|
||||
name: "vppservice",
|
||||
owner: "xiaomi",
|
||||
|
||||
BIN
proprietary/vendor/bin/hw/vendor.xiaomi.hardware.touchfeature@1.0-service
vendored
Executable file
BIN
proprietary/vendor/bin/hw/vendor.xiaomi.hardware.touchfeature@1.0-service
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/toucheventcheck
vendored
Executable file
BIN
proprietary/vendor/bin/toucheventcheck
vendored
Executable file
Binary file not shown.
21
proprietary/vendor/etc/init/vendor.xiaomi.hardware.touchfeature@1.0-service.rc
vendored
Normal file
21
proprietary/vendor/etc/init/vendor.xiaomi.hardware.touchfeature@1.0-service.rc
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# Copyright (c) 2017 Xiaomi, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Xiaomi, Inc.
|
||||
#
|
||||
on boot
|
||||
chown system system /dev/xiaomi-touch
|
||||
chmod 0664 /dev/xiaomi-touch
|
||||
chown system system /sys/class/touch/tp_dev/fod_status
|
||||
chmod 0664 /sys/class/touch/tp_dev/fod_status
|
||||
|
||||
service touchfeature-hal-1-0 /vendor/bin/hw/vendor.xiaomi.hardware.touchfeature@1.0-service
|
||||
class hal
|
||||
user system
|
||||
group system system
|
||||
onrestart restart touchfeature
|
||||
|
||||
service toucheventcheck /vendor/bin/toucheventcheck
|
||||
class main
|
||||
user root
|
||||
group system
|
||||
oneshot
|
||||
BIN
proprietary/vendor/lib64/hw/vendor.xiaomi.hardware.touchfeature@1.0-impl.so
vendored
Normal file
BIN
proprietary/vendor/lib64/hw/vendor.xiaomi.hardware.touchfeature@1.0-impl.so
vendored
Normal file
Binary file not shown.
@@ -96,6 +96,7 @@ PRODUCT_COPY_FILES += \
|
||||
vendor/xiaomi/sm8250-common/proprietary/vendor/etc/init/vendor.qti.rmt_storage.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.rmt_storage.rc \
|
||||
vendor/xiaomi/sm8250-common/proprietary/vendor/etc/init/vendor.qti.secure_element@1.2-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.secure_element@1.2-service.rc \
|
||||
vendor/xiaomi/sm8250-common/proprietary/vendor/etc/init/vendor.qti.tftp.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.tftp.rc \
|
||||
vendor/xiaomi/sm8250-common/proprietary/vendor/etc/init/vendor.xiaomi.hardware.touchfeature@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.xiaomi.hardware.touchfeature@1.0-service.rc \
|
||||
vendor/xiaomi/sm8250-common/proprietary/vendor/etc/init/vppservice.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vppservice.rc \
|
||||
vendor/xiaomi/sm8250-common/proprietary/vendor/etc/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \
|
||||
vendor/xiaomi/sm8250-common/proprietary/vendor/etc/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \
|
||||
@@ -258,6 +259,7 @@ PRODUCT_PACKAGES += \
|
||||
vendor.qti.hardware.qseecom@1.0-impl \
|
||||
vendor.qti.hardware.qteeconnector@1.0-impl \
|
||||
vendor.qti.hardware.soter@1.0-impl \
|
||||
vendor.xiaomi.hardware.touchfeature@1.0-impl \
|
||||
jcos_nq_client \
|
||||
lib-imscmservice \
|
||||
lib-imsdpl \
|
||||
@@ -577,6 +579,7 @@ PRODUCT_PACKAGES += \
|
||||
vendor.qti.hardware.tui_comm@1.0-service-qti \
|
||||
vendor.qti.media.c2@1.0-service \
|
||||
vendor.qti.secure_element@1.2-service \
|
||||
vendor.xiaomi.hardware.touchfeature@1.0-service \
|
||||
ims_rtp_daemon \
|
||||
imsdatadaemon \
|
||||
imsqmidaemon \
|
||||
@@ -609,6 +612,7 @@ PRODUCT_PACKAGES += \
|
||||
tftp_server \
|
||||
thermal-engine \
|
||||
time_daemon \
|
||||
toucheventcheck \
|
||||
vppservice \
|
||||
wifidisplayhalservice \
|
||||
xtra-daemon \
|
||||
|
||||
Reference in New Issue
Block a user