Add persist.device_config.storage_native_boot.smart_idle_maint_enabled property policies

Add policies to set persist.device_config.storage_native_boot.smart_idle_maint_enabled property.

Bug: 202283480
Bug: 181079477
Bug: 215443809
Change-Id: I998e6dca950a8ceebb5fbc39568e3e8d6b86e8ce
This commit is contained in:
Ocean Chen 2022-03-18 09:45:46 +00:00
parent bcd0bd7976
commit 63e6e1dc02
4 changed files with 7 additions and 1 deletions

View file

@ -57,8 +57,9 @@
remotelyprovisionedkeypool_service remotelyprovisionedkeypool_service
resources_manager_service resources_manager_service
rootdisk_sysdev rootdisk_sysdev
selection_toolbar_service
sdk_sandbox_service sdk_sandbox_service
selection_toolbar_service
smart_idle_maint_enabled_prop
snapuserd_proxy_socket snapuserd_proxy_socket
sysfs_fs_fuse_bpf sysfs_fs_fuse_bpf
system_dlkm_file system_dlkm_file

View file

@ -258,6 +258,9 @@ persist.device_config.swcodec_native. u:object_r:device_config_swc
persist.device_config.virtualization_framework_native. u:object_r:device_config_virtualization_framework_native_prop:s0 persist.device_config.virtualization_framework_native. u:object_r:device_config_virtualization_framework_native_prop:s0
persist.device_config.window_manager_native_boot. u:object_r:device_config_window_manager_native_boot_prop:s0 persist.device_config.window_manager_native_boot. u:object_r:device_config_window_manager_native_boot_prop:s0
# F2FS smart idle maint prop
persist.device_config.storage_native_boot.smart_idle_maint_enabled u:object_r:smart_idle_maint_enabled_prop:s0 exact bool
# MM Events config props # MM Events config props
persist.mm_events.enabled u:object_r:mm_events_config_prop:s0 exact bool persist.mm_events.enabled u:object_r:mm_events_config_prop:s0 exact bool

View file

@ -736,6 +736,7 @@ set_prop(system_server, device_config_configuration_prop)
set_prop(system_server, device_config_connectivity_prop) set_prop(system_server, device_config_connectivity_prop)
set_prop(system_server, device_config_surface_flinger_native_boot_prop) set_prop(system_server, device_config_surface_flinger_native_boot_prop)
set_prop(system_server, device_config_virtualization_framework_native_prop) set_prop(system_server, device_config_virtualization_framework_native_prop)
set_prop(system_server, smart_idle_maint_enabled_prop)
# Allow query ART device config properties # Allow query ART device config properties
get_prop(system_server, device_config_runtime_native_boot_prop) get_prop(system_server, device_config_runtime_native_boot_prop)

View file

@ -80,6 +80,7 @@ system_restricted_prop(property_service_version_prop)
system_restricted_prop(provisioned_prop) system_restricted_prop(provisioned_prop)
system_restricted_prop(restorecon_prop) system_restricted_prop(restorecon_prop)
system_restricted_prop(retaildemo_prop) system_restricted_prop(retaildemo_prop)
system_restricted_prop(smart_idle_maint_enabled_prop)
system_restricted_prop(socket_hook_prop) system_restricted_prop(socket_hook_prop)
system_restricted_prop(sqlite_log_prop) system_restricted_prop(sqlite_log_prop)
system_restricted_prop(surfaceflinger_display_prop) system_restricted_prop(surfaceflinger_display_prop)