1 /* 2 * Copyright (c) 2023 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 INTERFACES_INNER_API_INCLUDE_EDM_IPC_INTERFACE_CODE_H 17 #define INTERFACES_INNER_API_INCLUDE_EDM_IPC_INTERFACE_CODE_H 18 19 /* SAID:1601 */ 20 namespace OHOS { 21 namespace EDM { 22 enum EdmInterfaceCode : uint32_t { 23 ADD_DEVICE_ADMIN = 1, 24 REMOVE_DEVICE_ADMIN = 2, 25 GET_PERMISSION_REQUEST = 3, 26 REMOVE_SUPER_ADMIN = 4, 27 GET_ENABLED_ADMIN = 5, 28 GET_ENT_INFO = 6, 29 SET_ENT_INFO = 7, 30 IS_SUPER_ADMIN = 8, 31 IS_ADMIN_ENABLED = 9, 32 SUBSCRIBE_MANAGED_EVENT = 10, 33 UNSUBSCRIBE_MANAGED_EVENT = 11, 34 AUTHORIZE_ADMIN = 12, 35 36 SET_DATETIME = 1001, 37 GET_DEVICE_SERIAL = 1002, 38 GET_DISPLAY_VERSION = 1003, 39 GET_DEVICE_NAME = 1004, 40 RESET_FACTORY = 1005, 41 DISALLOW_ADD_LOCAL_ACCOUNT = 1006, 42 IS_WIFI_ACTIVE = 1007, 43 GET_NETWORK_INTERFACES = 1008, 44 GET_IP_ADDRESS = 1009, 45 GET_MAC = 1010, 46 ALLOWED_INSTALL_BUNDLES = 1011, 47 DISALLOW_MODIFY_DATETIME = 1012, 48 SET_WIFI_PROFILE = 1013, 49 DISALLOW_PRINTING = 1014, 50 DISALLOW_RUNNING_BUNDLES = 1015, 51 DISABLED_NETWORK_INTERFACE = 1016, 52 DISALLOWED_INSTALL_BUNDLES = 1017, 53 SCREEN_OFF_TIME = 1018, 54 DISALLOWED_UNINSTALL_BUNDLES = 1019, 55 UNINSTALL = 1020, 56 DISABLED_PRINTER = 1021, 57 DISABLED_HDC = 1022, 58 IPTABLES_RULE = 1023, 59 SET_BROWSER_POLICIES = 1024, 60 GLOBAL_PROXY = 1025, 61 USB_READ_ONLY = 1026, 62 INSTALL_CERTIFICATE = 1027, 63 INSTALL = 1028, 64 POLICY_CODE_END = 3000, 65 }; 66 } // namespace EDM 67 } // namespace OHOS 68 #endif // INTERFACES_INNER_API_INCLUDE_EDM_IPC_INTERFACE_CODE_H