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 /* 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 GET_TOTAL, 43 GET_FREE, 44 GET_BUNDLE_STATUS, 45 GET_SYSTEM_SIZE, 46 GET_TOTAL_SIZE, 47 GET_FREE_SIZE, 48 GET_CURR_USER_STATS, 49 GET_USER_STATS, 50 GET_CURR_BUNDLE_STATS, 51 NOTIFY_VOLUME_CREATED, 52 NOTIFY_VOLUME_MOUNTED, 53 NOTIFY_VOLUME_STATE_CHANGED, 54 MOUNT, 55 UNMOUNT, 56 GET_ALL_VOLUMES, 57 NOTIFY_DISK_CREATED, 58 NOTIFY_DISK_DESTROYED, 59 PARTITION, 60 GET_ALL_DISKS, 61 CREATE_USER_KEYS, 62 DELETE_USER_KEYS, 63 UPDATE_USER_AUTH, 64 ACTIVE_USER_KEY, 65 INACTIVE_USER_KEY, 66 UPDATE_KEY_CONTEXT, 67 GET_VOL_BY_UUID, 68 GET_VOL_BY_ID, 69 SET_VOL_DESC, 70 FORMAT, 71 GET_DISK_BY_ID, 72 CREATE_SHARE_FILE, 73 DELETE_SHARE_FILE, 74 SET_BUNDLE_QUOTA, 75 }; 76 } // namespace StorageManager 77 } // namespace OHOS 78 79 #endif // OHOS_STORAGE_MANAGER_STORAGE_MANAGER_IPC_INTERFACE_TOKEN_H