2017-03-20 23:02:20 +01:00
|
|
|
# HwBinder IPC from client to server
|
|
|
|
binder_call(hal_graphics_allocator_client, hal_graphics_allocator_server)
|
|
|
|
|
2017-04-14 04:05:27 +02:00
|
|
|
add_hwservice(hal_graphics_allocator_server, hal_graphics_allocator_hwservice)
|
|
|
|
allow hal_graphics_allocator_client hal_graphics_allocator_hwservice:hwservice_manager find;
|
|
|
|
allow hal_graphics_allocator_client hal_graphics_mapper_hwservice:hwservice_manager find;
|
|
|
|
|
2016-10-12 15:38:00 +02:00
|
|
|
# GPU device access
|
|
|
|
allow hal_graphics_allocator gpu_device:chr_file rw_file_perms;
|
|
|
|
allow hal_graphics_allocator ion_device:chr_file r_file_perms;
|
2017-05-09 18:53:46 +02:00
|
|
|
|
|
|
|
# allow to run with real-time scheduling policy
|
|
|
|
allow hal_graphics_allocator self:capability sys_nice;
|