035ce4b7f4
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
10 lines
383 B
Text
10 lines
383 B
Text
# health info abstraction
|
|
type hal_health_default, domain;
|
|
hal_server_domain(hal_health_default, hal_health)
|
|
|
|
type hal_health_default_exec, exec_type, vendor_file_type, file_type;
|
|
init_daemon_domain(hal_health_default)
|
|
|
|
# When executing the service in offline-charging mode,
|
|
# allow to transition to charger_vendor domain.
|
|
domain_trans(init, hal_health_default_exec, charger_vendor)
|