platform/core/convergence/d2d-conv-manager.git
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

7 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>
7 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

7 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>
7 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>
7 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>
7 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>
7 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

7 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

7 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

7 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

7 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

7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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

7 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

7 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>
7 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

7 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>
7 years agoApplied security guide on dbus conf file 57/87257/1
kmook [Wed, 7 Sep 2016 07:12:04 +0000 (16:12 +0900)]
Applied security guide on dbus conf file

Change-Id: I558fdb5d20ec3c56352b0e5110364ffa6ecc9392
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoChanged iotcon_find_resource() parameters 98/87198/1 accepted/tizen/common/20160907.154127 accepted/tizen/common/20160908.134424 accepted/tizen/mobile/20160908.122603 accepted/tizen/tv/20160908.122629 accepted/tizen/wearable/20160908.122640 submit/tizen/20160907.005039 submit/tizen/20160908.010303
kmook [Wed, 7 Sep 2016 02:18:18 +0000 (11:18 +0900)]
Changed iotcon_find_resource() parameters

Change-Id: I6f6e4e0b34defed3a8935a2005bbaf4ac088a0c0
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoRemoved unused dbus arguments 29/87129/2
kmook [Tue, 6 Sep 2016 11:42:12 +0000 (20:42 +0900)]
Removed unused dbus arguments

Change-Id: Ie6fa905077cf930a4eac540e5e8e05fdd4a92959
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agod2d-conv-manager: fix build warning 59/86459/1
Hongkuk, Son [Thu, 1 Sep 2016 08:36:50 +0000 (17:36 +0900)]
d2d-conv-manager: fix build warning

const char *(macro) -> char *

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

7 years agoApplied Provider/Consumer setting APIs 20/86420/2
kmook [Thu, 1 Sep 2016 06:22:49 +0000 (15:22 +0900)]
Applied Provider/Consumer setting APIs

Change-Id: I285e6997a56d32dfd7ca71b2d1760567f2392b72
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoChanged variable types and casting to enable aarch64 27/86227/1 accepted/tizen/common/20160831.162239 accepted/tizen/mobile/20160831.125156 accepted/tizen/tv/20160831.125205 accepted/tizen/wearable/20160831.125209 submit/tizen/20160831.080055
kmook [Wed, 31 Aug 2016 06:52:07 +0000 (15:52 +0900)]
Changed variable types and casting to enable aarch64

Change-Id: I2ffacd0c96f5124b72e5b6d9eedad5def0c4042d
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoApplied access request steps for remote-app-control 82/85982/2
kmook [Tue, 30 Aug 2016 04:49:14 +0000 (13:49 +0900)]
Applied access request steps for remote-app-control

Change-Id: Ia1d7e524549bf9264294d2dc3c38dddee0ffa3fa
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoFixed bug on adding string to iotcon attribute 79/85779/1
kmook [Mon, 29 Aug 2016 05:32:03 +0000 (14:32 +0900)]
Fixed bug on adding string to iotcon attribute

Change-Id: I1e86e897b8b726b988c9710805efb5fc84e2d703
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoChanged iotcon response result value 91/85591/1
kmook [Fri, 26 Aug 2016 04:29:24 +0000 (13:29 +0900)]
Changed iotcon response result value

Change-Id: I629d8a19415a2cc29f0000643ed7251e4a06d374
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoRemoved unused code 93/85393/1
kmook [Thu, 25 Aug 2016 02:26:02 +0000 (11:26 +0900)]
Removed unused code

Change-Id: I16e95bad8896ab0a50bf5579bd5caad15c20ea4c
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoFixed bug while merging iotcon discovery results 64/85264/1
kmook [Wed, 24 Aug 2016 09:34:54 +0000 (18:34 +0900)]
Fixed bug while merging iotcon discovery results

Change-Id: Iecc5e33251f78d2b5c611e6935c35ba9a007846a
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoFixed bug on setting app-comm state 20/84720/1
kmook [Mon, 22 Aug 2016 06:27:40 +0000 (15:27 +0900)]
Fixed bug on setting app-comm state

Change-Id: I7f6a9a735eb9c56be858aafdef820de444074601
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoApplied Discovery callback policy 50/84550/1
kmook [Fri, 19 Aug 2016 07:29:55 +0000 (16:29 +0900)]
Applied Discovery callback policy
- Now callbacks always deliver superset of discovered results

Change-Id: I9a97d834f1a40064cf329bb925f6d03c3f28f16f
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoRemoved test code 95/84395/1
kmook [Thu, 18 Aug 2016 09:30:01 +0000 (18:30 +0900)]
Removed test code

Change-Id: I95a3d4325fb93ee1b207aadbfd6c766d91374d4f
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoChanged implementation getDeviceName() for TV 92/83492/1
kmook [Thu, 11 Aug 2016 08:09:17 +0000 (17:09 +0900)]
Changed implementation getDeviceName() for TV

Change-Id: I99c56d1cbb26228195139a52d99686bef4f1ae73
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoApplied service state handling for app-communication 21/83221/1
kmook [Tue, 9 Aug 2016 13:04:53 +0000 (22:04 +0900)]
Applied service state handling for app-communication

Change-Id: I7f1c47eb150933872838f2bdbaddfbba5fc316c8
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoChanged reapServices() to prevent possible crash 70/82570/1
kmook [Thu, 4 Aug 2016 08:02:00 +0000 (17:02 +0900)]
Changed reapServices() to prevent possible crash

Change-Id: I161c446bae427bb90967026ad0f6c00113e05d38
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoAdded new file for AppCommServiceApplication class 43/82543/1 accepted/tizen/common/20160805.125912 accepted/tizen/mobile/20160808.080527 accepted/tizen/tv/20160808.080549 accepted/tizen/wearable/20160808.080608 submit/tizen/20160805.042819
kmook [Thu, 4 Aug 2016 01:27:22 +0000 (10:27 +0900)]
Added new file for AppCommServiceApplication class

Change-Id: I463c9507b15efb6a870f17df20c20a0e34f34909
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoConverted integer to string to get int data from payload 98/82398/1
kmook [Wed, 3 Aug 2016 06:27:21 +0000 (15:27 +0900)]
Converted integer to string to get int data from payload

Change-Id: I4610aa6c827cef5bab94e5644466d75008412f20
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoChanged client data format in listener_cb 34/82334/1
kmook [Wed, 3 Aug 2016 03:28:16 +0000 (12:28 +0900)]
Changed client data format in listener_cb

Change-Id: Iac0ad6ec6f9a163717badb2054d48bed9ebad456
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoAdded privilege check method. Removed smack label in dbus conf 12/82212/1
kmook [Tue, 2 Aug 2016 03:52:07 +0000 (12:52 +0900)]
Added privilege check method. Removed smack label in dbus conf

Change-Id: Ibd11534fe8dab3213af67f0b00a59b038f5f2876
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoChanged remote app control listener callback 80/82180/1
kmook [Mon, 1 Aug 2016 10:25:48 +0000 (19:25 +0900)]
Changed remote app control listener callback

Change-Id: I82c1581f0e4ca0302e4b3b13a6177b247acbcc64
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoRemoved double free issue on discovery finished 17/81817/1
kmook [Thu, 28 Jul 2016 12:15:28 +0000 (21:15 +0900)]
Removed double free issue on discovery finished

Change-Id: If3d314c8665d6212a6d278a4f623d02f0112ff78
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoFixed bugs 77/81777/3
kmook [Thu, 28 Jul 2016 09:17:23 +0000 (18:17 +0900)]
Fixed bugs
 - applied error handling in appcomm service
 - bug fixes in discovery finish callback handling

Change-Id: I299fb0f132e3d52a1b34dc666c903cdb83ddc638
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoMerge "changed architecture in Search.cpp" into tizen
Park [Thu, 28 Jul 2016 09:58:45 +0000 (02:58 -0700)]
Merge "changed architecture in Search.cpp" into tizen

7 years agofixed bug. discovery timers were not completely removed 36/81736/1
kmook [Thu, 28 Jul 2016 06:15:22 +0000 (15:15 +0900)]
fixed bug. discovery timers were not completely removed

Change-Id: I968fbcfb316cdb6c5aa7388508a536745fd0c1c9
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoApplied C++ naming rule(variable names) 09/81709/2
kmook [Thu, 28 Jul 2016 04:26:06 +0000 (13:26 +0900)]
Applied C++ naming rule(variable names)

Change-Id: I7d024f30fbfed97c142e5f3cbe5674a716fd418d
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agobug fix and added app_control launch error handling 77/81577/1
kmook [Wed, 27 Jul 2016 07:01:16 +0000 (16:01 +0900)]
bug fix and added app_control launch error handling

Change-Id: Iad67a3c7ad32db7ced2cfc00b6d704d489227157
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoApplied C++ naming rule(class, method names) 58/81458/1
kmook [Tue, 26 Jul 2016 10:00:25 +0000 (19:00 +0900)]
Applied C++ naming rule(class, method names)

Change-Id: I6dbe91518d05f84d90060a6b90fe5b5c71097f15
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoApplied C++ naming rule 29/81329/2
kmook [Mon, 25 Jul 2016 13:01:08 +0000 (22:01 +0900)]
Applied C++ naming rule

Change-Id: Ib7a0702f997a090a66c07d4a31b456665ad1bb5b
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agochanged architecture in Search.cpp 16/81316/1
Sang gun Lee [Mon, 25 Jul 2016 11:09:49 +0000 (20:09 +0900)]
changed architecture in Search.cpp

There were two service list in Search.cpp and SearchProvider.cpp.
discarded one of the list.

Change-Id: I85eee854889ea688d67087140b63a6dd8f8433ee
Signed-off-by: Sang gun Lee <sanggun7.lee@samsung.com>
7 years agoImplemented service_listener_cb specifications 88/81288/1
kmook [Mon, 25 Jul 2016 08:29:00 +0000 (17:29 +0900)]
Implemented service_listener_cb specifications

Change-Id: I011865c524ff27525f7185837f2a57c3d6dbc727
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoadded setonPublishListener(), unsetonPublishListener() 21/80621/2
Sang gun Lee [Tue, 19 Jul 2016 07:18:11 +0000 (16:18 +0900)]
added setonPublishListener(), unsetonPublishListener()
added user_data param in publish()

fixed libwebsocket publish reaction speed.

Change-Id: I81589b31e5da37d22d8e58e07344bfa10c60b310
Signed-off-by: Sang gun Lee <sanggun7.lee@samsung.com>
7 years agoclean log. 76/80476/2
Sang gun Lee [Mon, 18 Jul 2016 08:10:57 +0000 (17:10 +0900)]
clean log.
from now, will use MSF_API only.

Change-Id: Iae7c987eabb132c1e3049155f5fa8c9e95eb826e
Signed-off-by: Sang gun Lee <sanggun7.lee@samsung.com>
7 years ago- added new thread for checking aliveMap. 36/80436/5
Sang gun Lee [Mon, 18 Jul 2016 05:52:28 +0000 (14:52 +0900)]
- added new thread for checking aliveMap.
      It will periodically check aliveMap(MSFD, MDNS found deivces)

    - changed json parsing in Service.cpp

    - bug fixed.
      updateAlive() in SearchProvider.cpp added new service and it was bug.
      use push_in_alivemap() when added new serivce in alivemap.

Change-Id: Id0863098d3b69039d33daac7613b441f09effe2f
Signed-off-by: Sang gun Lee <sanggun7.lee@samsung.com>
7 years agoMerge "msf-client potential bug fixed." into tizen
Park [Thu, 21 Jul 2016 04:20:59 +0000 (21:20 -0700)]
Merge "msf-client potential bug fixed." into tizen

7 years agomsf-client potential bug fixed. 80/80180/6
milk.lee [Fri, 15 Jul 2016 05:38:14 +0000 (14:38 +0900)]
msf-client potential bug fixed.

Change-Id: Ide50c7cec36b917c242c392fa4a805d9efb20836
Signed-off-by: milk.lee <milk.lee@samsung.com>
7 years agofixed bug in library. subject registering was not working properly 51/80751/1
kmook [Wed, 20 Jul 2016 04:35:43 +0000 (13:35 +0900)]
fixed bug in library. subject registering was not working properly

Change-Id: I200a2d9c8522d4f078b469269afd16c4e4c81a09
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoadded internal setting APIs 02/80602/3
kmook [Tue, 19 Jul 2016 04:52:05 +0000 (13:52 +0900)]
added internal setting APIs

Change-Id: Iedc1b0cddecd1873109570a77e04f22e6d5daa57
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoMerge "changed discovery_stop() to call discovery_cb function" into tizen
Park [Mon, 18 Jul 2016 05:26:59 +0000 (22:26 -0700)]
Merge "changed discovery_stop() to call discovery_cb function" into tizen

7 years agoMerge "changed method to get remote service in app-comm-service" into tizen
Park [Mon, 18 Jul 2016 05:26:47 +0000 (22:26 -0700)]
Merge "changed method to get remote service in app-comm-service" into tizen

7 years agoMerge "changed getipaddressfromuri() to get_ip_address_from_uri(). legacy function...
Park [Mon, 18 Jul 2016 05:26:36 +0000 (22:26 -0700)]
Merge "changed getipaddressfromuri() to get_ip_address_from_uri(). legacy function uses fixed port 8001. new function gets port from uri. new function supports https uri." into tizen

7 years agochanged discovery_stop() to call discovery_cb function 15/80415/1
kmook [Mon, 18 Jul 2016 04:37:05 +0000 (13:37 +0900)]
changed discovery_stop() to call discovery_cb function

Change-Id: I439f84b9ed06d6f084fd4d42019177b405275404
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agochanged method to get remote service in app-comm-service 03/80203/1
kmook [Fri, 15 Jul 2016 07:45:55 +0000 (16:45 +0900)]
changed method to get remote service in app-comm-service

Change-Id: I691ff8accc3f521f71102bb1913a5b58be812693
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agochanged service_connect API to returns error on already connected state 71/80171/1
kmook [Fri, 15 Jul 2016 04:50:41 +0000 (13:50 +0900)]
changed service_connect API to returns error on already connected state

Change-Id: Ib74ec8ad06a80554ee9e34a1361a625c0ed6ecd8
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoMerge "Revert "d2d-conv-manager: modify dbus policy #2"" into tizen
Park [Thu, 14 Jul 2016 07:35:14 +0000 (00:35 -0700)]
Merge "Revert "d2d-conv-manager: modify dbus policy #2"" into tizen

7 years agoRevert "d2d-conv-manager: modify dbus policy #2" 41/80041/1
Hongkuk Son [Thu, 14 Jul 2016 07:32:48 +0000 (00:32 -0700)]
Revert "d2d-conv-manager: modify dbus policy #2"

This reverts commit 3157a3cff1bd1078d2a20e8291776d7c16fb9b86.

Change-Id: I08428ad0496d063d1b26733236f21a86429b33b7

7 years agochanged getipaddressfromuri() to get_ip_address_from_uri(). 20/80020/1
Sang gun Lee [Thu, 14 Jul 2016 06:29:21 +0000 (15:29 +0900)]
changed getipaddressfromuri() to get_ip_address_from_uri().
legacy function uses fixed port 8001.
new function gets port from uri.
new function supports https uri.

Change-Id: I38466ef9c2256f6f2c87d410877f05a277c31b1d
Signed-off-by: Sang gun Lee <sanggun7.lee@samsung.com>
7 years agoMerge "msf_client - service list managing method is changed. msf_client - mdns adding...
Younho Park [Thu, 14 Jul 2016 04:21:18 +0000 (21:21 -0700)]
Merge "msf_client - service list managing method is changed. msf_client - mdns adding service bug fixed." into tizen

7 years agoMerge "fixed json_parse() in Channel.cpp deleted dependent json key order" into tizen
Younho Park [Thu, 14 Jul 2016 04:20:29 +0000 (21:20 -0700)]
Merge "fixed json_parse() in Channel.cpp deleted dependent json key order" into tizen

7 years agomsf_client - service list managing method is changed. 78/78578/3
milk.lee [Wed, 6 Jul 2016 06:51:35 +0000 (15:51 +0900)]
msf_client - service list managing method is changed.
msf_client - mdns adding service bug fixed.

Change-Id: I8982395a886cf2e7ebac6a0f42f3093c69d4ff1a
Signed-off-by: milk.lee <milk.lee@samsung.com>
7 years agofixed json_parse() in Channel.cpp 06/78906/3
Sang gun Lee [Thu, 7 Jul 2016 09:46:54 +0000 (18:46 +0900)]
fixed json_parse() in Channel.cpp
deleted dependent json key order

Change-Id: Ib79464ff9e6ff650a6ab98a6ba1cf6acda92f9ea
Signed-off-by: Sang gun Lee <sanggun7.lee@samsung.com>
7 years agofixed bug on payload string copy 91/79991/1
kmook [Thu, 14 Jul 2016 02:41:04 +0000 (11:41 +0900)]
fixed bug on payload string copy

Change-Id: I1bf2097295527b198adaa53d215bcddf521bb5ca
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoMerge "fixed bug in listener callback" into tizen
Park [Wed, 13 Jul 2016 09:57:40 +0000 (02:57 -0700)]
Merge "fixed bug in listener callback" into tizen

7 years agoMerge "d2d-conv-manager: modify dbus policy #2" into tizen
Park [Wed, 13 Jul 2016 09:57:28 +0000 (02:57 -0700)]
Merge "d2d-conv-manager: modify dbus policy #2" into tizen

7 years agofixed bug in listener callback 90/79890/1
kmook [Wed, 13 Jul 2016 09:52:35 +0000 (18:52 +0900)]
fixed bug in listener callback

Change-Id: Idfb50cd2b7cf6f87605970ed8a71a04c93d94189
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agod2d-conv-manager: modify dbus policy #2 83/79883/1
Hongkuk, Son [Wed, 13 Jul 2016 09:26:01 +0000 (18:26 +0900)]
d2d-conv-manager: modify dbus policy #2

Modify dbus policy when context="default" to check privilege.

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

7 years ago- changed app_comm_service_info class to remove build warnings from last commit 69/79669/1
kmook [Tue, 12 Jul 2016 08:35:22 +0000 (17:35 +0900)]
- changed app_comm_service_info class to remove build warnings from last commit
- added exceptions for MSF socket close
- removed cpp lint warning

Change-Id: Ice88f5dfbf9730f7abc1ce0132d1d5ecffeced15
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agochanged app comm service stop logic 08/79608/1
kmook [Tue, 12 Jul 2016 04:32:14 +0000 (13:32 +0900)]
changed app comm service stop logic

Change-Id: I600e15ae68f802195ec25b574220b74b927a2c9a
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agod2d-conv-manager: privilege check 91/79591/1 accepted/tizen/common/20160712.150730 submit/tizen/20160712.030109
Hongkuk, Son [Tue, 12 Jul 2016 02:55:19 +0000 (11:55 +0900)]
d2d-conv-manager: privilege check

In platform-permission CTC, d2d privilege check testcase is added.
So now, d2d-conv-manager needs to check privilege.

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

7 years agoMerge "d2d-conv-manager: modify dbus policy" into tizen accepted/tizen/common/20160706.142743 accepted/tizen/mobile/20160706.132222 accepted/tizen/tv/20160706.132238 accepted/tizen/wearable/20160706.132342 submit/tizen/20160706.103701
Park [Wed, 6 Jul 2016 10:33:02 +0000 (03:33 -0700)]
Merge "d2d-conv-manager: modify dbus policy" into tizen

7 years agod2d-conv-manager: modify dbus policy 40/78640/1
Hongkuk, Son [Wed, 6 Jul 2016 09:14:21 +0000 (18:14 +0900)]
d2d-conv-manager: modify dbus policy

Container ITC fails when using conv_discovery_start() and polling that cb.
When container session("tct"), dbus method return fail occurs.
Now modify d2d-conv-manager.conf file to fix dbus policy.
But this is very rough, so it needs to check dbus policy more in detail.

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

7 years agofixed msf_tizen_client libwebsocket protocol. 96/78396/1
Sang gun Lee [Tue, 5 Jul 2016 09:52:44 +0000 (18:52 +0900)]
fixed msf_tizen_client libwebsocket protocol.
lws-mirror-protocol is libwebsocket example protocol.
deleted protocol and client websocket use no protocol.

Change-Id: Ife237479ecf4649ef55fb694c757b00d2ee2b2d6
Signed-off-by: Sang gun Lee <sanggun7.lee@samsung.com>
7 years agochanged discovery provider name. ble -> wifi_direct 53/77153/1
kmook [Wed, 29 Jun 2016 01:55:28 +0000 (10:55 +0900)]
changed discovery provider name. ble -> wifi_direct

Change-Id: I0828f23766ed768083d677c266204b1e91be326d
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoenabled feature check routine 53/76953/2
kmook [Tue, 28 Jun 2016 06:21:39 +0000 (15:21 +0900)]
enabled feature check routine

Change-Id: I9cd759d008011ac13ed61aba45d36f9a71568893
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoMerge "Revert "d2d-conv-manager: added tizenid.service dependency"" into tizen accepted/tizen/common/20160628.141506 accepted/tizen/mobile/20160628.065954 accepted/tizen/tv/20160628.065859 accepted/tizen/wearable/20160628.065917 submit/tizen/20160628.051425
Park [Tue, 28 Jun 2016 05:07:43 +0000 (22:07 -0700)]
Merge "Revert "d2d-conv-manager: added tizenid.service dependency"" into tizen

7 years agoRevert "d2d-conv-manager: added tizenid.service dependency" 24/76924/1
Hongkuk Son [Tue, 28 Jun 2016 04:43:03 +0000 (21:43 -0700)]
Revert "d2d-conv-manager: added tizenid.service dependency"

This reverts commit d550eab70348459bc641b6335c069bd599b1bafe.

Change-Id: Ifba7c4fbea3ffd69e4c41845e8c9f71c68ddbf1c

7 years agoMerge "removed msf_tizen_client/LICENSE" into tizen
Park [Tue, 28 Jun 2016 04:07:50 +0000 (21:07 -0700)]
Merge "removed msf_tizen_client/LICENSE" into tizen

7 years agoadded error handling for iotcon init 13/76913/1
kmook [Tue, 28 Jun 2016 01:49:06 +0000 (10:49 +0900)]
added error handling for iotcon init

- d2d daemon now does not exit even discovery/service providers fail to initiate

Change-Id: Iaf79842897ab495a0a15b295ec8a5c9ea3198a3c
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agod2d-conv-manager: added tizenid.service dependency 16/76716/1 accepted/tizen/common/20160627.192032 accepted/tizen/mobile/20160627.091344 accepted/tizen/tv/20160627.091402 accepted/tizen/wearable/20160627.091418 submit/tizen/20160627.050355
Hongkuk, Son [Mon, 27 Jun 2016 04:45:00 +0000 (13:45 +0900)]
d2d-conv-manager: added tizenid.service dependency

In a mobile emulator, when first booting after emulator creation,
d2d daemon does not works and dlog shows iotcon fails to get tizenid.
So, now d2d adds tizenid.service dependency and d2d will uses iotcon API.

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

7 years agoapplied smack labeling for dat file 27/76527/1 accepted/tizen/common/20160624.134317 accepted/tizen/mobile/20160624.103232 accepted/tizen/tv/20160624.103236 accepted/tizen/wearable/20160624.103257 submit/tizen/20160624.072535
kmook [Fri, 24 Jun 2016 07:21:04 +0000 (16:21 +0900)]
applied smack labeling for dat file

Change-Id: Ic5b46d277e0eac64bd77678759af5e1acf694083
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agomodified post file to access user directory 96/76496/1 submit/tizen/20160624.061417
kmook [Fri, 24 Jun 2016 06:11:27 +0000 (15:11 +0900)]
modified post file to access user directory

Change-Id: I2748d3163d7c2604ea9d794093a0a3521bbff0a2
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoremoved wifi-direct init code 58/76458/1
kmook [Fri, 24 Jun 2016 04:35:10 +0000 (13:35 +0900)]
removed wifi-direct init code

Change-Id: I012fa896808ebdc5a010897bd2df7d2d65ea3570
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoremoved msf_tizen_client/LICENSE 55/76455/1
Sang gun Lee [Fri, 24 Jun 2016 04:30:47 +0000 (13:30 +0900)]
removed msf_tizen_client/LICENSE

Change-Id: Ifc3b4f90f74201604b482c7308e594d92a4d3791
Signed-off-by: Sang gun Lee <sanggun7.lee@samsung.com>
7 years agoadded post script on user add 44/76444/1 accepted/tizen/mobile/20160624.064829 accepted/tizen/tv/20160624.064749 accepted/tizen/wearable/20160624.064912 submit/tizen/20160624.042109
kmook [Fri, 24 Jun 2016 03:35:48 +0000 (12:35 +0900)]
added post script on user add

Change-Id: I76bc28871a805ad051ade2542f6e878fa34120c9
Signed-off-by: kmook <kmook.choi@samsung.com>
7 years agoapplied c++ coding rules 10/76110/2
kmook [Thu, 23 Jun 2016 01:32:26 +0000 (10:32 +0900)]
applied c++ coding rules
fixed build warnings

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