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