Merge cherrypicks of ['android-review.googlesource.com/3135695'] into 24Q3-release.

Change-Id: Ic82580040f528ffde6c12287c43ba0d794adb867
diff --git a/private/shell.te b/private/shell.te
index 263db8c..e421ec6 100644
--- a/private/shell.te
+++ b/private/shell.te
@@ -436,6 +436,9 @@
   allowxperm shell vmlauncher_app_devpts:chr_file ioctl unpriv_tty_ioctls;
 ')
 
+# Allow CTS to check whether AVF debug policy is installed
+allow shell { proc_dt_avf sysfs_dt_avf }:dir search;
+
 # Allow access to ion memory allocation device.
 allow shell ion_device:chr_file rw_file_perms;