universal7885: Remove parts/its hal, remenants

This commit is contained in:
roynatech2544 2023-07-16 19:32:10 +09:00
commit c55b034a4b
No known key found for this signature in database
GPG key ID: 389DAC92CAECBBCC
126 changed files with 0 additions and 4784 deletions

View file

@ -2,15 +2,11 @@
### DATA
/data/zram(/.*)? u:object_r:zram_data_file:s0
/data/swap(/.*)? u:object_r:parts_data_file:s0
# Eureka Bootlogger
/system/bin/eklogger u:object_r:eklogger_exec:s0
/data/debug(/.*)? u:object_r:eklogger_data_file:s0
# SamsungParts
/system/bin/vendor\.eureka\.hardware\.parts-service u:object_r:hal_parts_default_exec:s0
# FMRadio
/system/bin/vendor\.eureka\.hardware\.fmradio-service u:object_r:hal_fmradio_default_exec:s0
/system/bin/vendor\.eureka\.hardware\.audio_route-service u:object_r:hal_audio_route_default_exec:s0

View file

@ -1,33 +0,0 @@
type hal_parts_default, domain, coredomain;
type hal_parts_default_exec, exec_type, file_type, system_file_type;
add_service(hal_parts_default, hal_parts_service);
init_daemon_domain(hal_parts_default);
binder_use(hal_parts_default);
# Battery
allow hal_parts_default sysfs_sec_switch:dir { search };
allow hal_parts_default sysfs_sec_switch_writable:file rw_file_perms;
allow hal_parts_default sysfs_battery_writable:file rw_file_perms;
allow hal_parts_default sysfs_sec_switch_writable:dir { search };
allow hal_parts_default sysfs_battery_writable:dir { search };
allow hal_parts_default sysfs_battery:dir { search };
allow hal_parts_default sysfs_virtual:dir search;
allow hal_parts_default self:capability setuid;
# FlashLight
allow hal_parts_default sysfs_flashlight:file { read open write getattr };
allow hal_parts_default sysfs_flashlight:dir search;
allow hal_parts_default sysfs_virtual:dir search;
# Display
allow hal_parts_default sysfs_sec_touchscreen:dir search;
allow hal_parts_default sysfs_touchscreen_writable:file rw_file_perms;
# Swap
type parts_data_file, file_type, data_file_type, core_data_file_type;
allow hal_parts_default parts_data_file:dir rw_dir_perms;
allow hal_parts_default parts_data_file:file rw_file_perms;
allow hal_parts_default parts_data_file:file create_file_perms;
allow hal_parts_default self:capability sys_admin;

View file

@ -1,3 +1,2 @@
type hal_parts_service, service_manager_type;
type hal_fmradio_service, service_manager_type;
type hal_audio_route_service, service_manager_type;

View file

@ -1,10 +1,3 @@
# SamsungParts
vendor.eureka.hardware.parts.IBatteryStats/default u:object_r:hal_parts_service:s0
vendor.eureka.hardware.parts.IFlashBrightness/default u:object_r:hal_parts_service:s0
vendor.eureka.hardware.parts.IDisplayConfigs/default u:object_r:hal_parts_service:s0
vendor.eureka.hardware.parts.ISwapOnData/default u:object_r:hal_parts_service:s0
vendor.eureka.hardware.parts.ISmartCharge/default u:object_r:hal_parts_service:s0
# FMRadio
vendor.eureka.hardware.fmradio.IFMDevControl/default u:object_r:hal_fmradio_service:s0
vendor.eureka.hardware.fmradio.IFMDevControl/support u:object_r:hal_fmradio_service:s0

View file

@ -1,10 +1,3 @@
# SamsungParts
allow system_app hal_parts_service:service_manager find;
binder_call(system_app, hal_parts_default)
r_dir_file(system_app, parts_data_file)
# FMRadio
allow system_app hal_fmradio_service:service_manager find;