• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2024 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
14developer_only(`
15    allow test_server sa_test_server:samgr_class { add };
16    allow test_server hilog_param:file { read open };
17    allow test_server samgr:binder { call };
18    allow test_server uitest:binder { call };
19    allow test_server dev_unix_socket:dir { search };
20    allow test_server aa:binder { call };
21
22    allow test_server pasteboard_service:binder { call };
23    allow test_server sa_pasteboard_service:samgr_class { get };
24
25    allow test_server sa_foundation_cesfwk_service:samgr_class { get };
26    allow test_server foundation:binder {call transfer};
27')
28
29debug_only(`
30    allow test_server sa_test_server:samgr_class { add };
31    allow test_server hilog_param:file { read open };
32    allow test_server samgr:binder { call };
33    allow test_server uitest:binder { call };
34    allow test_server dev_unix_socket:dir { search };
35    allow test_server aa:binder { call };
36
37    allow test_server pasteboard_service:binder { call };
38    allow test_server sa_pasteboard_service:samgr_class { get };
39
40    allow test_server sa_foundation_cesfwk_service:samgr_class { get };
41    allow test_server foundation:binder {call transfer};
42')
43