platform/core/multimedia/mmsvc-core.git
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 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

7 years agoDisable the respawn when detecting memory leak until the issue is resolved 21/136321/1 accepted/tizen/4.0/unified/20170816.011745 accepted/tizen/4.0/unified/20170816.014914 accepted/tizen/unified/20170703.064153 submit/tizen/20170629.065632 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
YoungHun Kim [Thu, 29 Jun 2017 05:31:48 +0000 (14:31 +0900)]
Disable the respawn when detecting memory leak until the issue is resolved

Change-Id: I6ebebe1273c6bcb95880eff8e58a46e99e52b046

7 years agoAdd priv_recorder at SupplementaryGroups 25/134525/1 accepted/tizen/unified/20170630.083148 submit/tizen/20170619.085943
YoungHun Kim [Mon, 19 Jun 2017 05:29:05 +0000 (14:29 +0900)]
Add priv_recorder at SupplementaryGroups

Change-Id: I4c0987cbb8cde3ccaa3278026745a8b98a56da68

7 years agoComply with VD log reduction guide 40/134340/1 accepted/tizen/unified/20170630.083026 submit/tizen/20170616.053322
YoungHun Kim [Fri, 16 Jun 2017 05:19:25 +0000 (14:19 +0900)]
Comply with VD log reduction guide

Change-Id: I9e78695b01e2df1be07621fab5e1b52fc7d728b5

7 years agoUpdate to close the data channel's socket 69/132569/1 accepted/tizen/unified/20170608.072207 submit/tizen/20170607.045445
YoungHun Kim [Thu, 1 Jun 2017 08:01:22 +0000 (17:01 +0900)]
Update to close the data channel's socket

Change-Id: I2c8d4c87565919c0d27f10f566d9137674497f5d

7 years agoMerge branch 'tizen_3.0' into tizen 45/131645/1
YoungHun Kim [Tue, 30 May 2017 08:35:46 +0000 (17:35 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I5cdad79d85eca4a178a1bb0c1a01d05e00d512fd

7 years agoUpdate to set dispatcher of disable watchdog using mused.conf 39/131039/5
YoungHun Kim [Thu, 25 May 2017 07:08:16 +0000 (16:08 +0900)]
Update to set dispatcher of disable watchdog using mused.conf

Change-Id: I3c3ea91e895ee2c44cfb3f68580c8551a4baede3

7 years agoUpdate to check memory after destroy 09/130809/8
YoungHun Kim [Wed, 24 May 2017 05:32:31 +0000 (14:32 +0900)]
Update to check memory after destroy

Change-Id: Id4154a85a2b7ba4265e896a6f0ed46cb8cc15f11

7 years agoUpdate to set module to NULL in cleanup 83/130783/3 accepted/tizen_3.0_ivi accepted/tizen/3.0/common/20170605.123956 accepted/tizen/3.0/ivi/20170605.015029 accepted/tizen/3.0/mobile/20170605.015022 accepted/tizen/3.0/tv/20170605.015024 accepted/tizen/3.0/wearable/20170605.015027 submit/tizen_3.0/20170525.103814 submit/tizen_3.0/20170602.003537
YoungHun Kim [Wed, 24 May 2017 03:16:54 +0000 (12:16 +0900)]
Update to set module to NULL in cleanup

Change-Id: I626b7dcf19f645658cfbc488c237f72596b1688a

7 years agoMerge branch 'tizen_3.0' into tizen 40/130440/1 accepted/tizen/unified/20170522.190534 submit/tizen/20170522.100040 tizen_4.0.m1_release
YoungHun Kim [Mon, 22 May 2017 09:30:21 +0000 (18:30 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Id80f21b50e375cfb5430f462a6e89d8f3aec80f0

7 years agoReturn NULL explicitly when data is NULL 29/130429/1
YoungHun Kim [Mon, 22 May 2017 08:59:33 +0000 (17:59 +0900)]
Return NULL explicitly when data is NULL

Change-Id: If10e74a47180d3e1376301e6c57aa39e1fe1a00e

7 years agoUpdate to call the unsubscribe_poweroff_state_change 19/128719/3
YoungHun Kim [Thu, 11 May 2017 06:29:08 +0000 (15:29 +0900)]
Update to call the unsubscribe_poweroff_state_change

Change-Id: Icd6d3f4601db788c076fc481de5bb5e5cbd6b6e4

7 years agoUpdate the array size to resolve overflow issue 19/128219/2 accepted/tizen/unified/20170510.012859 submit/tizen/20170508.044749
YoungHun Kim [Mon, 8 May 2017 05:29:52 +0000 (14:29 +0900)]
Update the array size to resolve overflow issue

Change-Id: If3a49fa29648f28225bde5dcf228f6252b8a3455

7 years agoUpdate the array size to resolve overflow issue 15/128215/1
YoungHun Kim [Mon, 8 May 2017 05:29:52 +0000 (14:29 +0900)]
Update the array size to resolve overflow issue

Change-Id: If3a49fa29648f28225bde5dcf228f6252b8a3455

7 years agoRespawn when job furction of workqueue is failed 47/128147/2
YoungHun Kim [Mon, 8 May 2017 02:30:51 +0000 (11:30 +0900)]
Respawn when job furction of workqueue is failed

Change-Id: I816155dd5672f4fa278da0962c9b31abe203d274

7 years agoAdd the feature to enable the watchdog, which is disable at vd product 43/128143/2
YoungHun Kim [Mon, 8 May 2017 02:08:57 +0000 (11:08 +0900)]
Add the feature to enable the watchdog, which is disable at vd product

Change-Id: I4af31d1af87da7961dda18f7b373536ce4a99198

7 years agoMerge branch 'tizen_3.0' into tizen 74/127074/1 accepted/tizen/unified/20170426.200003 submit/tizen/20170426.063338
YoungHun Kim [Wed, 26 Apr 2017 06:19:05 +0000 (15:19 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I0be6384ecb60def69a7628dd15d04efdaeee128b

7 years agoResolve the issue of futex_wait at freezing mode 80/126780/2
YoungHun Kim [Tue, 25 Apr 2017 05:25:48 +0000 (14:25 +0900)]
Resolve the issue of futex_wait at freezing mode

 : kernel can't catch the signal's history of g_cond_wait in the case not to unlock condition race

Change-Id: I0fa84b4fd1310fd334e50d6a1c6d5107120c045a

7 years agoIgnore SIG_PIPE because of avoiding the socket exception error 61/125061/3
YoungHun Kim [Thu, 13 Apr 2017 12:39:11 +0000 (21:39 +0900)]
Ignore SIG_PIPE because of avoiding the socket exception error

Change-Id: Ib764ba0ff58e7ba204cd8e6b577c2938aa058ebd

7 years agoAdd to check if memory pointer is valid or not to avoid the illegal violation 80/121480/8
YoungHun Kim [Tue, 28 Mar 2017 06:06:49 +0000 (15:06 +0900)]
Add to check if memory pointer is valid or not to avoid the illegal violation

Change-Id: I7bf2497e01ad43fcb75edee6ec86d4de48ca31ca

7 years agoUpdate the array size to resolve overflow issue 59/125359/1 accepted/tizen/3.0/common/20170508.152956 accepted/tizen/3.0/ivi/20170508.050141 accepted/tizen/3.0/mobile/20170508.050023 accepted/tizen/3.0/tv/20170508.050051 accepted/tizen/3.0/wearable/20170508.050113 submit/tizen_3.0-common/20170508.080135 submit/tizen_3.0-common/20170508.081301 submit/tizen_3.0-common/20170508.091535 submit/tizen_3.0/20170417.044315 submit/tizen_3.0_common/20170508.091735
YoungHun Kim [Mon, 17 Apr 2017 05:59:00 +0000 (14:59 +0900)]
Update the array size to resolve overflow issue

Change-Id: I68d7ca7110c87a681811253dabd06a96013d0c63

7 years agoMerge branch 'tizen_3.0' into tizen 70/123970/1 accepted/tizen/unified/20170410.160136 submit/tizen/20170410.072959
YoungHun Kim [Mon, 10 Apr 2017 00:13:32 +0000 (09:13 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Ic63373f02baffb73f6474683cde6694294b1336c

7 years agoChange message receive mechanism for data worker 00/123600/11 submit/tizen_3.0/20170410.001748
Jeongmo Yang [Thu, 6 Apr 2017 07:51:17 +0000 (16:51 +0900)]
Change message receive mechanism for data worker

1. get message for module
2. get data recursively
 a. get header first
 b. check data size and allocate
 c. receive data recursively until received size is same with data size

[Version] 0.1.63
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-mobile_20170403.2]

Change-Id: I4f4ac0ab0b6cb85b1da43035d83a6375bf4f5b05
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoAdd to get platform info which is supported or not 00/122800/7
YoungHun Kim [Mon, 3 Apr 2017 11:27:24 +0000 (20:27 +0900)]
Add to get platform info which is supported or not

Change-Id: If7859f3873542112e175a6cbf2601d9a10c244a5

7 years agoRollback the requirement of changing the value of Restart option 93/122193/1
YoungHun Kim [Thu, 30 Mar 2017 12:20:07 +0000 (21:20 +0900)]
Rollback the requirement of changing the value of Restart option

Change-Id: I282e07af8d7939adbf48f1eabae6988a4d493cc2

7 years agoMerge branch 'tizen_3.0' into tizen 77/120777/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170404.142327 accepted/tizen/ivi/20170403.130028 accepted/tizen/mobile/20170403.125626 accepted/tizen/tv/20170403.125826 accepted/tizen/unified/20170403.130121 accepted/tizen/wearable/20170403.125916 submit/tizen/20170403.050513
YoungHun Kim [Fri, 24 Mar 2017 06:57:52 +0000 (15:57 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Ib8572cf466f59ae57285162d95138f0ba2c3f5ab

7 years agoUpdate to use '%license macro' and remove the unnecessary 'cp' part of mused.spec 57/120357/7 accepted/tizen/3.0/common/20170330.125154 accepted/tizen/3.0/ivi/20170330.092050 accepted/tizen/3.0/mobile/20170330.091834 accepted/tizen/3.0/tv/20170330.091949 accepted/tizen/3.0/wearable/20170330.092019 submit/tizen_3.0/20170329.075800
YoungHun Kim [Wed, 22 Mar 2017 11:15:22 +0000 (20:15 +0900)]
Update to use '%license macro' and remove the unnecessary 'cp' part of mused.spec
Update the function of write info

Change-Id: Ib937484cebcaa2ca56047acd737374130248c932

7 years agoSplit the watchdog for main loop separately 58/120358/5
Seungbae Shin [Wed, 22 Mar 2017 11:28:14 +0000 (20:28 +0900)]
Split the watchdog for main loop separately

Change-Id: I11794f98ba19c48d0f15826923885430db869205

7 years agoAdd watchdog for mainloop 61/120161/7
Jeongmo Yang [Wed, 22 Mar 2017 02:55:38 +0000 (11:55 +0900)]
Add watchdog for mainloop

[Version] 0.1.61
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-3.0-mobile_20170321.3]

Change-Id: I89c0015c1f25709b05cd68e20beed0baf12522b2
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoUpdate to log the thread info when create() failed 57/119757/2
YoungHun Kim [Mon, 20 Mar 2017 04:59:43 +0000 (13:59 +0900)]
Update to log the thread info when create() failed

Change-Id: Ib6f19bdc17168ecc86ed4a64b1882e71e2b62392

7 years agoMerge branch 'tizen_3.0' into tizen 44/119444/1
YoungHun Kim [Fri, 17 Mar 2017 04:21:36 +0000 (13:21 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I71b71652003cf31008543cb00969ed8ddf2691af

7 years agoChange the value of Restart option with 'on-failure' 70/119370/1 accepted/tizen/3.0/common/20170320.130357 accepted/tizen/3.0/ivi/20170320.080344 accepted/tizen/3.0/mobile/20170320.074757 accepted/tizen/3.0/tv/20170320.075821 accepted/tizen/3.0/wearable/20170320.080114 submit/tizen_3.0/20170317.034449
YoungHun Kim [Thu, 16 Mar 2017 13:03:53 +0000 (22:03 +0900)]
Change the value of Restart option with 'on-failure'

Change-Id: Iafa970c1af6a22be7a399b555585e99a64cd6050

7 years agoAdd command dispatcher for external storage state change 45/119045/14
YoungHun Kim [Wed, 15 Mar 2017 08:32:42 +0000 (17:32 +0900)]
Add command dispatcher for external storage state change

Change-Id: Ice2d0b0d636d8def0013fc744f1f8f4688200392

7 years agoUpdate the unique id to distinguish socket 70/117970/18
YoungHun Kim [Wed, 8 Mar 2017 07:15:33 +0000 (16:15 +0900)]
Update the unique id to distinguish socket

Change-Id: Ifc7c53c62b1a4371f86cbd3747aab088f8921ebf

7 years agoAdd to clear the pid handle lock 49/118749/1
YoungHun Kim [Tue, 14 Mar 2017 03:17:54 +0000 (12:17 +0900)]
Add to clear the pid handle lock

Change-Id: Ib6967958d105428341bee1da9394584ae4f01d34

7 years agoUpdate to check the dispatcher's return vaule 17/118217/13
YoungHun Kim [Thu, 9 Mar 2017 08:04:27 +0000 (17:04 +0900)]
Update to check the dispatcher's return vaule

Change-Id: Id7670047c4793647959580563e925301b288ae6c

7 years agoChange to log the handle info when resource error and update the dispatch callback 11/118611/10
YoungHun Kim [Mon, 13 Mar 2017 08:49:22 +0000 (17:49 +0900)]
Change to log the handle info when resource error and update the dispatch callback

Change-Id: I93268dad2edb791d4b97d00b31f79db63164080d

7 years agoAdd the build feature of IWB 81/118581/2
YoungHun Kim [Mon, 13 Mar 2017 07:55:55 +0000 (16:55 +0900)]
Add the build feature of IWB

Change-Id: Ic87e818f4d628769a9759908f88ec9655aef4032

7 years agoUpdate to log the number of handle when client calls create api 09/118409/2
YoungHun Kim [Fri, 10 Mar 2017 08:21:30 +0000 (17:21 +0900)]
Update to log the number of handle when client calls create api

Change-Id: I9cdf2f62a0e33a341dd8561249c5a328769275c9

7 years agoRemove the unnecessary workqueue thread 78/117978/2
YoungHun Kim [Wed, 8 Mar 2017 07:48:16 +0000 (16:48 +0900)]
Remove the unnecessary workqueue thread

Change-Id: Ia8e6e42c057ed33f1afbe1c5bc29b2c315366556

7 years agoFix svace issue 99/118199/3
YoungHun Kim [Thu, 9 Mar 2017 06:42:26 +0000 (15:42 +0900)]
Fix svace issue

Change-Id: I9cd8895b4d75c3a1083ffcd8b4d987ff27251045

7 years agoAdd info at muse log file for debugging 23/117723/5
YoungHun Kim [Tue, 7 Mar 2017 07:51:54 +0000 (16:51 +0900)]
Add info at muse log file for debugging

Change-Id: I78859ea09ea0d1be7c84a78257714cee65d0923a

7 years agoUpdate the dedicated mutex lock for dispatcher's condition race 12/117712/3
YoungHun Kim [Tue, 7 Mar 2017 07:32:34 +0000 (16:32 +0900)]
Update the dedicated mutex lock for dispatcher's condition race

Change-Id: Ib36052166c4f631241024d83b5d31939f227f6dc

7 years agoMerge branch 'tizen_3.0' into tizen 65/117165/1
Jeongmo Yang [Fri, 3 Mar 2017 05:45:35 +0000 (14:45 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I2f323127bf1ea136aa2324a79adc5e001f9a7bc5
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoFix memory corruption 17/116917/1 accepted/tizen/3.0/common/20170303.085743 accepted/tizen/3.0/ivi/20170302.222438 accepted/tizen/3.0/mobile/20170302.222324 accepted/tizen/3.0/tv/20170302.222355 accepted/tizen/3.0/wearable/20170302.222416 submit/tizen_3.0/20170302.044802
Jeongmo Yang [Thu, 2 Mar 2017 04:22:07 +0000 (13:22 +0900)]
Fix memory corruption

[Version] 0.1.54
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-3.0-mobile_20170227.2]

Change-Id: I44b471a2c16ed6953cae85d3abb922f16448a7f4
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoAdd NULL check for config free function 17/116617/1
Jeongmo Yang [Mon, 27 Feb 2017 08:47:27 +0000 (17:47 +0900)]
Add NULL check for config free function

[Version] 0.1.53
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A

Change-Id: I54e1df68baffc6f6ebf098e762aaf283c2401e96
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoRemove sync call when connection close 41/115941/1 accepted/tizen/3.0/common/20170223.122206 accepted/tizen/3.0/ivi/20170223.084242 accepted/tizen/3.0/mobile/20170223.084155 accepted/tizen/3.0/tv/20170223.084207 accepted/tizen/3.0/wearable/20170223.084223 submit/tizen_3.0/20170222.070231
Jeongmo Yang [Wed, 22 Feb 2017 06:37:59 +0000 (15:37 +0900)]
Remove sync call when connection close

It can waste too much time if file operation is working on target,
So, application could be crashed with ANR by watchdog.

[Version] 0.1.52
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=]

Change-Id: I2eccd256a0766ffc07925ff13364d9e864e27a7d
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoUpdate to add the app pid and dispatcher name information when log enabled 74/114074/6
YoungHun Kim [Fri, 10 Feb 2017 01:58:40 +0000 (10:58 +0900)]
Update to add the app pid and dispatcher name information when log enabled

Change-Id: Ib745ff9074d11714d7fe7b38bf65a12e2e936bda

7 years agoFix svace issues (MEMORY_LEAK.EX, OVERFLOW_UNDER_CHECK) 78/115078/1 accepted/tizen/3.0/common/20170220.125711 accepted/tizen/3.0/ivi/20170220.013856 accepted/tizen/3.0/mobile/20170220.013525 accepted/tizen/3.0/tv/20170220.013626 accepted/tizen/3.0/wearable/20170220.013740 submit/tizen_3.0/20170216.114148
Gilbok Lee [Thu, 16 Feb 2017 08:06:53 +0000 (17:06 +0900)]
Fix svace issues (MEMORY_LEAK.EX, OVERFLOW_UNDER_CHECK)

Change-Id: Ibf6ba6311c32c47d9909f4c46c8fd9d749fc973e

7 years agoSecurity related functions are updated not to check timeout 00/113900/2 accepted/tizen/3.0/common/20170210.171020 accepted/tizen/3.0/ivi/20170210.082142 accepted/tizen/3.0/mobile/20170210.081939 accepted/tizen/3.0/tv/20170210.082016 accepted/tizen/3.0/wearable/20170210.082100 submit/tizen_3.0/20170209.083529
YoungHun Kim [Thu, 9 Feb 2017 08:19:52 +0000 (17:19 +0900)]
Security related functions are updated not to check timeout

Change-Id: If9c48e314c9241b48909f694eae08dbb83bac2af

7 years agoUpdate to close the open fd for daemon redirection 71/113571/1 accepted/tizen/common/20170214.173908 accepted/tizen/ivi/20170214.230157 accepted/tizen/mobile/20170214.230045 accepted/tizen/tv/20170214.230108 accepted/tizen/unified/20170309.033228 accepted/tizen/wearable/20170214.230127 submit/tizen/20170214.113450 submit/tizen_unified/20170308.100408
YoungHun Kim [Tue, 7 Feb 2017 12:34:35 +0000 (21:34 +0900)]
Update to close the open fd for daemon redirection

Change-Id: I9510ef102edb21397a40b7aa89f5fff0b9fd1086

7 years agoUpdate to close the open fd for daemon redirction 66/113566/1
YoungHun Kim [Wed, 8 Feb 2017 05:02:21 +0000 (21:02 -0800)]
Update to close the open fd for daemon redirction

Change-Id: I2c032bc2638ab4d6a387ca99d2276113366b820f

7 years agoUpdate to close the open fd for daemon redirction 22/113522/4 submit/tizen_3.0/20170208.065825
YoungHun Kim [Wed, 8 Feb 2017 05:02:21 +0000 (21:02 -0800)]
Update to close the open fd for daemon redirction

Change-Id: I2c032bc2638ab4d6a387ca99d2276113366b820f

7 years agoResolve fd leak 40/113440/2
YoungHun Kim [Tue, 7 Feb 2017 12:34:35 +0000 (21:34 +0900)]
Resolve fd leak

Change-Id: I9510ef102edb21397a40b7aa89f5fff0b9fd1086

7 years agoMerge branch 'tizen_3.0' into tizen 32/113232/1 accepted/tizen/common/20170207.061915 accepted/tizen/ivi/20170207.091952 accepted/tizen/mobile/20170207.091516 accepted/tizen/tv/20170207.091702 accepted/tizen/wearable/20170207.091830 submit/tizen/20170207.014233
YoungHun Kim [Tue, 7 Feb 2017 01:00:47 +0000 (10:00 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I910ff9433519666e7a8308d12f88c80ff6cedede

7 years agoResolve the side effect of gst param 74/113174/2 accepted/tizen/3.0/common/20170207.092301 accepted/tizen/3.0/ivi/20170207.084717 accepted/tizen/3.0/mobile/20170207.084628 accepted/tizen/3.0/tv/20170207.084644 accepted/tizen/3.0/wearable/20170207.084658 submit/tizen_3.0/20170207.014129
YoungHun Kim [Mon, 6 Feb 2017 11:04:42 +0000 (20:04 +0900)]
Resolve the side effect of gst param

Change-Id: I1cf645cf1009b35d66301e07123f970c2a0bb1c5

7 years agoChange MUSE_USE_LOG to use mused.conf because of no build feature 83/112983/10
YoungHun Kim [Fri, 3 Feb 2017 13:37:05 +0000 (22:37 +0900)]
Change MUSE_USE_LOG to use mused.conf because of no build feature

Change-Id: I0f939c2cd9821b9ac9baa85278499a759f210250

7 years agoDo not return 1 at daemon main() 68/112968/2
YoungHun Kim [Fri, 3 Feb 2017 12:14:56 +0000 (21:14 +0900)]
Do not return 1 at daemon main()

Change-Id: Ia0abbf6aa642af033ec2297e72ae52cfb07369fb

7 years agoUpate to check the vaule of type when parsing json 62/112962/2
YoungHun Kim [Fri, 3 Feb 2017 11:33:21 +0000 (20:33 +0900)]
Upate to check the vaule of type when parsing json

Change-Id: If0c86017201042e93212dafa4c761828b3c916de

7 years agoWaiting until real cond signal or timeout 25/112625/3
Hyongtaek Lim [Thu, 2 Feb 2017 04:39:15 +0000 (13:39 +0900)]
Waiting until real cond signal or timeout

Change-Id: Ie13157ade1518bf1efbf46c6e0f0b6b07457ceab
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
7 years agoAdd to redirect fds when daemonizing 16/112616/1
YoungHun Kim [Wed, 1 Feb 2017 03:58:12 +0000 (12:58 +0900)]
Add to redirect fds when daemonizing

Change-Id: I06d4b7b2d2da3edccce00f5889cae1deeaa14b19

7 years agoAdd to redirect fds when daemonizing 34/112434/4
YoungHun Kim [Wed, 1 Feb 2017 03:58:12 +0000 (12:58 +0900)]
Add to redirect fds when daemonizing

Change-Id: I06d4b7b2d2da3edccce00f5889cae1deeaa14b19