• 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 OHOS_BUNDLE_MANAGER_SERVICE_IPC_INTERFACE_CODE_H
17 #define OHOS_BUNDLE_MANAGER_SERVICE_IPC_INTERFACE_CODE_H
18 
19 #include <stdint.h>
20 
21 /* SAID: 401 */
22 namespace OHOS {
23 namespace AppExecFwk {
24 enum class BundleManagerCallbackInterfaceCode : uint32_t {
25         QUERY_RPC_ID_CALLBACK = 0,
26 };
27 
28 enum class InstalldInterfaceCode : uint32_t {
29     CREATE_BUNDLE_DIR = 1,
30     EXTRACT_MODULE_FILES,
31     RENAME_MODULE_DIR,
32     CREATE_BUNDLE_DATA_DIR,
33     CLEAN_BUNDLE_DATA_DIR,
34     REMOVE_BUNDLE_DATA_DIR,
35     REMOVE_MODULE_DATA_DIR,
36     REMOVE_DIR,
37     GET_BUNDLE_STATS,
38     SET_DIR_APL,
39     GET_BUNDLE_CACHE_PATH,
40     SCAN_DIR,
41     MOVE_FILE,
42     COPY_FILE,
43     MKDIR,
44     GET_FILE_STAT,
45     EXTRACT_DIFF_FILES,
46     APPLY_DIFF_PATCH,
47     IS_EXIST_DIR,
48     IS_DIR_EMPTY,
49     OBTAIN_QUICK_FIX_DIR,
50     COPY_FILES,
51     EXTRACT_FILES,
52     GET_NATIVE_LIBRARY_FILE_NAMES,
53     EXECUTE_AOT,
54     IS_EXIST_FILE,
55     VERIFY_CODE_SIGNATURE,
56     MOVE_FILES,
57 };
58 
59 } // namespace AppExecFwk
60 } // namespace OHOS
61 #endif // OHOS_BUNDLE_MANAGER_SERVICE_IPC_INTERFACE_CODE_H