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 MOUNT, 28 UMOUNT, 29 CHECK, 30 FORMAT, 31 PARTITION, 32 SET_VOL_DESC, 33 PREPARE_USER_DIRS, 34 DESTROY_USER_DIRS, 35 START_USER, 36 STOP_USER, 37 COMPLETE_ADD_USER, 38 INIT_GLOBAL_KEY, 39 INIT_GLOBAL_USER_KEYS, 40 CREATE_USER_KEYS, 41 DELETE_USER_KEYS, 42 UPDATE_USER_AUTH, 43 ACTIVE_USER_KEY, 44 INACTIVE_USER_KEY, 45 UPDATE_KEY_CONTEXT, 46 MOUNT_CRYPTO_PATH_AGAIN, 47 CREATE_SHARE_FILE, 48 DELETE_SHARE_FILE, 49 LOCK_USER_SCREEN, 50 UNLOCK_USER_SCREEN, 51 LOCK_SCREEN_STATUS, 52 SET_BUNDLE_QUOTA, 53 GET_SPACE, 54 UPDATE_MEM_PARA, 55 GET_BUNDLE_STATS_INCREASE, 56 GENERATE_APP_KEY, 57 DELETE_APP_KEY, 58 MOUNT_DFS_DOCS, 59 UMOUNT_DFS_DOCS, 60 GET_FILE_ENCRYPT_STATUS, 61 }; 62 } // namespace StorageDaemon 63 } // namespace OHOS 64 65 #endif // OHOS_STORAGE_DAEMON_STORAGE_DAEMON_IPC_INTERFACE_CODE_H 66