platform/core/convergence/d2d-conv-manager.git
7 years agoAdd iotivity retransmission logic about discovery. 78/115478/3 accepted/tizen_common accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170221.134913 accepted/tizen/mobile/20170221.225341 accepted/tizen/tv/20170221.225404 accepted/tizen/unified/20170309.032809 accepted/tizen/wearable/20170221.225415 submit/tizen/20170221.001425 submit/tizen_unified/20170308.100406
Segwon [Mon, 20 Feb 2017 06:11:08 +0000 (15:11 +0900)]
Add iotivity retransmission logic about discovery.

Signed-off-by: Segwon <segwon.han@samsung.com>
Change-Id: I79469ead28aeb1c8dc55857dc65268d23dce803a

7 years agoMerge "d2d-conv-manager: fix crash issue when Smartview discovery" into tizen
JooSeok Park [Fri, 17 Feb 2017 03:10:47 +0000 (19:10 -0800)]
Merge "d2d-conv-manager: fix crash issue when Smartview discovery" into tizen

7 years agod2d-conv-manager: fix crash issue when Smartview discovery 19/115219/1
Hongkuk, Son [Fri, 17 Feb 2017 02:48:56 +0000 (11:48 +0900)]
d2d-conv-manager: fix crash issue when Smartview discovery

In notifyDiscovered(), after normally appendDiscoveredResult,
then it deletes device/service pointer by mistake.
So now, remove this wrong logic to maintain those pointers.

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I27f988f55ebe338a4950783cb37fa61c9c767138

7 years agod2d-conv-manager: fix svace issue 17/115217/1
Hongkuk, Son [Thu, 16 Feb 2017 04:39:02 +0000 (13:39 +0900)]
d2d-conv-manager: fix svace issue

WID 20315689 - MEMORY_LEAK.EX

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I025866809513f80fc5d3df30141c1458eae06330
(cherry picked from commit 7a4c44b7140778747964e33b65ed793df7519c61)

7 years agoMerge "Fix: ifdef logic error + runtime profile determination" into tizen
JooSeok Park [Thu, 16 Feb 2017 01:08:08 +0000 (17:08 -0800)]
Merge "Fix: ifdef logic error + runtime profile determination" into tizen

7 years agoMerge "d2d-conv-manager: fix memory leaks and remove unused variables" into tizen accepted/tizen/common/20170210.170711 accepted/tizen/mobile/20170214.010351 accepted/tizen/tv/20170214.010409 accepted/tizen/wearable/20170214.010438 submit/tizen/20170210.102412
Park [Fri, 10 Feb 2017 07:48:38 +0000 (23:48 -0800)]
Merge "d2d-conv-manager: fix memory leaks and remove unused variables" into tizen

7 years agod2d-conv-manager: fix svace issues 55/114155/1
Hongkuk, Son [Wed, 8 Feb 2017 10:21:26 +0000 (19:21 +0900)]
d2d-conv-manager: fix svace issues

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: Ia238756eb4707fe8481967a6ff36022cd2e047d4

7 years agod2d-conv-manager: fix memory leaks and remove unused variables 53/114153/1
Hongkuk, Son [Wed, 8 Feb 2017 06:22:50 +0000 (15:22 +0900)]
d2d-conv-manager: fix memory leaks and remove unused variables

-http://suprem.sec.samsung.net/jira/browse/TSAM-12805
-Memory leaks were detected by LSAN(leak sanitizer).

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I8c79f0d697a97f9c629008b7da99be0a0e229ace

7 years agoFix: ifdef logic error + runtime profile determination 47/111647/2
MyungJoo Ham [Mon, 23 Jan 2017 08:27:21 +0000 (17:27 +0900)]
Fix: ifdef logic error + runtime profile determination

Change-Id: Ie99001670d3c28ae458571c841ca6bda1c9a3caf
CC: Jihoon Park <jpark0@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRemove Profile Build Dependency: Do it at runtime 26/97426/11
MyungJoo Ham [Mon, 14 Nov 2016 07:03:51 +0000 (16:03 +0900)]
Remove Profile Build Dependency: Do it at runtime

- This is for Tizen 4.0.

  : Tizen 4.0 Configurability and Build Blocks require
  to remove all profile-depending build options in spec files.
  (No More profile macros!)

  : Note that _WEARABLE and _MOBILE were completely useless because
  no code was using it.
  : _TV was used only once at daemon/ServiceManager.cpp, which
  is replaced by runtime profile probing.

  : INTERNAL_ACL has been always 1 in Tizen.org Public and INTERNAL_ACL
  has been 0 only in Tizen-TV Product. So, I've changed the condition
  more clearly.

  : daemon/discovery_provider/WifiDirectDiscoveryProvider.cpp has
  a ifdef condition that is always FALSE in public.

- Merge conflicts resolved.

Change-Id: I4ce56ef62d81e542067abc2847c674a4bdd61f7f
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agod2d-conv-manager: fix PRODUCT TV macro name 78/111278/1
Hongkuk, Son [Fri, 20 Jan 2017 05:23:59 +0000 (14:23 +0900)]
d2d-conv-manager: fix PRODUCT TV macro name

TIZEN_TV_PRODUCT -> TIZEN_PRODUCT_TV

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: Ifa86f4273ee83c997b0b854767e517f71004988e

7 years agod2d-conv-manager: initialize dbus connection before dbus call 98/110498/1 accepted/tizen/common/20170117.175015 accepted/tizen/mobile/20170118.041154 accepted/tizen/tv/20170118.041216 accepted/tizen/wearable/20170118.041220 submit/tizen/20170117.095800
Hongkuk, Son [Tue, 17 Jan 2017 00:12:05 +0000 (09:12 +0900)]
d2d-conv-manager: initialize dbus connection before dbus call

Bug is detected when UTC executing for line coverage.
When we call conv_service_get_connection_state(), there is a CRASH.
In this case, d2d API is calling dbus call without dbus connection init.
So, we add dbus connection init before dbus call.

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I9b8d097a4b704fe47f3695fbb71fc9ea0a3d85ec

7 years agoMerge "Modified resource properties for /tizen/d2d-service" into tizen
Park [Mon, 16 Jan 2017 09:01:12 +0000 (01:01 -0800)]
Merge "Modified resource properties for /tizen/d2d-service" into tizen

7 years agoMerge "Modified to send NULL channel/payload instead of empty object" into tizen
Park [Mon, 16 Jan 2017 09:00:11 +0000 (01:00 -0800)]
Merge "Modified to send NULL channel/payload instead of empty object" into tizen

7 years agoModified dbus timeout value to prevent deadlock 19/110019/2
kmook [Thu, 12 Jan 2017 11:40:36 +0000 (20:40 +0900)]
Modified dbus timeout value to prevent deadlock

Change-Id: I4ed3ba0830c0a9cb2baa95d4c4c01efc382f2c7b
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoAdded clear code on discovery start 40/109940/2
kmook [Thu, 12 Jan 2017 08:36:09 +0000 (17:36 +0900)]
Added clear code on discovery start

Change-Id: I6acb5bc0d9f3939b987d991850446373c0f1010f
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoAdded exception code for NULL response case 66/109766/1
kmook [Wed, 11 Jan 2017 12:38:01 +0000 (21:38 +0900)]
Added exception code for NULL response case

Change-Id: I5e334cb928dbf3cd6883da0f7a98b0219e19a6eb
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoRemoved default device type code for msf device 42/109342/1
kmook [Tue, 10 Jan 2017 05:27:48 +0000 (14:27 +0900)]
Removed default device type code for msf device

Change-Id: I31e47464dd85782346dfda56a67f6043f7c0ce13
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoFixed bug in is_start internal API 08/109308/1 accepted/tizen/common/20170110.154915 accepted/tizen/mobile/20170110.080727 accepted/tizen/tv/20170110.080738 accepted/tizen/wearable/20170110.080802 submit/tizen/20170110.015905
kmook [Tue, 10 Jan 2017 01:46:59 +0000 (10:46 +0900)]
Fixed bug in is_start internal API

Change-Id: I5627f4b7030b3ca6e47bc47c797377207a362185
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoFixed coding rule check defect 18/107618/3
kmook [Thu, 29 Dec 2016 02:14:17 +0000 (11:14 +0900)]
Fixed coding rule check defect

Change-Id: I6b6d137526ee2d014f012238f099434184f91af2
Signed-off-by: kmook <kmook.choi@samsung.com>
(cherry picked from commit 6053fdffa51a3dabadabb57d480c9fae92371a46)

7 years agoMerge "Fixed potential race condition on getByURI" into tizen accepted/tizen/common/20170105.172850 accepted/tizen/mobile/20170105.223909 accepted/tizen/mobile/20170118.041029 accepted/tizen/tv/20170105.223927 accepted/tizen/tv/20170118.041102 accepted/tizen/wearable/20170105.223945 accepted/tizen/wearable/20170118.041112 submit/tizen/20170105.131619 submit/tizen/20170117.095244
Park [Thu, 5 Jan 2017 13:14:35 +0000 (05:14 -0800)]
Merge "Fixed potential race condition on getByURI" into tizen

7 years agoMerge "Applied internal APIs to check service state" into tizen
Park [Thu, 5 Jan 2017 13:14:22 +0000 (05:14 -0800)]
Merge "Applied internal APIs to check service state" into tizen

7 years agoFixed potential race condition on getByURI 13/108613/2
kmook [Thu, 5 Jan 2017 08:03:31 +0000 (17:03 +0900)]
Fixed potential race condition on getByURI

Change-Id: I445765de9552039bb9daf4f31412d8409cd4ca6c
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoModified to send NULL channel/payload instead of empty object 11/105011/6
kmook [Thu, 15 Dec 2016 05:59:00 +0000 (14:59 +0900)]
Modified to send NULL channel/payload instead of empty object

Change-Id: Icacc1236a91e0804aa0601b26b085d769f895c49
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoApplied internal APIs to check service state 45/108445/2
kmook [Wed, 4 Jan 2017 10:00:02 +0000 (19:00 +0900)]
Applied internal APIs to check service state

Change-Id: I187c6b1a8f6ab4b8b907283b953e165141192f5a
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoFixed potential crash issue on websocket disconnect stage 93/108293/2
kmook [Wed, 4 Jan 2017 04:01:47 +0000 (13:01 +0900)]
Fixed potential crash issue on websocket disconnect stage

Change-Id: If3277c220f3a3e3389ca701ebb11c021dec17529
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoMerge "Fixed crash issue on unset_listener_cb() is called right after publish()"...
Park [Tue, 3 Jan 2017 08:41:55 +0000 (00:41 -0800)]
Merge "Fixed crash issue on unset_listener_cb() is called right after publish()" into tizen

7 years agoFixed crash issue on unset_listener_cb() is called right after publish() 50/108150/2
kmook [Tue, 3 Jan 2017 06:56:17 +0000 (15:56 +0900)]
Fixed crash issue on unset_listener_cb() is called right after publish()

Change-Id: I157ca47286b848d9c6be5bb6b2137f89f91d0aeb
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoModified the Odroid is always allow to ACL status. 47/108047/1
Segwon [Mon, 2 Jan 2017 12:36:44 +0000 (21:36 +0900)]
Modified the Odroid is always allow to ACL status.

Signed-off-by: Segwon <segwon.han@samsung.com>
Change-Id: I98b703842e2bfbfd15dba219c8fda77102575769

7 years agoModified resource properties for /tizen/d2d-service 33/107233/2
kmook [Tue, 27 Dec 2016 07:59:07 +0000 (16:59 +0900)]
Modified resource properties for /tizen/d2d-service

Change-Id: Ibc01c7380e324b4dd8afbfffe3ece7b10d713a93
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoFixed crash issue on destroying websocket and applied exception codes 43/107743/3 accepted/tizen/common/20161230.055055 accepted/tizen/mobile/20170101.223856 accepted/tizen/tv/20170101.223912 accepted/tizen/wearable/20170101.223931 submit/tizen/20161230.043851
kmook [Thu, 29 Dec 2016 12:39:29 +0000 (21:39 +0900)]
Fixed crash issue on destroying websocket and applied exception codes

Change-Id: I551f4347ed8ccfa9b2f62bbe3723c6b9dacd6682
Signed-off-by: kmook <kmook.choi@samsung.com>
(cherry picked from commit c690e5e589bae8f34de120252307db154d82bb32)

7 years agoFixed mismatch alloc/dealloc, thread id checking routine 44/106544/1 accepted/tizen/common/20161227.192155 accepted/tizen/mobile/20161226.131420 accepted/tizen/tv/20161226.131433 accepted/tizen/wearable/20161226.131452 submit/tizen/20161226.041041
kmook [Thu, 22 Dec 2016 04:50:50 +0000 (13:50 +0900)]
Fixed mismatch alloc/dealloc, thread id checking routine

Change-Id: I5aaa95714b92d47af507d8cb635afce4bb689513
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoFixed build error in aarch64 02/106502/1 accepted/tizen/common/20161222.131146 accepted/tizen/mobile/20161223.095046 accepted/tizen/tv/20161223.095108 accepted/tizen/wearable/20161223.095123 submit/tizen/20161222.023827
kmook [Thu, 22 Dec 2016 02:31:57 +0000 (11:31 +0900)]
Fixed build error in aarch64

Change-Id: Id2c57f7c86c659e3a604a7166cf4d67feb976fd5
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoModified resource properties for remote-app-control 83/106483/1
kmook [Thu, 22 Dec 2016 01:10:09 +0000 (10:10 +0900)]
Modified resource properties for remote-app-control

Change-Id: I8e7093c59546bffe8bfb260309739e9507d72677
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoModified send buffer and applied ping pong in msf client 46/106246/3 submit/tizen/20161222.005908
kmook [Wed, 21 Dec 2016 06:12:32 +0000 (15:12 +0900)]
Modified send buffer and applied ping pong in msf client

Change-Id: I0790a02ad0437c62415f46b1ebddd15ccb32586c
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoAdded option to set target client id in app-comm service 88/105588/1
kmook [Mon, 19 Dec 2016 05:21:11 +0000 (14:21 +0900)]
Added option to set target client id in app-comm service

Change-Id: I6335e86c95ccab12dda34eb5302bf5879cb4a40f
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoReplaced libwebsockets apis to check last fragment 16/105516/1
kmook [Mon, 19 Dec 2016 01:28:47 +0000 (10:28 +0900)]
Replaced libwebsockets apis to check last fragment

Change-Id: I8417c54f063f34ae748f9f7882131ecbfec516bf
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agod2d-conv-manager: fix svace_2.2 issue 18/105318/1 accepted/tizen/common/20161219.151911 accepted/tizen/mobile/20161219.021959 accepted/tizen/tv/20161219.022027 accepted/tizen/wearable/20161219.022037 submit/tizen/20161219.005545
Hongkuk, Son [Fri, 16 Dec 2016 07:56:48 +0000 (16:56 +0900)]
d2d-conv-manager: fix svace_2.2 issue

DEREF_AFTER_NULL.EX

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I0637c8e8f5b14f6554f4aff121acad0a16bfe7e5

7 years agod2d-conv-manager: fix svace_2.2 issues 69/104669/1 accepted/tizen/common/20161215.165737 accepted/tizen/mobile/20161215.073957 accepted/tizen/tv/20161215.074015 accepted/tizen/wearable/20161215.074037 submit/tizen/20161215.011749
Hongkuk, Son [Wed, 14 Dec 2016 04:49:41 +0000 (13:49 +0900)]
d2d-conv-manager: fix svace_2.2 issues

UNINIT.LOCAL_VAR.EX
UNREACHABLE_CODE

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: Ib354678063945081170e66eba20e58297ace2a5d

7 years agoMerge "Changed onPublish callback for remote-app-control" into tizen accepted/tizen/common/20161213.164853 accepted/tizen/mobile/20161214.015603 accepted/tizen/tv/20161214.015611 accepted/tizen/wearable/20161214.015616 submit/tizen/20161213.104255
Park [Tue, 13 Dec 2016 09:47:36 +0000 (01:47 -0800)]
Merge "Changed onPublish callback for remote-app-control" into tizen

7 years agoChanged onPublish callback for remote-app-control 41/104441/1
kmook [Tue, 13 Dec 2016 09:30:28 +0000 (18:30 +0900)]
Changed onPublish callback for remote-app-control

Change-Id: Iff8820775e43fcabc3786efc2ac2998a44d1a0b2
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agod2d-conv-manager: fix svace_2.2 issues 37/104437/1
Hongkuk, Son [Tue, 13 Dec 2016 09:12:09 +0000 (18:12 +0900)]
d2d-conv-manager: fix svace_2.2 issues

fix issues which are checked by svace script.

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I02ad5d33c13fbc3a807a7d8c83ff47222ebbd141

7 years agoFixed null check issue 70/104370/1
kmook [Tue, 13 Dec 2016 07:43:46 +0000 (16:43 +0900)]
Fixed null check issue

Change-Id: I36c15ac779e67039812ee93d3e7242a293d0aace
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agod2d-conv-manager: fix KONA memory leak issue 31/104331/1
Hongkuk, Son [Tue, 13 Dec 2016 06:18:06 +0000 (15:18 +0900)]
d2d-conv-manager: fix KONA memory leak issue

RQ161213-00667 [OSS_Improve_3.0] : [Memory Leak] Verifying usage of app_control_create() API

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I7ec05ac99c79e205d054c9274b847edc79fb43ab

7 years agod2d-conv-manager: fix svace_2.2 issues 86/104086/1 accepted/tizen/common/20161212.185608 accepted/tizen/mobile/20161213.002908 accepted/tizen/tv/20161213.002912 accepted/tizen/wearable/20161213.002932 submit/tizen/20161212.090406
Hongkuk, Son [Mon, 12 Dec 2016 08:49:15 +0000 (17:49 +0900)]
d2d-conv-manager: fix svace_2.2 issues

WID 17710445 - NULL_AFTER_DEREF
WID 17713990 - DEREF_AFTER_NULL.EX

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I0549f5c5e8aedb85cdc68fcffa6cb2bd1dddf37e

7 years agoModified the iotcon_find_resource option. 80/103980/1 submit/tizen/20161212.044451
segwon [Mon, 12 Dec 2016 04:15:48 +0000 (13:15 +0900)]
Modified the iotcon_find_resource option.
(Addition IOTCON_CONNECTIVITY_IP)

Signed-off-by: segwon <segwon.han@samsung.com>
Change-Id: Ie9604665f63f388a961cd600605509615942bb2c

7 years agoModified to send the device name to d2d-conv-syspopup. 98/103898/1 accepted/tizen/common/20161210.162327 accepted/tizen/mobile/20161212.025708 accepted/tizen/tv/20161212.025716 accepted/tizen/wearable/20161212.025725 submit/tizen/20161210.071601
segwon [Sat, 10 Dec 2016 07:01:27 +0000 (16:01 +0900)]
Modified to send the device name to d2d-conv-syspopup.

Signed-off-by: segwon <segwon.han@samsung.com>
Change-Id: I93a8a2d540d9706f08d721b22d12b4d7cf3a04b7

7 years agod2d-conv-manager: fix 64bit TCT fail issues 14/103714/1 accepted/tizen/common/20161209.160343 submit/tizen/20161209.080415
Hongkuk, Son [Fri, 9 Dec 2016 07:57:06 +0000 (16:57 +0900)]
d2d-conv-manager: fix 64bit TCT fail issues

fix not to use gsize casting.
just declare gsize variable.

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: Ie44508554956b8f287b7acd386d8f5aaae804c43

7 years agoFixed json parsing error 31/103631/2
kmook [Fri, 9 Dec 2016 04:28:47 +0000 (13:28 +0900)]
Fixed json parsing error

Change-Id: Ie1e63a6a1f70f7493f7b54b690afcbf7cf653c56
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoFixed memory leakage issue 29/103429/1
kmook [Thu, 8 Dec 2016 09:19:48 +0000 (18:19 +0900)]
Fixed memory leakage issue

Change-Id: I4334df5edb384162b2a36284784fd30c02b24600
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoApplied direct binary array transfer via dbus 19/103319/2
kmook [Thu, 8 Dec 2016 05:08:59 +0000 (14:08 +0900)]
Applied direct binary array transfer via dbus

Change-Id: I52c36f97cb39f3e98363c42b7cb64caeec713a64
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoFixed bug on text message handling 44/103144/1 accepted/tizen/common/20161207.184642 accepted/tizen/mobile/20161208.012320 accepted/tizen/tv/20161208.012325 accepted/tizen/wearable/20161208.012328 submit/tizen/20161207.112940
kmook [Wed, 7 Dec 2016 10:52:39 +0000 (19:52 +0900)]
Fixed bug on text message handling

Change-Id: I859e4dda35c55c8431ad9a82d000e0e05c23cd8d
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoModified the passkey to generate numbers only. 27/102327/1 accepted/tizen/common/20161207.184246 accepted/tizen/mobile/20161207.031156 accepted/tizen/tv/20161207.031213 accepted/tizen/wearable/20161207.031230 submit/tizen/20161207.010250
segwon [Mon, 5 Dec 2016 10:20:34 +0000 (19:20 +0900)]
Modified the passkey to generate numbers only.

Signed-off-by: segwon <segwon.han@samsung.com>
Change-Id: I0bf45f9e05f850f98d8fd908f9d2562576009723

7 years agod2d-conv-manager: fix 64-bit build error 73/102173/1 accepted/tizen/common/20161205.135922 accepted/tizen/mobile/20161205.233153 accepted/tizen/tv/20161205.233211 accepted/tizen/wearable/20161205.233225 submit/tizen/20161205.065822
Hongkuk, Son [Mon, 5 Dec 2016 06:46:52 +0000 (15:46 +0900)]
d2d-conv-manager: fix 64-bit build error

casting with gsize *

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I22bae3e58f318f71120b7eeb0f6f0fd128c241d4

7 years agoMerge "Modified strcpy function to stable strncpy function." into tizen submit/tizen/20161205.014435
Park [Mon, 5 Dec 2016 01:33:26 +0000 (17:33 -0800)]
Merge "Modified strcpy function to stable strncpy function." into tizen

7 years agoModified strcpy function to stable strncpy function. 66/101666/3
segwon [Fri, 2 Dec 2016 02:20:35 +0000 (11:20 +0900)]
Modified strcpy function to stable strncpy function.

Signed-off-by: segwon <segwon.han@samsung.com>
Change-Id: I388f2df56f9ccbf101854f0d4ce2875a0160d2c7

7 years agoFixed problem while transfering binary message 07/101807/3
kmook [Fri, 2 Dec 2016 07:19:55 +0000 (16:19 +0900)]
Fixed problem while transfering binary message

Change-Id: Idf671284cbbd08e64afd333e449b4d4a20de466f
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoChanged the database name and directory. 91/101091/1 accepted/tizen/common/20161130.134227 accepted/tizen/mobile/20161130.233323 accepted/tizen/tv/20161130.233342 accepted/tizen/wearable/20161130.233402 submit/tizen/20161130.105941
segwon [Wed, 30 Nov 2016 08:34:04 +0000 (17:34 +0900)]
Changed the database name and directory.

Signed-off-by: segwon <segwon.han@samsung.com>
Change-Id: I5d507ce03a9166bd5fb87d63434225f62708e92c

7 years agod2d-conv-manager: fix svace_2.2 issues 83/100983/1 accepted/tizen/common/20161130.070753 accepted/tizen/mobile/20161130.232222 accepted/tizen/tv/20161130.232239 accepted/tizen/wearable/20161130.232258 submit/tizen/20161130.051047
Hongkuk, Son [Tue, 29 Nov 2016 06:30:39 +0000 (15:30 +0900)]
d2d-conv-manager: fix svace_2.2 issues

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I219e4d924ebf4b7a5e375f930d98787f324b1771

7 years agoFixed Segmentation Fault issue on handling SIGTERM 19/100719/1
kmook [Tue, 29 Nov 2016 05:01:57 +0000 (14:01 +0900)]
Fixed Segmentation Fault issue on handling SIGTERM

Change-Id: I65dffba94e5052aca3ce4e96df08c57e2f012d3b
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoMerge "Fixing missing Device Info in conv_service_read()" into tizen
Park [Tue, 29 Nov 2016 04:47:55 +0000 (20:47 -0800)]
Merge "Fixing missing Device Info in conv_service_read()" into tizen

7 years agoMerge "Fixing mistake in conv manager API doxygen tag" into tizen
Park [Tue, 29 Nov 2016 04:47:44 +0000 (20:47 -0800)]
Merge "Fixing mistake in conv manager API doxygen tag" into tizen

7 years agoApplied code review results 88/100588/1
kmook [Mon, 28 Nov 2016 12:38:16 +0000 (21:38 +0900)]
Applied code review results

Change-Id: I882871e8fcd5104a6d886cf83d99a65aae867a12
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoFixing missing Device Info in conv_service_read() 43/99843/2
Ramasamy [Thu, 24 Nov 2016 08:27:32 +0000 (13:57 +0530)]
Fixing missing Device Info in conv_service_read()

- Added loading device info json in conv_service_read()

signed-off-by: Ram <ram.kannan@samsung.com>
Change-Id: I24a97066f1407908ee0575dfb85e896638e0ef5f

7 years agoChanged name for legacy SmartView data fields 12/100112/1 accepted/tizen/common/20161128.064216 accepted/tizen/mobile/20161129.000204 accepted/tizen/tv/20161129.000222 accepted/tizen/wearable/20161129.000245 submit/tizen/20161128.022537
kmook [Fri, 25 Nov 2016 06:39:13 +0000 (15:39 +0900)]
Changed name for legacy SmartView data fields

Change-Id: Ifa5bc453dfb15fb32144e2fecd2794bb12482bac
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoApplied coding rule 99/100099/1
kmook [Fri, 25 Nov 2016 06:34:36 +0000 (15:34 +0900)]
Applied coding rule

Change-Id: I5064e6589328b03fca1a546b49de42a6735ff647
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoChanged ACL codes in remote app control service 19/99319/4
kmook [Tue, 22 Nov 2016 10:42:35 +0000 (19:42 +0900)]
Changed ACL codes in remote app control service

Change-Id: I18b83df6378dd0fcc1e4a63078e8aed37fbefc23
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoChanged the passcode variable name to passkey. 06/99806/1
segwon [Thu, 24 Nov 2016 07:11:23 +0000 (16:11 +0900)]
Changed the passcode variable name to passkey.

Signed-off-by: segwon <segwon.han@samsung.com>
Change-Id: I71d930645fd3194b72814480a50c5a3ee2d9b62f

7 years agoFixing mistake in conv manager API doxygen tag 07/99507/1
shulga [Wed, 23 Nov 2016 06:27:44 +0000 (15:27 +0900)]
Fixing mistake in conv manager API doxygen tag

Signed-off-by: shulga <a.shulga@samsung.com>
Change-Id: I10714da24d8beaf8845604ab3493fb9907534986

7 years agod2d-conv-manager: modify iotcon_remote_resource_create()'s option 68/98968/1 accepted/tizen/common/20161122.192709 accepted/tizen/mobile/20161122.235338 accepted/tizen/tv/20161122.235401 accepted/tizen/wearable/20161122.235422 submit/tizen/20161121.100048
Hongkuk, Son [Mon, 21 Nov 2016 08:29:01 +0000 (17:29 +0900)]
d2d-conv-manager: modify iotcon_remote_resource_create()'s option

IOTCON_CONNECTIVITY_IPV4_ONLY -> not work
IOTCON_CONNECTIVITY_IP -> works

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I553b660f331606e8f7183456bf1f1f3dab1d9a7d

7 years agoMerge "Rollback changed iotcon API." into tizen accepted/tizen/common/20161121.143334 accepted/tizen/mobile/20161121.234657 accepted/tizen/tv/20161121.234716 accepted/tizen/wearable/20161121.234738 submit/tizen/20161121.012034
Park [Mon, 21 Nov 2016 05:19:48 +0000 (21:19 -0800)]
Merge "Rollback changed iotcon API." into tizen

7 years agoMerge "Remove the wearable define about ACL. (Wearable ACL state is unconditional...
Park [Mon, 21 Nov 2016 05:12:04 +0000 (21:12 -0800)]
Merge "Remove the wearable define about ACL. (Wearable ACL state is unconditional permit)" into tizen

7 years agoRollback changed iotcon API. 49/98849/2
segwon [Mon, 21 Nov 2016 04:55:06 +0000 (13:55 +0900)]
Rollback changed iotcon API.

Signed-off-by: segwon <segwon.han@samsung.com>
Change-Id: Ie74f259fdce135729658e426d8014ff1ab4f2357

7 years agod2d-conv-manager: fix svace issue 33/98833/1
Hongkuk, Son [Mon, 21 Nov 2016 04:04:38 +0000 (13:04 +0900)]
d2d-conv-manager: fix svace issue

PROC_USE.VULNERABLE - WID 16601022

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: If85dca96411db99560d604abaeecf0647b0848c7

7 years agoRemove the wearable define about ACL. 24/98824/1
segwon [Mon, 21 Nov 2016 02:59:07 +0000 (11:59 +0900)]
Remove the wearable define about ACL.
(Wearable ACL state is unconditional permit)

Signed-off-by: segwon <segwon.han@samsung.com>
Change-Id: Ied5748e4212511745146f84fab4a5a4dc5a531f9

7 years agoDevelop the ACL Internal API for Convergence Setting App(d2d-conv-setting) 61/97961/1
segwon [Tue, 15 Nov 2016 12:20:21 +0000 (21:20 +0900)]
Develop the ACL Internal API for Convergence Setting App(d2d-conv-setting)
+ Coding Rule Check

Signed-off-by: segwon <segwon.han@samsung.com>
Change-Id: Ida13e4157a4a45c5f7ae2bfbb1be7b18a6c6104e

7 years agod2d-conv-manager: coding rule ( msf_tizen_client/src/* ) 90/97890/1
Hongkuk, Son [Tue, 15 Nov 2016 08:29:26 +0000 (17:29 +0900)]
d2d-conv-manager: coding rule ( msf_tizen_client/src/* )

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I480a827ee56fd5ae1b7567d4f91aac30e715f71f

7 years agoMerge "Changed iotcon API connectivity parameters" into tizen
Park [Mon, 14 Nov 2016 05:30:02 +0000 (21:30 -0800)]
Merge "Changed iotcon API connectivity parameters" into tizen

8 years agoChanged iotcon API connectivity parameters 98/96998/2
kmook [Fri, 11 Nov 2016 01:30:48 +0000 (10:30 +0900)]
Changed iotcon API connectivity parameters

Change-Id: I7b91fd0ba4fa81330b9f2ef345d5e78ede7b8ee5
Signed-off-by: kmook <kmook.choi@samsung.com>
8 years agoIn wearable, the acManagerPolicy is always Permitted. This is temporary commit. 82/96582/2 accepted/tizen/common/20161115.200258 accepted/tizen/mobile/20161111.001952 accepted/tizen/mobile/20161114.004003 accepted/tizen/tv/20161111.002009 accepted/tizen/tv/20161114.004027 accepted/tizen/wearable/20161111.002029 accepted/tizen/wearable/20161114.004058 submit/tizen/20161110.072951 submit/tizen/20161111.015320
segwon [Wed, 9 Nov 2016 10:46:42 +0000 (19:46 +0900)]
In wearable, the acManagerPolicy is always Permitted. This is temporary commit.

Signed-off-by: segwon <segwon.han@samsung.com>
Change-Id: I882e135cf9105b15af22730e25de20ef225df3e8

8 years agoRQ161107-00844 : Fixed memory leak issue 28/96528/1
kmook [Wed, 9 Nov 2016 08:15:20 +0000 (17:15 +0900)]
RQ161107-00844 : Fixed memory leak issue

Change-Id: I007dfd5376860dd9f835de37bf9c03919f73d427
Signed-off-by: kmook <kmook.choi@samsung.com>
8 years agoAdded missing code for parsing device type 31/96431/1
kmook [Wed, 9 Nov 2016 04:35:39 +0000 (13:35 +0900)]
Added missing code for parsing device type

Change-Id: I09b863c1ca32ff2780186868c4f3a3753ea820e8
Signed-off-by: kmook <kmook.choi@samsung.com>
8 years agoChanged to send own device name in ACL stage 92/96392/1
kmook [Wed, 9 Nov 2016 01:50:11 +0000 (10:50 +0900)]
Changed to send own device name in ACL stage

Change-Id: I5ae1c1f0971344fad9182e9b6c59774a22aab07a
Signed-off-by: kmook <kmook.choi@samsung.com>
8 years agoAdded macro for internal ACL to fix build errors 29/95329/1
kmook [Thu, 3 Nov 2016 01:48:57 +0000 (10:48 +0900)]
Added macro for internal ACL to fix build errors

Change-Id: I4e0d777af34cbe20d39ee9e577cdc882f61340bd
Signed-off-by: kmook <kmook.choi@samsung.com>
8 years agoAddition ACL check in "__app_control_launch" function. 84/95084/1
segwon [Wed, 2 Nov 2016 08:56:34 +0000 (17:56 +0900)]
Addition ACL check in "__app_control_launch" function.

Signed-off-by: segwon <segwon.han@samsung.com>
Change-Id: I03cfb0de2dc09f7d7a6ae3aff6882b89e6159f7b

8 years agoMerge "Addition the Access Control module for mobile and wearable." into tizen accepted/tizen/common/20161102.122129 submit/tizen/20161102.055908
Park [Tue, 1 Nov 2016 07:25:52 +0000 (00:25 -0700)]
Merge "Addition the Access Control module for mobile and wearable." into tizen

8 years agoMerge "Modified websocket timeout value for optimization" into tizen
Park [Tue, 1 Nov 2016 07:25:32 +0000 (00:25 -0700)]
Merge "Modified websocket timeout value for optimization" into tizen

8 years agoAddition the Access Control module for mobile and wearable. 56/94456/5
segwon [Mon, 31 Oct 2016 04:18:28 +0000 (13:18 +0900)]
Addition the Access Control module for mobile and wearable.

Signed-off-by: segwon <segwon.han@samsung.com>
Change-Id: I1e3efecec1e93e6c2cde1354ea25a07814373a66

8 years agoModified the IP address Parser. 51/94451/2
segwon [Mon, 31 Oct 2016 03:02:13 +0000 (12:02 +0900)]
Modified the IP address Parser.

Signed-off-by: segwon <segwon.han@samsung.com>
Change-Id: Ib26a8c5d0ca744bcbd30bff0469975f723d54b94

8 years agoModified websocket timeout value for optimization 20/93120/1
kmook [Thu, 20 Oct 2016 09:46:06 +0000 (18:46 +0900)]
Modified websocket timeout value for optimization

Change-Id: I6db5886947a484a495730e3b4ed3b2bc68d02cb2
Signed-off-by: kmook <kmook.choi@samsung.com>
8 years agoTemporarily blocked remote app control service on TV 08/92208/1
kmook [Fri, 14 Oct 2016 02:29:03 +0000 (11:29 +0900)]
Temporarily blocked remote app control service on TV

Change-Id: I86d377deff55a1f0122eed0f06b75b3128843a32
Signed-off-by: kmook <kmook.choi@samsung.com>
8 years agoAdded missing initialize on remote app control service 87/91787/1 accepted/tizen/3.0/common/20161114.105717 accepted/tizen/3.0/mobile/20161028.143058 accepted/tizen/3.0/tv/20161028.143421 accepted/tizen/3.0/wearable/20161028.150756 accepted/tizen/common/20161012.154401 accepted/tizen/mobile/20161012.065815 accepted/tizen/tv/20161012.065821 accepted/tizen/wearable/20161012.065826 submit/tizen/20161012.030112 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.092423 submit/tizen_3.0_common/20161104.104000
kmook [Tue, 11 Oct 2016 10:07:31 +0000 (19:07 +0900)]
Added missing initialize on remote app control service

Change-Id: I785c03ab743993d867bff296d6d0266edeef6878
Signed-off-by: kmook <kmook.choi@samsung.com>
8 years agoFixed self discovery problem 30/91130/2
kmook [Thu, 6 Oct 2016 04:00:04 +0000 (13:00 +0900)]
Fixed self discovery problem

Change-Id: I1e85a52e0e5ccd63cc9b41f2c87a1dea1a753a39
Signed-off-by: kmook <kmook.choi@samsung.com>
8 years agoApplied msf secure connection 56/89856/6
kmook [Tue, 27 Sep 2016 08:05:40 +0000 (17:05 +0900)]
Applied msf secure connection

Change-Id: Ie72c8faaea1b1f6d078196afa53a720327fbf5b9
Signed-off-by: kmook <kmook.choi@samsung.com>
8 years agoApplied initialize to client_connect_info 09/90409/1 accepted/tizen/3.0/mobile/20161015.032857 accepted/tizen/3.0/tv/20161016.004218 accepted/tizen/3.0/wearable/20161015.082036 accepted/tizen/common/20160930.174818 accepted/tizen/mobile/20160930.083853 accepted/tizen/tv/20160930.083957 accepted/tizen/wearable/20160930.083917 submit/tizen/20160930.045919 submit/tizen_3.0_mobile/20161015.000001 submit/tizen_3.0_tv/20161015.000001 submit/tizen_3.0_wearable/20161015.000001
kmook [Fri, 30 Sep 2016 01:55:39 +0000 (10:55 +0900)]
Applied initialize to client_connect_info

Change-Id: I33d098e285a2dad1a0b541ceef3561535618e8e3
Signed-off-by: kmook <kmook.choi@samsung.com>
8 years agoMerge "d2d-conv-manager: remove unused/duplicated codes" into tizen accepted/tizen/common/20160929.163322 submit/tizen/20160929.063434
Park [Wed, 28 Sep 2016 10:25:46 +0000 (03:25 -0700)]
Merge "d2d-conv-manager: remove unused/duplicated codes" into tizen

8 years agod2d-conv-manager: remove unused/duplicated codes 18/89818/1
Hongkuk, Son [Tue, 27 Sep 2016 06:28:16 +0000 (15:28 +0900)]
d2d-conv-manager: remove unused/duplicated codes

- "#include <iotcon.h>" is used as unused/duplicated status.

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: If5e4208bd5bf87ef4d2bfb3b534de6f24755e7eb

8 years agoChanged MSFD SearchProvider to send discovery requests 59/89559/1
kmook [Mon, 26 Sep 2016 04:57:44 +0000 (13:57 +0900)]
Changed MSFD SearchProvider to send discovery requests

Change-Id: Ice24fe059d2cb4e88f86334dbbd1771b08d16ec5
Signed-off-by: kmook <kmook.choi@samsung.com>
8 years agod2d-conv-manager: fix svace issue 01/88601/1 accepted/tizen/common/20160921.162614 accepted/tizen/mobile/20160921.233024 accepted/tizen/tv/20160921.233015 accepted/tizen/wearable/20160921.233021 submit/tizen/20160921.064657
Hongkuk, Son [Tue, 20 Sep 2016 02:33:46 +0000 (11:33 +0900)]
d2d-conv-manager: fix svace issue

MEMORY_LEAK.CTOR - WID 13912331
( This is not detected with local PC's svace script. Just reported from SE. )

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I1b035fae1ba610e2790f0075fbdd4a8665eaca3a

8 years agoAdded exceptions on websocket creation 65/87265/1
kmook [Wed, 7 Sep 2016 07:33:02 +0000 (16:33 +0900)]
Added exceptions on websocket creation

Change-Id: I0c61c8366353134c8b487c34d9f3be913063af6b
Signed-off-by: kmook <kmook.choi@samsung.com>