Merge "Add System Property to Specify NTN Demo Mode Enabled" into main

This commit is contained in:
Megha Patil 2024-01-23 10:35:10 +00:00 committed by Android (Google) Code Review
commit 3b48faef9c
5 changed files with 5 additions and 0 deletions

View file

@ -1,5 +1,6 @@
set_prop(radio, telephony_ril_prop)
set_prop(radio, telephony_modemtype_prop)
get_prop(radio, telephony_ntn_demo_mode_prop)
allow radio radio_vendor_data_file:dir rw_dir_perms;
allow radio radio_vendor_data_file:file create_file_perms;

View file

@ -8,6 +8,7 @@ get_prop(rild, system_boot_reason_prop)
set_prop(rild, telephony_ril_prop)
set_prop(rild, telephony_modemtype_prop)
get_prop(rild, telephony_ntn_demo_mode_prop)
allow rild proc_net:file rw_file_perms;
allow rild radio_vendor_data_file:dir create_dir_perms;

View file

@ -5,3 +5,4 @@ allow pixelntnservice_app app_api_service:service_manager find;
allow pixelntnservice_app radio_service:service_manager find;
set_prop(pixelntnservice_app, telephony_modem_prop)
get_prop(pixelntnservice_app, telephony_modemtype_prop)
set_prop(pixelntnservice_app, telephony_ntn_demo_mode_prop)

View file

@ -2,3 +2,4 @@
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
telephony.ril.ntn_demo_mode u:object_r:telephony_ntn_demo_mode_prop:s0 exact bool

View file

@ -2,6 +2,7 @@
system_public_prop(telephony_ril_prop)
system_restricted_prop(telephony_modem_prop)
system_public_prop(telephony_modemtype_prop)
system_restricted_prop(telephony_ntn_demo_mode_prop)
userdebug_or_eng(`
set_prop(shell, telephony_ril_prop)