blob: 9480b407460de6467dd06db3e23aa12842e54145 [file] [log] [blame]
Hongyi Zhanga6f98922018-10-25 20:09:55 -07001typeattribute flags_health_check coredomain;
2
3init_daemon_domain(flags_health_check)
Inseob Kim55e5c9b2020-03-04 17:20:35 +09004
5set_prop(flags_health_check, device_config_boot_count_prop)
feiyuchen70e19422023-02-13 21:55:57 +00006set_prop(flags_health_check, device_config_edgetpu_native_prop)
Inseob Kim55e5c9b2020-03-04 17:20:35 +09007set_prop(flags_health_check, device_config_reset_performed_prop)
8set_prop(flags_health_check, device_config_runtime_native_boot_prop)
9set_prop(flags_health_check, device_config_runtime_native_prop)
10set_prop(flags_health_check, device_config_input_native_boot_prop)
Suren Baghdasaryan592e06c2021-08-04 12:31:43 -070011set_prop(flags_health_check, device_config_lmkd_native_prop)
Inseob Kim55e5c9b2020-03-04 17:20:35 +090012set_prop(flags_health_check, device_config_netd_native_prop)
Ian Hua91d153e2021-10-05 15:23:18 +010013set_prop(flags_health_check, device_config_nnapi_native_prop)
Inseob Kim55e5c9b2020-03-04 17:20:35 +090014set_prop(flags_health_check, device_config_activity_manager_native_boot_prop)
15set_prop(flags_health_check, device_config_media_native_prop)
Kalesh Singh9e257142022-04-06 14:31:26 -070016set_prop(flags_health_check, device_config_mglru_native_prop)
Yi Kong0ac00722020-10-27 02:29:52 +080017set_prop(flags_health_check, device_config_profcollect_native_boot_prop)
Tej Singhdd0988f2020-11-17 19:26:23 -080018set_prop(flags_health_check, device_config_statsd_native_prop)
19set_prop(flags_health_check, device_config_statsd_native_boot_prop)
Inseob Kim55e5c9b2020-03-04 17:20:35 +090020set_prop(flags_health_check, device_config_storage_native_boot_prop)
Nick Chalko81a4dd42021-02-11 09:12:51 -080021set_prop(flags_health_check, device_config_swcodec_native_prop)
Inseob Kim55e5c9b2020-03-04 17:20:35 +090022set_prop(flags_health_check, device_config_sys_traced_prop)
23set_prop(flags_health_check, device_config_window_manager_native_boot_prop)
24set_prop(flags_health_check, device_config_configuration_prop)
Xiao Ma2d6c9f02021-02-02 10:27:38 +000025set_prop(flags_health_check, device_config_connectivity_prop)
rnleeb6142ec2021-06-29 13:48:27 -070026set_prop(flags_health_check, device_config_surface_flinger_native_boot_prop)
Richard Chang7057e4a2022-04-12 08:11:53 +000027set_prop(flags_health_check, device_config_vendor_system_native_prop)
Richard Chang74334ef2022-08-08 09:26:22 +000028set_prop(flags_health_check, device_config_vendor_system_native_boot_prop)
Andrew Sculld7bed772021-10-29 15:20:02 +010029set_prop(flags_health_check, device_config_virtualization_framework_native_prop)
Florian Mayer94926f52023-01-31 15:47:07 -080030set_prop(flags_health_check, device_config_memory_safety_native_boot_prop)
Florian Mayer5b3a8332022-06-08 10:45:18 -070031set_prop(flags_health_check, device_config_memory_safety_native_prop)
Vikram Gaure1c49f52022-09-29 21:20:22 +000032set_prop(flags_health_check, device_config_remote_key_provisioning_native_prop)
Mohi Montazerad059402022-12-09 10:23:37 -080033set_prop(flags_health_check, device_config_camera_native_prop)
Inseob Kim55e5c9b2020-03-04 17:20:35 +090034
35# system property device_config_boot_count_prop is used for deciding when to perform server
36# configurable flags related disaster recovery. Mistakenly set up by unrelated components can, at a
37# wrong timing, trigger server configurable flag related disaster recovery, which will override
38# server configured values of all flags with default values.
39neverallow { domain -init -flags_health_check } device_config_boot_count_prop:property_service set;
40
41# system property device_config_reset_performed_prop is used for indicating whether server
42# configurable flags have been reset during booting. Mistakenly modified by unrelated components can
43# cause bad server configurable flags synced back to device.
44neverallow { domain -init -flags_health_check } device_config_reset_performed_prop:property_service set;