Ray Hsu adfda88cdf gs-common:aoc: correct aoc information in the bugreport
The aoc system node may be different for each platform. We can use
wildcard characters to replace these addresses.

To specify all addresses between 17000000 and 19000000, we could use the
wildcard character *. This would allow us to use the same code for all
platform, regardless of the specific addresses used

Test: adb bugreport && unzip bugreport*.zip &&
      check dump_aoc section in dumpstate_board.txt
Bug: 279680450
Change-Id: I1eaad3bd31e78265af6a9428064e9def501a813e
2023-04-26 10:51:44 +00:00

9 lines
320 B
Plaintext

pixel_bugreport(dump_aoc)
allow dump_aoc sysfs_aoc:dir search;
allow dump_aoc sysfs:dir r_dir_perms;
allow dump_aoc sysfs_aoc_dumpstate:file r_file_perms;
allow dump_aoc aoc_device:chr_file rw_file_perms;
allow dump_aoc vendor_shell_exec:file execute_no_trans;
allow dump_aoc vendor_toolbox_exec:file execute_no_trans;