From b5ba9772be4551f7026181c869288de5f866bc95 Mon Sep 17 00:00:00 2001 From: hj kim Date: Wed, 24 Jan 2018 10:47:33 +0900 Subject: [PATCH] Fix wrong description for MEDIA_CONTENT_ERROR_PERMISSION_DENIED. APIs which just read media DB, don't return MEDIA_CONTENT_ERROR_PERMISSION_DENIED Change-Id: Ife05f71620f188c70299bbdae58ffde1869b8103 --- include/media_folder.h | 6 ------ include/media_group.h | 9 --------- include/media_info.h | 9 --------- include/media_playlist.h | 7 +------ include/media_storage.h | 5 ----- include/media_tag.h | 5 ----- include_product/media_folder.h | 6 ------ include_product/media_group.h | 9 --------- include_product/media_info.h | 9 --------- include_product/media_playlist.h | 7 +------ include_product/media_storage.h | 5 ----- include_product/media_tag.h | 5 ----- packaging/capi-content-media-content.spec | 2 +- 13 files changed, 3 insertions(+), 81 deletions(-) diff --git a/include/media_folder.h b/include/media_folder.h index 1d0ac25..a0a87bc 100755 --- a/include/media_folder.h +++ b/include/media_folder.h @@ -55,7 +55,6 @@ extern "C" { * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -87,7 +86,6 @@ int media_folder_get_folder_count_from_db(filter_h filter, int *folder_count); * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @pre A filter handle has to be created by calling media_filter_create(). @@ -114,7 +112,6 @@ int media_folder_foreach_folder_from_db(filter_h filter, media_folder_cb callbac * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -148,7 +145,6 @@ int media_folder_get_media_count_from_db(const char *folder_id, filter_h filter, * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_info_cb(). @@ -364,7 +360,6 @@ int media_folder_get_order(media_folder_h folder, int *order) TIZEN_DEPRECATED_A * * @retval #MEDIA_CONTENT_ERROR_NONE Successful * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy @@ -392,7 +387,6 @@ int media_folder_get_folder_from_db(const char *folder_id, media_folder_h *folde * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_INVALID_OPERATION Invalid operation * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied */ int media_folder_set_name(media_folder_h folder, const char *name) TIZEN_DEPRECATED_API; diff --git a/include/media_group.h b/include/media_group.h index 0e82105..34a0f21 100755 --- a/include/media_group.h +++ b/include/media_group.h @@ -53,7 +53,6 @@ extern "C" { * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -81,7 +80,6 @@ int media_album_get_album_count_from_db(filter_h filter, int *album_count); * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_album_cb(). @@ -107,7 +105,6 @@ int media_album_foreach_album_from_db(filter_h filter, media_album_cb callback, * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -136,7 +133,6 @@ int media_album_get_media_count_from_db(int album_id, filter_h filter, int *medi * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_info_cb(). @@ -287,7 +283,6 @@ int media_album_get_album_art(media_album_h album, char **album_art); * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -322,7 +317,6 @@ int media_album_get_album_from_db(int album_id, media_album_h *album); * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -351,7 +345,6 @@ int media_group_get_group_count_from_db(filter_h filter, media_group_e group, in * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_group_cb(). @@ -379,7 +372,6 @@ int media_group_foreach_group_from_db(filter_h filter, media_group_e group, medi * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -409,7 +401,6 @@ int media_group_get_media_count_from_db(const char *group_name, media_group_e gr * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_info_cb(). diff --git a/include/media_info.h b/include/media_info.h index fb583a1..6fb10f8 100755 --- a/include/media_info.h +++ b/include/media_info.h @@ -305,7 +305,6 @@ int media_info_clone(media_info_h *dst, media_info_h src); * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -339,7 +338,6 @@ int media_info_get_media_count_from_db(filter_h filter, int *media_count); * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_info_cb(). @@ -367,7 +365,6 @@ int media_info_foreach_media_from_db(filter_h filter, media_info_cb callback, vo * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -396,7 +393,6 @@ int media_info_get_tag_count_from_db(const char *media_id, filter_h filter, int * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_tag_cb(). @@ -424,7 +420,6 @@ int media_info_foreach_tag_from_db(const char *media_id, filter_h filter, media_ * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -453,7 +448,6 @@ int media_info_get_bookmark_count_from_db(const char *media_id, filter_h filter, * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_bookmark_cb(). @@ -479,7 +473,6 @@ int media_info_foreach_bookmark_from_db(const char *media_id, filter_h filter, m * @retval #MEDIA_CONTENT_ERROR_NONE Successful * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB operation failed - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @see media_content_connect() @@ -506,7 +499,6 @@ int media_info_get_face_count_from_db(const char *media_id, filter_h filter, int * @retval #MEDIA_CONTENT_ERROR_NONE Successful * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @see media_content_connect() @@ -1150,7 +1142,6 @@ int media_info_get_played_time(media_info_h media, time_t *played_time) TIZEN_DE * @retval #MEDIA_CONTENT_ERROR_NONE Successful * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy * diff --git a/include/media_playlist.h b/include/media_playlist.h index 8a18a54..1d55912 100755 --- a/include/media_playlist.h +++ b/include/media_playlist.h @@ -51,7 +51,6 @@ extern "C" { * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -79,7 +78,6 @@ int media_playlist_get_playlist_count_from_db(filter_h filter, int *playlist_cou * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_playlist_cb(). @@ -105,7 +103,6 @@ int media_playlist_foreach_playlist_from_db(filter_h filter, media_playlist_cb c * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -134,7 +131,6 @@ int media_playlist_get_media_count_from_db(int playlist_id, filter_h filter, int * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_info_cb(). @@ -224,7 +220,6 @@ int media_playlist_delete_from_db(int playlist_id); * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -524,7 +519,7 @@ int media_playlist_import_from_file(const char *playlist_name, const char *path, * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * * @remarks http://tizen.org/privilege/mediastorage is needed if input or output path are relevant to media storage. \n - * http://tizen.org/privilege/externalstorage is needed if input or output path are relevant to external storage. \n + * http://tizen.org/privilege/externalstorage is needed if input or output path are relevant to external storage. * * @param[in] playlist The handle to the media playlist * @param[in] path path The path to export the playlist diff --git a/include/media_storage.h b/include/media_storage.h index 56b8da5..a1b1ea7 100755 --- a/include/media_storage.h +++ b/include/media_storage.h @@ -54,7 +54,6 @@ extern "C" { * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy -* @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -77,7 +76,6 @@ int media_storage_get_storage_info_from_db(const char *storage_id, media_storage * @retval #MEDIA_CONTENT_ERROR_INVALID_OPERATION Invalid operation * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy -* @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -105,7 +103,6 @@ int media_storage_get_storage_count_from_db(filter_h filter, int *storage_count) * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_storage_destroy(). @@ -130,7 +127,6 @@ int media_storage_foreach_storage_from_db(filter_h filter, media_storage_cb call * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -164,7 +160,6 @@ int media_storage_get_media_count_from_db(const char *storage_id, filter_h filte * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_info_cb(). diff --git a/include/media_tag.h b/include/media_tag.h index 31cdabc..8338a56 100755 --- a/include/media_tag.h +++ b/include/media_tag.h @@ -112,7 +112,6 @@ int media_tag_delete_from_db(int tag_id); * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -140,7 +139,6 @@ int media_tag_get_tag_count_from_db(filter_h filter, int *tag_count); * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_tag_cb(). @@ -166,7 +164,6 @@ int media_tag_foreach_tag_from_db(filter_h filter, media_tag_cb callback, void * * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -195,7 +192,6 @@ int media_tag_get_media_count_from_db(int tag_id, filter_h filter, int *media_co * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_info_cb(). @@ -307,7 +303,6 @@ int media_tag_get_name(media_tag_h tag, char **tag_name); * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * diff --git a/include_product/media_folder.h b/include_product/media_folder.h index 1d0ac25..a0a87bc 100755 --- a/include_product/media_folder.h +++ b/include_product/media_folder.h @@ -55,7 +55,6 @@ extern "C" { * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -87,7 +86,6 @@ int media_folder_get_folder_count_from_db(filter_h filter, int *folder_count); * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @pre A filter handle has to be created by calling media_filter_create(). @@ -114,7 +112,6 @@ int media_folder_foreach_folder_from_db(filter_h filter, media_folder_cb callbac * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -148,7 +145,6 @@ int media_folder_get_media_count_from_db(const char *folder_id, filter_h filter, * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_info_cb(). @@ -364,7 +360,6 @@ int media_folder_get_order(media_folder_h folder, int *order) TIZEN_DEPRECATED_A * * @retval #MEDIA_CONTENT_ERROR_NONE Successful * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy @@ -392,7 +387,6 @@ int media_folder_get_folder_from_db(const char *folder_id, media_folder_h *folde * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_INVALID_OPERATION Invalid operation * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied */ int media_folder_set_name(media_folder_h folder, const char *name) TIZEN_DEPRECATED_API; diff --git a/include_product/media_group.h b/include_product/media_group.h index 0e82105..34a0f21 100755 --- a/include_product/media_group.h +++ b/include_product/media_group.h @@ -53,7 +53,6 @@ extern "C" { * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -81,7 +80,6 @@ int media_album_get_album_count_from_db(filter_h filter, int *album_count); * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_album_cb(). @@ -107,7 +105,6 @@ int media_album_foreach_album_from_db(filter_h filter, media_album_cb callback, * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -136,7 +133,6 @@ int media_album_get_media_count_from_db(int album_id, filter_h filter, int *medi * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_info_cb(). @@ -287,7 +283,6 @@ int media_album_get_album_art(media_album_h album, char **album_art); * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -322,7 +317,6 @@ int media_album_get_album_from_db(int album_id, media_album_h *album); * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -351,7 +345,6 @@ int media_group_get_group_count_from_db(filter_h filter, media_group_e group, in * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_group_cb(). @@ -379,7 +372,6 @@ int media_group_foreach_group_from_db(filter_h filter, media_group_e group, medi * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -409,7 +401,6 @@ int media_group_get_media_count_from_db(const char *group_name, media_group_e gr * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_info_cb(). diff --git a/include_product/media_info.h b/include_product/media_info.h index fb583a1..6fb10f8 100755 --- a/include_product/media_info.h +++ b/include_product/media_info.h @@ -305,7 +305,6 @@ int media_info_clone(media_info_h *dst, media_info_h src); * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -339,7 +338,6 @@ int media_info_get_media_count_from_db(filter_h filter, int *media_count); * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_info_cb(). @@ -367,7 +365,6 @@ int media_info_foreach_media_from_db(filter_h filter, media_info_cb callback, vo * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -396,7 +393,6 @@ int media_info_get_tag_count_from_db(const char *media_id, filter_h filter, int * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_tag_cb(). @@ -424,7 +420,6 @@ int media_info_foreach_tag_from_db(const char *media_id, filter_h filter, media_ * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -453,7 +448,6 @@ int media_info_get_bookmark_count_from_db(const char *media_id, filter_h filter, * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_bookmark_cb(). @@ -479,7 +473,6 @@ int media_info_foreach_bookmark_from_db(const char *media_id, filter_h filter, m * @retval #MEDIA_CONTENT_ERROR_NONE Successful * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB operation failed - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @see media_content_connect() @@ -506,7 +499,6 @@ int media_info_get_face_count_from_db(const char *media_id, filter_h filter, int * @retval #MEDIA_CONTENT_ERROR_NONE Successful * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @see media_content_connect() @@ -1150,7 +1142,6 @@ int media_info_get_played_time(media_info_h media, time_t *played_time) TIZEN_DE * @retval #MEDIA_CONTENT_ERROR_NONE Successful * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy * diff --git a/include_product/media_playlist.h b/include_product/media_playlist.h index 8a18a54..1d55912 100755 --- a/include_product/media_playlist.h +++ b/include_product/media_playlist.h @@ -51,7 +51,6 @@ extern "C" { * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -79,7 +78,6 @@ int media_playlist_get_playlist_count_from_db(filter_h filter, int *playlist_cou * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_playlist_cb(). @@ -105,7 +103,6 @@ int media_playlist_foreach_playlist_from_db(filter_h filter, media_playlist_cb c * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -134,7 +131,6 @@ int media_playlist_get_media_count_from_db(int playlist_id, filter_h filter, int * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_info_cb(). @@ -224,7 +220,6 @@ int media_playlist_delete_from_db(int playlist_id); * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -524,7 +519,7 @@ int media_playlist_import_from_file(const char *playlist_name, const char *path, * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * * @remarks http://tizen.org/privilege/mediastorage is needed if input or output path are relevant to media storage. \n - * http://tizen.org/privilege/externalstorage is needed if input or output path are relevant to external storage. \n + * http://tizen.org/privilege/externalstorage is needed if input or output path are relevant to external storage. * * @param[in] playlist The handle to the media playlist * @param[in] path path The path to export the playlist diff --git a/include_product/media_storage.h b/include_product/media_storage.h index 56b8da5..a1b1ea7 100755 --- a/include_product/media_storage.h +++ b/include_product/media_storage.h @@ -54,7 +54,6 @@ extern "C" { * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy -* @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -77,7 +76,6 @@ int media_storage_get_storage_info_from_db(const char *storage_id, media_storage * @retval #MEDIA_CONTENT_ERROR_INVALID_OPERATION Invalid operation * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy -* @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -105,7 +103,6 @@ int media_storage_get_storage_count_from_db(filter_h filter, int *storage_count) * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_storage_destroy(). @@ -130,7 +127,6 @@ int media_storage_foreach_storage_from_db(filter_h filter, media_storage_cb call * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -164,7 +160,6 @@ int media_storage_get_media_count_from_db(const char *storage_id, filter_h filte * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_info_cb(). diff --git a/include_product/media_tag.h b/include_product/media_tag.h index 31cdabc..8338a56 100755 --- a/include_product/media_tag.h +++ b/include_product/media_tag.h @@ -112,7 +112,6 @@ int media_tag_delete_from_db(int tag_id); * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -140,7 +139,6 @@ int media_tag_get_tag_count_from_db(filter_h filter, int *tag_count); * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_tag_cb(). @@ -166,7 +164,6 @@ int media_tag_foreach_tag_from_db(filter_h filter, media_tag_cb callback, void * * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @@ -195,7 +192,6 @@ int media_tag_get_media_count_from_db(int tag_id, filter_h filter, int *media_co * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * @post This function invokes media_info_cb(). @@ -307,7 +303,6 @@ int media_tag_get_name(media_tag_h tag, char **tag_name); * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied * * @pre This function requires opened connection to content service by media_content_connect(). * diff --git a/packaging/capi-content-media-content.spec b/packaging/capi-content-media-content.spec index e10b316..57eec35 100755 --- a/packaging/capi-content-media-content.spec +++ b/packaging/capi-content-media-content.spec @@ -1,6 +1,6 @@ Name: capi-content-media-content Summary: A Media content library in Tizen Native API -Version: 0.3.31 +Version: 0.3.32 Release: 0 Group: Multimedia/API License: Apache-2.0 -- 2.7.4