From 5bc3efdd11547b594f690b5dd22a9b35c2c7c147 Mon Sep 17 00:00:00 2001 From: chaptsand Date: Tue, 9 Apr 2024 14:23:02 +0800 Subject: [PATCH] sm8550-common: Ship SEC HyPer AIDL HAL Without this, the camera will be stuck for 10 seconds before the preview is displayed. * W ServiceManagerCppClient: Service vendor.samsung.hardware.hyper.ISehHyPer/default didn't start. Returning NULL * E HYPER_NATIVE_VINTF: Couldn't access HyPer Hal * E HYPER_NATIVE_VINTF: Acquire on JNI, HyPerHalVersion is NULL * E CHI : [SS_ERR ]: [CHI ]: chxextensionmodule.cpp: ExecuteMemBoost: 25099: MemBoost open fail by 0 * I CHI : [SS_LOW ]: [CHI ]: chxsecperf.cpp: AcquirePerfLock: 1157: 0] OPEN_CAMERA (1000) * I CHI : [SS_LOW ]: [CHI ]: chxsecperf.cpp: AcquirePerfLock: 1014: OverheatLevel [0~6](0xFFFFFFFF) * I CHI : [SS_LOW ]: [CHI ]: chxsecperf.cpp: AcquireHyperVInt: 1355: AcquireHyperVInt : maxlimit[3360000], minlimit[2092800], duration[3000] * I ServiceManagerCppClient: Waiting for service 'vendor.samsung.hardware.hyper.ISehHyPer/default' on '/dev/binder'... Thanks luk1337 for pointing it out. Change-Id: I1505ec2ecd7185a47f9bf9bb39a77f475adbe27c --- proprietary-files.txt | 11 ++++++++--- vintf/device_framework_matrix.xml | 8 ++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/proprietary-files.txt b/proprietary-files.txt index daa8150..fb41462 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -1067,6 +1067,14 @@ product/priv-app/HotwordEnrollmentXGoogleEx4HEXAGON/HotwordEnrollmentXGoogleEx4H system_ext/etc/permissions/com.android.hotwordenrollment.common.util.xml system_ext/framework/com.android.hotwordenrollment.common.util.jar +# HyPer +vendor/bin/hw/vendor.samsung.hardware.hyper-service +vendor/etc/init/hyper-default-sec.rc +vendor/etc/vintf/manifest/hyper-default-sec.xml +vendor/lib64/libhyper.so +vendor/lib64/libhypervintf.so +vendor/lib64/vendor.samsung.hardware.hyper-V2-ndk.so + # IMS system_ext/etc/sysconfig/qti_whitelist_system_ext.xml system_ext/framework/vendor.qti.ims.connection-V1.0-java.jar @@ -1524,10 +1532,7 @@ vendor/etc/init/init_thermal-engine-v2.rc vendor/etc/init/vendor.samsung.hardware.thermal@1.0-service.rc vendor/etc/thermal-engine.conf vendor/etc/vintf/manifest/vendor.samsung.hardware.thermal@1.0-manifest.xml -vendor/lib/libhypervintf.so -vendor/lib64/libhypervintf.so -vendor/lib64/libthermalclient.so -vendor/lib64/vendor.samsung.hardware.hyper-V2-ndk.so vendor/lib64/vendor.samsung.hardware.thermal@1.0.so # Time services diff --git a/vintf/device_framework_matrix.xml b/vintf/device_framework_matrix.xml index 0d6bcdf..07a5349 100644 --- a/vintf/device_framework_matrix.xml +++ b/vintf/device_framework_matrix.xml @@ -123,4 +123,12 @@ default + + vendor.samsung.hardware.hyper + 2 + + ISehHyPer + default + +