platform_system_sepolicy/public/charger_vendor.te
Yifan Hong 035ce4b7f4 Add charger_vendor type
This is the context when health HAL runs in offline
charging mode.

This has the same permissions as the health HAL, but
is also able to do charger specific things.

Also restrict neverallow rules in charger_type.

Test: manual in offline charging mode
Bug: 203246116
Change-Id: I6034853c113dff95b26461153501ad0528d10279
2021-12-07 16:24:23 -08:00

4 lines
134 B
Text

# Context when health HAL runs charger mode
type charger_vendor, charger_type, domain;
hal_server_domain(charger_vendor, hal_health)