• 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_STORAGE_DAEMON_STORAGE_DAEMON_IPC_INTERFACE_CODE_H
17 #define OHOS_STORAGE_DAEMON_STORAGE_DAEMON_IPC_INTERFACE_CODE_H
18 
19 /* SAID:5002 */
20 namespace OHOS {
21 namespace StorageDaemon {
22     enum class StorageDaemonInterfaceCode {
23         SHUTDOWN = 1,
24         MOUNT,
25         UMOUNT,
26         CHECK,
27         FORMAT,
28         PARTITION,
29         SET_VOL_DESC,
30         PREPARE_USER_DIRS,
31         DESTROY_USER_DIRS,
32         START_USER,
33         STOP_USER,
34         COMPLETE_ADD_USER,
35         INIT_GLOBAL_KEY,
36         INIT_GLOBAL_USER_KEYS,
37         CREATE_USER_KEYS,
38         DELETE_USER_KEYS,
39         UPDATE_USER_AUTH,
40         UPDATE_USER_AUTH_RECOVER_KEY,
41         ACTIVE_USER_KEY,
42         INACTIVE_USER_KEY,
43         UPDATE_KEY_CONTEXT,
44         MOUNT_CRYPTO_PATH_AGAIN,
45         CREATE_SHARE_FILE,
46         DELETE_SHARE_FILE,
47         LOCK_USER_SCREEN,
48         UNLOCK_USER_SCREEN,
49         LOCK_SCREEN_STATUS,
50         SET_BUNDLE_QUOTA,
51         GET_SPACE,
52         UPDATE_MEM_PARA,
53         GET_BUNDLE_STATS_INCREASE,
54         GENERATE_APP_KEY,
55         DELETE_APP_KEY,
56         MOUNT_DFS_DOCS,
57         UMOUNT_DFS_DOCS,
58         GET_FILE_ENCRYPT_STATUS,
59         CREATE_RECOVER_KEY,
60         SET_RECOVER_KEY,
61         MOUNT_MEDIA_FUSE,
62         UMOUNT_MEDIA_FUSE,
63         GET_USER_NEED_ACTIVE_STATUS,
64         MOUNT_FILE_MGR_FUSE,
65         UMOUNT_FILE_MGR_FUSE,
66     };
67 } // namespace StorageDaemon
68 } // namespace OHOS
69 
70 #endif // OHOS_STORAGE_DAEMON_STORAGE_DAEMON_IPC_INTERFACE_CODE_H
71