1 /*
2  * Copyright (c) 2023-2024 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  /*
17  * Copyright (c) 2021 Huawei Device Co., Ltd.
18  * Licensed under the Apache License, Version 2.0 (the "License");
19  * you may not use this file except in compliance with the License.
20  * You may obtain a copy of the License at
21  *
22  *     http://www.apache.org/licenses/LICENSE-2.0
23  *
24  * Unless required by applicable law or agreed to in writing, software
25  * distributed under the License is distributed on an "AS IS" BASIS,
26  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
27  * See the License for the specific language governing permissions and
28  * limitations under the License.
29  */
30 
31 #ifndef OHOS_STORAGE_MANAGER_STORAGE_MANAGER_IPC_INTERFACE_TOKEN_H
32 #define OHOS_STORAGE_MANAGER_STORAGE_MANAGER_IPC_INTERFACE_TOKEN_H
33 
34 /* SAID:5003 */
35 namespace OHOS {
36 namespace StorageManager {
37     enum class StorageManagerInterfaceCode {
38         PREPARE_ADD_USER = 1,
39         REMOVE_USER,
40         PREPARE_START_USER,
41         STOP_USER,
42         COMPLETE_ADD_USER,
43         GET_TOTAL,
44         GET_FREE,
45         GET_BUNDLE_STATUS,
46         GET_SYSTEM_SIZE,
47         GET_TOTAL_SIZE,
48         GET_FREE_SIZE,
49         GET_CURR_USER_STATS,
50         GET_USER_STATS,
51         GET_CURR_BUNDLE_STATS,
52         NOTIFY_VOLUME_CREATED,
53         NOTIFY_VOLUME_MOUNTED,
54         NOTIFY_VOLUME_STATE_CHANGED,
55         MOUNT,
56         UNMOUNT,
57         MOUNT_DFS_DOCS,
58         UMOUNT_DFS_DOCS,
59         GET_ALL_VOLUMES,
60         NOTIFY_DISK_CREATED,
61         NOTIFY_DISK_DESTROYED,
62         PARTITION,
63         GET_ALL_DISKS,
64         CREATE_USER_KEYS,
65         DELETE_USER_KEYS,
66         UPDATE_USER_AUTH,
67         ACTIVE_USER_KEY,
68         INACTIVE_USER_KEY,
69         LOCK_USER_SCREEN,
70         UNLOCK_USER_SCREEN,
71         LOCK_SCREEN_STATUS,
72         UPDATE_KEY_CONTEXT,
73         GET_VOL_BY_UUID,
74         GET_VOL_BY_ID,
75         SET_VOL_DESC,
76         FORMAT,
77         GET_DISK_BY_ID,
78         CREATE_SHARE_FILE,
79         DELETE_SHARE_FILE,
80         SET_BUNDLE_QUOTA,
81         GET_USER_STATS_BY_TYPE,
82         UPDATE_MEM_PARA,
83         GET_BUNDLE_STATS_INCREASE,
84         GENERATE_APP_KEY,
85         DELETE_APP_KEY,
86         GET_FILE_ENCRYPT_STATUS,
87     };
88 } // namespace StorageManager
89 } // namespace OHOS
90 
91 #endif // OHOS_STORAGE_MANAGER_STORAGE_MANAGER_IPC_INTERFACE_TOKEN_H