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 deviceinfoservice accesstoken_service:binder { call }; 15allow deviceinfoservice bootevent_param:file { map open read }; 16allow deviceinfoservice bootevent_samgr_param:file { map open read }; 17allow deviceinfoservice build_version_param:file { map open read }; 18allow deviceinfoservice const_allow_mock_param:file { map open read }; 19allow deviceinfoservice const_allow_param:file { map open read }; 20allow deviceinfoservice const_build_param:file { map open read }; 21allow deviceinfoservice const_display_brightness_param:file { map open read }; 22allow deviceinfoservice const_param:file { map open read }; 23allow deviceinfoservice const_postinstall_fstab_param:file { map open read }; 24allow deviceinfoservice const_postinstall_param:file { map open read }; 25allow deviceinfoservice const_product_param:file { map open read }; 26allow deviceinfoservice debug_param:file { map open read }; 27allow deviceinfoservice default_param:file { map open read }; 28allow deviceinfoservice dev_unix_socket:dir { search }; 29allow deviceinfoservice distributedsche_param:file { map open read }; 30allow deviceinfoservice hilog_param:file { map open read }; 31allow deviceinfoservice hw_sc_build_os_param:file { map open read }; 32allow deviceinfoservice hw_sc_build_param:file { map open read }; 33allow deviceinfoservice hw_sc_param:file { map open read }; 34allow deviceinfoservice init_param:file { map open read }; 35allow deviceinfoservice init_svc_param:file { map open read }; 36allow deviceinfoservice input_pointer_device_param:file { map open read }; 37allow deviceinfoservice net_param:file { map open read }; 38allow deviceinfoservice net_tcp_param:file { map open read }; 39allow deviceinfoservice ohos_boot_param:file { map open read }; 40allow deviceinfoservice ohos_param:file { map open read }; 41allow deviceinfoservice param_watcher:binder { call transfer }; 42allow deviceinfoservice persist_param:file { map open read }; 43allow deviceinfoservice persist_sys_param:file { map open read }; 44allow deviceinfoservice sa_accesstoken_manager_service:samgr_class { get }; 45allow deviceinfoservice sa_param_watcher:samgr_class { get }; 46allow deviceinfoservice sa_sysparam_device_service:samgr_class { add }; 47allow deviceinfoservice security_param:file { map open read }; 48allow deviceinfoservice startup_param:file { map open read }; 49allow deviceinfoservice sys_param:file { map open read }; 50allow deviceinfoservice system_bin_file:dir { search }; 51allow deviceinfoservice sys_usb_param:file { map open read }; 52allow deviceinfoservice tracefs:dir { search }; 53allow deviceinfoservice tracefs_trace_marker_file:file { open write }; 54allow deviceinfoservice sys_file:file { open read }; 55