Haoxiang Li | 741b9cd | 2019-11-13 11:25:55 -0800 | [diff] [blame^] | 1 | # Display service for Automotive |
| 2 | type automotive_display, domain, coredomain; |
| 3 | type automotive_display_exec, system_file_type, exec_type, file_type; |
| 4 | |
| 5 | init_daemon_domain(automotive_display) |
| 6 | |
| 7 | # Allow to use Binder IPC for SurfaceFlinger. |
| 8 | binder_use(automotive_display) |
| 9 | |
| 10 | # Allow to use HwBinder IPC for HAL implementations. |
| 11 | hwbinder_use(automotive_display) |
| 12 | |
| 13 | # Allow to read the target property. |
| 14 | get_prop(automotive_display, hwservicemanager_prop) |
| 15 | |
| 16 | # Allow to find SurfaceFlinger. |
| 17 | allow automotive_display surfaceflinger_service:service_manager find; |
| 18 | |
| 19 | # Allow client domain to do binder IPC to serverdomain. |
| 20 | binder_call(automotive_display, surfaceflinger) |