platform/core/multimedia/mmsvc-core.git
6 years agoFix the memory leak of muse config parse 00/169000/2 submit/tizen/20180202.020558
YoungHun Kim [Thu, 1 Feb 2018 22:57:51 +0000 (07:57 +0900)]
Fix the memory leak of muse config parse

Change-Id: I7eea99966c05dd254efb29912dba3c8e7cc77af6

6 years agoUpdate the value of connection state change 69/168769/1
YoungHun Kim [Wed, 31 Jan 2018 00:30:27 +0000 (09:30 +0900)]
Update the value of connection state change

Change-Id: I1c4c879ddaa1d05587717a985852545eb1640242

6 years agoUpdate the race condition of server state 40/168340/2
YoungHun Kim [Fri, 26 Jan 2018 01:47:22 +0000 (10:47 +0900)]
Update the race condition of server state

Change-Id: I35d592a2bc92b8390291e59fc94b57eb56f255a4

6 years agoAdd the condition race at all the instance_queue 09/167909/3 accepted/tizen/unified/20180124.061536 submit/tizen/20180123.080531
YoungHun Kim [Tue, 23 Jan 2018 03:15:22 +0000 (12:15 +0900)]
Add the condition race at all the instance_queue

Change-Id: I96983d314ac0bb726ffe1f168a6fec77b80a51ee

6 years agoAdd null check for exception handling 14/167814/1 accepted/tizen/unified/20180123.135405 submit/tizen/20180123.011900
YoungHun Kim [Mon, 22 Jan 2018 07:53:40 +0000 (16:53 +0900)]
Add null check for exception handling

Change-Id: Iccdfc25a9b90d126004e46ad26cd2d53fd89819b

6 years agoMerge branch 'tizen_4.0' to tizen 42/167642/1 submit/tizen/20180119.065656
YoungHun Kim [Fri, 19 Jan 2018 02:59:17 +0000 (11:59 +0900)]
Merge branch 'tizen_4.0' to tizen

Change-Id: I46ba2653785dbe54ae6c0c072655c3d7d16e9e73

6 years agoUpdate the global dispatcher's mutex by module instance 02/167502/3 submit/tizen_4.0/20180119.024422
YoungHun Kim [Thu, 18 Jan 2018 04:54:55 +0000 (13:54 +0900)]
Update the global dispatcher's mutex by module instance

Change-Id: I817babc236e221930637d6476e9080dc4ce91a18

6 years agoAdd the current connecting instance's (pid) information when changing the connection 64/167164/4
YoungHun Kim [Tue, 16 Jan 2018 03:01:35 +0000 (12:01 +0900)]
Add the current connecting instance's (pid) information when changing the connection

ex) As Is : total number of module 2
    To Be : total number of module = 2 ( 1589 2235 )

Change-Id: Ia1426d482cb67d0e197fc65f89f25fde08736601

6 years agoRemove the duplicate check for null 83/166483/6
YoungHun Kim [Wed, 10 Jan 2018 05:08:29 +0000 (14:08 +0900)]
Remove the duplicate check for null

Change-Id: I174a3bb8aab8d0e0826bfc0b197a550deceda344

6 years agoRemove the duplicate check for null 00/166400/1 accepted/tizen/unified/20180112.073141 submit/tizen/20180111.064525
YoungHun Kim [Wed, 10 Jan 2018 05:08:29 +0000 (14:08 +0900)]
Remove the duplicate check for null

Change-Id: I174a3bb8aab8d0e0826bfc0b197a550deceda344

6 years agoComply with muse coding rule 80/166380/2
YoungHun Kim [Tue, 9 Jan 2018 23:32:15 +0000 (08:32 +0900)]
Comply with muse coding rule

Change-Id: I501f4fe87fdd86dfd9fa51ed9c1499e9b5cda9e1
(cherry picked from commit 976e7500cd5da4a7ac85897f564f1827855e76d6)

6 years agoComply with muse coding rule 62/166362/1 accepted/tizen/unified/20180111.074213 submit/tizen/20180110.023520
YoungHun Kim [Tue, 9 Jan 2018 23:32:15 +0000 (08:32 +0900)]
Comply with muse coding rule

Change-Id: I501f4fe87fdd86dfd9fa51ed9c1499e9b5cda9e1

6 years agoUpdate the resource error handling with same coding rule 54/165554/1 accepted/tizen/4.0/unified/20180103.064741 submit/tizen_4.0/20180102.063252 tizen_4.0.IoT.p2_release
YoungHun Kim [Thu, 28 Dec 2017 10:06:08 +0000 (19:06 +0900)]
Update the resource error handling with same coding rule

Change-Id: I9981933c8de119db591a07d7b0714e3cd0733d86
(cherry picked from commit 8a1f0b0bdb1eb24d82d4cb978f8a43febde94af7)

6 years agoThe opened module before calling the dispatcher is required 79/165379/1 accepted/tizen/4.0/unified/20180102.065529 submit/tizen_4.0/20171228.113332
YoungHun Kim [Wed, 27 Dec 2017 07:09:58 +0000 (16:09 +0900)]
The opened module before calling the dispatcher is required

Change-Id: I8ff05deca088e677ff4de7807e7865c1353880b6
(cherry picked from commit 6db4e0150334b1dba3eee4daabcffc6abde8e3f3)

6 years agoUpdate the resource error handling with same coding rule 58/165358/3 accepted/tizen/unified/20180103.070209 submit/tizen/20180102.063222
YoungHun Kim [Thu, 28 Dec 2017 10:06:08 +0000 (19:06 +0900)]
Update the resource error handling with same coding rule

Change-Id: I9981933c8de119db591a07d7b0714e3cd0733d86

6 years agoThe opened module before calling the dispatcher is required 35/165235/2 accepted/tizen/unified/20180102.070238 submit/tizen/20171228.113257
YoungHun Kim [Wed, 27 Dec 2017 07:09:58 +0000 (16:09 +0900)]
The opened module before calling the dispatcher is required

Change-Id: I8ff05deca088e677ff4de7807e7865c1353880b6

6 years agoMove fd-stat-dump function to muse-core for debugging purpose 87/165187/1 accepted/tizen/4.0/unified/20171227.224340 submit/tizen_4.0/20171227.043010
YoungHun Kim [Tue, 26 Dec 2017 05:28:44 +0000 (14:28 +0900)]
Move fd-stat-dump function to muse-core for debugging purpose

  - Sometimes unexpected fd was returned from socket() on client side (eg. STDIN_FILENO, STDOUT_FILNO or STERR_FILENO)

Change-Id: I3ef8ae49fa29403307e739584a0ac5242e926dcc

6 years agoMove fd-stat-dump function to muse-core for debugging purpose 90/165090/6 accepted/tizen/unified/20171227.224343 submit/tizen/20171227.032030
YoungHun Kim [Tue, 26 Dec 2017 05:28:44 +0000 (14:28 +0900)]
Move fd-stat-dump function to muse-core for debugging purpose

  - Sometimes unexpected fd was returned from socket() on client side (eg. STDIN_FILENO, STDOUT_FILNO or STERR_FILENO)

Change-Id: I3ef8ae49fa29403307e739584a0ac5242e926dcc

6 years agoFix the svace issue 89/165089/1
YoungHun Kim [Tue, 26 Dec 2017 02:54:50 +0000 (11:54 +0900)]
Fix the svace issue

 - buffer overflow; make sure this value is within bounds

Change-Id: If3e5a386317b4f794b18460ec39cae1b7ca76290

6 years agoFix the svace issue 77/165077/5
YoungHun Kim [Tue, 26 Dec 2017 02:54:50 +0000 (11:54 +0900)]
Fix the svace issue

 - buffer overflow; make sure this value is within bounds

Change-Id: If3e5a386317b4f794b18460ec39cae1b7ca76290

6 years agoUpdate the product issue 77/164077/1 accepted/tizen/unified/20171218.072307 submit/tizen/20171215.070209
YoungHun Kim [Fri, 15 Dec 2017 02:11:56 +0000 (11:11 +0900)]
Update the product issue

 - The received message is sometimes null when connecting data channel
 - Build warning

Change-Id: I3496c6bd9b86a0eeda92a873c0583c35e7ffefa2
(cherry picked from commit aa6c422afad1af8077d3703f5445338a7ac2c3ec)

6 years agoUpdate the product issue 37/164037/7 accepted/tizen/4.0/unified/20171218.072021 submit/tizen_4.0/20171215.070155
YoungHun Kim [Fri, 15 Dec 2017 02:11:56 +0000 (11:11 +0900)]
Update the product issue

 - The received message is sometimes null when connecting data channel
 - Build warning

Change-Id: I3496c6bd9b86a0eeda92a873c0583c35e7ffefa2

6 years agoUpdate the close fd with valid check 02/163202/1 accepted/tizen/4.0/unified/20171213.040806 submit/tizen_4.0/20171208.051548
YoungHun Kim [Wed, 6 Dec 2017 07:47:31 +0000 (16:47 +0900)]
Update the close fd with valid check

Change-Id: I06621b113fd0a897e230066cd8b2d3fce2375e48

6 years agoUpdate the close fd with valid check 24/162924/6 accepted/tizen/unified/20171208.170404 submit/tizen/20171208.044750
YoungHun Kim [Wed, 6 Dec 2017 07:47:31 +0000 (16:47 +0900)]
Update the close fd with valid check

Change-Id: I06621b113fd0a897e230066cd8b2d3fce2375e48

6 years agoUpdate to pair with using received module address info of multi-instace 98/162798/1 accepted/tizen/unified/20171207.070151 submit/tizen/20171206.021754
YoungHun Kim [Mon, 4 Dec 2017 06:40:55 +0000 (15:40 +0900)]
Update to pair with using received module address info of multi-instace

 - The product issue is that there are several instances at that same time by destroying failed

Change-Id: Iefb9cab3e8073cc34cc2aebb1301e0deeff404d8
(cherry picked from commit ac566782d34c89faea3001e69b940e6896dcbc50)

6 years agoUpdate to pair with using received module address info of multi-instace 39/162539/15 accepted/tizen/4.0/unified/20171206.062903 submit/tizen_4.0/20171205.095618
YoungHun Kim [Mon, 4 Dec 2017 06:40:55 +0000 (15:40 +0900)]
Update to pair with using received module address info of multi-instace

 - The product issue is that there are several instances at that same time by destroying failed

Change-Id: Iefb9cab3e8073cc34cc2aebb1301e0deeff404d8

6 years agoAdd the default value for error handler of invalid key 34/162234/1
YoungHun Kim [Tue, 28 Nov 2017 08:48:44 +0000 (17:48 +0900)]
Add the default value for error handler of invalid key

Change-Id: Ibcdc5b2bb750e2517efa03e7cf899755f1a1f4c7
(cherry picked from commit 2bbc1e2ab34063d1ee2013b4b7540a55dbb3e612)

6 years agoAdd the default value for error handler of invalid key 39/161939/7 accepted/tizen/4.0/unified/20171130.063700 submit/tizen_4.0/20171130.004232
YoungHun Kim [Tue, 28 Nov 2017 08:48:44 +0000 (17:48 +0900)]
Add the default value for error handler of invalid key

Change-Id: Ibcdc5b2bb750e2517efa03e7cf899755f1a1f4c7

6 years agoBug fix of product issue 25/161925/1 submit/tizen_4.0/20171128.081006
YoungHun Kim [Tue, 28 Nov 2017 07:32:56 +0000 (16:32 +0900)]
Bug fix of product issue

Change-Id: I3843adde3327d776bd4f851658c8cd9310768164
(cherry picked from commit f26a678cfa83142f005e1d6077122e67d5699456)

6 years agoBug fix of product issue 17/161917/2
YoungHun Kim [Tue, 28 Nov 2017 07:32:56 +0000 (16:32 +0900)]
Bug fix of product issue

Change-Id: I3843adde3327d776bd4f851658c8cd9310768164

6 years agoMerge branch 'tizen_4.0' to tizen 87/161687/1
YoungHun Kim [Sun, 26 Nov 2017 23:00:03 +0000 (08:00 +0900)]
Merge branch 'tizen_4.0' to tizen

Change-Id: I1b89760d4ae3cd93eed9a4fed3d439782d3f9af6

6 years agoAdd to check the number of create instace 46/161446/3
YoungHun Kim [Wed, 22 Nov 2017 06:20:38 +0000 (15:20 +0900)]
Add to check the number of create instace

Change-Id: Ifdb172506d5f2e9a33bd8d4613696877721b9365
(cherry picked from commit f84f13a498b8792d7c5fb5e771702c2b49fdca39)

6 years agoDisable the client signal handler at tv profile 46/161546/2 accepted/tizen/4.0/unified/20171127.083227 submit/tizen_4.0/20171124.042549
YoungHun Kim [Fri, 24 Nov 2017 03:12:23 +0000 (12:12 +0900)]
Disable the client signal handler at tv profile

 - http://suprem.sec.samsung.net/jira/browse/TNEXT-5573

Change-Id: I5219598eb2d96b88a89a0aa840f5382425e4fe05

6 years agoAdd to check the number of create instace 06/161206/4
YoungHun Kim [Wed, 22 Nov 2017 06:20:38 +0000 (15:20 +0900)]
Add to check the number of create instace

Change-Id: Ifdb172506d5f2e9a33bd8d4613696877721b9365

6 years agoAdd the api to get the number of instance 89/161389/1 accepted/tizen/4.0/unified/20171124.063636 submit/tizen_4.0/20171123.073222
YoungHun Kim [Tue, 21 Nov 2017 05:36:16 +0000 (14:36 +0900)]
Add the api to get the number of instance

 - http://suprem.sec.samsung.net/jira/browse/MPR-1244

Change-Id: I184f4e5bc63edab2c1c2a6ff3b40074650637554
(cherry picked from commit 21ed250db22846ac84fe72795cf7aaba72de8f79)

6 years agoFix the issue of product 88/161388/1
YoungHun Kim [Wed, 22 Nov 2017 06:34:29 +0000 (15:34 +0900)]
Fix the issue of product

 - Need to set the value of pid in advance because the client using data channel is called same time

Change-Id: Idfc56879e732320cb2b9cd2754f2c3f88d217492
(cherry picked from commit 8091c52dbcd02a45de080ad5f366458fe2d41d48)

6 years agoAdd the api to get the number of instance 13/161013/5
YoungHun Kim [Tue, 21 Nov 2017 05:36:16 +0000 (14:36 +0900)]
Add the api to get the number of instance

 - http://suprem.sec.samsung.net/jira/browse/MPR-1244

Change-Id: I184f4e5bc63edab2c1c2a6ff3b40074650637554

6 years agoFix the issue of product 08/161208/3
YoungHun Kim [Wed, 22 Nov 2017 06:34:29 +0000 (15:34 +0900)]
Fix the issue of product

 - Need to set the value of pid in advance because the client using data channel is called same time

Change-Id: Idfc56879e732320cb2b9cd2754f2c3f88d217492

6 years agoNotify the additional information when external storage is removed 91/160591/1 accepted/tizen/4.0/unified/20171122.071122 submit/tizen_4.0/20171117.013922
YoungHun Kim [Fri, 17 Nov 2017 05:31:28 +0000 (14:31 +0900)]
Notify the additional information when external storage is removed

Change-Id: I8a142a0e8d82a63bf078b13cf9c94dd488df45a8

6 years agoBug fix at set value of module_t when destroy 90/160390/1 accepted/tizen/unified/20171116.110311 submit/tizen/20171116.045630 submit/tizen/20171117.053008
YoungHun Kim [Thu, 16 Nov 2017 03:53:55 +0000 (12:53 +0900)]
Bug fix at set value of module_t when destroy

 - Fix the side effet of https://review.tizen.org/gerrit/#/c/159192

Change-Id: I9c4a99fbfc9d7b51c498e96b2f753f45fabbaab4

6 years agoBug fix at set value of module_t when destroy 89/160389/1
YoungHun Kim [Thu, 16 Nov 2017 03:53:55 +0000 (12:53 +0900)]
Bug fix at set value of module_t when destroy

 - Fix the side effet of https://review.tizen.org/gerrit/#/c/159192

Change-Id: I9c4a99fbfc9d7b51c498e96b2f753f45fabbaab4

6 years agoNotify the additional information when external storage is removed 64/159964/11
YoungHun Kim [Tue, 14 Nov 2017 03:08:59 +0000 (12:08 +0900)]
Notify the additional information when external storage is removed

 - We add the information because serveral external storages (sdcard and usb etc) could be connected

Change-Id: Ic9536bce46e5c9662f566891c45050f0f62854db

6 years agoModify to use the dlsym saved at muse server with mutex lock 75/160275/1
YoungHun Kim [Wed, 15 Nov 2017 05:39:29 +0000 (14:39 +0900)]
Modify to use the dlsym saved at muse server with mutex lock

Change-Id: I16067f4bae2a639c98d9ae990fb8b9a0a814a109
(cherry picked from commit 14cfbb52e83804c1c816b51522d4b71df7af84c4)

6 years agoModify to use the dlsym saved at muse server with mutex lock 48/160248/5 submit/tizen_4.0/20171115.074600
YoungHun Kim [Wed, 15 Nov 2017 05:39:29 +0000 (14:39 +0900)]
Modify to use the dlsym saved at muse server with mutex lock

Change-Id: I16067f4bae2a639c98d9ae990fb8b9a0a814a109

6 years agoUpdate internal muse_server with direct function call 31/160031/1 submit/tizen_4.0/20171114.083345
YoungHun Kim [Tue, 7 Nov 2017 10:07:29 +0000 (19:07 +0900)]
Update internal muse_server with direct function call

 - Remove singleton arch and call the function directly
 - The prefix of internel muse-server is same with 'ms'
 - Comply with the consistent naming rule

Change-Id: Idf25f15cac855c0048edd6dc4b241475a328dc2e
(cherry picked from commit 11ba71c12a70ed6d88d3cf755cee3b6f8ad22dee)

6 years agoUpdate internal muse_server with direct function call 92/159192/14
YoungHun Kim [Tue, 7 Nov 2017 10:07:29 +0000 (19:07 +0900)]
Update internal muse_server with direct function call

 - Remove singleton arch and call the function directly
 - The prefix of internel muse-server is same with 'ms'
 - Comply with the consistent naming rule

Change-Id: Idf25f15cac855c0048edd6dc4b241475a328dc2e

6 years agoCode refactoring for managing the client connection 98/158998/1 accepted/tizen/4.0/unified/20171108.063616 submit/tizen_4.0/20171106.094509
YoungHun Kim [Mon, 23 Oct 2017 22:34:05 +0000 (07:34 +0900)]
Code refactoring for managing the client connection

   - Remove duplicate GHashTable and use only the GQueue
   - Use only the connection manager and remove other data structures
   - ipc is minimized for its original role and connection is processing at new connection.c

Change-Id: I2801f1fcf662d652f187b8e587c2bbbfedc365fd

6 years agoCode refactoring for managing the client connection 16/157216/16 accepted/tizen/unified/20171107.055240 submit/tizen/20171106.085829 submit/tizen/20171107.025125
YoungHun Kim [Mon, 23 Oct 2017 22:34:05 +0000 (07:34 +0900)]
Code refactoring for managing the client connection

   - Remove duplicate GHashTable and use only the GQueue
   - Use only the connection manager and remove other data structures
   - ipc is minimized for its original role and connection is processing at new connection.c

Change-Id: I2801f1fcf662d652f187b8e587c2bbbfedc365fd

6 years agoUpdate to change strerror_r to guaranteee of thread safety 14/157014/1 accepted/tizen/4.0/unified/20171023.120602 submit/tizen_4.0/20171023.063907 tizen_4.0.m2_release
YoungHun Kim [Mon, 23 Oct 2017 06:14:13 +0000 (15:14 +0900)]
Update to change strerror_r to guaranteee of thread safety

Change-Id: Ic64eb3db5f9784b2ef5ef00ed8c066d42faa1c2c

6 years agoUpdate to change strerror_r to guaranteee of thread safety 07/157007/3
YoungHun Kim [Mon, 23 Oct 2017 06:14:13 +0000 (15:14 +0900)]
Update to change strerror_r to guaranteee of thread safety

Change-Id: Ic64eb3db5f9784b2ef5ef00ed8c066d42faa1c2c

6 years agoMerge branch 'tizen' to tizen_4.0 02/156602/1 accepted/tizen/4.0/unified/20171019.235438 submit/tizen_4.0/20171019.060405
YoungHun Kim [Thu, 19 Oct 2017 05:51:25 +0000 (14:51 +0900)]
Merge branch 'tizen' to tizen_4.0

Change-Id: I21122881e2049fbb17c846bd9dfd77b5118c8bbe

6 years agoThe new thread (Diagnostic thread) is added 86/155786/20
YoungHun Kim [Mon, 16 Oct 2017 07:05:25 +0000 (16:05 +0900)]
The new thread (Diagnostic thread) is added

 1.  The thread supports the memcheck routine of work thread when destroy is called

Change-Id: Ia2de26fd031af963a9af0a985e94bef65ee7822b

6 years agoAdd to check if the fd is valid before calling send 43/156143/2
YoungHun Kim [Tue, 17 Oct 2017 08:50:31 +0000 (17:50 +0900)]
Add to check if the fd is valid before calling send

Change-Id: Ic4070c7a31e6d410c6324bd2da5dec7d50029e8d

6 years agoUpdate to use secure log about memory address 45/155745/1 accepted/tizen/4.0/unified/20171017.211736 submit/tizen_4.0/20171016.052258
YoungHun Kim [Mon, 25 Sep 2017 23:58:18 +0000 (08:58 +0900)]
Update to use secure log about memory address

Change-Id: Ibc2ec9e3fdf9c1df0015490ac888f19f2c38a463

6 years agoThe msg and data channel pairs by using PID 09/155709/1
YoungHun Kim [Mon, 25 Sep 2017 23:58:18 +0000 (08:58 +0900)]
The msg and data channel pairs by using PID

Change-Id: I84398b0d986580f61cb22fae566fd32034179cd3

6 years agoAbbreviate the name of function and variable, which is used internally 39/155439/3
YoungHun Kim [Fri, 13 Oct 2017 06:38:30 +0000 (15:38 +0900)]
Abbreviate the name of function and variable, which is used internally

 Change the prefix called internally as below
  _muse_server -> _ms
  _muse_client -> _mc
  _muse_core -> _muse

Change-Id: I88acebd9652ec647fbc375e5f00b25f44b1d5e25

6 years agoUpdate to use secure log about memory address 43/155243/1
YoungHun Kim [Mon, 25 Sep 2017 23:58:18 +0000 (08:58 +0900)]
Update to use secure log about memory address

Change-Id: Ibc2ec9e3fdf9c1df0015490ac888f19f2c38a463

6 years agoThe msg and data channel pairs by using PID 45/152445/18
YoungHun Kim [Mon, 25 Sep 2017 23:58:18 +0000 (08:58 +0900)]
The msg and data channel pairs by using PID

Change-Id: I84398b0d986580f61cb22fae566fd32034179cd3

6 years agoResolve the respawn bug and update the value of watchdog timeout 09/154709/1 accepted/tizen/4.0/unified/20171011.150344 submit/tizen_4.0/20171011.065626 tizen_4.0.IoT.p1_release
YoungHun Kim [Wed, 27 Sep 2017 02:15:49 +0000 (11:15 +0900)]
Resolve the respawn bug and update the value of watchdog timeout

Change-Id: Ic30ace0fc6bfad5e426bc5879afff101cf062acc

6 years agoResolve the respawn bug and update the value of watchdog timeout 27/152727/10
YoungHun Kim [Wed, 27 Sep 2017 02:15:49 +0000 (11:15 +0900)]
Resolve the respawn bug and update the value of watchdog timeout

Change-Id: Ic30ace0fc6bfad5e426bc5879afff101cf062acc

6 years agoSupport to get_module_index at muse_client 26/154526/1
YoungHun Kim [Thu, 28 Sep 2017 23:46:22 +0000 (08:46 +0900)]
Support to get_module_index at muse_client

Change-Id: I5750ee9f6a043026894b099ca829eedc816e3f8f

6 years agoMerge branch tizen into tizen_4.0 88/154288/1 accepted/tizen/4.0/unified/20171010.163046 submit/tizen_4.0/20171010.044818
YoungHun Kim [Tue, 10 Oct 2017 04:42:13 +0000 (13:42 +0900)]
Merge branch tizen into tizen_4.0

Change-Id: Ia9b7a708418f2291cf3b65a56323b907f8b4bf05

6 years agoSupport to get_module_index at muse_client 58/153558/5
YoungHun Kim [Thu, 28 Sep 2017 23:46:22 +0000 (08:46 +0900)]
Support to get_module_index at muse_client

Change-Id: I5750ee9f6a043026894b099ca829eedc816e3f8f

6 years agoFix coverity issue 30/153430/4
YoungHun Kim [Thu, 28 Sep 2017 10:14:57 +0000 (19:14 +0900)]
Fix coverity issue

Change-Id: I4cba914bf60faa637499cb1c077ba7a8c96ded37

6 years agoResolve the muse restart when detecting deadlock at main thread 29/152329/3
YoungHun Kim [Mon, 25 Sep 2017 23:58:18 +0000 (08:58 +0900)]
Resolve the muse restart when detecting deadlock at main thread

Change-Id: Ib24eef7fab51bfcc3c2ab96057d956896ef3478b

6 years agoCode refactoring 31/151831/8
YoungHun Kim [Fri, 22 Sep 2017 05:55:27 +0000 (14:55 +0900)]
Code refactoring

Change-Id: I4d0c51ee9173db45d059283a2c13ca0f30872f17

6 years agoUpdate the value of watchdog timeout at main thread 98/152198/1
YoungHun Kim [Mon, 25 Sep 2017 08:27:21 +0000 (17:27 +0900)]
Update the value of watchdog timeout at main thread

Change-Id: Id711af7053f97d5b4f832c6e491337829668edfc

6 years agoRevise the symbol name for performance once more 38/150138/1 accepted/tizen/4.0/unified/20170915.201730 submit/tizen_4.0/20170914.103816
YoungHun Kim [Thu, 14 Sep 2017 08:23:24 +0000 (17:23 +0900)]
Revise the symbol name for performance once more

Change-Id: I11f775408a014fad7dc9a257981b0782364185b3

6 years agoRevise the symbol name for performance once more 94/150094/2 accepted/tizen/unified/20170915.192241 submit/tizen/20170914.103839
YoungHun Kim [Thu, 14 Sep 2017 08:23:24 +0000 (17:23 +0900)]
Revise the symbol name for performance once more

Change-Id: I11f775408a014fad7dc9a257981b0782364185b3

6 years agoAdd the information of symbol name at dying message for debugging 53/150053/1 submit/tizen_4.0/20170914.070634
YoungHun Kim [Wed, 13 Sep 2017 07:40:57 +0000 (16:40 +0900)]
Add the information of symbol name at dying message for debugging

Change-Id: I1590dac97139df69ab6fc5ac278e6e2d2acd051a

6 years agoAdd the information of symbol name at dying message for debugging 31/149831/5 submit/tizen/20170914.071659
YoungHun Kim [Wed, 13 Sep 2017 07:40:57 +0000 (16:40 +0900)]
Add the information of symbol name at dying message for debugging

Change-Id: I1590dac97139df69ab6fc5ac278e6e2d2acd051a

6 years agoDisable the client signal handler at VD product 80/148980/1 accepted/tizen/4.0/unified/20170912.184132 submit/tizen_4.0/20170911.084102 submit/tizen_4.0/20170911.084739
YoungHun Kim [Mon, 11 Sep 2017 02:50:28 +0000 (11:50 +0900)]
Disable the client signal handler at VD product

Change-Id: I254574bb158ed69bd1440d0552c39248767bcff1

6 years agoDisable the client signal handler at VD product 14/148814/2
YoungHun Kim [Mon, 11 Sep 2017 02:50:28 +0000 (11:50 +0900)]
Disable the client signal handler at VD product

Change-Id: I254574bb158ed69bd1440d0552c39248767bcff1

6 years agoChange the format of return value at dlog 93/148793/1
YoungHun Kim [Thu, 7 Sep 2017 08:39:40 +0000 (17:39 +0900)]
Change the format of return value at dlog

Change-Id: I2b75bbd1a4d26d639161eb425b0818ca16193760

6 years agoChange the format of return value at dlog 68/148268/1
YoungHun Kim [Thu, 7 Sep 2017 08:39:40 +0000 (17:39 +0900)]
Change the format of return value at dlog

Change-Id: I2b75bbd1a4d26d639161eb425b0818ca16193760

6 years agoFix the directory path and bug 48/147848/2 accepted/tizen/4.0/unified/20170907.194606 submit/tizen_4.0/20170907.003121
YoungHun Kim [Wed, 6 Sep 2017 02:11:56 +0000 (11:11 +0900)]
Fix the directory path and bug

Change-Id: I3a9236891f04c46245d1bdf2e423d973e0cccdf8

6 years agoFix the directory path and bug 45/147845/4 accepted/tizen/unified/20170907.060344 submit/tizen/20170907.003146
YoungHun Kim [Wed, 6 Sep 2017 02:11:56 +0000 (11:11 +0900)]
Fix the directory path and bug

Change-Id: I3a9236891f04c46245d1bdf2e423d973e0cccdf8

6 years agoUpdate the condition race of connection while muse-server respawn 01/147401/1 accepted/tizen/4.0/unified/20170905.175047 submit/tizen_4.0/20170904.104924
YoungHun Kim [Mon, 4 Sep 2017 07:58:40 +0000 (16:58 +0900)]
Update the condition race of connection while muse-server respawn

Change-Id: Ieea1feeee3a46e164c29c7a44f7b67450350666a

6 years agoUpdate the condition race of connection while muse-server respawn 76/147276/6 accepted/tizen/unified/20170905.184239 submit/tizen/20170904.094358
YoungHun Kim [Sun, 3 Sep 2017 23:41:05 +0000 (08:41 +0900)]
Update the condition race of connection while muse-server respawn

Change-Id: I05b52825b90b7fc8ceba8c99108103c9b2dfd7ed

6 years agoUpdate to change server state before logging 95/147295/1 submit/tizen_4.0/20170904.014922
YoungHun Kim [Sun, 3 Sep 2017 23:41:05 +0000 (08:41 +0900)]
Update to change server state before logging

Change-Id: I05b52825b90b7fc8ceba8c99108103c9b2dfd7ed

6 years agomuse-core add pc_requied at muse-client package config 92/146092/1 accepted/tizen/unified/20170825.163305 submit/tizen/20170825.025110
Hyongtaek Lim [Fri, 25 Aug 2017 02:40:59 +0000 (11:40 +0900)]
muse-core add pc_requied at muse-client package config

Change-Id: Id49b5d172948a996aa8f5c484149e25984a07104
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
6 years agoAdd MUSE_SERVER_READY for product 14/145614/2 accepted/tizen/4.0/unified/20170829.020225 accepted/tizen/unified/20170823.170605 submit/tizen/20170823.084832 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004 submit/tizen_4.0/20170830.060221
YoungHun Kim [Wed, 23 Aug 2017 06:10:24 +0000 (15:10 +0900)]
Add MUSE_SERVER_READY for product

Change-Id: I989ccd7eddf07c3c10e2de2b567451b244bbfc2a

6 years agomuse-client's linking muse-core move to pcldflag for client 56/145656/2
Hyongtaek Lim [Wed, 23 Aug 2017 07:47:21 +0000 (16:47 +0900)]
muse-client's linking muse-core move to pcldflag for client

Change-Id: I5a502fdc7fab44a68d7d42df084ba3bec41e8cac
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
6 years agoAdd signal handler for client process 51/145251/6
Jeongmo Yang [Tue, 22 Aug 2017 01:40:10 +0000 (10:40 +0900)]
Add signal handler for client process

[Version] 0.3.3
[Profile] Common
[Issue Type] Update

Change-Id: I87549723d14be78fd45fae7e2bfb4775c280af6c
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
6 years agoAdd to get data info for product 76/145376/2 submit/tizen/20170822.120726 submit/tizen/20170823.030712
YoungHun Kim [Tue, 22 Aug 2017 06:54:58 +0000 (15:54 +0900)]
Add to get data info for product

Change-Id: I094da1f9e3ca33d7de7dd8ab3f1ae3f5223ef170

6 years agoFix build error on 64bit environment 87/145087/1 accepted/tizen/unified/20170822.112951 submit/tizen/20170821.070131
Jeongmo Yang [Mon, 21 Aug 2017 07:38:07 +0000 (16:38 +0900)]
Fix build error on 64bit environment

[Version] 0.3.1-2
[Profile] Common
[Issue Type] Bug fix

Change-Id: I5eaef85b8d0119d4c998cd01bcf3d8393e377b68
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
6 years ago[0.3.1] Split mused to muse-server, muse-core and muse-client 42/144942/2
YoungHun Kim [Fri, 18 Aug 2017 11:11:52 +0000 (20:11 +0900)]
[0.3.1] Split mused to muse-server, muse-core and muse-client

Change-Id: I2684b6169d525c770e02f594ded5b281280034e3

6 years agoAdd to free system info 27/144827/1 accepted/tizen/unified/20170821.012302 submit/tizen/20170818.050029 submit/tizen/20170818.061527
YoungHun Kim [Fri, 18 Aug 2017 06:06:53 +0000 (15:06 +0900)]
Add to free system info

Change-Id: Iec833bf255a3991bca72c0acce3031b8b2a21da2

6 years agoUpdate the build feature of VD and update to set state 94/144794/4
YoungHun Kim [Fri, 18 Aug 2017 03:35:53 +0000 (12:35 +0900)]
Update the build feature of VD and update to set state

Change-Id: I31cccd7b00fdc37e682799ebd487e66bbd41b633

6 years agoRevert "Split mused to muse-server, muse-core (common) and muse-client part" 93/144793/1
YoungHun Kim [Fri, 18 Aug 2017 03:22:11 +0000 (03:22 +0000)]
Revert "Split mused to muse-server, muse-core (common) and muse-client part"

This reverts commit d9a174b95ac9e2d374883ec1bca7171289c1a607.

Change-Id: Ic13cb36ff598bd716f34e7e25aba92fe6154871b

6 years agoSplit mused to muse-server, muse-core (common) and muse-client part 99/138599/61
YoungHun Kim [Thu, 13 Jul 2017 02:31:08 +0000 (11:31 +0900)]
Split mused to muse-server, muse-core (common) and muse-client part

* The files are only installed, which are mused rpm likewise before.

 - rpm2cpio mused-0.2.3-1.armv7l.rpm | cpio -ivdm
  ./opt/data/mused
  ./usr/bin/muse-server
  +./usr/lib/libmuse-client.so.0
  +./usr/lib/libmuse-client.so.0.2.3
  +./usr/lib/libmuse-core.so.0
  +./usr/lib/libmuse-core.so.0.2.3
  +./usr/lib/libmuse-server.so.0
  +./usr/lib/libmuse-server.so.0.2.3
  ./usr/lib/systemd/system/multi-user.target.wants/muse-server.service
  ./usr/lib/systemd/system/muse-server.path
  ./usr/lib/systemd/system/muse-server.service
  ./usr/lib/systemd/system/muse-server.socket
  ./usr/lib/systemd/system/sockets.target.wants/muse-server.socket
  ./usr/share/licenses/mused
  ./usr/share/licenses/mused/LICENSE.APLv2
  ./var/log/mused

 - rpm2cpio mused-devel-0.2.3-1.armv7l.rpm | cpio -ivdm
  +./usr/include/media/muse_client.h
  ./usr/include/media/muse_core.h
  +./usr/include/media/muse_server.h
  +./usr/lib/libmuse-client.so
  +./usr/lib/libmuse-core.so
  +./usr/lib/libmuse-server.so
  +./usr/lib/pkgconfig/muse-client.pc
  +./usr/lib/pkgconfig/muse-core.pc
  +./usr/lib/pkgconfig/muse-server.pc

* muse module (server side) can depend on the muse_server.h

* The dlog macro is 'MUSED'

Change-Id: I73ca889fe418468012799352a567a9fda3175158

6 years agoAdd to init mutex of state 15/144415/1 accepted/tizen/unified/20170818.001006 submit/tizen/20170816.091600 submit/tizen/20170816.130636
YoungHun Kim [Wed, 16 Aug 2017 12:53:19 +0000 (21:53 +0900)]
Add to init mutex of state

Change-Id: I8c5716bfce7fb4b0a17b974c468c47b2b3c146e6

6 years agoResolve the memory leak and deadlock of VD issues 20/144320/2
YoungHun Kim [Wed, 16 Aug 2017 08:23:46 +0000 (17:23 +0900)]
Resolve the memory leak and deadlock of VD issues

 - free msg object of memory leak
 - Add state mutex lock for VD deadlock issue
 - UPdate eip once more of security requirement

Change-Id: I3a141c01d314090907997bb29b73eeb70843b689

6 years agoRollback the 'Remove 'process' at the eip of set_capability' 34/143334/1 accepted/tizen/unified/20170810.171923 submit/tizen/20170809.094850
YoungHun Kim [Wed, 9 Aug 2017 09:42:12 +0000 (18:42 +0900)]
Rollback the 'Remove 'process' at the eip of set_capability'

Change-Id: I5dfe528cc586fd10a6d36a3490cc45a490277e48

6 years agoRemove 'process' at the eip of set_capability 59/141359/1 accepted/tizen/unified/20170807.154010 submit/tizen/20170807.064235
YoungHun Kim [Mon, 31 Jul 2017 06:40:40 +0000 (15:40 +0900)]
Remove 'process' at the eip of set_capability

 - security requirment to remove the right which any process has the capability

Change-Id: I350bf3d57f00e098e50bde3063a50ce81bce05fc

6 years agoUse the absolute path because of security issue and resolve the Svace issue 32/139332/6
YoungHun Kim [Tue, 18 Jul 2017 11:01:18 +0000 (20:01 +0900)]
Use the absolute path because of security issue and resolve the Svace issue

 - Use the absolute path becuase of command Injection
 - Resolve the WGID 23518

Change-Id: I7ebbb7547d3a71bb3baa43f70214a302cd4dfd78

6 years agoUpdate the build feature of VD 63/139763/3
YoungHun Kim [Thu, 20 Jul 2017 09:34:57 +0000 (18:34 +0900)]
Update the build feature of VD

 - VD Requirement for Tizen_4.0

Change-Id: I003d748d46e3daf363bb5bc305b530a3ffd3cedd

6 years agoRemove the getenv by security issue of VD 73/139773/1
YoungHun Kim [Thu, 20 Jul 2017 09:40:06 +0000 (18:40 +0900)]
Remove the getenv by security issue of VD

Change-Id: Iaae8e5d53d95e83391faa2c1622e5f58e47f00fd

7 years agoUpdate to kill with SIGABRT when repawn 65/137965/3
YoungHun Kim [Mon, 10 Jul 2017 11:44:36 +0000 (20:44 +0900)]
Update to kill with SIGABRT when repawn

[Problem] mused can't restart when crashed in C# TCT
[Cause & Measure] The issue is of start-limit-hit, which is that systemd is trying to restart service file, after doing this several times systemd gives up (the default limit is 5 tries within a 10 second period).
                  We can solve the issue by TimeoutStopSec or systemd delay of creating coredump and my soulution is the second choice.

Change-Id: I2622020cea574538cf0e16f4ad972ce76a99a1b9

7 years agoUpdate to ignore the create api call when mused is not ready 14/136414/13
YoungHun Kim [Thu, 29 Jun 2017 10:09:59 +0000 (19:09 +0900)]
Update to ignore the create api call when mused is not ready

Change-Id: Ib4c4d910e87dd94f1dc8585324a1481ee60c4c44