allow hal_power_stats_default sysfs_scsi_devices_0000:dir r_dir_perms;
allow hal_power_stats_default sysfs_scsi_devices_0000:file r_file_perms;

# getStats AIDL callback to each power entry
binder_call(hal_power_stats_default, hal_bluetooth_btlinux)

r_dir_file(hal_power_stats_default, sysfs_iio_devices)
allow hal_power_stats_default powerstats_vendor_data_file:dir search;
allow hal_power_stats_default powerstats_vendor_data_file:file r_file_perms;
allow hal_power_stats_default sysfs_odpm:dir search;
allow hal_power_stats_default sysfs_odpm:file rw_file_perms;

allow hal_power_stats_default sysfs_edgetpu:dir search;
allow hal_power_stats_default sysfs_edgetpu:file r_file_perms;

binder_call(hal_power_stats_default, citadeld)
r_dir_file(hal_power_stats_default, sysfs_aoc)
r_dir_file(hal_power_stats_default, sysfs_aoc_dumpstate)
r_dir_file(hal_power_stats_default, sysfs_cpu)
r_dir_file(hal_power_stats_default, sysfs_display)
r_dir_file(hal_power_stats_default, sysfs_leds)
r_dir_file(hal_power_stats_default, sysfs_acpm_stats)
r_dir_file(hal_power_stats_default, sysfs_wifi)
r_dir_file(hal_power_stats_default, sysfs_backlight)
r_dir_file(hal_power_stats_default, sysfs_scsi_devices_0000)
