a10: Change sensor HAL name suffix

- In fact only 32bit compiled, not that it is a10 specific
This commit is contained in:
roynatech2544 2023-11-28 15:16:49 +09:00
commit 1283dec6bc
No known key found for this signature in database
GPG key ID: 389DAC92CAECBBCC
5 changed files with 7 additions and 7 deletions

View file

@ -4,6 +4,6 @@ $(call inherit-product, vendor/samsung/a10/a10-vendor.mk)
# Sensors
PRODUCT_PACKAGES += \
android.hardware.sensors@1.0-service.a10
android.hardware.sensors@1.0-service_32
include device/samsung/a10/common.mk

View file

@ -1,8 +1,8 @@
cc_binary {
name: "android.hardware.sensors@1.0-service.a10",
name: "android.hardware.sensors@1.0-service_32",
relative_install_path: "hw",
vendor: true,
init_rc: ["android.hardware.sensors@1.0-service.a10.rc"],
init_rc: ["android.hardware.sensors@1.0-service_32.rc"],
srcs: ["service.cpp"],
compile_multilib: "32",

View file

@ -1,7 +1,7 @@
service vendor.sensors-hal-1-0 /vendor/bin/hw/android.hardware.sensors@1.0-service.a10
service vendor.sensors-hal-1-0 /vendor/bin/hw/android.hardware.sensors@1.0-service_32
interface android.hardware.sensors@1.0::ISensors default
class hal
user system
group system wakelock uhid context_hub
capabilities BLOCK_SUSPEND
rlimit rtprio 10 10
rlimit rtprio 10 10

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
#define LOG_TAG "android.hardware.sensors@1.0-service.a10"
#define LOG_TAG "android.hardware.sensors@1.0-service_32"
#include <android/hardware/sensors/1.0/ISensors.h>
#include <hidl/LegacySupport.h>

View file

@ -58,5 +58,5 @@
/(vendor|system/vendor)/bin/main_abox u:object_r:abox_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.camera\.provider@[0-9]\.[0-9]-service\.exynos7885 u:object_r:hal_camera_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.usb@[0-9]\.[0-9]-service\.a10 u:object_r:hal_usb_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.sensors@[0-9]\.[0-9]-service_a10 u:object_r:hal_sensors_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.sensors@[0-9]\.[0-9]-service_32 u:object_r:hal_sensors_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.power\.stats-service\.exynos7 u:object_r:hal_power_stats_default_exec:s0