• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1type virtual_touchpad, domain;
2type virtual_touchpad_exec, system_file_type, exec_type, file_type;
3
4binder_use(virtual_touchpad)
5binder_service(virtual_touchpad)
6add_service(virtual_touchpad, virtual_touchpad_service)
7
8# Needed to check app permissions.
9binder_call(virtual_touchpad, system_server)
10
11# Requires access to /dev/uinput to create and feed the virtual device.
12allow virtual_touchpad uhid_device:chr_file { w_file_perms ioctl };
13
14# Requires access to the permission service to validate that clients have the
15# appropriate VR permissions.
16allow virtual_touchpad permission_service:service_manager find;
17