platform/core/multimedia/mmsvc-core.git
7 years agoMerge "Do not call shutdown in muse respawn" into tizen_3.0 accepted/tizen/3.0/common/20170119.105630 accepted/tizen/3.0/ivi/20170118.230244 accepted/tizen/3.0/ivi/20170119.225410 accepted/tizen/3.0/mobile/20170118.230153 accepted/tizen/3.0/mobile/20170119.225322 accepted/tizen/3.0/tv/20170118.230210 accepted/tizen/3.0/tv/20170119.225340 accepted/tizen/3.0/wearable/20170118.230227 accepted/tizen/3.0/wearable/20170119.225355 submit/tizen_3.0/20170117.101514 submit/tizen_3.0/20170118.115942
YoungHun Kim [Tue, 17 Jan 2017 07:29:22 +0000 (23:29 -0800)]
Merge "Do not call shutdown in muse respawn" into tizen_3.0

7 years agoDo not call shutdown in muse respawn 04/110604/1
YoungHun Kim [Tue, 17 Jan 2017 06:59:39 +0000 (15:59 +0900)]
Do not call shutdown in muse respawn

Change-Id: I7082a1821941dde04185ad0d5b59f85c27755459

7 years agoRemove the argos watchdog because it can be identified by the dispatcher timer 96/110596/2
YoungHun Kim [Tue, 17 Jan 2017 06:49:15 +0000 (15:49 +0900)]
Remove the argos watchdog because it can be identified by the dispatcher timer

Change-Id: I487771ffb9b1e122091c874ca3ff7453e898791a

7 years agoFix the build error by toolchain upgrade 03/110503/1
YoungHun Kim [Tue, 17 Jan 2017 00:18:09 +0000 (09:18 +0900)]
Fix the build error by toolchain upgrade

Change-Id: I68ad38acf2c54af112944912149e36cd51f83158

7 years agoLink lwipc library 13/110113/1
Hyongtaek Lim [Fri, 13 Jan 2017 03:46:34 +0000 (12:46 +0900)]
Link lwipc library

Change-Id: I9e4522623ee981755f7380f8075e19af25151179
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
7 years agoMuse respawn when detecting critical error at server 65/109265/8
YoungHun Kim [Mon, 9 Jan 2017 13:12:36 +0000 (22:12 +0900)]
Muse respawn when detecting critical error at server

Change-Id: Id6f1895e6fcdc97d3313b3690abc2acd90bb0961

7 years agoUpdate g_cond_wait_until considering spurious wakeups 15/109515/4 accepted/tizen/3.0/common/20170113.072255 accepted/tizen/3.0/ivi/20170113.000839 accepted/tizen/3.0/mobile/20170113.000752 accepted/tizen/3.0/tv/20170113.000806 accepted/tizen/3.0/wearable/20170113.000825 submit/tizen_3.0/20170111.113840
YoungHun Kim [Tue, 10 Jan 2017 08:27:34 +0000 (17:27 +0900)]
Update g_cond_wait_until considering spurious wakeups

Change-Id: I5f5283cd556d0721e5672d9529de3066ae37d27d

7 years agoCall to sync() after closing fd and update to check the fd valid 10/108710/7
YoungHun Kim [Thu, 5 Jan 2017 12:37:12 +0000 (21:37 +0900)]
Call to sync() after closing fd and update to check the fd valid

Change-Id: I83ddcae7e19f884cf36f75779340dcf2a541de58

7 years agoAdd buffer size parmeter of LwipcWaitMultiEvents 79/108879/1
Hyongtaek Lim [Fri, 6 Jan 2017 06:20:09 +0000 (15:20 +0900)]
Add buffer size parmeter of LwipcWaitMultiEvents

Change-Id: I9b6f84d624e55ea13701323fc25c7f95535cdb18
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
7 years agoAdd g_thread_unref at msg channel 41/108041/1
YoungHun Kim [Mon, 2 Jan 2017 12:13:49 +0000 (21:13 +0900)]
Add g_thread_unref at msg channel

Change-Id: If0fc8db753b4aac0df4e0b901317ed40974da461

7 years agoUpdate the fuction of socket timeout 37/107937/6
YoungHun Kim [Mon, 2 Jan 2017 03:45:34 +0000 (12:45 +0900)]
Update the fuction of socket timeout

Change-Id: I1d4f7d1eee3a6b5c66f05b0704aaf8a53747fdfe

7 years agoRemove an unnessary close-on-exec 04/107904/2
YoungHun Kim [Sun, 1 Jan 2017 23:37:11 +0000 (08:37 +0900)]
Remove an unnessary close-on-exec

Change-Id: I628b1ddbf45319dbf611e07b184ad0060a1cb16b

7 years agoRollback to socket as blocking mode 46/107746/4
YoungHun Kim [Thu, 29 Dec 2016 12:48:29 +0000 (21:48 +0900)]
Rollback to socket as blocking mode

Change-Id: I6847cd61a0e2ef953405d0e3cbfee1fd9eec6284

7 years agoDo not call g_thread_unref after g_thread_jon 44/107744/4
YoungHun Kim [Thu, 29 Dec 2016 12:39:32 +0000 (21:39 +0900)]
Do not call g_thread_unref after g_thread_jon

Change-Id: Ic33b66b420b728ac4aca81f1422c75718d7df5c6

7 years agoAdd to mutex when calling the g_queue_push_tail 49/107749/4
YoungHun Kim [Thu, 29 Dec 2016 12:53:05 +0000 (21:53 +0900)]
Add to mutex when calling the g_queue_push_tail

Change-Id: Ib77fd799dba78d1b5a52311b50fc740596195263

7 years agoResolve the issue of fd leak 95/107795/2 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.125219 accepted/tizen/3.0.m2/tv/20170104.125559 accepted/tizen/3.0.m2/wearable/20170104.125802 accepted/tizen/3.0/common/20170102.062748 accepted/tizen/3.0/ivi/20170101.231334 accepted/tizen/3.0/mobile/20170101.231241 accepted/tizen/3.0/tv/20170101.231258 accepted/tizen/3.0/wearable/20170101.231316 submit/tizen_3.0.m2/20170104.093750 submit/tizen_3.0/20161230.042544
YoungHun Kim [Fri, 30 Dec 2016 03:50:21 +0000 (12:50 +0900)]
Resolve the issue of fd leak

Change-Id: I39b06862f809227dd8a5b75097ca6e403eb537ef

7 years agoAdd to init local buffer at _muse_core_wait_event 44/107644/2
Hyongtaek Lim [Thu, 29 Dec 2016 04:58:51 +0000 (13:58 +0900)]
Add to init local buffer at _muse_core_wait_event

Change-Id: I336c60462cf9fde9134e8e531d0842df151cbd88
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
7 years agoSet non-blocking mode and add mutex lock at json parsing 62/105862/12 accepted/tizen/3.0/common/20161229.112912 accepted/tizen/3.0/ivi/20161229.054859 accepted/tizen/3.0/mobile/20161229.054800 accepted/tizen/3.0/tv/20161229.054823 accepted/tizen/3.0/wearable/20161229.054840 submit/tizen_3.0/20161228.082657
YoungHun Kim [Tue, 20 Dec 2016 01:04:52 +0000 (10:04 +0900)]
Set non-blocking mode and add mutex lock at json parsing

 muse server and data channel (muse player private channel) : non-blocking mode
 message channel of muse module : blocking mode

Change-Id: Iaaf2cde51633a2f6b26f0b5d41d432c4f29185c4

7 years agoApply to all VD products consistently adding new build feature of 'AV' 62/107462/1
YoungHun Kim [Wed, 28 Dec 2016 06:28:24 +0000 (15:28 +0900)]
Apply to all VD products consistently adding new build feature of 'AV'

Change-Id: I060596c97233b2da498ad4346db22940acc84641

7 years agoWhen no value returns within timeout after dispatcher then restarts mused 57/104257/19 submit/tizen_3.0/20161223.055716
YoungHun Kim [Tue, 13 Dec 2016 02:22:49 +0000 (11:22 +0900)]
When no value returns within timeout after dispatcher then restarts mused

Change-Id: I074563f175c16b617ef5cc6148e43174c228f1e0

7 years agoAdd path file for tv product 22/106322/1
Hyongtaek Lim [Wed, 21 Dec 2016 09:28:39 +0000 (18:28 +0900)]
Add path file for tv product

Change-Id: I1ba25028dfc253354a06f0bec9fb4e46fdd0dd7e
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
7 years agoInstall the notstrip file to avoid be stripped at vd product 81/105981/5
YoungHun Kim [Tue, 20 Dec 2016 06:49:44 +0000 (15:49 +0900)]
Install the notstrip file to avoid be stripped at vd product

Change-Id: I32b8d508e5d7976708466ac7c5d95ca78079d6c0

7 years agomused uses argos_watchdog 91/104791/6
YoungHun Kim [Wed, 14 Dec 2016 09:26:42 +0000 (18:26 +0900)]
mused uses argos_watchdog

Change-Id: I6cf8977c3b7daf8faa2fb4658d84cfdf3bd5b8e6

7 years agomused supports power off signal only at platform side 80/104980/5
YoungHun Kim [Thu, 15 Dec 2016 05:02:19 +0000 (14:02 +0900)]
mused supports power off signal only at platform side

Change-Id: I637d2502625f7ab41e8a8eac24ff2e60bfa4fce1

7 years agoReset LWIPC event by systemd service 66/105266/1
Hyongtaek Lim [Fri, 16 Dec 2016 06:42:07 +0000 (15:42 +0900)]
Reset LWIPC event by systemd service

Change-Id: I39a6726dd14272fad08a0c7e5082eea6e190eeb3
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
7 years agoThe added service files are change to use for product 59/103759/6 accepted/tizen/3.0/common/20161216.123520 accepted/tizen/3.0/ivi/20161216.084240 accepted/tizen/3.0/mobile/20161216.083718 accepted/tizen/3.0/tv/20161216.084009 accepted/tizen/3.0/wearable/20161216.084135 submit/tizen_3.0/20161213.081002 submit/tizen_3.0/20161215.110001
YoungHun Kim [Fri, 9 Dec 2016 10:08:13 +0000 (19:08 +0900)]
The added service files are change to use for product

Change-Id: I89433ff59f0d495e2579dac063e1fc37a774dd46

7 years agoFix the issue of qdata 58/102758/1
YoungHun Kim [Tue, 6 Dec 2016 11:30:11 +0000 (20:30 +0900)]
Fix the issue of qdata

Change-Id: Ibda3e18d083d88897d9f5b79c0b54b82e81d6e9f

7 years agochange LWIPC event name 65/102565/1
Hyongtaek Lim [Tue, 6 Dec 2016 06:03:02 +0000 (15:03 +0900)]
change LWIPC event name

Change-Id: Iabe5b06528808fa56b12f6371171e78569c4af27
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
7 years agosplit the signal handler at muse log 87/100087/9 accepted/tizen/3.0/common/20161207.194426 accepted/tizen/3.0/ivi/20161207.011846 accepted/tizen/3.0/mobile/20161207.011402 accepted/tizen/3.0/tv/20161207.011638 accepted/tizen/3.0/wearable/20161207.011740 submit/tizen_3.0/20161206.052949
YoungHun Kim [Fri, 25 Nov 2016 06:05:22 +0000 (15:05 +0900)]
split the signal handler at muse log

Change-Id: I57222e7718e83f1a2ea1f0b46401ef05c467b9b4

7 years agoRemove dependency of /run/.wm_ready file for TV Product 27/102127/1
Hyongtaek Lim [Fri, 2 Dec 2016 08:07:00 +0000 (17:07 +0900)]
Remove dependency of /run/.wm_ready file for TV Product

Change-Id: I7ae5d374346197d903e64e42e0a292c32c9493c5
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
(cherry picked from commit 72e0d37d8dd3178c9e542874e47f16a249633fcf)

7 years agoFix the issue of svace 61/100961/5 accepted/tizen/3.0/common/20161203.012304 accepted/tizen/3.0/ivi/20161202.010410 accepted/tizen/3.0/mobile/20161202.010315 accepted/tizen/3.0/tv/20161202.010332 accepted/tizen/3.0/wearable/20161202.010350 submit/tizen_3.0/20161201.082730
YoungHun Kim [Wed, 30 Nov 2016 03:51:52 +0000 (12:51 +0900)]
Fix the issue of svace

Change-Id: Id08c69b3325dabd3a526b6cebfb30557b16c70c0

7 years agoChange to use raise() and register old action for coredump 38/100438/8 accepted/tizen/3.0/common/20161130.064614 accepted/tizen/3.0/ivi/20161130.011752 accepted/tizen/3.0/mobile/20161130.011425 accepted/tizen/3.0/tv/20161130.011627 accepted/tizen/3.0/wearable/20161130.011710 submit/tizen_3.0/20161129.051721 submit/tizen_3.0/20161129.055228
YoungHun Kim [Mon, 28 Nov 2016 06:38:51 +0000 (15:38 +0900)]
Change to use raise() and register old action for coredump

Change-Id: I1299cb04a1c80b4b875a329a49824a30ac6c5294

7 years agoUpdate the issue of json_tokener_parse_ex's concurrency 04/100604/4
YoungHun Kim [Mon, 28 Nov 2016 13:28:26 +0000 (22:28 +0900)]
Update the issue of json_tokener_parse_ex's concurrency

Change-Id: I413c0c42f2c0e48d09e25cf759977ee1e783de5e

7 years agonot to call the connection to bus at muse server launching 01/100501/1
YoungHun Kim [Mon, 28 Nov 2016 09:29:27 +0000 (18:29 +0900)]
not to call the connection to bus at muse server launching

Change-Id: I1ba6485fd9a8a20ee91b806ca05b39f08c4d29fb

7 years agoChange to basic.target.wants for TV profile 67/100367/1
Hyongtaek Lim [Fri, 25 Nov 2016 07:58:53 +0000 (16:58 +0900)]
Change to basic.target.wants for TV profile

Change-Id: Ib716feddceae9f4bb4bea8783a13e4a52a92d630
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
(cherry picked from commit 2f0ed1569481b9f481c318e936c905d0f64eca66)

7 years agoDelay tbm, gbus init to use 69/100169/1
Hyongtaek Lim [Fri, 25 Nov 2016 06:37:04 +0000 (15:37 +0900)]
Delay tbm, gbus init to use

Change-Id: I73ceb33a6d1bf1952a6d15ee517571d7ed5ccb74
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
(cherry picked from commit f341bc6fd46f0b858d09b8eeeec593864232ec9e)

7 years agoRename MUSE_NO_LOG to MUSE_USE_LOG 74/99774/1
Hyongtaek Lim [Thu, 24 Nov 2016 05:28:51 +0000 (14:28 +0900)]
Rename MUSE_NO_LOG to MUSE_USE_LOG

Change-Id: If07bb7cafc328678a7ae9e96440d9355edb903dc
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
7 years ago[Svace] resolve the issue of localtime_r and strtok_r 50/99650/2 accepted/tizen/3.0/common/20161124.182031 accepted/tizen/3.0/ivi/20161124.082259 accepted/tizen/3.0/mobile/20161124.082200 accepted/tizen/3.0/tv/20161124.082221 accepted/tizen/3.0/wearable/20161124.082241 submit/tizen_3.0/20161123.125631
YoungHun Kim [Wed, 23 Nov 2016 12:27:59 +0000 (21:27 +0900)]
[Svace] resolve the issue of localtime_r and strtok_r

Change-Id: I54e89476cfc4875305201d30bb75faa557f76449

7 years agoresolve the memory leak of json object 85/99585/1 submit/tizen_3.0/20161123.113619
YoungHun Kim [Wed, 23 Nov 2016 09:44:12 +0000 (18:44 +0900)]
resolve the memory leak of json object

Change-Id: I60d728d36bafd3530c7e75caf255ad10d93fb9ab

7 years ago[Svace] Use localtime_r function for thread safety 53/99453/2 submit/tizen_3.0/20161123.074158
YoungHun Kim [Wed, 23 Nov 2016 02:27:30 +0000 (11:27 +0900)]
[Svace] Use localtime_r function for thread safety

Change-Id: Ic3fe4099d9f6cdcc4a656b0a273ce0df81777355

7 years agoAdd mutex lock for parsing issue and api to wrapp json_msg 43/96743/7 accepted/tizen/3.0/common/20161123.140700 accepted/tizen/3.0/ivi/20161123.083628 accepted/tizen/3.0/mobile/20161123.083316 accepted/tizen/3.0/tv/20161123.083445 accepted/tizen/3.0/wearable/20161123.083544 submit/tizen_3.0/20161122.043110
YoungHun Kim [Thu, 10 Nov 2016 05:32:33 +0000 (14:32 +0900)]
Add mutex lock for parsing issue and api to wrapp json_msg

Change-Id: Ic643e9d46b402d3e27f4ab7dc9412e4975c5c64d

7 years agoUpdate muse log not to write all messages but cache just the latest message 43/97843/10 accepted/tizen/3.0/common/20161117.090546 accepted/tizen/3.0/ivi/20161117.083303 accepted/tizen/3.0/mobile/20161117.083209 accepted/tizen/3.0/tv/20161117.083223 accepted/tizen/3.0/wearable/20161117.083245 submit/tizen_3.0/20161116.075655
YoungHun Kim [Tue, 15 Nov 2016 06:29:22 +0000 (15:29 +0900)]
Update muse log not to write all messages but cache just the latest message

Change-Id: I815a7758028a140687085042afb1a0e8b15433b1

7 years agoPatch for qdata deadlock issue in accordance with tizen coding rule 22/96722/8
YoungHun Kim [Thu, 10 Nov 2016 03:34:22 +0000 (12:34 +0900)]
Patch for qdata deadlock issue in accordance with tizen coding rule

Change-Id: I0b5792abeb9b429ba61a117cd69d347a74d2f271

7 years agoUpdate dispatch info and check the pid and log fd are valid when muse crash 71/95971/11
YoungHun Kim [Mon, 7 Nov 2016 07:46:24 +0000 (16:46 +0900)]
Update dispatch info and check the pid and log fd are valid when muse crash

Change-Id: I938e3b2170e764ff2b69ea8cc5bff247ba7b4b50

7 years agoReplace file access to Light Weight IPC for TV product 00/96800/1 accepted/tizen/3.0/common/20161116.144016 accepted/tizen/3.0/ivi/20161116.023414 accepted/tizen/3.0/mobile/20161116.022859 accepted/tizen/3.0/tv/20161116.022950 accepted/tizen/3.0/wearable/20161116.023230 submit/tizen_3.0/20161115.060306
Hyongtaek Lim [Thu, 10 Nov 2016 06:05:09 +0000 (15:05 +0900)]
Replace file access to Light Weight IPC for TV product

Change-Id: Ic65a09653f55a62e792d1752fe128e82ce215647
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
7 years ago[0.1.29] add handling about multiple msg 10/95910/2 accepted/tizen/3.0/common/20161114.082345 accepted/tizen/3.0/ivi/20161108.062017 accepted/tizen/3.0/mobile/20161108.061924 accepted/tizen/3.0/tv/20161108.061942 accepted/tizen/3.0/wearable/20161108.062002 submit/tizen_3.0/20161107.060826 submit/tizen_3.0_common/20161110.084657
Eunhae Choi [Mon, 7 Nov 2016 05:54:28 +0000 (14:54 +0900)]
[0.1.29] add handling about multiple msg

Change-Id: I8fe291a4b42f1b0b810c3ad6539e61e0c50422bf

7 years agoResolve libresourced build error issue with using tv_product macro 99/95599/3 accepted/tizen/3.0/ivi/20161104.104227 accepted/tizen/3.0/mobile/20161104.104133 accepted/tizen/3.0/tv/20161104.104153 accepted/tizen/3.0/wearable/20161104.104207 submit/tizen_3.0/20161104.051011
YoungHun Kim [Fri, 4 Nov 2016 03:21:52 +0000 (12:21 +0900)]
Resolve libresourced build error issue with using tv_product macro

Change-Id: Ie53f3bc5bcca24fa199c5d043fc397846ce336c9

7 years agoMerge branch 'tizen' into tizen_3.0 22/95422/1 submit/tizen_3.0/20161103.074655
YoungHun Kim [Thu, 3 Nov 2016 07:36:54 +0000 (16:36 +0900)]
Merge branch 'tizen' into tizen_3.0

Change-Id: I0ca8e89dd0b134ebb99e276a287a83c5adc75764

7 years agoregister muse of vip at tv profile 59/95359/4 accepted/tizen/common/20161103.160133 submit/tizen/20161103.071526
YoungHun Kim [Thu, 3 Nov 2016 04:18:28 +0000 (13:18 +0900)]
register muse of vip at tv profile

 Libresourced provide one API proc_stat_set_vip_process() for VIP process which launches later than resourced
  - Only systemd and resourced is allowed to write oom_score_adj, otherwise LMN driver function is called

Change-Id: I2fc7cebbf2042159c2943c5a148cf0c25a77ef5e

7 years agoUpdate the json parsing and initialized to 0's when allocating data buffer 48/94848/10 accepted/tizen/ivi/20161103.230717 accepted/tizen/mobile/20161103.230621 accepted/tizen/tv/20161103.230639 accepted/tizen/wearable/20161103.230656 submit/tizen/20161103.014632
YoungHun Kim [Tue, 1 Nov 2016 12:43:02 +0000 (21:43 +0900)]
Update the json parsing and initialized to 0's when allocating data buffer

  There is weakpoint of muse_core_msg_json_deserialize

  1) performance issue because json tokener is created whenever parsing every key
  2) memmove is executed now for key parsing and it might someimtes cause the parsing error

Change-Id: I58b95203ddc75f6896ba4868ce322abf44fc5e19

7 years agoUpdate to use the saved module at queue or PID hashing when module addr is NULL at... 51/94151/5
YoungHun Kim [Thu, 27 Oct 2016 07:00:06 +0000 (16:00 +0900)]
Update to use the saved module at queue or PID hashing when module addr is NULL at data channel

Change-Id: I13e29e75701ca1e13ee896f06ebbd2f85e9fc412

7 years agoFix the bug which the received vaule of multiple fds is invalid 77/93977/5 accepted/tizen/3.0/ivi/20161028.133918 accepted/tizen/3.0/mobile/20161028.133023 accepted/tizen/3.0/tv/20161028.133341 accepted/tizen/3.0/wearable/20161028.133651 accepted/tizen/common/20161027.073659 accepted/tizen/ivi/20161027.055030 accepted/tizen/mobile/20161027.054933 accepted/tizen/tv/20161027.055004 accepted/tizen/wearable/20161027.055020 submit/tizen/20161027.030209 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082423
YoungHun Kim [Wed, 26 Oct 2016 11:15:25 +0000 (20:15 +0900)]
Fix the bug which the received vaule of multiple fds is invalid

Change-Id: Iac1aba5d22e34f9e3f48c27b48694ca043014217

7 years agoGet the gdbus connection at muse server side and update to execute muse initiation... 40/93540/12 accepted/tizen/common/20161025.155124 submit/tizen/20161025.104308 submit/tizen_3.0_common/20161104.104000
YoungHun Kim [Tue, 25 Oct 2016 01:31:38 +0000 (10:31 +0900)]
Get the gdbus connection at muse server side and update to execute muse initiation after daemonizing

 There is timming issue not when muse module try to get gdbus connection,
 so muse server supports the gdbus connection.

Change-Id: I34b3650719a79e4f3b56086947331b1dcc084024

7 years agoUpdate muse log of server side to verify the message complete 16/93116/11
YoungHun Kim [Thu, 20 Oct 2016 08:52:41 +0000 (17:52 +0900)]
Update muse log of server side to verify the message complete

 When muse client sends the message over MUSE_MSG_MAX_LENGTH at a time,
 muse server have to process only acceptable message at first with storing the remaining part and then it is necessary to process the sequential messages

Change-Id: Ic1e76988057ed8074501d75611cd7776e2cc06a8

7 years agoDisable to set the latest function at MUSE_NO_LOG and resolve the fd leak 53/93453/4
YoungHun Kim [Mon, 24 Oct 2016 09:57:33 +0000 (18:57 +0900)]
Disable to set the latest function at MUSE_NO_LOG and resolve the fd leak

Change-Id: I2990556d932d8da238b99213ae9db79d9cc16efb

7 years agoAdd mutex lock for module open/close and set_value function 38/93438/2
Jeongmo Yang [Mon, 24 Oct 2016 09:13:11 +0000 (18:13 +0900)]
Add mutex lock for module open/close and set_value function

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

Change-Id: I2acb6516c7106d533a8e41f610404b5dfabcc485
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoEnable to send and receive multiple fds simultaneously 16/91716/12
YoungHun Kim [Tue, 11 Oct 2016 04:24:11 +0000 (13:24 +0900)]
Enable to send and receive multiple fds simultaneously

Change-Id: Ieadabab3a6a38c9bfec79ac40c735949c05bad07

7 years agoClose loaded module after some requests 54/92654/1 accepted/tizen/common/20161018.175116 accepted/tizen/ivi/20161018.091639 accepted/tizen/mobile/20161018.091552 accepted/tizen/tv/20161018.091611 accepted/tizen/wearable/20161018.091622 submit/tizen/20161018.031723
Jeongmo Yang [Tue, 18 Oct 2016 01:54:18 +0000 (10:54 +0900)]
Close loaded module after some requests

In general, module is not closed to reuse.
But, it causes system idle memory down.
So, add code to close module for some requests after requests.

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

Change-Id: Idb1ee2002863507f4fa327aaf02b153977b94604
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoAdd macro variable to be applied at build time and update checking the complete msg 05/92105/5 accepted/tizen/common/20161017.170104 accepted/tizen/ivi/20161017.080104 accepted/tizen/mobile/20161017.080017 accepted/tizen/tv/20161017.080034 accepted/tizen/wearable/20161017.080049 submit/tizen/20161017.012004
YoungHun Kim [Thu, 13 Oct 2016 08:49:01 +0000 (17:49 +0900)]
Add macro variable to be applied at build time and update checking the complete msg

Change-Id: Ie4e7500374e077313d9f0820278d03133e79ad44

7 years agoDisable muse log at TV profile because of abnormal operation and performance issue 80/91880/8 accepted/tizen/common/20161013.155912 accepted/tizen/ivi/20161013.072919 accepted/tizen/mobile/20161013.072828 accepted/tizen/tv/20161013.072844 accepted/tizen/wearable/20161013.072859 submit/tizen/20161012.232049
YoungHun Kim [Wed, 12 Oct 2016 05:20:46 +0000 (14:20 +0900)]
Disable muse log at TV profile because of abnormal operation and performance issue

Change-Id: Ia8f5712ecf9b6c15b6ad0dc0e3ce51afa68e0a00

7 years agoFix build error of Tizen_Z200/Z300 product and add the api to check message complete... 15/91815/3 accepted/tizen/common/20161012.154207 accepted/tizen/ivi/20161012.065405 accepted/tizen/mobile/20161012.065247 accepted/tizen/tv/20161012.065316 accepted/tizen/wearable/20161012.065339 submit/tizen/20161012.010406
YoungHun Kim [Tue, 11 Oct 2016 12:53:22 +0000 (21:53 +0900)]
Fix build error of Tizen_Z200/Z300 product and add the api to check message complete or not

Change-Id: I90e071287510d502b8804bf88c78acf2706528cc

7 years agoUpdate to concatenate the broken message only muse server side and enlarge the size... 23/91523/3
YoungHun Kim [Mon, 10 Oct 2016 03:53:55 +0000 (12:53 +0900)]
Update to concatenate the broken message only muse server side and enlarge the size of msg cache buff

 Handling the broken message which can be called in both the server client with using existing muse_client_h and g_hash_table
 has changed to handle only server side without g_hash_table

Change-Id: Ie38ab0f8ddb29301ac89b7b46ed139ca10b75c49

7 years agoAdd service file for VD Product 70/91270/7
YoungHun Kim [Thu, 6 Oct 2016 12:14:58 +0000 (21:14 +0900)]
Add service file for VD Product

 TV product (AV audio product) requires muse to launch with starter service,
 because speaker app using muse operates through starter service whilte booting

Change-Id: I0ef0f2f8c71acd7d3ea99569fae663ffdc4f57d9

7 years agoFix no response for some APIs 04/91404/1 accepted/tizen/common/20161007.173356 submit/tizen_common/20161007.092620
Jeongmo Yang [Fri, 7 Oct 2016 08:41:59 +0000 (17:41 +0900)]
Fix no response for some APIs

Some APIs are request commands without API_CREATE,
but, muse server could not call dispatcher of module at specific case.
It is fixed.

[Version] 0.1.16
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Dependency commit] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-mobile_20161007.1]

Change-Id: I495c65c446be8d2c67a331cec6b6e3fd61464712
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoResolve the problem not to update value when changing the value of same key continuously 95/91195/2 accepted/tizen/3.0/mobile/20161015.033930 accepted/tizen/3.0/tv/20161016.005230 accepted/tizen/3.0/wearable/20161015.083530 accepted/tizen/common/20161006.153419 accepted/tizen/common/20161006.154104 accepted/tizen/ivi/20161007.003930 accepted/tizen/mobile/20161007.003713 accepted/tizen/tv/20161007.003821 accepted/tizen/wearable/20161007.003858 submit/tizen/20161005.055916 submit/tizen_3.0_mobile/20161015.000005 submit/tizen_3.0_tv/20161015.000004 submit/tizen_3.0_wearable/20161015.000004 submit/tizen_common/20161006.020612
YoungHun Kim [Thu, 6 Oct 2016 07:33:47 +0000 (16:33 +0900)]
Resolve the problem not to update value when changing the value of same key continuously

Change-Id: I05dc3024f3cce2b5a9a872f4430b16f6f984f631

7 years agoUpdate inserting the module state value 12/91112/1
YoungHun Kim [Thu, 6 Oct 2016 01:53:09 +0000 (10:53 +0900)]
Update inserting the module state value

Change-Id: I4ed26c18efc7f00d793cd91f09ec5109a5059bb4

7 years agoUpdate to insert key-value to g_hash_table without memory leak and free key normally 84/90684/2 accepted/tizen/common/20161005.165450
YoungHun Kim [Mon, 3 Oct 2016 23:59:46 +0000 (08:59 +0900)]
Update to insert key-value to g_hash_table without memory leak and free key normally

Change-Id: I2951eba8586391e36315bb7d2cd1e0a9405a8b55

7 years agoMerge "Add MUSE_DRM module and update message size for MUSE_DRM" into tizen accepted/tizen/3.0/ivi/20161011.055409 accepted/tizen/common/20160928.163927 accepted/tizen/ivi/20160930.040742 accepted/tizen/mobile/20160930.040412 accepted/tizen/tv/20160930.040552 accepted/tizen/wearable/20160930.040651 submit/tizen/20160928.043825 submit/tizen_3.0_ivi/20161010.000005
YoungHun Kim [Tue, 27 Sep 2016 06:46:41 +0000 (23:46 -0700)]
Merge "Add MUSE_DRM module and update message size for MUSE_DRM" into tizen

7 years agoAdd MUSE_DRM module and update message size for MUSE_DRM 17/89817/1
Gilbok Lee [Tue, 27 Sep 2016 06:28:10 +0000 (15:28 +0900)]
Add MUSE_DRM module and update message size for MUSE_DRM

[Version] 0.1.12
[Profile] Common
[Issue Type] Fix bugs

Change-Id: I771db617299a701bffee5a4a5ffee68e6bcc3d1d

7 years agoRemove unnecessary realloc 57/88057/3
Hyongtaek Lim [Tue, 13 Sep 2016 04:16:09 +0000 (13:16 +0900)]
Remove unnecessary realloc

Change-Id: I52857fba2ac2fd3decfaa3ab375a418cfd9ff82b
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
7 years agoRollback the g_hash_table key free 90/88990/2 accepted/tizen/common/20160921.162201 accepted/tizen/ivi/20160922.042618 accepted/tizen/mobile/20160922.042329 accepted/tizen/tv/20160922.042454 accepted/tizen/wearable/20160922.042540 submit/tizen/20160921.041639
YoungHun Kim [Wed, 21 Sep 2016 10:25:26 +0000 (19:25 +0900)]
Rollback the g_hash_table key free

Change-Id: Icdd1f97491170f6a8b4caf5a37b8465fd8f71ce6

7 years agoAdd service file of tv profile 65/88665/3
YoungHun Kim [Tue, 20 Sep 2016 07:16:29 +0000 (16:16 +0900)]
Add service file of tv profile

Change-Id: I6a835514f9bfa124266ae6418ab808728d805300

7 years agoAdd mutex_lock when create api is called because of iniparser reentrancy 26/87526/3
YoungHun Kim [Thu, 8 Sep 2016 11:01:09 +0000 (20:01 +0900)]
Add mutex_lock when create api is called because of iniparser reentrancy

Change-Id: I9e8cb9b374c2c784f128c1c639a144040d8762d7

7 years agoFree the key of g_hash_table normally using g_hash_table_foreach_remove 48/87248/5
YoungHun Kim [Wed, 7 Sep 2016 06:52:28 +0000 (15:52 +0900)]
Free the key of g_hash_table normally using g_hash_table_foreach_remove

Change-Id: I50385e911cec8f9f5710342b586f34219450df6d

7 years agoAdd assertion for debuging at data channel 39/87539/3
Hyongtaek Lim [Thu, 8 Sep 2016 11:48:48 +0000 (20:48 +0900)]
Add assertion for debuging at data channel

Change-Id: I060e1d289bfd5a60dc65c9de7ef04832c206b31d
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
7 years agoChange strtok into strtok_r for thread safety 40/87640/1
Gilbok Lee [Fri, 9 Sep 2016 03:54:50 +0000 (12:54 +0900)]
Change strtok into strtok_r for thread safety

[Version] 0.1.7 (same as version wriiten in spec file)
[Profile] Common
[Issue Type] Fix bugs

Change-Id: Ib2bb256a15bbd92428e8f7b81ecc96dbb3fbd091
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
7 years agoAdd functoins to set / get fd 34/87034/7 accepted/tizen/common/20160907.154645 accepted/tizen/ivi/20160908.044153 accepted/tizen/mobile/20160908.043241 accepted/tizen/tv/20160908.043935 accepted/tizen/wearable/20160908.044044 submit/tizen/20160907.074000
YoungHun Kim [Tue, 6 Sep 2016 05:23:34 +0000 (14:23 +0900)]
Add functoins to set / get fd

Change-Id: I116155c2e7cc642f0741c1ea2ffd01d00b1da732

7 years agoChange to use the sendmsg / recvmsg by default 73/86973/5
YoungHun Kim [Mon, 5 Sep 2016 23:02:46 +0000 (08:02 +0900)]
Change to use the sendmsg / recvmsg by default

Change-Id: I37ac283c21716401b7ccba0da81b9cfa0da10797

7 years agoLogging the message that server sends to client and add formatting log functoin 17/85417/7 accepted/tizen/common/20160831.162107 accepted/tizen/ivi/20160901.065304 accepted/tizen/mobile/20160901.065045 accepted/tizen/tv/20160901.065140 accepted/tizen/wearable/20160901.065217 submit/tizen/20160831.052250
YoungHun Kim [Thu, 25 Aug 2016 05:12:21 +0000 (14:12 +0900)]
Logging the message that server sends to client and add formatting log functoin

Change-Id: I7a18c0e3ed151bd87f504eb6371670e52752ddf6

7 years agoAdd return value at g_return fail macro 78/84978/1
Hyongtaek Lim [Tue, 23 Aug 2016 06:01:47 +0000 (15:01 +0900)]
Add return value at g_return fail macro

Change-Id: I28bf836b08c18e3a2cf8742d5d0ce281bf64a81c
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
7 years agoResolve socket fd leak and add privilege 44/82744/10 accepted/tizen/common/20160818.144341 accepted/tizen/ivi/20160818.231819 accepted/tizen/mobile/20160818.231641 accepted/tizen/tv/20160818.231750 accepted/tizen/wearable/20160818.231719 submit/tizen/20160818.052348
YoungHun Kim [Fri, 5 Aug 2016 11:52:18 +0000 (20:52 +0900)]
Resolve socket fd leak and add privilege

Change-Id: I421f4d5e95fdcbe15594ef62598c45feeeaba905

7 years agoUpdate muse logging info 43/82743/12
YoungHun Kim [Fri, 5 Aug 2016 11:48:45 +0000 (20:48 +0900)]
Update muse logging info

Change-Id: Ia2d993568a31f02f276da200e2b30e318b75295c

7 years agoCreate ready file and send ACK signal after muse-server.service is activated 39/82739/6 submit/tizen/20160812.084807
YoungHun Kim [Fri, 5 Aug 2016 10:54:25 +0000 (19:54 +0900)]
Create ready file and send ACK signal after muse-server.service is activated

Change-Id: Ia80d57c37c28f20e4e29634a3730cd684a71ebe2

7 years agoAdd send_fd / recv_fd to communicate fd message 65/78765/9
YoungHun Kim [Wed, 6 Jul 2016 22:38:31 +0000 (07:38 +0900)]
Add send_fd / recv_fd to communicate fd message

Change-Id: I1e24053bd15d2b4f47047666b4e7907f713b838c

7 years agoMerge "Add function of data header infomation" into tizen
Jeongmo Yang [Thu, 11 Aug 2016 05:06:35 +0000 (22:06 -0700)]
Merge "Add function of data header infomation" into tizen

7 years agoSet the SMACK security label to run given executable file in systemd services 74/80874/1 accepted/tizen/common/20160721.175657 accepted/tizen/ivi/20160721.090733 accepted/tizen/mobile/20160721.090422 accepted/tizen/tv/20160721.091254 accepted/tizen/wearable/20160721.090938 submit/tizen/20160721.003054
jooseong lee [Wed, 20 Jul 2016 11:56:48 +0000 (20:56 +0900)]
Set the SMACK security label to run given executable file in systemd services

Change-Id: Id83b0bd4af63c86db5dae2dd0aa8ce22ff4e8f0d
Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
8 years agoAdd function of data header infomation 37/80137/3
Hyongtaek Lim [Fri, 15 Jul 2016 01:20:44 +0000 (10:20 +0900)]
Add function of data header infomation

Change-Id: I9e8668087ad9f857cd97d9362cb4efb3ba364836
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
8 years agoEnable multimedia_fw session with resolving boot sequence 60/79560/2 accepted/tizen/common/20160712.150657 accepted/tizen/ivi/20160712.043547 accepted/tizen/mobile/20160712.043456 accepted/tizen/tv/20160712.043517 accepted/tizen/wearable/20160712.043537 submit/tizen/20160712.021942
YoungHun Kim [Mon, 11 Jul 2016 23:48:18 +0000 (08:48 +0900)]
Enable multimedia_fw session with resolving boot sequence

Change-Id: Ibcccdec8c98c9cc0f811db7432f6022757f3cf2e

8 years agoRemove unnecessary capability 32/79432/1 accepted/tizen/common/20160711.171021 accepted/tizen/ivi/20160712.000053 accepted/tizen/mobile/20160711.235815 accepted/tizen/tv/20160712.000022 accepted/tizen/wearable/20160712.000003 submit/tizen/20160711.114456
Jeongmo Yang [Mon, 11 Jul 2016 10:04:02 +0000 (19:04 +0900)]
Remove unnecessary capability

Change-Id: If9572e09c074ec3a091e55e3e351738ce215ba5a
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
8 years agoChange root daemon because of tbm side effect 19/78819/1 accepted/tizen/common/20160707.171802 accepted/tizen/ivi/20160707.043603 accepted/tizen/mobile/20160707.043715 accepted/tizen/tv/20160707.043529 accepted/tizen/wearable/20160707.043626 submit/tizen/20160707.031448
YoungHun Kim [Thu, 7 Jul 2016 03:11:00 +0000 (12:11 +0900)]
Change root daemon because of tbm side effect

Change-Id: I7e3f68515bb5e5639eb6c9279b1d132daeaa6c78

8 years agoChange the uid/gid for non-root (system) daemon 48/77548/3 accepted/tizen/common/20160707.171337 accepted/tizen/ivi/20160706.132858 accepted/tizen/mobile/20160706.132255 accepted/tizen/tv/20160706.132309 accepted/tizen/wearable/20160706.132425 submit/tizen/20160706.103825
YoungHun Kim [Thu, 30 Jun 2016 07:13:19 +0000 (16:13 +0900)]
Change the uid/gid for non-root (system) daemon

Change-Id: Icbda982dcc510917f778cbd0a698511e499404a4

8 years agoResolve the cmd_dispatcher side effect and change function name 38/77538/2 accepted/tizen/common/20160703.130509 accepted/tizen/ivi/20160701.033245 accepted/tizen/mobile/20160701.033417 accepted/tizen/tv/20160701.033037 accepted/tizen/wearable/20160701.033139 submit/tizen/20160630.084032 submit/tizen_common/20160701.180000
YoungHun Kim [Thu, 30 Jun 2016 06:59:53 +0000 (15:59 +0900)]
Resolve the cmd_dispatcher side effect and change function name

Change-Id: I9a16145d2677e7d7c8b18bac1ec45ed073ec999c

8 years agoResolve the infinetly loop when receiving some signals 20/77520/1
YoungHun Kim [Thu, 30 Jun 2016 06:21:48 +0000 (15:21 +0900)]
Resolve the infinetly loop when receiving some signals

Change-Id: I1ef665dff9db686a3d4f5e56138021f4d9e8d3e7

8 years agoFix build error 18/76718/1 accepted/tizen/common/20160627.191927 accepted/tizen/ivi/20160629.015425 accepted/tizen/mobile/20160629.015324 accepted/tizen/tv/20160629.015403 accepted/tizen/wearable/20160629.015346 submit/tizen/20160627.022624
Seungbae Shin [Mon, 27 Jun 2016 04:56:06 +0000 (13:56 +0900)]
Fix build error

Change-Id: I07a2451b4a93121c11806cb39cb3466bc1fbc62e

8 years agofix 64bit build error 09/76709/2
Eunhae Choi [Mon, 27 Jun 2016 04:27:18 +0000 (13:27 +0900)]
fix 64bit build error

Change-Id: I2b4974addd055fe7aaf47a527ebdbd54b75276f0

8 years agoAdd server_ack & resource_not_available command and init command in preload enabled 36/76136/5
YoungHun Kim [Thu, 23 Jun 2016 02:40:10 +0000 (11:40 +0900)]
Add server_ack & resource_not_available command and init command in preload enabled

Change-Id: I73dc1a23c4ed2bdd9017a9d7761f2868889a3ae4

8 years agoAdd tizen directory path for muse directory 63/75963/6 63/75963/7 63/75963/8
YoungHun Kim [Wed, 22 Jun 2016 08:43:11 +0000 (17:43 +0900)]
Add tizen directory path for muse directory

Change-Id: I36bdd270d0f30ab8db261434fac287540b5d210d

8 years agoadd message concatenation and remove sig handler dlog 18/73818/16
YoungHun Kim [Thu, 9 Jun 2016 12:36:57 +0000 (21:36 +0900)]
add message concatenation and remove sig handler dlog

Change-Id: Icf3873a4d6bff72f47b5b404c2bcdf3fbe6e737d

8 years agoUpdate memory leak issue and cynara cache size 80/71980/2
YoungHun Kim [Mon, 30 May 2016 05:28:11 +0000 (14:28 +0900)]
Update memory leak issue and cynara cache size

Change-Id: I0682948e76a79f79fe3ac9c3777ad67048d6a27e

8 years agomove mused.conf to mmfw_sysconf 34/74134/2 accepted/tizen/common/20160620.162516 accepted/tizen/ivi/20160617.082454 accepted/tizen/mobile/20160617.081950 accepted/tizen/tv/20160617.082042 accepted/tizen/wearable/20160617.082139 submit/tizen/20160616.065630
Hyongtaek Lim [Mon, 13 Jun 2016 03:25:26 +0000 (12:25 +0900)]
move mused.conf to mmfw_sysconf

Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
Change-Id: Ia4acf3737f867c2add3fd4e872ff097ecf1cfb05