Add a new property to track the current Binary
new propert to mirror the current binary Bug: b/311102904 Test: Test the Enable Satellite Api Change-Id: I0e207e8e9c48b0b081fb76a252649e7e0dc07210
This commit is contained in:
parent
fac134469c
commit
48735bb478
7 changed files with 7 additions and 0 deletions
|
@ -6,6 +6,7 @@ set_prop(cbd, vendor_modem_prop)
|
|||
set_prop(cbd, vendor_cbd_prop)
|
||||
set_prop(cbd, vendor_rild_prop)
|
||||
get_prop(cbd, telephony_modem_prop)
|
||||
set_prop(cbd, telephony_modemtype_prop)
|
||||
|
||||
allow cbd mnt_vendor_file:dir r_dir_perms;
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
set_prop(radio, telephony_ril_prop)
|
||||
set_prop(radio, telephony_modemtype_prop)
|
||||
|
||||
allow radio radio_vendor_data_file:dir rw_dir_perms;
|
||||
allow radio radio_vendor_data_file:file create_file_perms;
|
||||
|
|
|
@ -7,6 +7,7 @@ get_prop(rild, sota_prop)
|
|||
get_prop(rild, system_boot_reason_prop)
|
||||
|
||||
set_prop(rild, telephony_ril_prop)
|
||||
set_prop(radio, telephony_modemtype_prop)
|
||||
|
||||
allow rild proc_net:file rw_file_perms;
|
||||
allow rild radio_vendor_data_file:dir create_dir_perms;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
set_prop(vendor_init, vendor_cbd_prop)
|
||||
get_prop(vendor_init, telephony_modem_prop)
|
||||
set_prop(vendor_init, telephony_modemtype_prop)
|
||||
set_prop(vendor_init, vendor_carrier_prop)
|
||||
set_prop(vendor_init, vendor_modem_prop)
|
||||
set_prop(vendor_init, vendor_rild_prop)
|
||||
|
|
|
@ -3,3 +3,4 @@ typeattribute pixelntnservice_app coredomain;
|
|||
app_domain(pixelntnservice_app);
|
||||
allow pixelntnservice_app app_api_service:service_manager find;
|
||||
set_prop(pixelntnservice_app, telephony_modem_prop)
|
||||
get_prop(pixelntnservice_app, telephony_modemtype_prop)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# Telephony
|
||||
telephony.TnNtn.image_switch u:object_r:telephony_modem_prop:s0 exact enum ntn tn
|
||||
telephony.ril.modem_bin_status u:object_r:telephony_modemtype_prop:s0 exact uint
|
||||
telephony.ril.silent_reset u:object_r:telephony_ril_prop:s0 exact bool
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# Telephony
|
||||
system_public_prop(telephony_ril_prop)
|
||||
system_restricted_prop(telephony_modem_prop)
|
||||
system_public_prop(telephony_modemtype_prop)
|
||||
|
||||
userdebug_or_eng(`
|
||||
set_prop(shell, telephony_ril_prop)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue