universal7885: SamsungParts: Add new HIDL

* Related to flashlight
* Also, build it
This commit is contained in:
roynatech2544 2021-10-24 22:58:50 +09:00
commit 1bcf57f719
No known key found for this signature in database
GPG key ID: 9675C32163D88D30
15 changed files with 316 additions and 4 deletions

View file

@ -215,3 +215,4 @@
# SamsungParts
/(vendor|system/vendor)/bin/hw/vendor\.eureka\.hardware\.battery@1\.0-service u:object_r:hal_battery_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.eureka\.hardware\.flashlight@1\.0-service u:object_r:hal_flashlight_default_exec:s0

View file

@ -0,0 +1,4 @@
type hal_flashlight_default, domain;
type hal_flashlight_default_exec, exec_type, file_type, vendor_file_type;
add_hwservice(hal_flashlight_default, hal_flashlight_hwservice);
init_daemon_domain(hal_flashlight_default);

View file

@ -1,2 +1,3 @@
type rild_hwservice, hwservice_manager_type;
type hal_battery_hwservice, hwservice_manager_type;
type hal_flashlight_hwservice, hwservice_manager_type;

View file

@ -6,4 +6,5 @@ vendor.lineage.power::ILineagePower u:object_r:hal_power_hwservice:s0
# SamsungParts
vendor.eureka.hardware.battery::IBattery u:object_r:hal_battery_hwservice:s0
vendor.eureka.hardware.flashlight::IFlashlight u:object_r:hal_flashlight_hwservice:s0