• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 };
29 
30 enum SysInstallerCallbackInterfaceCode {
31     UPDATE_RESULT = 1,
32 };
33 
34 enum SysInstallerInterfaceCode {
35     SYS_INSTALLER_INIT = 1,
36     UPDATE_PACKAGE,
37     SET_UPDATE_CALLBACK,
38     GET_UPDATE_STATUS,
39     UPDATE_PARA_PACKAGE,
40     DELETE_PARA_PACKAGE,
41 };
42 } // namespace SysInstaller
43 } // namespace OHOS
44 #endif // SYS_INSTALLER_IMODULE_UPDATE_H
45