device_google_gs101/whitechapel/vendor/google/radio.te
Samuel Huang 68893eb7e3 Create telephony.ril.silent_reset system_ext property for RILD restart
RILD listens for changes to this property. If the value changes to 1,
RILD will restart itself and set this property back to 0.

The TelephonyGoogle app will set this property to 1 when it receives a
request from the SCONE app. Since TelephonyGoogle runs in the
com.android.phone process, we also need to give the radio domain
permission to set the telephony.ril.silent_reset property.

Bug: 286476107
Test: manual
Change-Id: I9f41aab747c075dd3a20d66f011e10ffee5a7608
2023-06-29 01:47:32 +00:00

9 lines
372 B
Text

set_prop(radio, telephony_ril_prop)
allow radio hal_exynos_rild_hwservice:hwservice_manager find;
allow radio proc_vendor_sched:dir r_dir_perms;
allow radio proc_vendor_sched:file w_file_perms;
# Allow telephony to access file descriptor of the QOS socket
# so it can make sure the QOS is meant for the intended addresses
allow radio priv_app:tcp_socket { read write };