Allow Trusty storageproxy property

Allows the Trusty storageproxyd to set ro.vendor.trusty.storage.fs_ready
when the data filesystems are ready for use, and allows vendor init to
query and wait on this property.

Test: build, flash, test app loading
Bug: 258018785
Change-Id: I0b4f80371385bf0ddb0c44e81b1893bb80c7a63d
This commit is contained in:
Stephen Crane 2022-11-22 23:38:29 +00:00
parent 2dc65d6b5c
commit c03e9b58db
4 changed files with 11 additions and 0 deletions

View file

@ -34,3 +34,6 @@ vendor_internal_prop(vendor_dynamic_sensor_prop)
# Telephony debug app
vendor_internal_prop(vendor_telephony_app_prop)
# Trusty storage FS ready
vendor_internal_prop(vendor_trusty_storage_prop)

View file

@ -98,3 +98,6 @@ persist.vendor.ims. u:object_r:vendor_imssvc_prop:s0
# for vendor telephony debug app
vendor.config.debug. u:object_r:vendor_telephony_app_prop:s0
# Trusty
ro.vendor.trusty.storage.fs_ready u:object_r:vendor_trusty_storage_prop:s0

View file

@ -11,3 +11,5 @@ allow tee sg_device:chr_file rw_file_perms;
# Allow storageproxyd access to gsi_public_metadata_file
read_fstab(tee)
set_prop(tee, vendor_trusty_storage_prop)

View file

@ -35,3 +35,6 @@ set_prop(vendor_init, vendor_display_prop)
# MM
allow vendor_init proc_watermark_scale_factor:file w_file_perms;
# Trusty storage FS ready
get_prop(vendor_init, vendor_trusty_storage_prop)