Move modem dump log to gs-common

Bug: 240530709
Test: adb bugreport
and the following file got to dumpstate_board.bin:
extended_log_uim.txt
extended_log_os.txt
nv_normal.bin
nv_protected.bin

Change-Id: Ie6439c7487b11c564cd6c0d1266928e6b9b384ee
This commit is contained in:
Adam Shih 2023-03-02 14:15:57 +08:00
parent b5519577ea
commit 2a520ebbae
5 changed files with 52 additions and 0 deletions

View file

@ -0,0 +1,9 @@
pixel_bugreport(dump_modemlog)
userdebug_or_eng(`
allow dump_modemlog mnt_vendor_file:dir search;
allow dump_modemlog modem_efs_file:dir search;
allow dump_modemlog modem_efs_file:file r_file_perms;
allow dump_modemlog radio_vendor_data_file:dir create_dir_perms;
allow dump_modemlog radio_vendor_data_file:file create_file_perms;
')

View file

@ -1 +1,3 @@
/vendor/bin/dump/dump_modem\.sh u:object_r:dump_modem_exec:s0
/vendor/bin/dump/dump_modemlog u:object_r:dump_modemlog_exec:s0