Allow Tachyon service to binder call a shell program

Our Tachyon tests are running as shell program. We need this CL, so we can successfully run the tests without `adb root`.

Bug: 353826183
Test: All tests in `run_tachyon_tests.py` passed after disabling the stress tests (cl/653778337)
Change-Id: I7275029f5a837243c81968d5b53ffc3b00ddf9a5
Flag: EXEMPT bugfix
This commit is contained in:
feiyuchen 2024-07-19 00:48:36 +00:00 committed by Feiyu Chen
parent 21f38c7d0d
commit 5c45a3e263

View file

@ -60,3 +60,8 @@ allow edgetpu_tachyon_server privapp_data_file:file { map read};
userdebug_or_eng(`
allow edgetpu_tachyon_server shell_data_file:file { map read};
')
# For shell level testing
userdebug_or_eng(`
binder_call(edgetpu_tachyon_server, shell);
')