Delete the privilege phrases about packagemanager.info 59/63859/1 accepted/tizen/common/20160330.120606 submit/tizen/20160330.062724
authorMyungki Lee <mk5004.lee@samsung.com>
Mon, 28 Mar 2016 06:28:39 +0000 (15:28 +0900)
committerMyungki Lee <mk5004.lee@samsung.com>
Mon, 28 Mar 2016 06:28:39 +0000 (15:28 +0900)
Change-Id: Ib4edb956bbe8b4d9449b2dd159e0a52862c1a22a
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
include/app_info.h
include/app_manager.h

index 234054a..15b0e9b 100644 (file)
@@ -120,8 +120,6 @@ typedef enum
 /**
  * @brief  Creates the application information handle.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @privlevel public
- * @privilege %http://tizen.org/privilege/packagemanager.info
  * @param[in]   app_id    The application ID
  * @param[out]  app_info  The application information handle
  * @return      @c 0 on success,
@@ -130,7 +128,6 @@ typedef enum
  * @retval  #APP_MANAGER_ERROR_INVALID_PARAMETER  Invalid parameter
  * @retval  #APP_MANAGER_ERROR_NO_SUCH_APP        The app is not installed
  * @retval  #APP_MANAGER_ERROR_OUT_OF_MEMORY      Out of memory
- * @retval  #APP_MANAGER_ERROR_PERMISSION_DENIED  Permission denied
  * @see app_manager_foreach_app_info()
  * @see app_manager_get_app_info()
  */
@@ -194,8 +191,6 @@ int app_info_get_label(app_info_h app_info, char **label);
 /**
  * @brief  Gets the localed name of the application.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @privlevel public
- * @privilege %http://tizen.org/privilege/packagemanager.info
  * @remarks     You must release localed name using free().
  * @param[in]   app_id  The application ID
  * @param[in]   locale  The locale information
@@ -205,7 +200,6 @@ int app_info_get_label(app_info_h app_info, char **label);
  * @retval  #APP_MANAGER_ERROR_NONE               Successful
  * @retval  #APP_MANAGER_ERROR_INVALID_PARAMETER  Invalid parameter
  * @retval  #APP_MANAGER_ERROR_OUT_OF_MEMORY      Out of memory
- * @retval  #APP_MANAGER_ERROR_PERMISSION_DENIED  Permission denied
  */
 int app_info_get_localed_label(const char *app_id, const char *locale, char **label);
 
@@ -349,8 +343,6 @@ int app_info_clone(app_info_h *clone, app_info_h app_info);
  * @brief  Creates the application information filter handle from DB.
  *         All filter properties will be ANDed.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @privlevel public
- * @privilege %http://tizen.org/privilege/packagemanager.info
  * @param[out]  handle  The pointer to the application info filter handle
  * @return      @c 0 on success,
  *              otherwise a negative error value
@@ -358,7 +350,6 @@ int app_info_clone(app_info_h *clone, app_info_h app_info);
  * @retval  #APP_MANAGER_ERROR_INVALID_PARAMETER  Invalid parameter
  * @retval  #APP_MANAGER_ERROR_OUT_OF_MEMORY      Out of memory
  * @retval  #APP_MANAGER_ERROR_IO_ERROR           I/O error
- * @retval  #APP_MANAGER_ERROR_PERMISSION_DENIED Permission denied
  */
 int app_info_filter_create(app_info_filter_h *handle);
 
@@ -432,8 +423,6 @@ int app_info_filter_foreach_appinfo(app_info_filter_h handle, app_info_filter_cb
 /**
  * @brief  Creates the application's metadata information filter handle from DB.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @privlevel public
- * @privilege %http://tizen.org/privilege/packagemanager.info
  * @param[out]  handle  The pointer to the application metadata info filter handle
  * @return      @c 0 on success,
  *              otherwise a negative error value
@@ -441,7 +430,6 @@ int app_info_filter_foreach_appinfo(app_info_filter_h handle, app_info_filter_cb
  * @retval  #APP_MANAGER_ERROR_INVALID_PARAMETER  Invalid parameter
  * @retval  #APP_MANAGER_ERROR_OUT_OF_MEMORY      Out of memory
  * @retval  #APP_MANAGER_ERROR_IO_ERROR           I/O error
- * @retval  #APP_MANAGER_ERROR_PERMISSION_DENIED Permission denied
  */
 int app_info_metadata_filter_create(app_info_metadata_filter_h *handle);
 
index 3735576..13de32e 100644 (file)
@@ -92,8 +92,6 @@ typedef bool (*app_manager_app_info_cb) (app_info_h app_info, void *user_data);
 /**
  * @brief  Registers a callback function to be invoked when the applications get launched or terminated.
  * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
- * @privlevel public
- * @privilege %http://tizen.org/privilege/packagemanager.info
  * @param[in]   callback   The callback function to register
  * @param[in]   user_data  The user data to be passed to the callback function
  * @return      @c 0 on success,
@@ -101,7 +99,6 @@ typedef bool (*app_manager_app_info_cb) (app_info_h app_info, void *user_data);
  * @retval  #APP_MANAGER_ERROR_NONE               Successful
  * @retval  #APP_MANAGER_ERROR_INVALID_PARAMETER  Invalid parameter
  * @retval  #APP_MANAGER_ERROR_OUT_OF_MEMORY      Out of memory
- * @retval  #APP_MANAGER_ERROR_PERMISSION_DENIED  Permission denied
  * @post It will invoke app_manager_app_context_event_cb() when the application is launched or terminated.
  * @see app_manager_unset_app_context_event_cb()
  * @see app_manager_app_context_event_cb()
@@ -119,15 +116,12 @@ void app_manager_unset_app_context_event_cb(void);
 /**
  * @brief  Retrieves all application contexts of running applications.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @privlevel public
- * @privilege %http://tizen.org/privilege/packagemanager.info
  * @param[in]   callback   The callback function to invoke
  * @param[in]   user_data  The user data to be passed to the callback function
  * @return      @c 0 on success,
  *              otherwise a negative error value
  * @retval  #APP_MANAGER_ERROR_NONE               Successful
  * @retval  #APP_MANAGER_ERROR_INVALID_PARAMETER  Invalid parameter
- * @retval  #APP_MANAGER_ERROR_PERMISSION_DENIED  Permission denied
  * @post   This function invokes app_manager_app_context_cb() for each application context.
  * @see app_manager_app_context_cb()
  */
@@ -157,8 +151,6 @@ int app_manager_foreach_running_app_context(app_manager_app_context_cb callback,
 /**
  * @brief  Gets the application context for the given ID of the application.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @privlevel public
- * @privilege %http://tizen.org/privilege/packagemanager.info
  * @remarks  This function returns #APP_MANAGER_ERROR_NO_SUCH_APP if the application with the given application ID is not running. \n
  *           You must release @a app_context using app_context_destroy().
  * @param[in]   app_id       The ID of the application
@@ -169,15 +161,12 @@ int app_manager_foreach_running_app_context(app_manager_app_context_cb callback,
  * @retval  #APP_MANAGER_ERROR_INVALID_PARAMETER  Invalid parameter
  * @retval  #APP_MANAGER_ERROR_OUT_OF_MEMORY      Out of memory
  * @retval  #APP_MANAGER_ERROR_NO_SUCH_APP        No such application
- * @retval  #APP_MANAGER_ERROR_PERMISSION_DENIED  Permission denied
  */
 int app_manager_get_app_context(const char *app_id, app_context_h *app_context);
 
 /**
  * @brief  Gets the ID of the application for the given process ID.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @privlevel public
- * @privilege %http://tizen.org/privilege/packagemanager.info
  * @remarks  This function returns #APP_MANAGER_ERROR_NO_SUCH_APP if the application with the given process ID is not valid. \n
  *           You must release @a app_id using free().
  * @param[in]   pid     The process ID of the application
@@ -187,7 +176,6 @@ int app_manager_get_app_context(const char *app_id, app_context_h *app_context);
  * @retval  #APP_MANAGER_ERROR_NONE               Successful
  * @retval  #APP_MANAGER_ERROR_INVALID_PARAMETER  Invalid parameter
  * @retval  #APP_MANAGER_ERROR_OUT_OF_MEMORY      Out of memory
- * @retval  #APP_MANAGER_ERROR_PERMISSION_DENIED  Permission denied
  */
 int app_manager_get_app_id(pid_t pid, char **app_id);
 
@@ -241,15 +229,12 @@ int app_manager_request_terminate_bg_app(app_context_h app_context);
 /**
  * @brief  Retrieves all installed applications information.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @privlevel public
- * @privilege %http://tizen.org/privilege/packagemanager.info
  * @param[in]   callback   The callback function to invoke
  * @param[in]   user_data  The user data to be passed to the callback function
  * @return      @c 0 on success,
  *              otherwise a negative error value
  * @retval  #APP_MANAGER_ERROR_NONE               Successful
  * @retval  #APP_MANAGER_ERROR_INVALID_PARAMETER  Invalid parameter
- * @retval  #APP_MANAGER_ERROR_PERMISSION_DENIED  Permission denied
  * @post    This function invokes app_manager_app_info_cb() for each application information.
  * @see app_manager_app_info_cb()
  */
@@ -258,8 +243,6 @@ int app_manager_foreach_app_info(app_manager_app_info_cb callback, void *user_da
 /**
  * @brief  Gets the application information for the given application ID.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @privlevel public
- * @privilege %http://tizen.org/privilege/packagemanager.info
  * @remarks     You must release @a app_info using app_info_destroy().
  * @param[in]   app_id    The ID of the application
  * @param[out]  app_info  The application information for the given application ID
@@ -269,7 +252,6 @@ int app_manager_foreach_app_info(app_manager_app_info_cb callback, void *user_da
  * @retval  #APP_MANAGER_ERROR_INVALID_PARAMETER  Invalid parameter
  * @retval  #APP_MANAGER_ERROR_OUT_OF_MEMORY      Out of memory
  * @retval  #APP_MANAGER_ERROR_NO_SUCH_APP        No such application
- * @retval  #APP_MANAGER_ERROR_PERMISSION_DENIED  Permission denied
  */
 int app_manager_get_app_info(const char *app_id, app_info_h *app_info);