Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 97266dac authored by Francescodario Cuzzocrea's avatar Francescodario Cuzzocrea
Browse files

sepolicy: add hal_lineage_fastcharge

Change-Id: I4da91e6f3bee471a11280cdb07276211e0f6fed8
parent bceeb277
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
# HWBinder IPC from client to server
binder_call(hal_lineage_fastcharge_client, hal_lineage_fastcharge_server)

add_hwservice(hal_lineage_fastcharge_server, hal_lineage_fastcharge_hwservice)
allow hal_lineage_fastcharge_client hal_lineage_fastcharge_hwservice:hwservice_manager find;

# Allow binder communication with platform_app
binder_call(hal_lineage_fastcharge, platform_app)
+1 −0
Original line number Diff line number Diff line
type hal_lineage_camera_motor_hwservice, hwservice_manager_type;
type hal_lineage_fastcharge_hwservice, hwservice_manager_type;
type hal_lineage_fod_hwservice, hwservice_manager_type;
type hal_lineage_livedisplay_hwservice, hwservice_manager_type;
type hal_lineage_powershare_hwservice, hwservice_manager_type;
+1 −0
Original line number Diff line number Diff line
vendor.lineage.biometrics.fingerprint.inscreen::IFingerprintInscreen    u:object_r:hal_lineage_fod_hwservice:s0
vendor.lineage.camera.motor::ICameraMotor                               u:object_r:hal_lineage_camera_motor_hwservice:s0
vendor.lineage.fastcharge::IFastCharge                                  u:object_r:hal_lineage_fastcharge_hwservice:s0
vendor.lineage.livedisplay::IAdaptiveBacklight                          u:object_r:hal_lineage_livedisplay_hwservice:s0
vendor.lineage.livedisplay::IAutoContrast                               u:object_r:hal_lineage_livedisplay_hwservice:s0
vendor.lineage.livedisplay::IColorBalance                               u:object_r:hal_lineage_livedisplay_hwservice:s0
+3 −0
Original line number Diff line number Diff line
# Allow NFC service to be found
allow platform_app nfc_service:service_manager find;

# Allow FastCharge HAL service to be found
hal_client_domain(platform_app, hal_lineage_fastcharge)

# Allow FOD HAL service to be found
hal_client_domain(platform_app, hal_lineage_fod)

+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ allow system_server storage_stub_file:dir getattr;
allow system_server adbroot_service:service_manager find;

# Use HALs
hal_client_domain(system_server, hal_lineage_fastcharge)
hal_client_domain(system_server, hal_lineage_fod)
hal_client_domain(system_server, hal_lineage_livedisplay)
hal_client_domain(system_server, hal_lineage_touch)
Loading