2018-10-26 05:09:55 +02:00
|
|
|
typeattribute flags_health_check coredomain;
|
|
|
|
|
|
|
|
init_daemon_domain(flags_health_check)
|
2020-03-04 09:20:35 +01:00
|
|
|
|
|
|
|
set_prop(flags_health_check, device_config_boot_count_prop)
|
|
|
|
set_prop(flags_health_check, device_config_reset_performed_prop)
|
|
|
|
set_prop(flags_health_check, device_config_runtime_native_boot_prop)
|
|
|
|
set_prop(flags_health_check, device_config_runtime_native_prop)
|
|
|
|
set_prop(flags_health_check, device_config_input_native_boot_prop)
|
2021-08-04 21:31:43 +02:00
|
|
|
set_prop(flags_health_check, device_config_lmkd_native_prop)
|
2020-03-04 09:20:35 +01:00
|
|
|
set_prop(flags_health_check, device_config_netd_native_prop)
|
2021-10-05 16:23:18 +02:00
|
|
|
set_prop(flags_health_check, device_config_nnapi_native_prop)
|
2020-03-04 09:20:35 +01:00
|
|
|
set_prop(flags_health_check, device_config_activity_manager_native_boot_prop)
|
|
|
|
set_prop(flags_health_check, device_config_media_native_prop)
|
2020-10-26 19:29:52 +01:00
|
|
|
set_prop(flags_health_check, device_config_profcollect_native_boot_prop)
|
2020-11-18 04:26:23 +01:00
|
|
|
set_prop(flags_health_check, device_config_statsd_native_prop)
|
|
|
|
set_prop(flags_health_check, device_config_statsd_native_boot_prop)
|
2020-03-04 09:20:35 +01:00
|
|
|
set_prop(flags_health_check, device_config_storage_native_boot_prop)
|
2021-02-11 18:12:51 +01:00
|
|
|
set_prop(flags_health_check, device_config_swcodec_native_prop)
|
2020-03-04 09:20:35 +01:00
|
|
|
set_prop(flags_health_check, device_config_sys_traced_prop)
|
|
|
|
set_prop(flags_health_check, device_config_window_manager_native_boot_prop)
|
|
|
|
set_prop(flags_health_check, device_config_configuration_prop)
|
2021-02-02 11:27:38 +01:00
|
|
|
set_prop(flags_health_check, device_config_connectivity_prop)
|
2021-06-29 22:48:27 +02:00
|
|
|
set_prop(flags_health_check, device_config_surface_flinger_native_boot_prop)
|
2021-10-29 16:20:02 +02:00
|
|
|
set_prop(flags_health_check, device_config_virtualization_framework_native_prop)
|
2020-03-04 09:20:35 +01:00
|
|
|
|
|
|
|
# system property device_config_boot_count_prop is used for deciding when to perform server
|
|
|
|
# configurable flags related disaster recovery. Mistakenly set up by unrelated components can, at a
|
|
|
|
# wrong timing, trigger server configurable flag related disaster recovery, which will override
|
|
|
|
# server configured values of all flags with default values.
|
|
|
|
neverallow { domain -init -flags_health_check } device_config_boot_count_prop:property_service set;
|
|
|
|
|
|
|
|
# system property device_config_reset_performed_prop is used for indicating whether server
|
|
|
|
# configurable flags have been reset during booting. Mistakenly modified by unrelated components can
|
|
|
|
# cause bad server configurable flags synced back to device.
|
|
|
|
neverallow { domain -init -flags_health_check } device_config_reset_performed_prop:property_service set;
|