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 SYS_INSTALLER_SA_IPC_INTERFACE_CODE_H
17 #define SYS_INSTALLER_SA_IPC_INTERFACE_CODE_H
18 
19 /* SAID: 4101 */
20 namespace OHOS {
21 namespace SysInstaller {
22 enum ModuleUpdateInterfaceCode {
23     INSTALL_MODULE_PACKAGE = 1,
24     UNINSTALL_MODULE_PACKAGE,
25     GET_MODULE_PACKAGE_INFO,
26     REPORT_MODULE_UPDATE_STATUS,
27     EXIT_MODULE_UPDATE,
28     GET_HMP_VERSION_INFO,
29     START_UPDATE_HMP_PACKAGE,
30     GET_HMP_UPDATE_RESULT
31 };
32 
33 enum SysInstallerCallbackInterfaceCode {
34     UPDATE_RESULT = 1,
35 };
36 
37 enum SysInstallerInterfaceCode {
38     SYS_INSTALLER_INIT = 1,
39     UPDATE_PACKAGE,
40     SET_UPDATE_CALLBACK,
41     GET_UPDATE_STATUS,
42     UPDATE_PARA_PACKAGE,
43     DELETE_PARA_PACKAGE,
44     DECOMPRESS_ACC_PACKAGE,
45     DELETE_ACC_PACKAGE,
46 };
47 } // namespace SysInstaller
48 } // namespace OHOS
49 #endif // SYS_INSTALLER_IMODULE_UPDATE_H
50