2013-12-11 12:17:53 -08:00
|
|
|
# bootanimation oneshot service
|
2015-12-02 13:29:20 -08:00
|
|
|
type bootanim, domain;
|
2018-09-27 10:21:37 -07:00
|
|
|
type bootanim_exec, system_file_type, exec_type, file_type;
|
2013-12-11 12:17:53 -08:00
|
|
|
|
2017-09-26 12:58:29 -07:00
|
|
|
hal_client_domain(bootanim, hal_configstore)
|
2017-03-22 09:16:49 -07:00
|
|
|
hal_client_domain(bootanim, hal_graphics_allocator)
|
|
|
|
hal_client_domain(bootanim, hal_graphics_composer)
|
|
|
|
|
2013-12-11 12:17:53 -08:00
|
|
|
binder_use(bootanim)
|
|
|
|
binder_call(bootanim, surfaceflinger)
|
2016-06-29 14:14:34 -07:00
|
|
|
binder_call(bootanim, audioserver)
|
2013-12-11 12:17:53 -08:00
|
|
|
|
2017-02-15 04:38:33 -08:00
|
|
|
hwbinder_use(bootanim)
|
|
|
|
|
2013-12-11 12:17:53 -08:00
|
|
|
allow bootanim gpu_device:chr_file rw_file_perms;
|
2014-07-14 23:31:31 -07:00
|
|
|
|
|
|
|
# /oem access
|
|
|
|
allow bootanim oemfs:dir search;
|
2014-09-22 13:03:52 -07:00
|
|
|
allow bootanim oemfs:file r_file_perms;
|
2014-07-25 15:19:47 -07:00
|
|
|
|
2014-09-29 06:18:19 -07:00
|
|
|
allow bootanim audio_device:dir r_dir_perms;
|
|
|
|
allow bootanim audio_device:chr_file rw_file_perms;
|
2014-10-06 11:56:31 -07:00
|
|
|
|
2016-06-29 14:14:34 -07:00
|
|
|
allow bootanim audioserver_service:service_manager find;
|
2014-12-11 16:01:27 -08:00
|
|
|
allow bootanim surfaceflinger_service:service_manager find;
|
2015-12-02 13:29:20 -08:00
|
|
|
|
|
|
|
# Allow access to ion memory allocation device
|
|
|
|
allow bootanim ion_device:chr_file rw_file_perms;
|
2016-11-13 18:22:31 -08:00
|
|
|
allow bootanim hal_graphics_allocator:fd use;
|
2015-12-02 13:29:20 -08:00
|
|
|
|
2016-10-17 19:58:22 -07:00
|
|
|
# Fences
|
|
|
|
allow bootanim hal_graphics_composer:fd use;
|
|
|
|
|
2015-12-02 13:29:20 -08:00
|
|
|
# Read access to pseudo filesystems.
|
2016-03-31 14:11:50 -07:00
|
|
|
allow bootanim proc_meminfo:file r_file_perms;
|
2015-12-02 13:29:20 -08:00
|
|
|
|
|
|
|
# System file accesses.
|
|
|
|
allow bootanim system_file:dir r_dir_perms;
|
2017-08-14 14:25:10 -07:00
|
|
|
|
|
|
|
# Read ro.boot.bootreason b/30654343
|
|
|
|
get_prop(bootanim, bootloader_boot_reason_prop)
|
|
|
|
|