Revert "Revert "gts3l-common: fastcharge: Build fastcharge HIDL""
Mis-merged from "eleven-havoc" branch
This reverts commit e9377b7f80
.
This commit is contained in:
parent
b7c4d2e20a
commit
8faa84e8c6
6 changed files with 13 additions and 0 deletions
4
gts3l.mk
4
gts3l.mk
|
@ -183,6 +183,10 @@ PRODUCT_PACKAGES += \
|
||||||
android.hardware.drm@1.0-service \
|
android.hardware.drm@1.0-service \
|
||||||
android.hardware.drm@1.3-service.clearkey
|
android.hardware.drm@1.3-service.clearkey
|
||||||
|
|
||||||
|
# FastCharge
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
vendor.lineage.fastcharge@1.0-service.samsung
|
||||||
|
|
||||||
# Fingerprint
|
# Fingerprint
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.biometrics.fingerprint@2.1-service.samsung \
|
android.hardware.biometrics.fingerprint@2.1-service.samsung \
|
||||||
|
|
|
@ -54,6 +54,7 @@ type sysfs_fpc, fs_type, sysfs_type;
|
||||||
type sysfs_lcd_writable, fs_type, sysfs_type;
|
type sysfs_lcd_writable, fs_type, sysfs_type;
|
||||||
type sysfs_mdnie_writable, fs_type, sysfs_type;
|
type sysfs_mdnie_writable, fs_type, sysfs_type;
|
||||||
type sysfs_sec_keypad, fs_type, sysfs_type;
|
type sysfs_sec_keypad, fs_type, sysfs_type;
|
||||||
|
type sysfs_sec_switch, fs_type, sysfs_type;
|
||||||
type sysfs_tsp, fs_type, sysfs_type;
|
type sysfs_tsp, fs_type, sysfs_type;
|
||||||
type sysfs_wifi, fs_type, sysfs_type;
|
type sysfs_wifi, fs_type, sysfs_type;
|
||||||
type sysfs_touchkey, fs_type, sysfs_type;
|
type sysfs_touchkey, fs_type, sysfs_type;
|
||||||
|
|
|
@ -177,6 +177,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\.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\.light@2\.0-service\.samsung u:object_r:hal_light_default_exec:s0
|
||||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.usb@1\.2-service-qti u:object_r:hal_usb_default_exec:s0
|
/(vendor|system/vendor)/bin/hw/android\.hardware\.usb@1\.2-service-qti 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\.gts3l u:object_r:hal_lineage_livedisplay_sysfs_exec:s0
|
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.livedisplay@2\.0-service\.gts3l u:object_r:hal_lineage_livedisplay_sysfs_exec:s0
|
||||||
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch@1\.0-service\.gts3l u:object_r:hal_lineage_touch_default_exec:s0
|
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch@1\.0-service\.gts3l u:object_r:hal_lineage_touch_default_exec:s0
|
||||||
/(vendor|system/vendor)/bin/hw/vendor\.samsung\.hardware\.miscpower@1\.0-service u:object_r:hal_power_default_exec:s0
|
/(vendor|system/vendor)/bin/hw/vendor\.samsung\.hardware\.miscpower@1\.0-service u:object_r:hal_power_default_exec:s0
|
||||||
|
@ -204,4 +205,5 @@
|
||||||
/sys/devices/virtual/lcd/panel(/.*)? u:object_r:sysfs_lcd_writable: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/mdnie(/.*)? -- u:object_r:sysfs_mdnie_writable:s0
|
||||||
/sys/devices/virtual/sec/sec_keypad(/.*)? u:object_r:sysfs_sec_keypad:s0
|
/sys/devices/virtual/sec/sec_keypad(/.*)? u:object_r:sysfs_sec_keypad:s0
|
||||||
|
/sys/devices/virtual/sec/switch(/.*)? u:object_r:sysfs_sec_switch:s0
|
||||||
/sys/devices/virtual/sec/tsp(/.*)? u:object_r:sysfs_tsp:s0
|
/sys/devices/virtual/sec/tsp(/.*)? u:object_r:sysfs_tsp:s0
|
||||||
|
|
4
sepolicy/hal_lineage_fastcharge_default.te
Normal file
4
sepolicy/hal_lineage_fastcharge_default.te
Normal 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)
|
|
@ -4,6 +4,7 @@ type ina_status_prop, property_type;
|
||||||
type receiver_error_prop, property_type;
|
type receiver_error_prop, property_type;
|
||||||
type sec_camera_prop, property_type, file_type;
|
type sec_camera_prop, property_type, file_type;
|
||||||
type sec_cnss_diag_prop, property_type;
|
type sec_cnss_diag_prop, property_type;
|
||||||
|
type sec_fastcharge_prop, property_type;
|
||||||
type tzdaemon_prop, property_type;
|
type tzdaemon_prop, property_type;
|
||||||
type vendor_factory_prop, property_type;
|
type vendor_factory_prop, property_type;
|
||||||
type vendor_members_prop, property_type;
|
type vendor_members_prop, property_type;
|
||||||
|
|
|
@ -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. u:object_r:sec_camera_prop:s0
|
||||||
persist.vendor.camera.feature.cac 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.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
|
persist.vendor.members. u:object_r:vendor_members_prop:s0
|
||||||
ro.camera.req.fmq.size u:object_r:sec_camera_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
|
ro.camera.res.fmq.size u:object_r:sec_camera_prop:s0
|
||||||
|
|
Loading…
Reference in a new issue