summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
taesub kim [Mon, 19 Jun 2017 05:54:47 +0000 (05:54 +0000)]
Merge "Added a icon for datausage noti in plugin" into tizen
hyunuktak [Fri, 16 Jun 2017 07:56:49 +0000 (16:56 +0900)]
Added a icon for datausage noti in plugin
Change-Id: Ib6524cb938f0e5155951123cce092dff403701ab
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Nishant Chaprana [Fri, 16 Jun 2017 06:30:46 +0000 (12:00 +0530)]
[STC Manager] Added logic to add and remove iptable rule of restriction.
Description: This patch adds logic to add and remove iptable rule of
applied restriction, when application starts and exit respectively.
Change-Id: I873183cbd94c94b4d4fc8987cdcea66d82aaa7e9
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Thu, 15 Jun 2017 04:10:04 +0000 (09:40 +0530)]
[STC Manager] Support set/get for total data usage(Tx + Rx) in restriction.
Description: This patch removes seperate data usage limits for Tx
and Rx data and uses total data limit for setting Tx and Rx limits.
Change-Id: I6882e936c9cb076dda548ef95a10e105071df767
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
taesub kim [Fri, 16 Jun 2017 04:23:51 +0000 (04:23 +0000)]
Merge "Removed unwanted function send_net_restriction() and its related code." into tizen
taesub kim [Fri, 16 Jun 2017 04:23:47 +0000 (04:23 +0000)]
Merge "Blocking incoming and outgoing traffic when specified limits are crosssed." into tizen
taesub kim [Fri, 16 Jun 2017 04:23:30 +0000 (04:23 +0000)]
Merge "Monitoring application wise background data usage." into tizen
Jaehyun Kim [Fri, 16 Jun 2017 02:30:40 +0000 (02:30 +0000)]
Merge "Added a plugin for net popup" into tizen
hyunuktak [Wed, 31 May 2017 08:05:26 +0000 (17:05 +0900)]
Added a plugin for net popup
Change-Id: I8ebc30530c1f819832f144fb78528193b48007f6
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Nishant Chaprana [Tue, 13 Jun 2017 09:12:11 +0000 (14:42 +0530)]
Removed unwanted function send_net_restriction() and its related code.
Change-Id: I68390c4d018778f6811fc1a9f2c0852b7aca1317
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Tue, 13 Jun 2017 09:08:06 +0000 (14:38 +0530)]
Blocking incoming and outgoing traffic when specified limits are crosssed.
Change-Id: I39e872adf9980b457a2b4427ce06c5798ed88f14
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Fri, 9 Jun 2017 08:11:44 +0000 (13:41 +0530)]
Monitoring application wise background data usage.
Description: This patch updates logic to monitor application wise
background data usage.
When background data usage is notified, app_id will be appended with "_BACKGROUND".
Below is the test result performed using stc_test application.
=================================================================
Main >> STC >> [Statistics] >> [Stats]
-----------------------------------------------------------------
[ 1] [Set] stats rule >
[ 2] [Get] stats
[ 3] [Get] all stats
[ 4] [Get] total stats
---------------------------------------------------------------
[ p ] Previous Menu
[ m ] Show Menu
[ q ] Quit
=================================================================
( 1354) >> 3
Success to set time interval
Success to request stats all info
( 1354) >> -----------------------------------------------------------------
App_id: [org.tizen.browser]
Ifname: []
Imsi: [noneimsi]
Iftype: [Undefined]
Received: [2182136]
Sent: [102681]
Roaming: [Unknown]
Protocol: [Unknown]
Process: [Unknown]
From: [0]
To: [0]
-----------------------------------------------------------------
-----------------------------------------------------------------
App_id: [org.tizen.browser_BACKGROUND]
Ifname: []
Imsi: [noneimsi]
Iftype: [Undefined]
Received: [1872]
Sent: [1872]
Roaming: [Unknown]
Protocol: [Unknown]
Process: [Unknown]
From: [0]
To: [0]
-----------------------------------------------------------------
Change-Id: Id8175494e559790e2959e5a6e7164de24e00a548
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Wed, 7 Jun 2017 04:46:46 +0000 (10:16 +0530)]
Removed unused preset restrictions list.
Change-Id: I8b2c4fab85db417a1831668c6172924d3e9452b5
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Mon, 22 May 2017 11:36:42 +0000 (17:06 +0530)]
Removed unused StatusChanged signal from dbus interface xml
Change-Id: Ic944f680f1a9c589abf29fdd327a6930a6a84214
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Mon, 22 May 2017 11:31:09 +0000 (17:01 +0530)]
Added RestrictionThresholdCrossed signal on restriction interface.
Change-Id: Id061a20270d6859a946ed1cba07d3abf512e884a
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Mon, 22 May 2017 11:29:59 +0000 (16:59 +0530)]
Added WarnThresholdCrossed signal on restriction interface.
Change-Id: I0cee09ac57abe21b64454968ef3e7644f12fe7dc
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Mon, 22 May 2017 11:28:35 +0000 (16:58 +0530)]
Extract send_limit, rcv_limit, rcv_warn_limit and send_warn_limit as int64
Description: smart-traffic-control library sends limits as int64 but manager
was extracting these values as uint64, due to which values were not extracted
and limits were not updated.
Below is the error log:-
D/STC_MANAGER( 386): stc-manager-gdbus.c: stc_manager_gdbus_dict_foreach(298) > Key : [rcv_limit]
D/STC_MANAGER( 386): stc-manager-gdbus.c: stc_manager_gdbus_dict_foreach(298) > Value: [int64 1024000]
D/STC_MANAGER( 386): stc-restriction.c: __stc_extract_restriction_rule(180) > Enter
D/STC_MANAGER( 386): stc-restriction.c: __stc_extract_restriction_rule(207) > rcv_limit: [0]
D/STC_MANAGER( 386): stc-restriction.c: __stc_extract_restriction_rule(235) > Quit
D/STC_MANAGER( 386): stc-manager-gdbus.c: stc_manager_gdbus_dict_foreach(298) > Key : [send_limit]
D/STC_MANAGER( 386): stc-manager-gdbus.c: stc_manager_gdbus_dict_foreach(298) > Value: [int64 1024000]
D/STC_MANAGER( 386): stc-restriction.c: __stc_extract_restriction_rule(180) > Enter
D/STC_MANAGER( 386): stc-restriction.c: __stc_extract_restriction_rule(211) > send_limit: [0]
D/STC_MANAGER( 386): stc-restriction.c: __stc_extract_restriction_rule(235) > Quit
D/STC_MANAGER( 386): stc-manager-gdbus.c: stc_manager_gdbus_dict_foreach(298) > Key : [rcv_warn_limit]
D/STC_MANAGER( 386): stc-manager-gdbus.c: stc_manager_gdbus_dict_foreach(298) > Value: [int64 1020000]
D/STC_MANAGER( 386): stc-restriction.c: __stc_extract_restriction_rule(180) > Enter
D/STC_MANAGER( 386): stc-restriction.c: __stc_extract_restriction_rule(215) > rcv_warn_limit: [0]
D/STC_MANAGER( 386): stc-restriction.c: __stc_extract_restriction_rule(235) > Quit
D/STC_MANAGER( 386): stc-manager-gdbus.c: stc_manager_gdbus_dict_foreach(298) > Key : [send_warn_limit]
D/STC_MANAGER( 386): stc-manager-gdbus.c: stc_manager_gdbus_dict_foreach(298) > Value: [int64 1020000]
Change-Id: I2e5ea475bc5545f631b7c74d208b2b1a27d41308
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
hyunuktak [Mon, 22 May 2017 07:32:41 +0000 (16:32 +0900)]
Removed unreachable code
Change-Id: Iac675e67967222ab7626b8ab0633a330685d8bf0
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Fri, 19 May 2017 06:45:06 +0000 (15:45 +0900)]
Fixed some svaces for unreachable
Change-Id: I2612fe4c4fa063d36fca79ad7a423b27b3fbad63
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Wed, 17 May 2017 01:13:33 +0000 (10:13 +0900)]
Fixed a svace for 212550
Change-Id: I8d0fc13c0ac76e477393079fd5533d4f2de8db6c
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Wed, 17 May 2017 01:03:39 +0000 (10:03 +0900)]
Modified the privilege to network.get from network.stc
Change-Id: I829eb23e7eaaa993c544e902b6636082addd6f21
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Fri, 12 May 2017 06:37:56 +0000 (15:37 +0900)]
Added init service method
Change-Id: I4afe3bf1c75119e97f3e27264db1239d44a8bbbf
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Thu, 11 May 2017 07:59:18 +0000 (16:59 +0900)]
Modified properly data type
Change-Id: Ie0e775abb7c349847aa5d43fce211c0b60b6c8d1
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Wed, 10 May 2017 08:23:58 +0000 (17:23 +0900)]
Fixed some svace issues
Change-Id: I1e02c3655b3601b6b855c33f5660940c696595c6
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Thu, 27 Apr 2017 09:37:48 +0000 (18:37 +0900)]
Initialize smart traffic control manager package
Change-Id: I099c864838aabaf85ee7f6a41742d78f57910580
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Tizen Infrastructure [Wed, 4 Jan 2017 04:03:12 +0000 (20:03 -0800)]
Initial empty repository