John Stultz | 1b1a81a | 2021-07-27 05:38:32 +0000 | [diff] [blame^] | 1 | vndbinder_use(hal_camera_default); |
| 2 | |
| 3 | allow hal_camera_default hal_graphics_mapper_hwservice:hwservice_manager find; |
| 4 | hal_client_domain(hal_camera_default, hal_graphics_allocator); |
| 5 | hal_client_domain(hal_camera_default, hal_graphics_composer); |
| 6 | |
| 7 | # for external camera |
| 8 | allow cameraserver device:dir r_dir_perms; |
| 9 | allow cameraserver video_device:dir r_dir_perms; |
| 10 | allow cameraserver video_device:chr_file rw_file_perms; |
| 11 | |
| 12 | allow hal_camera_default gpu_device:chr_file { open read write ioctl map getattr }; |
| 13 | allow hal_camera_default dri_device:dir { open read search }; |
| 14 | allow cameraserver dri_device:dir { open read write search getattr }; |
| 15 | allow cameraserver gpu_device:chr_file { open read write ioctl map getattr }; |