- Fix dbus policy issue
Change-Id: Iff9779e0a3e03e6aeda036b640c713f6eb24d113
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
*
* @section CAPI_UIX_GESTURE_MODULE_FEATURE Related Features
* This API is related with the following features:<br>
*
* @section CAPI_UIX_GESTURE_MODULE_FEATURE Related Features
* This API is related with the following features:<br>
- * - http://tizen.org/feature/sensor.gesture_recognition<br>
+ * - %http://tizen.org/feature/sensor.gesture_recognition<br>
* It is recommended to design feature related codes in your application for reliability.<br>
* You can check if a device supports the related features for this API by using @ref CAPI_SYSTEM_SYSTEM_INFO_MODULE, thereby controlling the procedure of your application.<br>
* To ensure your application is only running on the device with specific features, please define the features in your manifest file using the manifest editor in the SDK.<br>
* It is recommended to design feature related codes in your application for reliability.<br>
* You can check if a device supports the related features for this API by using @ref CAPI_SYSTEM_SYSTEM_INFO_MODULE, thereby controlling the procedure of your application.<br>
* To ensure your application is only running on the device with specific features, please define the features in your manifest file using the manifest editor in the SDK.<br>
/**
* @brief Called when a gesture is detected.
/**
* @brief Called when a gesture is detected.
+ * @details Following error codes can be delivered: \n
+ * #HAND_GESTURE_ERROR_NONE, \n
+ * #HAND_GESTURE_ERROR_NOT_SUPPORTED, \n
+ * #HAND_GESTURE_ERROR_INVALID_PARAMETER, \n
+ * #HAND_GESTURE_ERROR_OPERATION_FAILED
*
* @since_tizen @if WEARABLE 6.0 @endif
* @remarks The @a handle is managed by the platform and will be released when hand_gesture_destroy() is called.
*
* @since_tizen @if WEARABLE 6.0 @endif
* @remarks The @a handle is managed by the platform and will be released when hand_gesture_destroy() is called.
* @param[in] handle A gesture handle
* @param[in] gesture A gesture type detected
* @param[in] timestamp The time when the gesture is detected. Epoch time in seconds.
* @param[in] handle A gesture handle
* @param[in] gesture A gesture type detected
* @param[in] timestamp The time when the gesture is detected. Epoch time in seconds.
- * @param[in] error An error value. It can be one of the following error values:@n
- * #HAND_GESTURE_ERROR_NONE, if the operation succeeded.@n
- * #HAND_GESTURE_ERROR_NOT_SUPPORTED, if the gesture is not supported in the current profile.@n
- * #HAND_GESTURE_ERROR_OPERATION_FAILED, if the operation failed because of a system error.@n
- * #HAND_GESTURE_ERROR_PERMISSION_DENIED, if the application has no permission to use this.
+ * @param[in] error An error value. It can be one of the following error values: \n
+ * #HAND_GESTURE_ERROR_NONE, if the operation succeeded.\n
+ * #HAND_GESTURE_ERROR_NOT_SUPPORTED, if the gesture is not supported on the device.\n
+ * #HAND_GESTURE_ERROR_INVALID_PARAMETER, if the parameter is invalid. \n
+ * #HAND_GESTURE_ERROR_OPERATION_FAILED, if the operation failed because of a system error.
* @param[in] user_data The user data is passed to hand_gesture_start_recognition()
*
* @see hand_gesture_start_recognition()
* @param[in] user_data The user data is passed to hand_gesture_start_recognition()
*
* @see hand_gesture_start_recognition()
/**
* @brief Called when an error is occurred.
/**
* @brief Called when an error is occurred.
+ * @details Following error codes can be delivered: \n
+ * #HAND_GESTURE_ERROR_INVALID_PARAMETER, \n
+ * #HAND_GESTURE_ERROR_INVALID_OPERATION, \n
+ * #HAND_GESTURE_ERROR_OUT_OF_MEMORY, \n
+ * #HAND_GESTURE_ERROR_OPERATION_FAILED
*
* @since_tizen @if WEARABLE 6.0 @endif
* @remarks The @a handle is the same object for which the callback was set.
*
* @since_tizen @if WEARABLE 6.0 @endif
* @remarks The @a handle is the same object for which the callback was set.
* The @a msg is managed by the platform and will be released when invoking this callback function is finished.
*
* @param[in] handle A gesture handle
* The @a msg is managed by the platform and will be released when invoking this callback function is finished.
*
* @param[in] handle A gesture handle
- * @param[in] error An error value. It can be one of the following error values: @n
- * #HAND_GESTURE_ERROR_INVALID_PARAMETER,
- * #HAND_GESTURE_ERROR_INVALID_OPERATION,
- * #HAND_GESTURE_ERROR_OUT_OF_MEMORY,
+ * @param[in] error An error value. It can be one of the following error values: \n
+ * #HAND_GESTURE_ERROR_INVALID_PARAMETER, \n
+ * #HAND_GESTURE_ERROR_INVALID_OPERATION, \n
+ * #HAND_GESTURE_ERROR_OUT_OF_MEMORY, \n
* #HAND_GESTURE_ERROR_OPERATION_FAILED
* @param[in] msg An error message from gesture engine service
* @param[in] user_data The user data is passed to hand_gesture_set_error_cb()
* #HAND_GESTURE_ERROR_OPERATION_FAILED
* @param[in] msg An error message from gesture engine service
* @param[in] user_data The user data is passed to hand_gesture_set_error_cb()
/**
* @brief Checks whether a gesture is supported or not.
/**
* @brief Checks whether a gesture is supported or not.
- * @details Check if the given gesture type is supported in the current device.
+ * @details Check if the given gesture type is supported on the device.
*
* @since_tizen @if WEARABLE 6.0 @endif
*
* @param[in] handle A gesture handle
* @param[in] gesture A gesture type to be checked
*
* @since_tizen @if WEARABLE 6.0 @endif
*
* @param[in] handle A gesture handle
* @param[in] gesture A gesture type to be checked
- * @param[out] supported @c true if the gesture is recognizable in the current device,@n
+ * @param[out] supported @c true if the gesture is recognizable on the device,\n
* @c false otherwise
*
* @return @c 0 if the @c gesture is supported, otherwise a negative error value
* @c false otherwise
*
* @return @c 0 if the @c gesture is supported, otherwise a negative error value
*/
typedef enum {
HAND_GESTURE_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
*/
typedef enum {
HAND_GESTURE_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
+ HAND_GESTURE_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported */
HAND_GESTURE_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid function parameter */
HAND_GESTURE_ERROR_INVALID_OPERATION = TIZEN_ERROR_INVALID_OPERATION, /**< Function not implemented */
HAND_GESTURE_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
HAND_GESTURE_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< Permission denied */
HAND_GESTURE_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid function parameter */
HAND_GESTURE_ERROR_INVALID_OPERATION = TIZEN_ERROR_INVALID_OPERATION, /**< Function not implemented */
HAND_GESTURE_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
HAND_GESTURE_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< Permission denied */
- HAND_GESTURE_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported */
HAND_GESTURE_ERROR_ALREADY_STARTED = TIZEN_ERROR_GESTURE | 0x01, /**< Recognition is already started */
HAND_GESTURE_ERROR_NOT_STARTED = TIZEN_ERROR_GESTURE | 0x02, /**< Recognition is not started */
HAND_GESTURE_ERROR_OPERATION_FAILED = TIZEN_ERROR_GESTURE | 0x04, /**< Operation failed because of a system error */
HAND_GESTURE_ERROR_ALREADY_STARTED = TIZEN_ERROR_GESTURE | 0x01, /**< Recognition is already started */
HAND_GESTURE_ERROR_NOT_STARTED = TIZEN_ERROR_GESTURE | 0x02, /**< Recognition is not started */
HAND_GESTURE_ERROR_OPERATION_FAILED = TIZEN_ERROR_GESTURE | 0x04, /**< Operation failed because of a system error */
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
- <policy user="root">
- <allow send_destination="org.tizen.gesture.server"/>
- </policy>
- <policy group="ui_fw">
<allow own="org.tizen.gesture.server"/>
<allow own="org.tizen.gesture.server"/>
+ </policy>
+ <policy group="users">
<allow send_destination="org.tizen.gesture.server"/>
</policy>
<policy context="default">
<allow send_destination="org.tizen.gesture.server"/>
</policy>
<policy context="default">
- <allow own="org.tizen.gesture.server"/>
- <allow send_destination="org.tizen.gesture.server"/>
+ <deny own="org.tizen.gesture.server"/>
+ <deny send_destination="org.tizen.gesture.server"/>
-</busconfig>
\ No newline at end of file