1 /* 2 * Copyright (c) 2025 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_MEDIA_REFRESH_BUSINESS_NAME_H 17 #define OHOS_MEDIA_REFRESH_BUSINESS_NAME_H 18 19 #include <string> 20 #include "parcel.h" 21 22 namespace OHOS { 23 namespace Media::AccurateRefresh { 24 25 static const std::string CLONE_SINGLE_ASSET_BUSSINESS_NAME = "CloneSingleAsset"; 26 27 static const std::string CONVERT_FORMAT_ASSET_BUSSINESS_NAME = "ConvertFormatAsset"; 28 29 static const std::string CREATE_PHOTO_TABLE_BUSSINESS_NAME = "CreatePhotoAlbum"; 30 31 static const std::string DELETE_PHOTO_ALBUMS_BUSSINESS_NAME = "DeletePhotoAlbums"; 32 33 static const std::string RENAME_USER_ALBUM_BUSSINESS_NAME = "RenameUserAlbum"; 34 35 static const std::string UPDATE_PHOTO_ALBUM_BUSSINESS_NAME = "UpdatePhotoAlbum"; 36 37 static const std::string RECOVER_ASSETS_BUSSINESS_NAME = "RecoverAssets"; 38 39 static const std::string DELETE_PHOTOS_BUSSINESS_NAME = "DeletePhotos"; 40 41 static const std::string DELETE_PERMANENTLY_BUSSINESS_NAME = "DeletePermanently"; 42 43 static const std::string TRASH_PHOTOS_BUSSINESS_NAME = "TrashPhotos"; 44 45 static const std::string SAVE_CAMERA_PHOTO_BUSSINESS_NAME = "SaveCameraPhoto"; 46 47 static const std::string HIDE_PHOTOS_BUSSINESS_NAME = "HidePhotos"; 48 49 static const std::string SET_ASSETS_FAVORITE_BUSSINESS_NAME = "SetAssetsFavorite"; 50 51 static const std::string SET_ASSETS_USER_COMMENT_BUSSINESS_NAME = "SetAssetsUserComment"; 52 53 static const std::string UPDATE_SYSTEM_ASSET_BUSSINESS_NAME = "UpdateSystemAsset"; 54 55 static const std::string MOVE_ASSETS_BUSSINESS_NAME = "MoveAssets"; 56 57 static const std::string UPDATE_FILE_ASSTE_BUSSINESS_NAME = "UpdateFileAsset"; 58 59 static const std::string UPDATE_OWNER_ALBUMID_BUSSINESS_NAME = "UpdateOwnerAlbumId"; 60 61 static const std::string DELETE_PTP_ALBUM_BUSSINESS_NAME = "DeletePtpAlbum"; 62 63 static const std::string COMMIT_EDITE_ASSET_BUSSINESS_NAME = "commitEditedAsset"; 64 65 static const std::string UPDATE_TRASHED_ASSETONALBUM_BUSSINESS_NAME = "UpdateTrashedAssetOnAlbum"; 66 67 static const std::string CUSTOM_RESTORE_BUSSINESS_NAME = "CustomRestore"; 68 69 static const std::string REMOTE_ASSETS_BUSSINESS_NAME = "RemoveAssets"; 70 71 static const std::string SUBMIT_CLOUD_ENHANCEMENT_TASKS_BUSSINESS_NAME = "SubmitCloudEnhancementTasks"; 72 73 static const std::string CANCELALL_CLOUDE_ENHANCEMENT_BUSSINESS_NAME = "CancelAllCloudEnhancementTasks"; 74 75 static const std::string DEAL_WITH_SUCCESSED_BUSSINESS_NAME = "DealWithSuccessedTask"; 76 77 static const std::string DEAL_WITH_FAILED_BUSSINESS_NAME = "DealWithFailedTask"; 78 79 static const std::string SCAN_FILE_BUSSINESS_NAME = "ScanFile"; 80 81 static const std::string THUMBNAIL_GENERATION_BUSSINESS_NAME = "ThumbnailGeneration"; 82 83 static const std::string UPDATE_POSITION_BUSSINESS_NAME = "UpdatePosition"; 84 85 static const std::string ORDER_SINGLE_ALBUM_BUSSINESS_NAME = "OrderSingleAlbum"; 86 87 static const std::string GET_ASSETS_BUSSINESS_NAME = "getAssets"; 88 89 static const std::string DEAL_ALBUMS_BUSSINESS_NAME = "getAlbums"; 90 91 static const std::string DELETE_PHOTOS_COMPLETED_BUSSINESS_NAME = "DeletePhotosCompleted"; 92 93 } // namespace Media 94 } // namespace OHOS 95 96 #endif