Sandeep Patil | c82cf89 | 2016-12-16 13:20:25 -0800 | [diff] [blame] | 1 | # health info abstraction |
Alex Klyubin | f41d89e | 2017-01-10 15:54:25 -0800 | [diff] [blame] | 2 | type hal_health_default, domain; |
Stephane Lee | 52862a3 | 2022-03-08 14:56:27 -0800 | [diff] [blame] | 3 | |
| 4 | typeattribute hal_health_default bpfdomain; |
| 5 | |
Alex Klyubin | 9e6b24c | 2017-03-16 18:48:40 -0700 | [diff] [blame] | 6 | hal_server_domain(hal_health_default, hal_health) |
Sandeep Patil | c82cf89 | 2016-12-16 13:20:25 -0800 | [diff] [blame] | 7 | |
Sandeep Patil | 2ee66e7 | 2017-04-10 13:03:28 -0700 | [diff] [blame] | 8 | type hal_health_default_exec, exec_type, vendor_file_type, file_type; |
Sandeep Patil | c82cf89 | 2016-12-16 13:20:25 -0800 | [diff] [blame] | 9 | init_daemon_domain(hal_health_default) |
Yifan Hong | 035ce4b | 2021-10-25 21:56:29 -0700 | [diff] [blame] | 10 | |
| 11 | # When executing the service in offline-charging mode, |
| 12 | # allow to transition to charger_vendor domain. |
| 13 | domain_trans(init, hal_health_default_exec, charger_vendor) |