Add a system property namespace for Pre-reboot Dexopt.

We need to maintain the Pre-reboot Dexopt state across system server
crashes and restarts, but not across reboots. System properties are
suitable for this use case. The state includes whether the job has run
and the OTA slot.

Bug: 311377497
Change-Id: I527d4ba6064c1600d97ce2efc8be211b9460a8f0
Test: Presubmit
This commit is contained in:
Jiakai Zhang 2024-05-15 14:20:22 +00:00
parent 6e95ee78e3
commit 1a3775bbb8

View file

@ -532,6 +532,7 @@ dalvik.vm.image-dex2oat-cpu-set u:object_r:dalvik_dynamic_config_p
dalvik.vm.image-dex2oat-threads u:object_r:dalvik_dynamic_config_prop:s0 exact int dalvik.vm.image-dex2oat-threads u:object_r:dalvik_dynamic_config_prop:s0 exact int
dalvik.vm.restore-dex2oat-cpu-set u:object_r:dalvik_dynamic_config_prop:s0 exact string dalvik.vm.restore-dex2oat-cpu-set u:object_r:dalvik_dynamic_config_prop:s0 exact string
dalvik.vm.restore-dex2oat-threads u:object_r:dalvik_dynamic_config_prop:s0 exact int dalvik.vm.restore-dex2oat-threads u:object_r:dalvik_dynamic_config_prop:s0 exact int
dalvik.vm.pre-reboot. u:object_r:dalvik_dynamic_config_prop:s0 prefix
persist.sys.dalvik.vm.lib.2 u:object_r:dalvik_runtime_prop:s0 exact string persist.sys.dalvik.vm.lib.2 u:object_r:dalvik_runtime_prop:s0 exact string