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 INIT_GLOBAL_KEY, 38 INIT_GLOBAL_USER_KEYS, 39 CREATE_USER_KEYS, 40 DELETE_USER_KEYS, 41 UPDATE_USER_AUTH, 42 ACTIVE_USER_KEY, 43 INACTIVE_USER_KEY, 44 UPDATE_KEY_CONTEXT, 45 MOUNT_CRYPTO_PATH_AGAIN, 46 CREATE_SHARE_FILE, 47 DELETE_SHARE_FILE, 48 LOCK_USER_SCREEN, 49 UNLOCK_USER_SCREEN, 50 LOCK_SCREEN_STATUS, 51 SET_BUNDLE_QUOTA, 52 GET_SPACE, 53 UPDATE_MEM_PARA, 54 }; 55 } // namespace StorageDaemon 56 } // namespace OHOS 57 58 #endif // OHOS_STORAGE_DAEMON_STORAGE_DAEMON_IPC_INTERFACE_CODE_H 59