upload android base code part6
This commit is contained in:
parent
421e214c7d
commit
4e516ec6ed
35396 changed files with 9188716 additions and 0 deletions
13
android/system/sepolicy/public/hal_graphics_allocator.te
Normal file
13
android/system/sepolicy/public/hal_graphics_allocator.te
Normal file
|
@ -0,0 +1,13 @@
|
|||
# HwBinder IPC from client to server
|
||||
binder_call(hal_graphics_allocator_client, hal_graphics_allocator_server)
|
||||
|
||||
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;
|
||||
|
||||
# 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;
|
||||
|
||||
# allow to run with real-time scheduling policy
|
||||
allow hal_graphics_allocator self:capability sys_nice;
|
Loading…
Add table
Add a link
Reference in a new issue