Add tunables to control prefetch
Bug: 362507272
Test: prefetch record/replay
Change-Id: Id9b3efdf5ed3fdff35ddb3f82b6f41b54458c88e
Signed-off-by: Akilesh Kailash <akailash@google.com>
diff --git a/private/property_contexts b/private/property_contexts
index eaa55b9..dff8e07 100644
--- a/private/property_contexts
+++ b/private/property_contexts
@@ -360,12 +360,16 @@
ro.enable_boot_charger_mode u:object_r:charger_config_prop:s0 exact bool
ro.product.charger.unplugged_shutdown_time u:object_r:charger_config_prop:s0 exact int
-# Prefetch boot properties
+# Prefetch boot properties which are tunables
ro.prefetch_boot.enabled u:object_r:prefetch_boot_prop:s0 exact bool
ro.prefetch_boot.trace_buffer_size_kib u:object_r:prefetch_boot_prop:s0 exact int
ro.prefetch_boot.duration_s u:object_r:prefetch_boot_prop:s0 exact int
ro.prefetch_boot.io_depth u:object_r:prefetch_boot_prop:s0 exact int
ro.prefetch_boot.max_fds u:object_r:prefetch_boot_prop:s0 exact int
+ro.prefetch_boot.record_stop u:object_r:prefetch_boot_prop:s0 exact bool
+# Prefetch property to start and stop the record/replay
+prefetch_boot.record u:object_r:prefetch_service_prop:s0 exact bool
+prefetch_boot.replay u:object_r:prefetch_service_prop:s0 exact bool
# Virtual A/B and snapuserd properties
ro.virtual_ab.enabled u:object_r:virtual_ab_prop:s0 exact bool