1 /* 2 * Copyright (c) 2023-2024 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #ifndef SANDBOXMANAGER_SERVICE_IPC_INTERFACE_CODE_H 17 #define SANDBOXMANAGER_SERVICE_IPC_INTERFACE_CODE_H 18 19 namespace OHOS { 20 namespace AccessControl { 21 namespace SandboxManager { 22 /* SAID:3508*/ 23 enum class SandboxManagerInterfaceCode { 24 PERSIST_PERMISSION = 0xffb0, 25 UNPERSIST_PERMISSION, 26 SET_POLICY, 27 UNSET_POLICY, 28 SET_POLICY_ASYNC, 29 UNSET_POLICY_ASYNC, 30 CHECK_POLICY, 31 START_ACCESSING_URI, 32 STOP_ACCESSING_URI, 33 CHECK_PERSIST_PERMISSION, 34 START_ACCESSING_BY_TOKEN, 35 UNSET_ALL_POLICY_BY_TOKEN, 36 PERSIST_PERMISSION_BY_TOKENID, 37 UNPERSIST_PERMISSION_BY_TOKENID, 38 CLEAN_PERSIST_POLICY_BY_PATH, 39 }; 40 } // namespace SandboxManager 41 } // namespace AccessControl 42 } // namespace OHOS 43 44 #endif //SANDBOXMANAGER_SERVICE_IPC_INTERFACE_CODE_H