• 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_FILEMANAGEMENT_USERFILEMGR_URI_H
17 #define OHOS_FILEMANAGEMENT_USERFILEMGR_URI_H
18 
19 #include <string>
20 
21 namespace OHOS {
22 namespace Media {
23 const std::string MEDIALIBRARY_DATA_URI = "datashare:///media";
24 const std::string MEDIA_OPERN_KEYWORD = "operation";
25 const std::string MEDIA_QUERYOPRN = "query_operation";
26 const std::string OPRN_CREATE = "create";
27 const std::string OPRN_CREATE_COMPONENT = "create_component";
28 const std::string OPRN_CLOSE = "close";
29 const std::string OPRN_DELETE = "delete";
30 const std::string OPRN_QUERY = "query";
31 const std::string OPRN_UPDATE = "update";
32 const std::string OPRN_TRASH = "trash";
33 const std::string OPRN_PENDING = "update_pending";
34 const std::string OPRN_SCAN = "scan";
35 const std::string OPRN_INDEX = "index";
36 const std::string OPRN_HIDE = "hide";
37 const std::string OPRN_BATCH_UPDATE_FAV = "batch_update_favorite";
38 const std::string OPRN_BATCH_UPDATE_USER_COMMENT = "batch_update_user_comment";
39 const std::string OPRN_QUERY_HIDDEN = "query_hidden";
40 const std::string OPRN_STORE_FORM_ID = "store_form_id";
41 const std::string OPRN_REMOVE_FORM_ID = "remove_form_id";
42 const std::string OPRN_ALBUM_ADD_PHOTOS = "add_photos";
43 const std::string OPRN_ALBUM_REMOVE_PHOTOS = "remove_photos";
44 const std::string OPRN_RECOVER_PHOTOS = "recover_photos";
45 const std::string OPRN_DELETE_PHOTOS = "delete_photos_permanently";   // Delete photos permanently from system
46 // Delete non-trashed photos directly from system for api9 MediaLibrary.delete compatibility
47 const std::string OPRN_COMPAT_DELETE_PHOTOS = "compat_delete_photos_permanently";
48 const std::string OPRN_DELETE_BY_TOOL = "delete_by_tool";
49 const std::string OPRN_SET_USER_COMMENT = "set_user_comment";
50 const std::string OPRN_COMMIT_EDIT = "operation_commit_edit";
51 const std::string OPRN_REVERT_EDIT = "operation_revert_edit";
52 const std::string OPRN_ORDER_ALBUM = "order_album";
53 const std::string OPRN_PORTRAIT_DISPLAY_LEVEL = "display_level";
54 const std::string OPRN_PORTRAIT_IS_ME = "is_me";
55 const std::string OPRN_PORTRAIT_ALBUM_NAME = "album_name";
56 const std::string OPRN_PORTRAIT_MERGE_ALBUM = "merge_album";
57 const std::string OPRN_DISMISS_ASSET = "dismiss_asset";
58 const std::string OPRN_PORTRAIT_COVER_URI = "cover_uri";
59 const std::string OPRN_SUBMIT_CACHE = "operation_submit_cache";
60 const std::string OPRN_ADD_IMAGE = "add_image";
61 const std::string OPRN_PROCESS_IMAGE = "process_image";
62 const std::string OPRN_SET_LOCATION = "set_location";
63 const std::string OPRN_SET_PHOTO_QUALITY = "set_photo_quality";
64 
65 // Asset operations constants
66 const std::string MEDIA_FILEOPRN = "file_operation";
67 const std::string MEDIA_PHOTOOPRN = "photo_operation";
68 const std::string MEDIA_AUDIOOPRN = "audio_operation";
69 const std::string MEDIA_DOCUMENTOPRN = "document_operation";
70 const std::string MEDIA_FILEOPRN_CREATEASSET = "create_asset";
71 const std::string MEDIA_FILEOPRN_MODIFYASSET = "modify_asset";
72 const std::string MEDIA_FILEOPRN_DELETEASSET = "delete_asset";
73 const std::string MEDIA_FILEOPRN_TRASHASSET = "trash_asset";
74 const std::string MEDIA_FILEOPRN_OPENASSET = "open_asset";
75 const std::string MEDIA_FILEOPRN_CLOSEASSET = "close_asset";
76 
77 // API9 compat photo operations constants
78 const std::string URI_CREATE_PHOTO = MEDIALIBRARY_DATA_URI + "/" + MEDIA_PHOTOOPRN + "/" + MEDIA_FILEOPRN_CREATEASSET;
79 const std::string URI_CLOSE_PHOTO = MEDIALIBRARY_DATA_URI + "/" + MEDIA_PHOTOOPRN + "/" + MEDIA_FILEOPRN_CLOSEASSET;
80 const std::string URI_UPDATE_PHOTO = MEDIALIBRARY_DATA_URI + "/" + MEDIA_PHOTOOPRN + "/" + OPRN_UPDATE;
81 const std::string URI_QUERY_PHOTO = MEDIALIBRARY_DATA_URI + "/" + MEDIA_PHOTOOPRN + "/" + OPRN_QUERY;
82 // API9 compat audio operations constants
83 const std::string URI_QUERY_AUDIO = MEDIALIBRARY_DATA_URI + "/" + MEDIA_AUDIOOPRN + "/" + OPRN_QUERY;
84 const std::string URI_CLOSE_AUDIO = MEDIALIBRARY_DATA_URI + "/" + MEDIA_AUDIOOPRN + "/" + MEDIA_FILEOPRN_CLOSEASSET;
85 const std::string URI_UPDATE_AUDIO = MEDIALIBRARY_DATA_URI + "/" + MEDIA_AUDIOOPRN + "/" + OPRN_UPDATE;
86 const std::string URI_CREATE_AUDIO = MEDIALIBRARY_DATA_URI + "/" + MEDIA_AUDIOOPRN + "/" + MEDIA_FILEOPRN_CREATEASSET;
87 const std::string URI_CLOSE_FILE = MEDIALIBRARY_DATA_URI + "/" + MEDIA_FILEOPRN + "/" + MEDIA_FILEOPRN_CLOSEASSET;
88 const std::string URI_UPDATE_FILE = MEDIALIBRARY_DATA_URI + "/" + MEDIA_FILEOPRN + "/" + MEDIA_FILEOPRN_MODIFYASSET;
89 const std::string URI_CREATE_FILE = MEDIALIBRARY_DATA_URI + "/" + MEDIA_FILEOPRN + "/" + MEDIA_FILEOPRN_CREATEASSET;
90 
91 // Thumbnail operations constants
92 const std::string DISTRIBUTE_THU_OPRN_GENERATES = "thumbnail_distribute_generate_operation";
93 const std::string BUNDLE_PERMISSION_INSERT = "bundle_permission_insert_operation";
94 
95 // Album operations constants
96 const std::string MEDIA_ALBUMOPRN = "album_operation";
97 const std::string MEDIA_ALBUMOPRN_CREATEALBUM = "create_album";
98 const std::string MEDIA_ALBUMOPRN_MODIFYALBUM = "modify_album";
99 const std::string MEDIA_ALBUMOPRN_DELETEALBUM = "delete_album";
100 const std::string MEDIA_ALBUMOPRN_QUERYALBUM = "query_album";
101 const std::string MEDIA_FILEOPRN_GETALBUMCAPACITY = "get_album_capacity";
102 
103 // Photo album operations constants
104 const std::string PHOTO_ALBUM_OPRN = "photo_album_v10_operation";
105 const std::string URI_QUERY_PHOTO_ALBUM = MEDIALIBRARY_DATA_URI + "/" + PHOTO_ALBUM_OPRN + "/" + OPRN_QUERY;
106 const std::string URI_DELETE_PHOTOS = MEDIALIBRARY_DATA_URI + "/" + PHOTO_ALBUM_OPRN + "/" + OPRN_DELETE_PHOTOS;
107 const std::string URI_COMPAT_DELETE_PHOTOS = MEDIALIBRARY_DATA_URI + "/" + PHOTO_ALBUM_OPRN + "/" +
108         OPRN_COMPAT_DELETE_PHOTOS;
109 
110 // Photo map operations constants
111 const std::string PHOTO_MAP_OPRN = "photo_map_v10_operation";
112 const std::string URI_QUERY_PHOTO_MAP = MEDIALIBRARY_DATA_URI + "/" + PHOTO_MAP_OPRN + "/" + OPRN_QUERY;
113 
114 // SmartAlbum operations constants
115 const std::string MEDIA_SMARTALBUMOPRN = "albumsmart_operation";
116 const std::string MEDIA_SMARTALBUMMAPOPRN = "smartalbummap_operation";
117 const std::string MEDIA_SMARTALBUMOPRN_CREATEALBUM = "create_smartalbum";
118 const std::string MEDIA_SMARTALBUMOPRN_MODIFYALBUM = "modify_smartalbum";
119 const std::string MEDIA_SMARTALBUMOPRN_DELETEALBUM = "delete_smartalbum";
120 const std::string MEDIA_SMARTALBUMMAPOPRN_ADDSMARTALBUM = "add_smartalbum_map";
121 const std::string MEDIA_SMARTALBUMMAPOPRN_REMOVESMARTALBUM = "remove_smartalbum_map";
122 const std::string MEDIA_SMARTALBUMMAPOPRN_AGEINGSMARTALBUM = "ageing_smartalbum_map";
123 
124 // Direcotry operations constants
125 const std::string MEDIA_DIROPRN = "dir_operation";
126 const std::string MEDIA_DIROPRN_DELETEDIR = "delete_dir";
127 const std::string MEDIA_DIROPRN_CHECKDIR_AND_EXTENSION = "check_dir_and_extension";
128 const std::string MEDIA_DIROPRN_FMS_CREATEDIR = "fms_create_dir";
129 const std::string MEDIA_DIROPRN_FMS_DELETEDIR = "fms_delete_dir";
130 const std::string MEDIA_DIROPRN_FMS_TRASHDIR = "fms_trash_dir";
131 const std::string MEDIA_QUERYOPRN_QUERYVOLUME = "query_media_volume";
132 
133 // File operations constants
134 const std::string MEDIA_FILEOPRN_COPYASSET = "copy_asset";
135 
136 // Distribution operations constants
137 const std::string MEDIA_BOARDCASTOPRN = "boardcast";
138 const std::string MEDIA_SCAN_OPERATION = "boardcast_scan";
139 const std::string MEDIA_DEVICE_QUERYALLDEVICE = "query_all_device";
140 const std::string MEDIA_DEVICE_QUERYACTIVEDEVICE = "query_active_device";
141 
142 // Scanner tool operation constants
143 const std::string SCANNER_OPRN = "scanner";
144 const std::string URI_SCANNER = MEDIALIBRARY_DATA_URI + "/" + SCANNER_OPRN + "/" + OPRN_SCAN;
145 
146 // Mediatool delete operation constants
147 const std::string DELETE_TOOL_OPRN = "delete_tool";
148 const std::string URI_DELETE_TOOL = MEDIALIBRARY_DATA_URI + "/" + DELETE_TOOL_OPRN + "/" + OPRN_DELETE_BY_TOOL;
149 
150 // UserFileManager operation constants
151 const std::string UFM_PHOTO = "userfilemgr_photo_operation";
152 const std::string UFM_AUDIO = "userfilemgr_audio_operation";
153 const std::string UFM_ALBUM = "userfilemgr_photo_album_operation";
154 const std::string UFM_MAP = "userfilemgr_photo_map_operation";
155 
156 // UserFileManager photo operation constants
157 const std::string UFM_CREATE_PHOTO = MEDIALIBRARY_DATA_URI + "/" + UFM_PHOTO + "/" + OPRN_CREATE;
158 const std::string UFM_CREATE_PHOTO_COMPONENT = MEDIALIBRARY_DATA_URI + "/" + UFM_PHOTO + "/" + OPRN_CREATE_COMPONENT;
159 const std::string UFM_CLOSE_PHOTO = MEDIALIBRARY_DATA_URI + "/" + UFM_PHOTO + "/" + OPRN_CLOSE;
160 const std::string UFM_UPDATE_PHOTO = MEDIALIBRARY_DATA_URI + "/" + UFM_PHOTO + "/" + OPRN_UPDATE;
161 const std::string UFM_QUERY_PHOTO = MEDIALIBRARY_DATA_URI + "/" + UFM_PHOTO + "/" + OPRN_QUERY;
162 const std::string UFM_SET_USER_COMMENT = MEDIALIBRARY_DATA_URI + "/" + UFM_PHOTO + "/" + OPRN_SET_USER_COMMENT;
163 const std::string UFM_GET_INDEX = MEDIALIBRARY_DATA_URI + "/" + UFM_PHOTO + "/" + OPRN_INDEX;
164 const std::string UFM_HIDE_PHOTO = MEDIALIBRARY_DATA_URI + "/" + UFM_PHOTO + "/" + OPRN_HIDE;
165 
166 // UserFileManager audio operation constants
167 const std::string UFM_CREATE_AUDIO = MEDIALIBRARY_DATA_URI + "/" + UFM_AUDIO + "/" + OPRN_CREATE;
168 const std::string UFM_CREATE_AUDIO_COMPONENT = MEDIALIBRARY_DATA_URI + "/" + UFM_AUDIO + "/" + OPRN_CREATE_COMPONENT;
169 const std::string UFM_CLOSE_AUDIO = MEDIALIBRARY_DATA_URI + "/" + UFM_AUDIO + "/" + OPRN_CLOSE;
170 const std::string UFM_QUERY_AUDIO = MEDIALIBRARY_DATA_URI + "/" + UFM_AUDIO + "/" + OPRN_QUERY;
171 const std::string UFM_UPDATE_AUDIO = MEDIALIBRARY_DATA_URI + "/" + UFM_AUDIO + "/" + OPRN_UPDATE;
172 const std::string URI_DELETE_AUDIO = MEDIALIBRARY_DATA_URI + "/" + MEDIA_AUDIOOPRN + "/" + OPRN_DELETE;
173 
174 // UserFileManager album operation constants
175 const std::string UFM_CREATE_PHOTO_ALBUM = MEDIALIBRARY_DATA_URI + "/" + UFM_ALBUM + "/" + OPRN_CREATE;
176 const std::string UFM_DELETE_PHOTO_ALBUM = MEDIALIBRARY_DATA_URI + "/" + UFM_ALBUM + "/" + OPRN_DELETE;
177 const std::string UFM_UPDATE_PHOTO_ALBUM = MEDIALIBRARY_DATA_URI + "/" + UFM_ALBUM + "/" + OPRN_UPDATE;
178 const std::string UFM_QUERY_PHOTO_ALBUM = MEDIALIBRARY_DATA_URI + "/" + UFM_ALBUM + "/" + OPRN_QUERY;
179 const std::string UFM_QUERY_HIDDEN_ALBUM = MEDIALIBRARY_DATA_URI + "/" + UFM_ALBUM + "/" + OPRN_QUERY_HIDDEN;
180 const std::string UFM_PHOTO_ALBUM_ADD_ASSET = MEDIALIBRARY_DATA_URI + "/" + UFM_MAP + "/" +
181         OPRN_ALBUM_ADD_PHOTOS;
182 const std::string UFM_PHOTO_ALBUM_REMOVE_ASSET = MEDIALIBRARY_DATA_URI + "/" + UFM_MAP + "/" +
183         OPRN_ALBUM_REMOVE_PHOTOS;
184 const std::string UFM_QUERY_PHOTO_MAP = MEDIALIBRARY_DATA_URI + "/" + UFM_MAP + "/" + OPRN_QUERY;
185 const std::string UFM_RECOVER_PHOTOS = MEDIALIBRARY_DATA_URI + "/" + UFM_ALBUM + "/" + OPRN_RECOVER_PHOTOS;
186 const std::string UFM_DELETE_PHOTOS = MEDIALIBRARY_DATA_URI + "/" + UFM_ALBUM + "/" + OPRN_DELETE_PHOTOS;
187 
188 // PhotoAccessHelper operation constants
189 const std::string PAH_PHOTO = "phaccess_photo_operation";
190 const std::string PAH_ALBUM = "phaccess_album_operation";
191 const std::string PAH_MAP = "phaccess_map_operation";
192 const std::string PAH_ANA_ALBUM = "phaccess_ana_album_operation";
193 const std::string PAH_ANA_MAP = "phaccess_ana_map_operation";
194 const std::string PAH_ANA_ATTS = "phaccess_ana_atts_operation";
195 const std::string PAH_ANA_LABEL = "phaccess_ana_label_operation";
196 const std::string PAH_ANA_OCR = "phaccess_ana_ocr_operation";
197 const std::string PAH_ANA_FACE = "phaccess_ana_face_operation";
198 const std::string PAH_ANA_OBJECT = "phaccess_ana_object_operation";
199 const std::string PAH_ANA_RECOMMENDATION = "phaccess_ana_recommendation_operation";
200 const std::string PAH_ANA_SEGMENTATION = "phaccess_ana_segmentation_operation";
201 const std::string PAH_ANA_COMPOSITION = "phaccess_ana_composition_operation";
202 const std::string PAH_FORM_MAP = "phaccess_store_form_operation";
203 const std::string PAH_ANA_SALIENCY = "phaccess_ana_sal_operation";
204 const std::string PAH_ANA_ADDRESS = "phaccess_ana_address_operation";
205 const std::string PAH_GEO_PHOTOS = "phaccess_geo_photos_operation";
206 const std::string PAH_ANA_TOTAL = "phaccess_ana_total_operation";
207 const std::string PAH_MULTISTAGES_CAPTURE = "phaccess_multistages_capture_operation";
208 
209 // PhotoAccessHelper photo operation constants
210 const std::string PAH_CREATE_PHOTO = MEDIALIBRARY_DATA_URI + "/" + PAH_PHOTO + "/" + OPRN_CREATE;
211 const std::string PAH_CREATE_PHOTO_COMPONENT = MEDIALIBRARY_DATA_URI + "/" + PAH_PHOTO + "/" + OPRN_CREATE_COMPONENT;
212 const std::string PAH_CLOSE_PHOTO = MEDIALIBRARY_DATA_URI + "/" + PAH_PHOTO + "/" + OPRN_CLOSE;
213 const std::string PAH_UPDATE_PHOTO = MEDIALIBRARY_DATA_URI + "/" + PAH_PHOTO + "/" + OPRN_UPDATE;
214 const std::string PAH_TRASH_PHOTO = MEDIALIBRARY_DATA_URI + "/" + PAH_PHOTO + "/" + OPRN_TRASH;
215 const std::string PAH_QUERY_PHOTO = MEDIALIBRARY_DATA_URI + "/" + PAH_PHOTO + "/" + OPRN_QUERY;
216 const std::string PAH_EDIT_USER_COMMENT_PHOTO = MEDIALIBRARY_DATA_URI + "/" + PAH_PHOTO + "/" + OPRN_SET_USER_COMMENT;
217 const std::string PAH_HIDE_PHOTOS = MEDIALIBRARY_DATA_URI + "/" + PAH_PHOTO + "/" + OPRN_HIDE;
218 const std::string PAH_SUBMIT_CACHE = MEDIALIBRARY_DATA_URI + "/" + PAH_PHOTO + "/" + OPRN_SUBMIT_CACHE;
219 const std::string PAH_BATCH_UPDATE_FAVORITE = MEDIALIBRARY_DATA_URI + "/" + PAH_PHOTO + "/" + OPRN_BATCH_UPDATE_FAV;
220 const std::string PAH_BATCH_UPDATE_USER_COMMENT =
221     MEDIALIBRARY_DATA_URI + "/" + PAH_PHOTO + "/" + OPRN_BATCH_UPDATE_USER_COMMENT;
222 
223 // MultiStages capture related operation uri
224 const std::string PAH_SET_PHOTO_QUALITY = MEDIALIBRARY_DATA_URI + "/ "+ PAH_PHOTO + "/" + OPRN_SET_PHOTO_QUALITY;
225 const std::string PAH_PROCESS_IMAGE = MEDIALIBRARY_DATA_URI + "/" + PAH_MULTISTAGES_CAPTURE + "/" + OPRN_PROCESS_IMAGE;
226 const std::string PAH_ADD_IMAGE = MEDIALIBRARY_DATA_URI + "/" + PAH_MULTISTAGES_CAPTURE + "/" + OPRN_ADD_IMAGE;
227 const std::string PAH_SET_LOCATION = MEDIALIBRARY_DATA_URI + "/" + PAH_MULTISTAGES_CAPTURE + "/" + OPRN_SET_LOCATION;
228 
229 // PhotoAccessHelper album operation constants
230 const std::string PAH_CREATE_PHOTO_ALBUM = MEDIALIBRARY_DATA_URI + "/" + PAH_ALBUM + "/" + OPRN_CREATE;
231 const std::string PAH_DELETE_PHOTO_ALBUM = MEDIALIBRARY_DATA_URI + "/" + PAH_ALBUM + "/" + OPRN_DELETE;
232 const std::string PAH_UPDATE_PHOTO_ALBUM = MEDIALIBRARY_DATA_URI + "/" + PAH_ALBUM + "/" + OPRN_UPDATE;
233 const std::string PAH_QUERY_PHOTO_ALBUM = MEDIALIBRARY_DATA_URI + "/" + PAH_ALBUM + "/" + OPRN_QUERY;
234 const std::string PAH_QUERY_HIDDEN_ALBUM = MEDIALIBRARY_DATA_URI + "/" + PAH_ALBUM + "/" + OPRN_QUERY_HIDDEN;
235 const std::string PAH_PHOTO_ALBUM_ADD_ASSET = MEDIALIBRARY_DATA_URI + "/" + PAH_MAP + "/" +
236         OPRN_ALBUM_ADD_PHOTOS;
237 const std::string PAH_PHOTO_ALBUM_REMOVE_ASSET = MEDIALIBRARY_DATA_URI + "/" + PAH_MAP + "/" +
238         OPRN_ALBUM_REMOVE_PHOTOS;
239 const std::string PAH_QUERY_PHOTO_MAP = MEDIALIBRARY_DATA_URI + "/" + PAH_MAP + "/" + OPRN_QUERY;
240 const std::string PAH_RECOVER_PHOTOS = MEDIALIBRARY_DATA_URI + "/" + PAH_ALBUM + "/" + OPRN_RECOVER_PHOTOS;
241 const std::string PAH_DELETE_PHOTOS = MEDIALIBRARY_DATA_URI + "/" + PAH_ALBUM + "/" + OPRN_DELETE_PHOTOS;
242 const std::string PAH_ORDER_ALBUM = MEDIALIBRARY_DATA_URI + "/" + PAH_ALBUM + "/" + OPRN_ORDER_ALBUM;
243 const std::string PAH_COMMIT_EDIT_PHOTOS = MEDIALIBRARY_DATA_URI + "/" + PAH_PHOTO + "/" + OPRN_COMMIT_EDIT;
244 const std::string PAH_REVERT_EDIT_PHOTOS = MEDIALIBRARY_DATA_URI + "/" + PAH_PHOTO + "/" + OPRN_REVERT_EDIT;
245 const std::string PAH_PORTRAIT_DISPLAY_LEVLE = MEDIALIBRARY_DATA_URI + "/" + PAH_ANA_ALBUM + "/" +
246     OPRN_PORTRAIT_DISPLAY_LEVEL;
247 const std::string PAH_PORTRAIT_IS_ME = MEDIALIBRARY_DATA_URI + "/" + PAH_ANA_ALBUM + "/" + OPRN_PORTRAIT_IS_ME;
248 const std::string PAH_PORTRAIT_ANAALBUM_ALBUM_NAME = MEDIALIBRARY_DATA_URI + "/" + PAH_ANA_ALBUM + "/" +
249     OPRN_PORTRAIT_ALBUM_NAME;
250 const std::string PAH_PORTRAIT_MERGE_ALBUM = MEDIALIBRARY_DATA_URI + "/" + PAH_ANA_ALBUM + "/" +
251     OPRN_PORTRAIT_MERGE_ALBUM;
252 const std::string PAH_DISMISS_ASSET = MEDIALIBRARY_DATA_URI + "/" + PAH_ANA_MAP + "/" +
253     OPRN_DISMISS_ASSET;
254 const std::string PAH_PORTRAIT_ANAALBUM_COVER_URI = MEDIALIBRARY_DATA_URI + "/" + PAH_ANA_ALBUM + "/" +
255     OPRN_PORTRAIT_COVER_URI;
256 
257 const std::string PAH_QUERY_ANA_PHOTO_ALBUM = MEDIALIBRARY_DATA_URI + "/" + PAH_ANA_ALBUM + "/" + OPRN_QUERY;
258 const std::string PAH_QUERY_ANA_PHOTO_MAP = MEDIALIBRARY_DATA_URI + "/" + PAH_ANA_MAP + "/" + OPRN_QUERY;
259 const std::string PAH_INSERT_ANA_PHOTO_ALBUM = MEDIALIBRARY_DATA_URI + "/" + PAH_ANA_ALBUM + "/" + OPRN_CREATE;
260 const std::string PAH_UPDATE_ANA_PHOTO_ALBUM = MEDIALIBRARY_DATA_URI + "/" + PAH_ANA_ALBUM + "/" + OPRN_UPDATE;
261 const std::string PAH_INSERT_ANA_PHOTO_MAP = MEDIALIBRARY_DATA_URI + "/" + PAH_ANA_MAP + "/" + OPRN_CREATE;
262 
263 const std::string PAH_QUERY_ANA_ATTS = MEDIALIBRARY_DATA_URI + "/" + PAH_ANA_ATTS + "/" + OPRN_QUERY;
264 const std::string PAH_QUERY_ANA_LABEL = MEDIALIBRARY_DATA_URI + "/" + PAH_ANA_LABEL + "/" + OPRN_QUERY;
265 const std::string PAH_QUERY_ANA_OCR = MEDIALIBRARY_DATA_URI + "/" + PAH_ANA_OCR + "/" + OPRN_QUERY;
266 const std::string PAH_QUERY_ANA_FACE = MEDIALIBRARY_DATA_URI + "/" + PAH_ANA_FACE + "/" + OPRN_QUERY;
267 const std::string PAH_QUERY_ANA_OBJECT = MEDIALIBRARY_DATA_URI + "/" + PAH_ANA_OBJECT + "/" + OPRN_QUERY;
268 const std::string PAH_QUERY_ANA_RECOMMENDATION = MEDIALIBRARY_DATA_URI + "/" + PAH_ANA_RECOMMENDATION + "/" +
269     OPRN_QUERY;
270 const std::string PAH_QUERY_ANA_SEGMENTATION = MEDIALIBRARY_DATA_URI + "/" + PAH_ANA_SEGMENTATION + "/" + OPRN_QUERY;
271 const std::string PAH_QUERY_ANA_COMPOSITION = MEDIALIBRARY_DATA_URI + "/" + PAH_ANA_COMPOSITION + "/" + OPRN_QUERY;
272 const std::string PAH_STORE_FORM_MAP = MEDIALIBRARY_DATA_URI + "/" + PAH_FORM_MAP + "/" + OPRN_STORE_FORM_ID;
273 const std::string PAH_REMOVE_FORM_MAP = MEDIALIBRARY_DATA_URI + "/" + PAH_FORM_MAP + "/" + OPRN_REMOVE_FORM_ID;
274 const std::string PAH_QUERY_ANA_SAL = MEDIALIBRARY_DATA_URI + "/" + PAH_ANA_SALIENCY + "/" + OPRN_QUERY;
275 const std::string PAH_QUERY_ANA_ADDRESS = MEDIALIBRARY_DATA_URI + "/" + PAH_ANA_ADDRESS + "/" + OPRN_QUERY;
276 const std::string PAH_QUERY_GEO_PHOTOS = MEDIALIBRARY_DATA_URI + "/" + PAH_GEO_PHOTOS + "/" + OPRN_QUERY;
277 
278 // mediatool operation constants
279 const std::string TOOL_PHOTO = "mediatool_photo_operation";
280 const std::string TOOL_AUDIO = "mediatool_audio_operation";
281 
282 const std::string TOOL_CREATE_PHOTO = MEDIALIBRARY_DATA_URI + "/" + TOOL_PHOTO + "/" + OPRN_CREATE;
283 const std::string TOOL_CREATE_AUDIO = MEDIALIBRARY_DATA_URI + "/" + TOOL_AUDIO + "/" + OPRN_CREATE;
284 const std::string TOOL_CLOSE_PHOTO = MEDIALIBRARY_DATA_URI + "/" + TOOL_PHOTO + "/" + OPRN_CLOSE;
285 const std::string TOOL_CLOSE_AUDIO = MEDIALIBRARY_DATA_URI + "/" + TOOL_AUDIO + "/" + OPRN_CLOSE;
286 const std::string TOOL_QUERY_PHOTO = MEDIALIBRARY_DATA_URI + "/" + TOOL_PHOTO + "/" + OPRN_QUERY;
287 const std::string TOOL_QUERY_AUDIO = MEDIALIBRARY_DATA_URI + "/" + TOOL_AUDIO + "/" + OPRN_QUERY;
288 const std::string TOOL_UPDATE_PHOTO = MEDIALIBRARY_DATA_URI + "/" + TOOL_PHOTO + "/" + OPRN_UPDATE;
289 const std::string TOOL_UPDATE_AUDIO = MEDIALIBRARY_DATA_URI + "/" + TOOL_AUDIO + "/" + OPRN_UPDATE;
290 const std::string TOOL_DELETE_PHOTO = MEDIALIBRARY_DATA_URI + "/" + TOOL_PHOTO + "/" + OPRN_DELETE;
291 const std::string TOOL_DELETE_AUDIO = MEDIALIBRARY_DATA_URI + "/" + TOOL_AUDIO + "/" + OPRN_DELETE;
292 } // namespace Media
293 } // namespace OHOS
294 
295 #endif // OHOS_FILEMANAGEMENT_USERFILEMGR_URI_H
296