blob: b30ee6ce5992acbe61ec5c1764e2a971b8046312 [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)
6set_prop(flags_health_check, device_config_reset_performed_prop)
7set_prop(flags_health_check, device_config_runtime_native_boot_prop)
8set_prop(flags_health_check, device_config_runtime_native_prop)
9set_prop(flags_health_check, device_config_input_native_boot_prop)
10set_prop(flags_health_check, device_config_netd_native_prop)
11set_prop(flags_health_check, device_config_activity_manager_native_boot_prop)
12set_prop(flags_health_check, device_config_media_native_prop)
Yi Kong0ac00722020-10-27 02:29:52 +080013set_prop(flags_health_check, device_config_profcollect_native_boot_prop)
Inseob Kim55e5c9b2020-03-04 17:20:35 +090014set_prop(flags_health_check, device_config_storage_native_boot_prop)
15set_prop(flags_health_check, device_config_sys_traced_prop)
16set_prop(flags_health_check, device_config_window_manager_native_boot_prop)
17set_prop(flags_health_check, device_config_configuration_prop)
18
19# system property device_config_boot_count_prop is used for deciding when to perform server
20# configurable flags related disaster recovery. Mistakenly set up by unrelated components can, at a
21# wrong timing, trigger server configurable flag related disaster recovery, which will override
22# server configured values of all flags with default values.
23neverallow { domain -init -flags_health_check } device_config_boot_count_prop:property_service set;
24
25# system property device_config_reset_performed_prop is used for indicating whether server
26# configurable flags have been reset during booting. Mistakenly modified by unrelated components can
27# cause bad server configurable flags synced back to device.
28neverallow { domain -init -flags_health_check } device_config_reset_performed_prop:property_service set;