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 foundation audio_server:binder { call transfer };
15allow foundation camera_service:binder { call transfer };
16allow foundation drm_service:binder { call transfer };
17allow foundation persist_param:parameter_service set;
18allow foundation riladapter_host:binder { call transfer };
19allow foundation sa_audio_policy_service:samgr_class get;
20allow foundation sa_camera_service:samgr_class get;
21allow foundation sa_drm_service:samgr_class get;
22allow foundation sa_device_usage_statistics_service:samgr_class get;
23allow foundation sa_foundation_tel_call_manager:samgr_class { add get };
24allow foundation sa_foundation_tel_state_registry:samgr_class { add get };
25allow foundation sa_pulseaudio_audio_service:samgr_class get;
26allow foundation sa_telephony_tel_cellular_call:samgr_class get;
27allow foundation sa_telephony_tel_cellular_data:samgr_class get;
28allow foundation sa_telephony_tel_core_service:samgr_class get;
29allow foundation sa_telephony_tel_sms_mms:samgr_class get;
30allow foundation telephony_sa:dir search;
31allow foundation telephony_sa:file { open read getattr };
32allow foundation data_data_file:dir { search };
33allow foundation data_data_pulse_dir:dir { getattr open read search };
34allow foundation data_data_pulse_dir:file { lock open read write };
35allow foundation native_socket:sock_file { write };
36allow foundation audio_server:unix_stream_socket { connectto };
37allow foundation sa_miscdevice_service:samgr_class { get };
38