* @since_tizen 3.0
*/
typedef enum {
- DPM_ERROR_NONE = TIZEN_ERROR_NONE, /**< The operation was successful */
- DPM_ERROR_INVALID = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */
- DPM_ERROR_REFUSED = TIZEN_ERROR_CONNECTION_REFUSED, /**< Connection refused */
- DPM_ERROR_TIMEOUT = TIZEN_ERROR_TIMED_OUT, /**< Timeout */
- DPM_ERROR_ACCESS_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< Access privilege is not sufficient */
- DPM_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< Operation is not supported */
- DPM_ERROR_NO_SUCH_FILE = TIZEN_ERROR_NO_SUCH_FILE, /**< No such file or directory */
- DPM_ERROR_FILE_EXISTS = TIZEN_ERROR_FILE_EXISTS, /**< File exists */
- DPM_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY /**< Out of memory */
+ DPM_ERROR_NONE = TIZEN_ERROR_NONE, /**< The operation was successful */
+ DPM_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */
+ DPM_ERROR_CONNECTION_REFUSED = TIZEN_ERROR_CONNECTION_REFUSED, /**< Connection refused */
+ DPM_ERROR_TIMED_OUT = TIZEN_ERROR_TIMED_OUT, /**< Timeout */
+ DPM_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< Access privilege is not sufficient */
+ DPM_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< Operation is not supported */
+ DPM_ERROR_NO_SUCH_FILE = TIZEN_ERROR_NO_SUCH_FILE, /**< No such file or directory */
+ DPM_ERROR_FILE_EXISTS = TIZEN_ERROR_FILE_EXISTS, /**< File exists */
+ DPM_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY /**< Out of memory */
} dpm_error_type_e;
/**
* get_last_result() method. Error codes are described in
* exception section.
* @exception #DPM_ERROR_NONE No error
- * @exception #DPM_ERROR_REFUSED Connection refused
- * @exception #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @exception #DPM_ERROR_CONNECTION_REFUSED Connection refused
+ * @exception #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre N/A
* @post N/A
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
* @retval #DPM_ERROR_NOT_SUPPORTED Not supported
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
* @retval #DPM_ERROR_NOT_SUPPORTED Not supported
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
* @retval #DPM_ERROR_NOT_SUPPORTED Not supported
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
* @retval #DPM_ERROR_NOT_SUPPORTED Not supported
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
* @retval #DPM_ERROR_NOT_SUPPORTED Not supported
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
* @retval #DPM_ERROR_NOT_SUPPORTED Not supported
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
* @retval #DPM_ERROR_NOT_SUPPORTED Not supported
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
* @retval #DPM_ERROR_NOT_SUPPORTED Not supported
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
* @retval #DPM_ERROR_NOT_SUPPORTED Not supported
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
* @retval #DPM_ERROR_NOT_SUPPORTED Not supported
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
* @retval #DPM_ERROR_NOT_SUPPORTED Not supported
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
* @retval #DPM_ERROR_NOT_SUPPORTED Not supported
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
* @retval #DPM_ERROR_NOT_SUPPORTED Not supported
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
* @retval #DPM_ERROR_NOT_SUPPORTED Not supported
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
* @retval #DPM_ERROR_NOT_SUPPORTED Not supported
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
* @retval #DPM_ERROR_NOT_SUPPORTED Not supported
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
* @retval #DPM_ERROR_NOT_SUPPORTED Not supported
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
* @retval #DPM_ERROR_NOT_SUPPORTED Not supported
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
* @retval #DPM_ERROR_NOT_SUPPORTED Not supported
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @param[in] handle Device Policy Client handle
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @param[in] handle Device Policy Client handle
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
* @retval #DPM_ERROR_NOT_SUPPORTED Not supported
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
* @retval #DPM_ERROR_NOT_SUPPORTED Not supported
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
* @retval #DPM_ERROR_INVALID Invalid parameter
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
* @retval #DPM_ERROR_INVALID Invalid parameter
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @pre The zone corresponding to the given name must be
* @since_tizen 3.0
* @param[in] handle The device policy client handle
* @param[in] name The zone name
- * @return #DPM_ERROR_INVALID if the given zone name is not valid,
+ * @return #DPM_ERROR_INVALID_PARAMETER if the given zone name is not valid,
* otherwise a zone state
* @retval #DPM_ZONE_DEFINED Zone has been defined.
* @retval #DPM_ZONE_RUNNING Zone is running
* @param[in] user_data The user data passed to the listener function
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
- * @retval #DPM_ERROR_INVALID Invalid parameter
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post
* @param[in] callback The listener function to be removed
* @return #DPM_ERROR_NONE on success, otherwise a negative value
* @retval #DPM_ERROR_NONE Successful
- * @retval #DPM_ERROR_INVALID Invalid parameter
- * @retval #DPM_ERROR_ACCESS_DENIED The application does not have
+ * @retval #DPM_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #DPM_ERROR_PERMISSION_DENIED The application does not have
* the privilege to call this API
* @pre handle must be created by dpm_create_client()
* @post