mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-22 20:15:32 -04:00
a10: Change sensor HAL name suffix
- In fact only 32bit compiled, not that it is a10 specific
This commit is contained in:
parent
15152b0431
commit
1283dec6bc
5 changed files with 7 additions and 7 deletions
|
|
@ -4,6 +4,6 @@ $(call inherit-product, vendor/samsung/a10/a10-vendor.mk)
|
||||||
|
|
||||||
# Sensors
|
# Sensors
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.sensors@1.0-service.a10
|
android.hardware.sensors@1.0-service_32
|
||||||
|
|
||||||
include device/samsung/a10/common.mk
|
include device/samsung/a10/common.mk
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
cc_binary {
|
cc_binary {
|
||||||
name: "android.hardware.sensors@1.0-service.a10",
|
name: "android.hardware.sensors@1.0-service_32",
|
||||||
relative_install_path: "hw",
|
relative_install_path: "hw",
|
||||||
vendor: true,
|
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"],
|
srcs: ["service.cpp"],
|
||||||
compile_multilib: "32",
|
compile_multilib: "32",
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
interface android.hardware.sensors@1.0::ISensors default
|
||||||
class hal
|
class hal
|
||||||
user system
|
user system
|
||||||
group system wakelock uhid context_hub
|
group system wakelock uhid context_hub
|
||||||
capabilities BLOCK_SUSPEND
|
capabilities BLOCK_SUSPEND
|
||||||
rlimit rtprio 10 10
|
rlimit rtprio 10 10
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* 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 <android/hardware/sensors/1.0/ISensors.h>
|
||||||
#include <hidl/LegacySupport.h>
|
#include <hidl/LegacySupport.h>
|
||||||
|
|
|
||||||
|
|
@ -58,5 +58,5 @@
|
||||||
/(vendor|system/vendor)/bin/main_abox u:object_r:abox_exec:s0
|
/(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\.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\.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
|
/(vendor|system/vendor)/bin/hw/android\.hardware\.power\.stats-service\.exynos7 u:object_r:hal_power_stats_default_exec:s0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue