• 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 #include <string>
20 #include "iremote_broker.h"
21 
22 /* SAID:5002 */
23 namespace OHOS {
24 namespace StorageDaemon {
25     enum class StorageDaemonInterfaceCode {
26         SHUTDOWN = 1,
27 
28         MOUNT,
29         UMOUNT,
30         CHECK,
31         FORMAT,
32         PARTITION,
33         SET_VOL_DESC,
34 
35         PREPARE_USER_DIRS,
36         DESTROY_USER_DIRS,
37         START_USER,
38         STOP_USER,
39 
40         INIT_GLOBAL_KEY,
41         INIT_GLOBAL_USER_KEYS,
42         CREATE_USER_KEYS,
43         DELETE_USER_KEYS,
44         UPDATE_USER_AUTH,
45         ACTIVE_USER_KEY,
46         INACTIVE_USER_KEY,
47         UPDATE_KEY_CONTEXT,
48         CREATE_SHARE_FILE,
49         DELETE_SHARE_FILE,
50 
51         SET_BUNDLE_QUOTA,
52     };
53 } // namespace StorageDaemon
54 } // namespace OHOS
55 
56 #endif // OHOS_STORAGE_DAEMON_STORAGE_DAEMON_IPC_INTERFACE_CODE_H
57