hal_mlipay.te 1.0 KB

123456789101112131415161718192021222324
  1. type hal_mlipay_default, domain;
  2. type hal_mlipay_default_exec, exec_type, file_type, vendor_file_type;
  3. type hal_mlipay_hwservice, hwservice_manager_type;
  4. hal_attribute(mlipay)
  5. init_daemon_domain(hal_mlipay_default)
  6. hwbinder_use(hal_mlipay_default)
  7. binder_call(hal_mlipay_client, hal_mlipay_server)
  8. binder_call(hal_mlipay_server, hal_mlipay_client)
  9. add_hwservice(hal_mlipay_server, hal_mlipay_hwservice)
  10. hal_server_domain(hal_mlipay_default, hal_mlipay)
  11. allow hal_mlipay_default tee_device:chr_file rw_file_perms;
  12. allow hal_mlipay_default firmware_file:dir r_dir_perms;
  13. allow hal_mlipay_default firmware_file:file r_file_perms;
  14. allow hal_mlipay_default ion_device:chr_file rw_file_perms;
  15. allow hal_mlipay_default vendor_dmabuf_qseecom_heap_device:chr_file { ioctl open read };
  16. allow hal_mlipay_default vendor_dmabuf_qseecom_ta_heap_device:chr_file { ioctl open read };
  17. get_prop(hal_mlipay_default, vendor_fp_prop)
  18. get_prop(hal_mlipay_default, vendor_system_prop)
  19. set_prop(hal_mlipay_default, vendor_payment_security_prop)