Browse Source

sm8450-common: Drop qesk blobs

Change-Id: Ib5e64bdde9fea4ff868ee2222ae1064eb3ef3d48
Arian 10 tháng trước cách đây
mục cha
commit
70b11083e1

+ 0 - 136
Android.bp

@@ -4713,40 +4713,6 @@ cc_prebuilt_library_shared {
 	soc_specific: true,
 }
 
-cc_prebuilt_library_shared {
-	name: "libqesdk",
-	owner: "xiaomi",
-	strip: {
-		none: true,
-	},
-	target: {
-		android_arm64: {
-			srcs: ["proprietary/vendor/lib64/libqesdk.so"],
-			shared_libs: ["liblog", "libjsoncpp", "libcutils", "libc++", "libc", "libm", "libdl", ],
-		},
-	},
-	compile_multilib: "64",
-	prefer: true,
-	soc_specific: true,
-}
-
-cc_prebuilt_library_shared {
-	name: "libqesdk_manager",
-	owner: "xiaomi",
-	strip: {
-		none: true,
-	},
-	target: {
-		android_arm64: {
-			srcs: ["proprietary/vendor/lib64/libqesdk_manager.so"],
-			shared_libs: ["libutils", "libcutils", "liblog", "libcrypto", "libjsoncpp", "libminkdescriptor", "libminksocket_vendor", "libqcbor", "libbinder", "libbinder_ndk", "vendor.qti.qesdsys-V1-ndk_platform", "libc++", "libc", "libm", "libdl", ],
-		},
-	},
-	compile_multilib: "64",
-	prefer: true,
-	soc_specific: true,
-}
-
 cc_prebuilt_library_shared {
 	name: "libqisl",
 	owner: "xiaomi",
@@ -9317,74 +9283,6 @@ cc_prebuilt_library_shared {
 	soc_specific: true,
 }
 
-cc_prebuilt_library_shared {
-	name: "[email protected]",
-	owner: "xiaomi",
-	strip: {
-		none: true,
-	},
-	target: {
-		android_arm64: {
-			srcs: ["proprietary/vendor/lib64/[email protected]"],
-			shared_libs: ["libhidlbase", "liblog", "libutils", "libcutils", "libc++", "libc", "libm", "libdl", ],
-		},
-	},
-	compile_multilib: "64",
-	prefer: true,
-	soc_specific: true,
-}
-
-cc_prebuilt_library_shared {
-	name: "[email protected]",
-	owner: "xiaomi",
-	strip: {
-		none: true,
-	},
-	target: {
-		android_arm64: {
-			srcs: ["proprietary/vendor/lib64/[email protected]"],
-			shared_libs: ["libhidlbase", "libutils", "[email protected]", "[email protected]", "liblog", "libcutils", "libcrypto", "libjsoncpp", "libc++", "libc", "libm", "libdl", ],
-		},
-	},
-	compile_multilib: "64",
-	prefer: true,
-	soc_specific: true,
-}
-
-cc_prebuilt_library_shared {
-	name: "[email protected]",
-	owner: "xiaomi",
-	strip: {
-		none: true,
-	},
-	target: {
-		android_arm64: {
-			srcs: ["proprietary/vendor/lib64/[email protected]"],
-			shared_libs: ["[email protected]", "libhidlbase", "liblog", "libutils", "libcutils", "libc++", "libc", "libm", "libdl", ],
-		},
-	},
-	compile_multilib: "64",
-	prefer: true,
-	soc_specific: true,
-}
-
-cc_prebuilt_library_shared {
-	name: "vendor.qti.qesdsys-V1-ndk_platform",
-	owner: "xiaomi",
-	strip: {
-		none: true,
-	},
-	target: {
-		android_arm64: {
-			srcs: ["proprietary/vendor/lib64/vendor.qti.qesdsys-V1-ndk_platform.so"],
-			shared_libs: ["libbinder_ndk", "libc++", "libc", "libm", "libdl", ],
-		},
-	},
-	compile_multilib: "64",
-	prefer: true,
-	soc_specific: true,
-}
-
 cc_prebuilt_library_shared {
 	name: "[email protected]",
 	owner: "xiaomi",
@@ -11803,23 +11701,6 @@ cc_prebuilt_binary {
 	soc_specific: true,
 }
 
-cc_prebuilt_binary {
-	name: "qesdk-manager",
-	owner: "xiaomi",
-	target: {
-		android_arm64: {
-			srcs: ["proprietary/vendor/bin/qesdk-manager"],
-			shared_libs: ["libqesdk_manager", "[email protected]", "libhidlbase", "liblog", "libutils", "libavservices_minijail", "libc++", "libc", "libm", "libdl", ],
-		},
-	},
-	compile_multilib: "64",
-	strip: {
-		none: true,
-	},
-	prefer: true,
-	soc_specific: true,
-}
-
 cc_prebuilt_binary {
 	name: "qguard",
 	owner: "xiaomi",
@@ -11973,23 +11854,6 @@ cc_prebuilt_binary {
 	soc_specific: true,
 }
 
-cc_prebuilt_binary {
-	name: "sensors-qesdk",
-	owner: "xiaomi",
-	target: {
-		android_arm64: {
-			srcs: ["proprietary/vendor/bin/sensors-qesdk"],
-			shared_libs: ["libprotobuf-cpp-lite-3.9.1-vendorcompat", "liblog", "libdiag", "libsnsapi", "libssc", "libsensorslog", "libcutils", "libqesdk", "libjsoncpp", "libavservices_minijail", "libc++", "libc", "libm", "libdl", ],
-		},
-	},
-	compile_multilib: "64",
-	strip: {
-		none: true,
-	},
-	prefer: true,
-	soc_specific: true,
-}
-
 cc_prebuilt_binary {
 	name: "sensors.qti",
 	owner: "xiaomi",

BIN
proprietary/vendor/bin/qesdk-manager


BIN
proprietary/vendor/bin/sensors-qesdk


+ 0 - 13
proprietary/vendor/etc/init/qesdk-manager.rc

@@ -1,13 +0,0 @@
-#==============================================================================
-#       qesdk-manager.rc
-#
-#  Copyright (c) 2021 Qualcomm Technologies, Inc.
-#  All Rights Reserved.
-#  Confidential and Proprietary - Qualcomm Technologies, Inc.
-#===============================================================================
-service vendor.qesdk-mgr /vendor/bin/qesdk-manager
-    class hal
-    user system
-    group system
-    socket qesd seqpacket 666 root system
-

+ 0 - 36
proprietary/vendor/etc/init/vendor.sensors.qesdk.rc

@@ -1,36 +0,0 @@
-# Copyright (c) 2021 Qualcomm Technologies, Inc.
-# All Rights Reserved.
-# Confidential and Proprietary - Qualcomm Technologies, Inc.
-#
-# Copyright (c) 2009-2012, 2014-2019, The Linux Foundation. All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
-#     # Redistributions of source code must retain the above copyright
-#       notice, this list of conditions and the following disclaimer.
-#     # Redistributions in binary form must reproduce the above copyright
-#       notice, this list of conditions and the following disclaimer in the
-#       documentation and/or other materials provided with the distribution.
-#     # Neither the name of The Linux Foundation nor
-#       the names of its contributors may be used to endorse or promote
-#       products derived from this software without specific prior written
-#       permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NON-INFRINGEMENT ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-
-service vendor.sensors.qesdk /vendor/bin/sensors-qesdk
-    class core
-    user system
-    group system wakelock
-    capabilities BLOCK_SUSPEND

+ 0 - 68
proprietary/vendor/etc/seccomp_policy/qesdk.policy

@@ -1,68 +0,0 @@
-# Copyright (c) 2021 Qualcomm Technologies, Inc.
-# All Rights Reserved.
-# Confidential and Proprietary - Qualcomm Technologies, Inc
-#
-# Not a contribution.
-#
-# Copyright (C) 2018 The Android Open Source Project
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-close: 1
-writev: 1
-connect: 1
-socket: arg0 == AF_UNIX
-read: 1
-mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
-restart_syscall: 1
-rt_sigaction: 1
-rt_sigprocmask: 1
-rt_sigreturn: 1
-exit_group: 1
-exit: 1
-fstat: 1
-mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
-getpid: 1
-clone: 1
-newfstatat: 1
-munmap: 1
-openat: 1
-futex: 1
-readlinkat: 1
-mremap: 1
-pread64: 1
-fstatfs: 1
-faccessat: 1
-fcntl: 1
-getrandom: 1
-sched_getaffinity: 1
-write: 1
-sigaltstack: 1
-sched_getscheduler: 1
-execve: 1
-getuid: 1
-set_tid_address: 1
-pipe2: 1
-#prctl: arg0 == 0x37 /* PR_??? */ || arg0 == PR_GET_NAME || arg0 == PR_SET_PTRACER || arg0 == PR_SET_VMA || arg0 == PR_GET_NO_NEW_PRIVS || arg0 == PR_SET_SECCOMP || arg0 == PR_SET_DUMPABLE || arg0 == PR_GET_DUMPABLE
-prctl: 1
-gettid: 1
-rt_tgsigqueueinfo: 1
-getsockname: 1
-listen: 1
-accept4: 1
-ioctl: 1
-getrlimit: 1
-lseek: 1
-recvfrom: 1
-tgkill: 1
-madvise: 1

+ 0 - 68
proprietary/vendor/etc/seccomp_policy/sensors-qesdk.policy

@@ -1,68 +0,0 @@
-# Copyright (c) 2021 Qualcomm Technologies, Inc.
-# All Rights Reserved.
-# Confidential and Proprietary - Qualcomm Technologies, Inc
-#
-# Not a contribution.
-#
-# Copyright (C) 2018 The Android Open Source Project
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
-munmap: 1
-mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
-prctl: 1
-openat: 1
-futex: 1
-read: 1
-close: 1
-fstat: 1
-readlinkat: 1
-newfstatat: 1
-rt_sigprocmask: 1
-mremap: 1
-fstatfs: 1
-getuid: 1
-pread64: 1
-writev: 1
-rt_sigaction: 1
-faccessat: 1
-socket: arg0 == AF_UNIX || arg0 == AF_QIPCRTR
-sendto: 1
-recvfrom: 1
-fcntl: 1
-getsockname: 1
-clone: 1
-write: 1
-getrandom: 1
-nanosleep: 1
-pipe2: 1
-connect: 1
-setsockopt: 1
-rt_sigreturn: 1
-set_tid_address: 1
-tgkill: 1
-exit_group: 1
-timer_create: 1
-timer_settime: 1
-timer_delete: 1
-sigaltstack: 1
-sched_getscheduler: 1
-exit: 1
-restart_syscall: 1
-execve: 1
-sched_getaffinity: 1
-getpid: 1
-ppoll: 1
-rt_sigtimedwait: 1
-madvise: 1

BIN
proprietary/vendor/lib64/libqesdk.so


BIN
proprietary/vendor/lib64/libqesdk_manager.so


BIN
proprietary/vendor/lib64/[email protected]


BIN
proprietary/vendor/lib64/[email protected]


BIN
proprietary/vendor/lib64/[email protected]


BIN
proprietary/vendor/lib64/vendor.qti.qesdsys-V1-ndk_platform.so


+ 0 - 12
sm8450-common-vendor.mk

@@ -110,7 +110,6 @@ PRODUCT_COPY_FILES += \
     vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/qconfig.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/qconfig.rc \
     vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/qcrilNrd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/qcrilNrd.rc \
     vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/qdcmss.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/qdcmss.rc \
-    vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/qesdk-manager.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/qesdk-manager.rc \
     vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/qguard.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/qguard.rc \
     vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/qmipriod.debug.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/qmipriod.debug.rc \
     vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/qmipriod.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/qmipriod.rc \
@@ -142,7 +141,6 @@ PRODUCT_COPY_FILES += \
     vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/vendor.qti.rmt_storage.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.rmt_storage.rc \
     vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/[email protected]:$(TARGET_COPY_OUT_VENDOR)/etc/init/[email protected] \
     vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/vendor.qti.tftp.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.tftp.rc \
-    vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/vendor.sensors.qesdk.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.sensors.qesdk.rc \
     vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/vendor.sensors.qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.sensors.qti.rc \
     vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/vendor.sensors.sscrpcd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.sensors.sscrpcd.rc \
     vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/[email protected]:$(TARGET_COPY_OUT_VENDOR)/etc/init/[email protected] \
@@ -241,10 +239,8 @@ PRODUCT_COPY_FILES += \
     vendor/xiaomi/sm8450-common/proprietary/vendor/etc/seccomp_policy/modemManager.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/modemManager.policy \
     vendor/xiaomi/sm8450-common/proprietary/vendor/etc/seccomp_policy/qapeservice.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/qapeservice.policy \
     vendor/xiaomi/sm8450-common/proprietary/vendor/etc/seccomp_policy/[email protected]:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/[email protected] \
-    vendor/xiaomi/sm8450-common/proprietary/vendor/etc/seccomp_policy/qesdk.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/qesdk.policy \
     vendor/xiaomi/sm8450-common/proprietary/vendor/etc/seccomp_policy/qspm.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/qspm.policy \
     vendor/xiaomi/sm8450-common/proprietary/vendor/etc/seccomp_policy/qti-systemd.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/qti-systemd.policy \
-    vendor/xiaomi/sm8450-common/proprietary/vendor/etc/seccomp_policy/sensors-qesdk.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/sensors-qesdk.policy \
     vendor/xiaomi/sm8450-common/proprietary/vendor/etc/seccomp_policy/vendor.qti.hardware.dsp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/vendor.qti.hardware.dsp.policy \
     vendor/xiaomi/sm8450-common/proprietary/vendor/etc/seccomp_policy/wfdhdcphalservice.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/wfdhdcphalservice.policy \
     vendor/xiaomi/sm8450-common/proprietary/vendor/etc/seccomp_policy/wfdvndservice.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/wfdvndservice.policy \
@@ -530,8 +526,6 @@ PRODUCT_PACKAGES += \
     libqdi \
     libqdp \
     libqdpr \
-    libqesdk \
-    libqesdk_manager \
     libqisl \
     libqmi \
     libqmi_cci \
@@ -800,10 +794,6 @@ PRODUCT_PACKAGES += \
     [email protected] \
     [email protected] \
     [email protected] \
-    [email protected] \
-    [email protected] \
-    [email protected] \
-    vendor.qti.qesdsys-V1-ndk_platform \
     [email protected] \
     [email protected] \
     lib-imsvideocodec \
@@ -972,7 +962,6 @@ PRODUCT_PACKAGES += \
     qcc-trd \
     qcom-system-daemon \
     qdcmss \
-    qesdk-manager \
     qguard \
     qmipriod \
     qms \
@@ -983,7 +972,6 @@ PRODUCT_PACKAGES += \
     qtigetprop \
     qtisetprop \
     rmt_storage \
-    sensors-qesdk \
     sensors.qti \
     shsusrd \
     sscrpcd \