diff options
-rw-r--r-- | include/user-awareness-private.h | 4 | ||||
-rw-r--r-- | include/user-awareness.h | 4 | ||||
-rw-r--r-- | packaging/capi-network-ua.spec | 2 | ||||
-rw-r--r-- | test/uat-detections.c | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/include/user-awareness-private.h b/include/user-awareness-private.h index 2476480..07cb6fa 100644 --- a/include/user-awareness-private.h +++ b/include/user-awareness-private.h @@ -121,13 +121,13 @@ extern "C" { * @brief Minimum detection window size. * @since_tizen 5.5 */ -#define UA_MAX_DETECTION_WINDOW 290 /**< 290 seconds */ +#define UA_MAX_DETECTION_WINDOW 55 /**< 55 seconds */ /** * @brief Minimum detection cycle. * @since_tizen 5.5 */ -#define UA_MIN_DETECTION_CYCLE 300 /**< 5 min */ +#define UA_MIN_DETECTION_CYCLE 60 /**< 1 min */ /** * @brief Default service name. diff --git a/include/user-awareness.h b/include/user-awareness.h index 7f0bfe5..2831e4c 100644 --- a/include/user-awareness.h +++ b/include/user-awareness.h @@ -122,14 +122,14 @@ extern "C" { * @brief Window step multiplier. * @since_tizen 5.5 */ -#define UA_DETECTION_WINDOW_STEP 10 /* 10 seconds */ +#define UA_DETECTION_WINDOW_STEP 5 /* 5 seconds */ /** * @ingroup CAPI_NETWORK_UA_MODULE * @brief Detection cycle multiplier. * @since_tizen 5.5 */ -#define UA_DETECTION_CYCLE_STEP 300 /* 5 min */ +#define UA_DETECTION_CYCLE_STEP 60 /* 1 min */ /** * @ingroup CAPI_NETWORK_UA_MODULE diff --git a/packaging/capi-network-ua.spec b/packaging/capi-network-ua.spec index cdcae69..6127ea0 100644 --- a/packaging/capi-network-ua.spec +++ b/packaging/capi-network-ua.spec @@ -1,6 +1,6 @@ Name: capi-network-ua Summary: User Awareness Framework CAPI -Version: 0.8.9 +Version: 0.9.0 Release: 1 License: Apache-2.0 Source0: %{name}-%{version}.tar.gz diff --git a/test/uat-detections.c b/test/uat-detections.c index b3a5d41..6799e67 100644 --- a/test/uat-detections.c +++ b/test/uat-detections.c @@ -34,8 +34,8 @@ extern ua_monitor_h g_ua_mon_h; /**< Monitor handle */ extern ua_service_h g_service_h; /**< Service handle */ extern char g_service_str[MENU_DATA_SIZE + 1]; /**< Service string */ -static char cycle_time[MENU_DATA_SIZE + 1] = {"900", }; /**< cycle time */ -static char window[MENU_DATA_SIZE + 1] = {"60", }; /**< Detection window */ +static char cycle_time[MENU_DATA_SIZE + 1] = {"60", }; /**< cycle time */ +static char window[MENU_DATA_SIZE + 1] = {"55", }; /**< Detection window */ static char g_presence_and_cond[MENU_DATA_SIZE + 1] = {"16",}; /**< PRESENCE AND condition */ static char g_presence_or_cond[MENU_DATA_SIZE + 1] = {"6",}; /**< PRESENCE OR condition */ |