platform/core/convergence/d2d-conv-manager.git
6 years agoModified the logic to erase iter in iterator loof. 73/139273/5 accepted/tizen/4.0/unified/20170816.012306 accepted/tizen/4.0/unified/20170816.014642 accepted/tizen/4.0/unified/20170828.223241 accepted/tizen/unified/20170721.202222 submit/tizen/20170721.055055 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0/20170828.100003 submit/tizen_4.0_unified/20170814.115522
Segwon [Tue, 18 Jul 2017 07:04:27 +0000 (16:04 +0900)]
Modified the logic to erase iter in iterator loof.

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

6 years agoMerge "Fixed SVACE defect" into tizen
Segwon Han [Fri, 23 Jun 2017 11:46:39 +0000 (11:46 +0000)]
Merge "Fixed SVACE defect" into tizen

6 years agoFixed SVACE defect 63/135363/1
kmook [Thu, 22 Jun 2017 05:11:08 +0000 (14:11 +0900)]
Fixed SVACE defect

Change-Id: I02eba648623f3d7a19b0a6f3eda6a5ebf9725b0f
Signed-off-by: kmook <kmook.choi@samsung.com>
6 years agoAdded the procedure of free the memory created from vconf_get_str(). 78/134678/1
Segwon [Tue, 20 Jun 2017 02:28:14 +0000 (11:28 +0900)]
Added the procedure of free the memory created from vconf_get_str().

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

6 years agoModified dbus server release steps. 11/133111/1 accepted/tizen/unified/20170609.210652 submit/tizen/20170609.054453
Segwon [Fri, 9 Jun 2017 03:51:10 +0000 (12:51 +0900)]
Modified dbus server release steps.
Connections created with g_bus_own_name () are automatically released when id unown.

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

6 years agoModified to reset listener cb only if dbus is disconnected. 10/133110/1
Segwon [Fri, 9 Jun 2017 03:45:59 +0000 (12:45 +0900)]
Modified to reset listener cb only if dbus is disconnected.

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

6 years agoFixed not sending message from msf_client thread to dbus_client When dbus was disconn... 28/130328/1 accepted/tizen/unified/20170605.151025 submit/tizen/20170602.084328
Segwon [Mon, 22 May 2017 04:19:22 +0000 (13:19 +0900)]
Fixed not sending message from msf_client thread to dbus_client When dbus was disconnected.

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

6 years agoRemove the "delete _requestObj" line in dbus disconnect listener. 48/129648/4
Segwon [Wed, 17 May 2017 09:10:32 +0000 (18:10 +0900)]
Remove the "delete _requestObj" line in dbus disconnect listener.

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

6 years agoRemove the unnecessary code. 24/129124/1
Segwon [Mon, 15 May 2017 06:05:28 +0000 (15:05 +0900)]
Remove the unnecessary code.

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

6 years agoMerge "fix SVACE issues" into tizen accepted/tizen/unified/20170511.173529 submit/tizen/20170511.114611 tizen_4.0.m1_release
JooSeok Park [Thu, 11 May 2017 11:33:00 +0000 (11:33 +0000)]
Merge "fix SVACE issues" into tizen

6 years agoFix memory leak 01/128801/1
Jooseok Park [Thu, 11 May 2017 10:59:39 +0000 (19:59 +0900)]
Fix memory leak

 - when payload handle is NULL, service_handle needs to be deleted

Change-Id: Ic4f4db08f699951c9be53ae09e611092d5cfe56d

6 years agoRemove unused parameter in Service class 78/128778/1
Jooseok Park [Thu, 11 May 2017 10:02:07 +0000 (19:02 +0900)]
Remove unused parameter in Service class

Change-Id: I1b91f32a75ad642a342957469d1b2dee60f6fa32

6 years agofix SVACE issues 62/128762/1
Hongkuk, Son [Thu, 11 May 2017 08:32:47 +0000 (17:32 +0900)]
fix SVACE issues

 - PROC_PAR_BIG ( pass by value => pass by pointer )
 - ResourceHandle

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

7 years agoChange NULL check location. 28/128428/3 accepted/tizen/unified/20170510.183528 submit/tizen/20170510.090253
Segwon [Wed, 10 May 2017 03:45:59 +0000 (12:45 +0900)]
Change NULL check location.
And change 'isConnect' initial value in Request.h

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

7 years agoAdd build flags to suppress cmake verbose logs and emphasize build warnings & errors 83/127583/1
Mu-Woong Lee [Fri, 28 Apr 2017 03:21:40 +0000 (12:21 +0900)]
Add build flags to suppress cmake verbose logs and emphasize build warnings & errors

Change-Id: Ib7b87094aa7c3c27780eb180119a6173b660543f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoThe modifications to svace issue about g_main_loop flow at Tizen 3.0 were applied... 51/127151/1 accepted/tizen/unified/20170426.200455 submit/tizen/20170426.093010
Segwon [Wed, 26 Apr 2017 08:54:01 +0000 (17:54 +0900)]
The modifications to svace issue about g_main_loop flow at Tizen 3.0 were applied to Tizen 4.0

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

7 years agoChanged the Group to name of domain in spec. 39/127139/1
Segwon [Wed, 26 Apr 2017 08:30:51 +0000 (17:30 +0900)]
Changed the Group to name of domain in spec.

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

7 years agoRemove the test application for msf_tizen_client. 37/127137/1
Segwon [Wed, 26 Apr 2017 08:25:32 +0000 (17:25 +0900)]
Remove the test application for msf_tizen_client.

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

7 years agoModified the KONA Issue. 94/125294/2
Segwon [Fri, 14 Apr 2017 12:12:13 +0000 (21:12 +0900)]
Modified the KONA Issue.
(The service is maintained even when the app is terminated abnormally.)

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

7 years agoMerge "Modified for Svace Issue (MEMORY_LEAK.EX) Issue : Dynamically allocated object... accepted/tizen/unified/20170406.173559 submit/tizen/20170406.103900
JooSeok Park [Thu, 6 Apr 2017 10:32:36 +0000 (03:32 -0700)]
Merge "Modified for Svace Issue (MEMORY_LEAK.EX) Issue : Dynamically allocated objects were not freed from macro of "IF_FAIL_VOID_TAG"." into tizen

7 years agoModified for Svace Issue (NONTERMINATED_STRING) 27/123627/1
Segwon [Thu, 6 Apr 2017 08:48:57 +0000 (17:48 +0900)]
Modified for Svace Issue (NONTERMINATED_STRING)
Issue : The Json structure, which is open source, does memcpy when it inserts string data, but there is no code to calculate the size when a char pointer is inserted.

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

7 years agoModified for Svace Issue (MEMORY_LEAK.EX) 16/123616/1
Segwon [Thu, 6 Apr 2017 08:35:52 +0000 (17:35 +0900)]
Modified for Svace Issue (MEMORY_LEAK.EX)
Issue : Dynamically allocated objects were not freed from macro of "IF_FAIL_VOID_TAG".

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

7 years agoModified for Svace Issue (UNREACHABLE_CODE) 81/123581/2
Segwon [Thu, 6 Apr 2017 07:24:04 +0000 (16:24 +0900)]
Modified for Svace Issue (UNREACHABLE_CODE)
Issue : When it dynamically allocate, it have entered size as a value.

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

7 years agoModified for Svace Issue (UNIT.CTOR.MIGIT/UNITIT.LOCAL_VAR.EX) 78/123578/2
Segwon [Thu, 6 Apr 2017 07:14:45 +0000 (16:14 +0900)]
Modified for Svace Issue (UNIT.CTOR.MIGIT/UNITIT.LOCAL_VAR.EX)
Issue : Value is not initialize.

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

7 years agoChanged to "%license" macro. 83/120183/1
Segwon [Wed, 22 Mar 2017 05:01:59 +0000 (14:01 +0900)]
Changed to "%license" macro.

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

7 years agoFix service file 60/116360/1
Jooseok Park [Fri, 24 Feb 2017 03:24:35 +0000 (12:24 +0900)]
Fix service file

Change-Id: Ie113ca06dd52394e9e007805c1bb5646fa2ba8f5

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