Adam Shih 1a62bec194 move camera dump to gs-common
Bug: 240530709
Test: adb bugreport
Create empty files starting with the following prefix
/data/vendor/camera/profiler/session-ended-
/data/vendor/camera/profiler/high-drop-rate-
/data/vendor/camera/profiler/watchdog-
/data/vendor/camera/profiler/camera-ended-
and do adb bugreport and make sure they end up in dumpstate_board.bin

Change-Id: I2f9dfb74476af295db8a392ebf7757681404841e
2023-03-06 10:02:00 +08:00

10 lines
363 B
Plaintext

pixel_bugreport(dump_camera)
userdebug_or_eng(`
allow dump_camera vendor_camera_data_file:dir r_dir_perms;
allow dump_camera vendor_camera_data_file:file create_file_perms;
allow dump_camera radio_vendor_data_file:dir create_dir_perms;
allow dump_camera radio_vendor_data_file:file create_file_perms;
get_prop(dump_camera, vendor_camera_debug_prop)
')