# Copyright (c) 2024 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. developer_only(` allow test_server sa_test_server:samgr_class { add }; allow test_server hilog_param:file { read open }; allow test_server samgr:binder { call }; allow test_server uitest:binder { call }; allow test_server dev_unix_socket:dir { search }; allow test_server aa:binder { call }; allow test_server pasteboard_service:binder { call }; allow test_server sa_pasteboard_service:samgr_class { get }; allow test_server sa_foundation_cesfwk_service:samgr_class { get }; allow test_server foundation:binder {call transfer}; ') debug_only(` allow test_server sa_test_server:samgr_class { add }; allow test_server hilog_param:file { read open }; allow test_server samgr:binder { call }; allow test_server uitest:binder { call }; allow test_server dev_unix_socket:dir { search }; allow test_server aa:binder { call }; allow test_server pasteboard_service:binder { call }; allow test_server sa_pasteboard_service:samgr_class { get }; allow test_server sa_foundation_cesfwk_service:samgr_class { get }; allow test_server foundation:binder {call transfer}; ')