gts3l-common: fastcharge: Build fastcharge HIDL

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: If04667671accb9b415e2ca21e3d8373e5ee5b026
This commit is contained in:
Deokgyu Yang 2021-08-12 01:34:50 +09:00
parent ad51ddd98b
commit e6a3db5299
6 changed files with 13 additions and 0 deletions

View file

@ -177,6 +177,10 @@ PRODUCT_PACKAGES += \
android.hardware.drm@1.0-service \
android.hardware.drm@1.3-service.clearkey
# FastCharge
PRODUCT_PACKAGES += \
vendor.lineage.fastcharge@1.0-service.samsung
# Fingerprint
PRODUCT_PACKAGES += \
android.hardware.biometrics.fingerprint@2.1-service.samsung \

View file

@ -51,6 +51,7 @@ type sysfs_camera_writable, fs_type, sysfs_type;
type sysfs_fpc, fs_type, sysfs_type;
type sysfs_lcd_writable, fs_type, sysfs_type;
type sysfs_mdnie_writable, fs_type, sysfs_type;
type sysfs_sec_switch, fs_type, sysfs_type;
type sysfs_tsp, fs_type, sysfs_type;
type sysfs_wifi, fs_type, sysfs_type;
type dsp_file, fs_type, contextmount_type;

View file

@ -172,6 +172,7 @@
/(vendor|system/vendor)/bin/hw/android\.hardware\.keymaster@4\.0-service\.samsung u:object_r:hal_keymaster_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service\.samsung u:object_r:hal_light_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.usb@1\.1-service\.gts3l u:object_r:hal_usb_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.fastcharge@1\.0-service\.samsung u:object_r:hal_lineage_fastcharge_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.livedisplay@2\.0-service\.samsung-qcom u:object_r:hal_lineage_livedisplay_sysfs_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.samsung\.hardware\.miscpower@1\.0-service u:object_r:hal_power_default_exec:s0
@ -196,4 +197,5 @@
/sys/devices/virtual/fingerprint/fingerprint(/.*)? u:object_r:sysfs_fpc:s0
/sys/devices/virtual/lcd/panel(/.*)? u:object_r:sysfs_lcd_writable:s0
/sys/devices/virtual/mdnie(/.*)? -- u:object_r:sysfs_mdnie_writable:s0
/sys/devices/virtual/sec/switch(/.*)? u:object_r:sysfs_sec_switch:s0
/sys/devices/virtual/sec/tsp(/.*)? u:object_r:sysfs_tsp:s0

View file

@ -0,0 +1,4 @@
allow hal_lineage_fastcharge_default sysfs_sec_switch:dir search;
allow hal_lineage_fastcharge_default sysfs_sec_switch:file rw_file_perms;
set_prop(hal_lineage_fastcharge, sec_fastcharge_prop)

View file

@ -4,6 +4,7 @@ type ina_status_prop, property_type;
type receiver_error_prop, property_type;
type sec_camera_prop, property_type, file_type;
type sec_cnss_diag_prop, property_type;
type sec_fastcharge_prop, property_type;
type tzdaemon_prop, property_type;
type vendor_factory_prop, property_type;
type vendor_members_prop, property_type;

View file

@ -20,6 +20,7 @@ persist.tnr.process.plates u:object_r:sec_camera_prop:s0
persist.vendor.camera. u:object_r:sec_camera_prop:s0
persist.vendor.camera.feature.cac u:object_r:sec_camera_prop:s0
persist.vendor.camera.global.debug u:object_r:sec_camera_prop:s0
persist.vendor.sec.fastchg_enabled u:object_r:sec_fastcharge_prop:s0
persist.vendor.members. u:object_r:vendor_members_prop:s0
ro.camera.req.fmq.size u:object_r:sec_camera_prop:s0
ro.camera.res.fmq.size u:object_r:sec_camera_prop:s0