1# EuiccSupportPixel app 2 3type euiccpixel_app, domain; 4app_domain(euiccpixel_app) 5 6allow euiccpixel_app app_api_service:service_manager find; 7allow euiccpixel_app radio_service:service_manager find; 8allow euiccpixel_app nfc_service:service_manager find; 9allow euiccpixel_app sysfs_st33spi:dir search; 10allow euiccpixel_app sysfs_st33spi:file rw_file_perms; 11 12set_prop(euiccpixel_app, vendor_secure_element_prop) 13set_prop(euiccpixel_app, vendor_modem_prop) 14get_prop(euiccpixel_app, dck_prop) 15 16userdebug_or_eng(` 17 net_domain(euiccpixel_app) 18 19 # Access to directly upgrade firmware on st54spi_device used for engineering devices 20 typeattribute st54spi_device mlstrustedobject; 21 allow euiccpixel_app st54spi_device:chr_file rw_file_perms; 22 # Access to directly upgrade firmware on st33spi_device used for engineering devices 23 typeattribute st33spi_device mlstrustedobject; 24 allow euiccpixel_app st33spi_device:chr_file rw_file_perms; 25') 26 27