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) |
Kalesh Singh | 9e25714 | 2022-04-06 14:31:26 -0700 | [diff] [blame] | 15 | set_prop(flags_health_check, device_config_mglru_native_prop) |
Yi Kong | 0ac0072 | 2020-10-27 02:29:52 +0800 | [diff] [blame] | 16 | set_prop(flags_health_check, device_config_profcollect_native_boot_prop) |
Tej Singh | dd0988f | 2020-11-17 19:26:23 -0800 | [diff] [blame] | 17 | set_prop(flags_health_check, device_config_statsd_native_prop) |
| 18 | set_prop(flags_health_check, device_config_statsd_native_boot_prop) |
Inseob Kim | 55e5c9b | 2020-03-04 17:20:35 +0900 | [diff] [blame] | 19 | set_prop(flags_health_check, device_config_storage_native_boot_prop) |
Nick Chalko | 81a4dd4 | 2021-02-11 09:12:51 -0800 | [diff] [blame] | 20 | set_prop(flags_health_check, device_config_swcodec_native_prop) |
Inseob Kim | 55e5c9b | 2020-03-04 17:20:35 +0900 | [diff] [blame] | 21 | set_prop(flags_health_check, device_config_sys_traced_prop) |
| 22 | set_prop(flags_health_check, device_config_window_manager_native_boot_prop) |
| 23 | set_prop(flags_health_check, device_config_configuration_prop) |
Xiao Ma | 2d6c9f0 | 2021-02-02 10:27:38 +0000 | [diff] [blame] | 24 | set_prop(flags_health_check, device_config_connectivity_prop) |
rnlee | b6142ec | 2021-06-29 13:48:27 -0700 | [diff] [blame] | 25 | set_prop(flags_health_check, device_config_surface_flinger_native_boot_prop) |
Richard Chang | 7057e4a | 2022-04-12 08:11:53 +0000 | [diff] [blame] | 26 | set_prop(flags_health_check, device_config_vendor_system_native_prop) |
Richard Chang | 74334ef | 2022-08-08 09:26:22 +0000 | [diff] [blame] | 27 | set_prop(flags_health_check, device_config_vendor_system_native_boot_prop) |
Andrew Scull | d7bed77 | 2021-10-29 15:20:02 +0100 | [diff] [blame] | 28 | set_prop(flags_health_check, device_config_virtualization_framework_native_prop) |
Florian Mayer | 94926f5 | 2023-01-31 15:47:07 -0800 | [diff] [blame^] | 29 | set_prop(flags_health_check, device_config_memory_safety_native_boot_prop) |
Florian Mayer | 5b3a833 | 2022-06-08 10:45:18 -0700 | [diff] [blame] | 30 | set_prop(flags_health_check, device_config_memory_safety_native_prop) |
Vikram Gaur | e1c49f5 | 2022-09-29 21:20:22 +0000 | [diff] [blame] | 31 | set_prop(flags_health_check, device_config_remote_key_provisioning_native_prop) |
Mohi Montazer | ad05940 | 2022-12-09 10:23:37 -0800 | [diff] [blame] | 32 | set_prop(flags_health_check, device_config_camera_native_prop) |
Inseob Kim | 55e5c9b | 2020-03-04 17:20:35 +0900 | [diff] [blame] | 33 | |
| 34 | # system property device_config_boot_count_prop is used for deciding when to perform server |
| 35 | # configurable flags related disaster recovery. Mistakenly set up by unrelated components can, at a |
| 36 | # wrong timing, trigger server configurable flag related disaster recovery, which will override |
| 37 | # server configured values of all flags with default values. |
| 38 | neverallow { domain -init -flags_health_check } device_config_boot_count_prop:property_service set; |
| 39 | |
| 40 | # system property device_config_reset_performed_prop is used for indicating whether server |
| 41 | # configurable flags have been reset during booting. Mistakenly modified by unrelated components can |
| 42 | # cause bad server configurable flags synced back to device. |
| 43 | neverallow { domain -init -flags_health_check } device_config_reset_performed_prop:property_service set; |