Hongyi Zhang | a6f9892 | 2018-10-25 20:09:55 -0700 | [diff] [blame] | 1 | typeattribute flags_health_check coredomain; |
| 2 | |
| 3 | init_daemon_domain(flags_health_check) |
Inseob Kim | 55e5c9b | 2020-03-04 17:20:35 +0900 | [diff] [blame] | 4 | |
| 5 | set_prop(flags_health_check, device_config_boot_count_prop) |
| 6 | set_prop(flags_health_check, device_config_reset_performed_prop) |
| 7 | set_prop(flags_health_check, device_config_runtime_native_boot_prop) |
| 8 | set_prop(flags_health_check, device_config_runtime_native_prop) |
| 9 | set_prop(flags_health_check, device_config_input_native_boot_prop) |
Suren Baghdasaryan | 592e06c | 2021-08-04 12:31:43 -0700 | [diff] [blame] | 10 | set_prop(flags_health_check, device_config_lmkd_native_prop) |
Inseob Kim | 55e5c9b | 2020-03-04 17:20:35 +0900 | [diff] [blame] | 11 | set_prop(flags_health_check, device_config_netd_native_prop) |
Ian Hua | 91d153e | 2021-10-05 15:23:18 +0100 | [diff] [blame] | 12 | set_prop(flags_health_check, device_config_nnapi_native_prop) |
Inseob Kim | 55e5c9b | 2020-03-04 17:20:35 +0900 | [diff] [blame] | 13 | set_prop(flags_health_check, device_config_activity_manager_native_boot_prop) |
| 14 | set_prop(flags_health_check, device_config_media_native_prop) |
Yi Kong | 0ac0072 | 2020-10-27 02:29:52 +0800 | [diff] [blame] | 15 | set_prop(flags_health_check, device_config_profcollect_native_boot_prop) |
Tej Singh | dd0988f | 2020-11-17 19:26:23 -0800 | [diff] [blame] | 16 | set_prop(flags_health_check, device_config_statsd_native_prop) |
| 17 | set_prop(flags_health_check, device_config_statsd_native_boot_prop) |
Inseob Kim | 55e5c9b | 2020-03-04 17:20:35 +0900 | [diff] [blame] | 18 | set_prop(flags_health_check, device_config_storage_native_boot_prop) |
Nick Chalko | 81a4dd4 | 2021-02-11 09:12:51 -0800 | [diff] [blame] | 19 | set_prop(flags_health_check, device_config_swcodec_native_prop) |
Inseob Kim | 55e5c9b | 2020-03-04 17:20:35 +0900 | [diff] [blame] | 20 | set_prop(flags_health_check, device_config_sys_traced_prop) |
| 21 | set_prop(flags_health_check, device_config_window_manager_native_boot_prop) |
| 22 | set_prop(flags_health_check, device_config_configuration_prop) |
Xiao Ma | 2d6c9f0 | 2021-02-02 10:27:38 +0000 | [diff] [blame] | 23 | set_prop(flags_health_check, device_config_connectivity_prop) |
rnlee | b6142ec | 2021-06-29 13:48:27 -0700 | [diff] [blame] | 24 | set_prop(flags_health_check, device_config_surface_flinger_native_boot_prop) |
Andrew Scull | d7bed77 | 2021-10-29 15:20:02 +0100 | [diff] [blame^] | 25 | set_prop(flags_health_check, device_config_virtualization_framework_native_prop) |
Inseob Kim | 55e5c9b | 2020-03-04 17:20:35 +0900 | [diff] [blame] | 26 | |
| 27 | # system property device_config_boot_count_prop is used for deciding when to perform server |
| 28 | # configurable flags related disaster recovery. Mistakenly set up by unrelated components can, at a |
| 29 | # wrong timing, trigger server configurable flag related disaster recovery, which will override |
| 30 | # server configured values of all flags with default values. |
| 31 | neverallow { domain -init -flags_health_check } device_config_boot_count_prop:property_service set; |
| 32 | |
| 33 | # system property device_config_reset_performed_prop is used for indicating whether server |
| 34 | # configurable flags have been reset during booting. Mistakenly modified by unrelated components can |
| 35 | # cause bad server configurable flags synced back to device. |
| 36 | neverallow { domain -init -flags_health_check } device_config_reset_performed_prop:property_service set; |