1# Copyright (c) 2022 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14allow mmi_uinput_service accessibility_param:file { map open read };
15allow mmi_uinput_service bootevent_param:file { map open read };
16allow mmi_uinput_service bootevent_samgr_param:file { map open read };
17allow mmi_uinput_service build_version_param:file { map open read };
18allow mmi_uinput_service const_allow_mock_param:file { map open read };
19allow mmi_uinput_service const_allow_param:file { map open read };
20allow mmi_uinput_service const_build_param:file { map open read };
21allow mmi_uinput_service const_display_brightness_param:file { map open read };
22allow mmi_uinput_service const_param:file { map open read };
23allow mmi_uinput_service const_postinstall_fstab_param:file { map open read };
24allow mmi_uinput_service const_postinstall_param:file { map open read };
25allow mmi_uinput_service const_product_param:file { map open read };
26allow mmi_uinput_service debug_param:file { map open read };
27allow mmi_uinput_service default_param:file { map open read };
28allow mmi_uinput_service dev_hdf_input:chr_file { getattr ioctl open read write };
29allow mmi_uinput_service dev_uinput:chr_file { ioctl open write };
30allow mmi_uinput_service dev_unix_socket:dir { search };
31allow mmi_uinput_service distributedsche_param:file { map open read };
32allow mmi_uinput_service hdf_devmgr:binder { call };
33allow mmi_uinput_service hdf_input_interfaces_service:hdf_devmgr_class { get };
34allow mmi_uinput_service hilog_param:file { map open read };
35allow mmi_uinput_service hw_sc_build_os_param:file { map open read };
36allow mmi_uinput_service hw_sc_build_param:file { map open read };
37allow mmi_uinput_service hw_sc_param:file { map open read };
38allow mmi_uinput_service init_param:file { map open read };
39allow mmi_uinput_service init_svc_param:file { map open read };
40allow mmi_uinput_service input_pointer_device_param:file { map open read };
41allow mmi_uinput_service input_user_host:binder { call transfer };
42allow mmi_uinput_service net_param:file { map open read };
43allow mmi_uinput_service net_tcp_param:file { map open read };
44allow mmi_uinput_service ohos_boot_param:file { map open read };
45allow mmi_uinput_service ohos_param:file { map open read };
46allow mmi_uinput_service persist_param:file { map open read };
47allow mmi_uinput_service persist_sys_param:file { map open read };
48allow mmi_uinput_service sa_device_service_manager:samgr_class { get };
49allow mmi_uinput_service security_param:file { map open read };
50allow mmi_uinput_service startup_param:file { map open read };
51allow mmi_uinput_service sys_param:file { map open read };
52allow mmi_uinput_service system_bin_file:dir { search };
53allow mmi_uinput_service sys_usb_param:file { map open read };
54allow mmi_uinput_service uinput_inject_exec:file { entrypoint execute map read };
55allow mmi_uinput_service sysfs_devices_system_cpu:file { open read getattr };
56allowxperm mmi_uinput_service dev_hdf_input:chr_file ioctl { 0x6201 0x6202 0x6203 };
57allowxperm mmi_uinput_service dev_uinput:chr_file ioctl { 0x5501 0x5564 0x5565 0x5567 0x556e };
58