platform/core/api/media-controller.git
4 years agoFix typo (subtite -> subtitle) 51/258051/1 accepted/tizen_5.5_unified tizen_5.5 accepted/tizen/5.5/unified/20210523.230133 submit/tizen_5.5/20210513.012503
backto.kim [Mon, 10 May 2021 02:56:41 +0000 (11:56 +0900)]
Fix typo (subtite -> subtitle)

Change-Id: I159ea077cf79e4a1b3ceca2f51cfd8db35233116

4 years agoReduce DB locking time 83/245383/2 accepted/tizen/5.5/unified/20201012.013354 submit/tizen_5.5/20201008.063344
hj kim [Mon, 5 Oct 2020 09:08:56 +0000 (18:08 +0900)]
Reduce DB locking time

foreach functions invoke callback while reading DB. It means that the DB is locked.
But sometimes applications do unexpected things in callback and it could cause a long DB lock and
prevent other apps from accessing the DB.
Therefore, saving items to the internal list and unlock the DB quickly.

Change-Id: Ideb57e53a77fa3ace74cec512ca4f3adcf149549

4 years agoImprove __mc_service_process() 79/245379/1
hj kim [Wed, 7 Oct 2020 02:12:45 +0000 (11:12 +0900)]
Improve __mc_service_process()

Change-Id: I911f68d4782eab29ec4088d709dcdfc34422f69e

4 years agoReinforce message for debugging 77/245377/2
hj kim [Wed, 7 Oct 2020 03:56:00 +0000 (12:56 +0900)]
Reinforce message for debugging

Change-Id: I3f72dba1c9392a0e5f1545cb2bd2f371dc2e1c0c

4 years agoBug fix of sending wrong message 76/245376/2
hj kim [Tue, 6 Oct 2020 08:14:57 +0000 (17:14 +0900)]
Bug fix of sending wrong message

and change variable from int to unsigned int.
because g_queue_get_length() returns unsigned int.

Change-Id: Iecf364312b725e89ab405ca7e0ad504f09dafab4

4 years agoremove from the connection list when fail to DB updating 75/245375/2
hj kim [Mon, 5 Oct 2020 02:53:29 +0000 (11:53 +0900)]
remove from the connection list when fail to DB updating

Change-Id: I0ebc9bc99b281e084186f8bea0218f19ee73eb2b
(cherry picked from commit f4a0fe2e8031c113b36b51656e4e43a65c69d334)

4 years agobuild error fix 78/245378/1
hj kim [Thu, 8 Oct 2020 03:02:11 +0000 (12:02 +0900)]
build error fix

Change-Id: I1fd9828fa2eb75911e3ab817aa5218bd26544dca

4 years agoUse proper variable name
hj kim [Tue, 6 Oct 2020 06:43:46 +0000 (15:43 +0900)]
Use proper variable name

Change-Id: I8554da73108c1b37afd2ce4b72c3124479e4ecc0

4 years agoImprove __mc_service_remove_connection() 73/245373/2
hj kim [Tue, 6 Oct 2020 05:54:50 +0000 (14:54 +0900)]
Improve __mc_service_remove_connection()

Change-Id: I65f5117b11532ed10acc51ac9a911c559145315a

4 years agoUpdate log level to get log for product 72/245372/1
hj kim [Mon, 28 Sep 2020 01:24:31 +0000 (10:24 +0900)]
Update log level to get log for product

Change-Id: I9cd72229a715f872af7090b71d6a08a04aeb9a05

4 years agoFix document issue 29/245329/1 accepted/tizen/5.5/unified/20201008.020601 submit/tizen_5.5/20201007.073743
hj kim [Wed, 7 Oct 2020 06:57:43 +0000 (15:57 +0900)]
Fix document issue

Change-Id: Id86ea1d723f5cabb9cbe9483adda148af2e37b5d

4 years agofix memory leak for playlist_name 34/244834/1
jiyong.min [Thu, 24 Sep 2020 22:26:23 +0000 (07:26 +0900)]
fix memory leak for playlist_name

Change-Id: If662b1a103947c0138b6b515f4d5bf381b239b6a

4 years agoFix typo 78/239578/4
jiyong.min [Tue, 28 Jul 2020 01:39:05 +0000 (10:39 +0900)]
Fix typo

Change-Id: I00a62ecbe966cfcabafcb4f8b36cb15230318439

4 years agoFix memory leak if 'latest_server_name' is empty string. 38/239238/1
jiyong.min [Tue, 21 Jul 2020 23:05:17 +0000 (08:05 +0900)]
Fix memory leak if 'latest_server_name' is empty string.

Change-Id: I9f3af6da75af0d5c77efe2c3c7d7cd0e41aada74

4 years agoFix 'sql_str' memory leak if 'handle' is null or 'sql_str' is empty string 36/239236/1
jiyong.min [Tue, 21 Jul 2020 23:23:40 +0000 (08:23 +0900)]
Fix 'sql_str' memory leak if 'handle' is null or 'sql_str' is empty string

Change-Id: I00febeb6285b7b37c6ae3dbb991f75dcb05d7dd3
(cherry picked from commit 5c335a35d6c35c3c3170e6c1584628ceca3af150)

4 years agoMerge "Fix incorrect return value" into tizen_5.5
hj kim [Thu, 23 Jul 2020 04:45:43 +0000 (04:45 +0000)]
Merge "Fix incorrect return value" into tizen_5.5

4 years agoAdded db migration to upgrade from tizen 4.0 36/239036/7 accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20200724.222757 accepted/tizen/5.5/unified/wearable/hotfix/20201027.121724 submit/tizen_5.5/20200722.085243 submit/tizen_5.5_wearable_hotfix/20201026.184302
jiyong.min [Tue, 21 Jul 2020 08:12:43 +0000 (17:12 +0900)]
Added db migration to upgrade from tizen 4.0

  - minor change. fix typecase int to gboolean

Change-Id: Iad4c2edb632dd76b1564b0704524c6892ad95e9c

4 years agoFix incorrect return value 10/239110/2
jiyong.min [Tue, 21 Jul 2020 23:02:20 +0000 (08:02 +0900)]
Fix incorrect return value

Change-Id: I42af141f7f28fe201a544bb5545168310f46b8c3

5 years agoUpdate __mc_db_get_metadata() 17/233317/1 accepted/tizen/5.5/unified/20200514.154245 submit/tizen_5.5/20200513.234309
hj kim [Wed, 13 May 2020 23:27:53 +0000 (08:27 +0900)]
Update __mc_db_get_metadata()

Change-Id: I70f1d6370409bac156af0cf28e30d13f6ea91bd9

5 years agoFix to return ERROR_NONE and NULL for value when metadata doesn't exist 15/233315/1
hj kim [Wed, 13 May 2020 09:18:26 +0000 (18:18 +0900)]
Fix to return ERROR_NONE and NULL for value when metadata doesn't exist

description for mc_client_get_server_metadata()
"If there is no metadata, return value of the @a metadata is NULL."

Change-Id: I81363d998becd47e7a9c3affc06108f81445405b

5 years agoMerge branch 'tizen' into tizen_5.5 34/227234/2 accepted/tizen/5.5/unified/20200311.224713 submit/tizen_5.5/20200311.011303
jiyong.min [Tue, 10 Mar 2020 22:58:27 +0000 (07:58 +0900)]
Merge branch 'tizen' into tizen_5.5

 - Fix coverity and remove unnecessary codes

Change-Id: Iaa7075c7b972f9b444a506de94f29b45445a4504

5 years agoRemove unnecessary variables at dbus listener 46/227146/2 accepted/tizen/unified/20200312.234432 submit/tizen/20200310.225736
jiyong.min [Tue, 10 Mar 2020 04:30:54 +0000 (13:30 +0900)]
Remove unnecessary variables at dbus listener

Change-Id: I0116e1d67200f0e6ece96ca5744534120cfbea47

5 years agoUnify duplicated code regarding error handling 04/226604/3
jiyong.min [Wed, 4 Mar 2020 06:07:53 +0000 (15:07 +0900)]
Unify duplicated code regarding error handling

Change-Id: I85036d0b31671f60345a361df9b3af8efa153711

5 years agoFix resource leak for 'query_list' and retrieve 'sql_str_free' function 50/226550/9
jiyong.min [Tue, 3 Mar 2020 05:42:19 +0000 (14:42 +0900)]
Fix resource leak for 'query_list' and retrieve 'sql_str_free' function

Change-Id: I247fdeaa76fcbc1aa83c2b85be9da3402e31570c

5 years agoSeperate parsing and updating database to reduce CC(cyclomatic complexity) 49/226549/5
jiyong.min [Tue, 3 Mar 2020 04:00:31 +0000 (13:00 +0900)]
Seperate parsing and updating database to reduce CC(cyclomatic complexity)

Change-Id: I5087a4bd1970e9f013b2609dd27c1fd544f4ac93

5 years agoSeperate 'params' variable from parsing and updating database 48/226548/4
jiyong.min [Tue, 3 Mar 2020 03:25:31 +0000 (12:25 +0900)]
Seperate 'params' variable from parsing and updating database

Change-Id: I99023a723c8c56aaa9f9d9295d5fce2fca7d065b

5 years agoRemove duplicated conditions 47/226547/4
jiyong.min [Tue, 3 Mar 2020 02:47:01 +0000 (11:47 +0900)]
Remove duplicated conditions

Change-Id: Ia9b557deef1bbc418d16a97e69e63977dbbf243b

5 years agoReplace 'g_main_is_running' to 'g_main_loop_is_running' for glib update 12/224512/1 accepted/tizen/unified/20200224.081349 submit/tizen/20200203.160801 submit/tizen/20200217.011016
jiyong.min [Tue, 11 Feb 2020 06:54:17 +0000 (15:54 +0900)]
Replace 'g_main_is_running' to 'g_main_loop_is_running' for glib update

Change-Id: Icfd3a29e7110cc46bfb8dfbdf496fe4e09482cc3

5 years agoFix coverity issue 02/223002/1 accepted/tizen/5.5/unified/20200127.115844 submit/tizen_5.5/20200123.020528
jiyong.min [Mon, 20 Jan 2020 05:34:34 +0000 (14:34 +0900)]
Fix coverity issue

  - Use after free (USE_AFTER_FREE)
  Returns after free '_dst'

  - Use macro(g_list_next) and add to check return value in loop

Change-Id: Ie08c5fd02a4ad3c80d7d2c054c2ac34cccb3777a
(cherry picked from commit 4a5a45cbd713614071cdf049704c2e5c40b701d6)

5 years agoFix coverity issue 93/222793/2 submit/tizen/20200122.012604
jiyong.min [Mon, 20 Jan 2020 05:34:34 +0000 (14:34 +0900)]
Fix coverity issue

  - Use after free (USE_AFTER_FREE)
  Returns after free '_dst'

  - Use macro(g_list_next) and add to check return value in loop

Change-Id: Ie08c5fd02a4ad3c80d7d2c054c2ac34cccb3777a

5 years agoChange select query of __mc_db_get_record due to wrong result 22/222522/1 accepted/tizen/5.5/unified/20200116.120622 submit/tizen_5.5/20200116.031909
jiyong.min [Thu, 16 Jan 2020 00:38:19 +0000 (09:38 +0900)]
Change select query of __mc_db_get_record due to wrong result

Change-Id: I82faa60ab52ec8757a92bd7989a1bbc7a80f9578
(cherry picked from commit a138c4535120fa5625dcced6a909ab34dc2066af)

5 years agoChange select query of __mc_db_get_record due to wrong result 21/222521/1 accepted/tizen/unified/20200117.120814 submit/tizen/20200116.004203
jiyong.min [Thu, 16 Jan 2020 00:38:19 +0000 (09:38 +0900)]
Change select query of __mc_db_get_record due to wrong result

Change-Id: I82faa60ab52ec8757a92bd7989a1bbc7a80f9578

5 years agoMerge branch 'tizen' into tizen_5.5 71/222471/1
hj kim [Wed, 15 Jan 2020 07:29:55 +0000 (16:29 +0900)]
Merge branch 'tizen' into tizen_5.5

Change-Id: I0f26701cea67297bcf78b4560a4f0aef3b0a93b7

5 years agoFix build error 70/222470/1 submit/tizen/20200115.071738
hj kim [Wed, 15 Jan 2020 07:27:07 +0000 (16:27 +0900)]
Fix build error

Change-Id: I5935f6d070d757baae0ca4b912125c35ebe9c18b

5 years agoMerge branch 'tizen' into tizen_5.5 61/222461/1
hj kim [Wed, 15 Jan 2020 07:04:52 +0000 (16:04 +0900)]
Merge branch 'tizen' into tizen_5.5

Change-Id: I93777ee144e3d263e261a1464d8fd48a7db3f5c8

5 years agoVersion up 60/222460/1
hj kim [Wed, 15 Jan 2020 07:02:54 +0000 (16:02 +0900)]
Version up

Change-Id: I6e9740c833bb3ed436e0a035da3f01ded5e2649b

5 years agoApply Tizen naming convetion for protected(global) functions in internal header 46/222346/2
hj kim [Tue, 14 Jan 2020 01:38:41 +0000 (10:38 +0900)]
Apply Tizen naming convetion for protected(global) functions in internal header

Change-Id: I37dcb730361428ff787b3b36bd2fbdc97b35a2b0

5 years agoMerge "unify duplicated code regarding g_dbus_connection_emit_signal" into tizen
hj kim [Wed, 15 Jan 2020 06:26:52 +0000 (06:26 +0000)]
Merge "unify duplicated code regarding g_dbus_connection_emit_signal" into tizen

5 years agounify duplicated code regarding g_dbus_connection_emit_signal 40/222340/5
hj kim [Tue, 14 Jan 2020 00:54:48 +0000 (09:54 +0900)]
unify duplicated code regarding g_dbus_connection_emit_signal

Change-Id: I36635dc166f5de31b5b282d45bad31e1f1ce3b1e

5 years agoupdating duplicated code regarding getting value from db 38/222338/12
hj kim [Tue, 14 Jan 2020 00:22:22 +0000 (09:22 +0900)]
updating duplicated code regarding getting value from db

Change-Id: Iafd589a36cbfed804c4bb2eb114223097cb76fd5

5 years agoRemove duplicated codes 37/222337/6
hj kim [Mon, 13 Jan 2020 23:54:13 +0000 (08:54 +0900)]
Remove duplicated codes

Change-Id: I1b1feb67b594544f09a725f4d3248d2c651b4b8b

5 years agounify duplicated code regarding command_available 42/222342/3
hj kim [Tue, 14 Jan 2020 01:09:59 +0000 (10:09 +0900)]
unify duplicated code regarding command_available

Change-Id: I60137f3cd1efc81f8614a8c2d5913f97fc285cf9

5 years agoRemove useless parameter checking code 39/222339/6
hj kim [Tue, 14 Jan 2020 00:43:01 +0000 (09:43 +0900)]
Remove useless parameter checking code

Change-Id: I3901fb99a19be0489743d52eeedd33cbc67b4362

5 years agoApply Tizen naming convetion for protected(global) functions in internal header 93/222293/3
hj kim [Mon, 13 Jan 2020 08:43:24 +0000 (17:43 +0900)]
Apply Tizen naming convetion for protected(global) functions in internal header

Change-Id: I1b2d3c26a58f2a82c924f5569938b133cf3eaf52

5 years agoRemove duplicated code and redundant parameter 89/222289/6
hj kim [Mon, 13 Jan 2020 08:15:24 +0000 (17:15 +0900)]
Remove duplicated code and redundant parameter

Change-Id: I8abe4d8d6eb0f59b6887393126d640bb034bdf24

5 years agoFix wrong return value 21/222121/3 accepted/tizen/unified/20200113.130611 submit/tizen/20200110.063905
jiyong.min [Fri, 10 Jan 2020 02:10:14 +0000 (11:10 +0900)]
Fix wrong return value

Change-Id: I6a4935cb30decc1638162cb2ce86cf0926332455

5 years agoMerge branch 'tizen' into tizen_5.5 17/222117/1
hj kim [Thu, 9 Jan 2020 23:33:54 +0000 (08:33 +0900)]
Merge branch 'tizen' into tizen_5.5

Change-Id: I2d96a7a69b77fe187a60b1a2bf1f33f628ed6486

5 years agoApply Tizen naming convention for internal functions. 90/221990/3 submit/tizen/20200109.233217
hj kim [Thu, 9 Jan 2020 01:41:49 +0000 (10:41 +0900)]
Apply Tizen naming convention for internal functions.

Change-Id: I6dc03a36252d181e96f3774368732f79dda9aa27

5 years agoFix to use valid GList in app_dead handler 62/221862/4 submit/tizen/20200109.082013
jiyong.min [Mon, 6 Jan 2020 01:52:45 +0000 (10:52 +0900)]
Fix to use valid GList in app_dead handler

Change-Id: I752ce18675b1f671e21c323b57a5600e6ea40505

5 years agoFix crash while playlist is updated 72/221272/1 accepted/tizen/unified/20200105.221159 submit/tizen/20191230.234237 submit/tizen/20200102.043859
jiyong.min [Mon, 30 Dec 2019 23:38:28 +0000 (08:38 +0900)]
Fix crash while playlist is updated

Change-Id: I16a71c09a3e867a95cdf5b3498ed9487ee4c4c59

5 years agoMerge "Add coverage exception macros" into tizen_5.5 accepted/tizen/5.5/unified/20191230.212211 submit/tizen_5.5/20191226.094019
hj kim [Thu, 26 Dec 2019 09:45:04 +0000 (09:45 +0000)]
Merge "Add coverage exception macros" into tizen_5.5

5 years agoAdd coverage exception macros 19/221019/1
jiyong.min [Mon, 16 Dec 2019 05:15:35 +0000 (14:15 +0900)]
Add coverage exception macros

Change-Id: Idc1fd2c8b4352451b78400b93ee35c1829bcaf23
(cherry picked from commit 527307c77a36133da7112e46106ab140a24292ae)

5 years agoFix build error due to toolchain upgrade (gcc6->gcc9) 17/221017/1
jiyong.min [Thu, 26 Dec 2019 05:23:16 +0000 (14:23 +0900)]
Fix build error due to toolchain upgrade (gcc6->gcc9)

  error: cast between incompatible function types
  error: '%s' directive argument is null [-Werror=format-overflow=]

Change-Id: I3f8186e0cd44c8e166728e119793ac1eacc95b81
(cherry picked from commit 92f970f92d038a6dc495cca0e67989740095e2e5)

5 years agoCode refactoring for using GList 88/218788/10 accepted/tizen/unified/20191227.142816 submit/tizen/20191226.093041
jiyong.min [Thu, 28 Nov 2019 06:10:50 +0000 (15:10 +0900)]
Code refactoring for using GList

 - The loop to find listener over the GList are replaced to 'g_list_find_custom()'.

 - The 'g_list_length()' is not fast because GList does not keep track of the number of items.
   To reduce the 'g_list_length()' call, using index for a loop over the list are replaced
   to using iterator.

   To visit all elements in the list, use a loop over the list:
   GList *l;
   for (l = list; l != NULL; l = l->next)
   {
      // do something with l->data
   }

   reference: https://developer.gnome.org/glib/stable/glib-Doubly-Linked-Lists.html

Change-Id: Ic916d5ef9157b3c7574631b975351507f860fcb5

5 years agoAdd coverage exception macros 56/220956/3
jiyong.min [Mon, 16 Dec 2019 05:15:35 +0000 (14:15 +0900)]
Add coverage exception macros

Change-Id: Idc1fd2c8b4352451b78400b93ee35c1829bcaf23

5 years agoFix build error due to toolchain upgrade (gcc6->gcc9) 57/220957/6
jiyong.min [Thu, 26 Dec 2019 05:23:16 +0000 (14:23 +0900)]
Fix build error due to toolchain upgrade (gcc6->gcc9)

  error: cast between incompatible function types
  error: '%s' directive argument is null [-Werror=format-overflow=]

Change-Id: I3f8186e0cd44c8e166728e119793ac1eacc95b81

5 years agoRelocate ability initialization from library to daemon 80/215380/6 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.031433 accepted/tizen/5.5/unified/mobile/hotfix/20201027.065838 accepted/tizen/unified/20191018.060328 submit/tizen/20191016.081926 submit/tizen_5.5/20191031.000002 submit/tizen_5.5_mobile_hotfix/20201026.185102 tizen_5.5.m2_release
jiyong.min [Mon, 7 Oct 2019 08:04:09 +0000 (17:04 +0900)]
Relocate ability initialization from library to daemon

 - To reduce socket communication

Change-Id: Ice9a2d6212eeb63dfd3f6e7b7b5cb9a34151ffa9

5 years agoMerge "Remove unused retval" into tizen
Jiyong Min [Mon, 7 Oct 2019 03:23:35 +0000 (03:23 +0000)]
Merge "Remove unused retval" into tizen

5 years agoChange code not to send msg when media controller server set default values while... 83/215183/2 accepted/tizen/unified/20191007.234835 submit/tizen/20191007.022545
hj kim [Wed, 2 Oct 2019 08:04:25 +0000 (17:04 +0900)]
Change code not to send msg when media controller server set default values while launching

Change-Id: Ifce00a85e7abd2651e4f668b0e4a7351dc4db5ed

5 years agoRemove unused retval 04/215304/1
jiyong.min [Mon, 7 Oct 2019 01:55:10 +0000 (10:55 +0900)]
Remove unused retval

Change-Id: I5880aeaaf0fb8cda36492272eb2aa5acbfdd00b4

5 years agoBug fix of test code 72/215172/1
hj kim [Wed, 2 Oct 2019 07:08:39 +0000 (16:08 +0900)]
Bug fix of test code

Change-Id: I8e1c3a0335140923c7259047477e351e448d1d11

5 years agoAdd recovery logics for removed tables 36/214736/3 accepted/tizen/unified/20190927.064533 submit/tizen/20190927.014403
jiyong.min [Thu, 26 Sep 2019 02:14:55 +0000 (11:14 +0900)]
Add recovery logics for removed tables

Change-Id: If904c7dc7869962ec7ba8c1ea4433e07d7090c47

5 years ago[ACR-1444]Add functions for subtitle, display mode, display rotation, 360 mode 67/210767/36 accepted/tizen/unified/20190918.102311 submit/tizen/20190918.021208
hj kim [Wed, 24 Jul 2019 08:41:57 +0000 (17:41 +0900)]
[ACR-1444]Add functions for subtitle, display mode, display rotation, 360 mode

Change-Id: I9fd94669658a0de717445f7571003f46f79f96c6

5 years agoImprove '__mc_client_unregister_filter_listener' function to fix issue 97/213397/5 accepted/tizen/unified/20190909.010902 submit/tizen/20190905.232826
jiyong.min [Thu, 5 Sep 2019 02:22:42 +0000 (11:22 +0900)]
Improve '__mc_client_unregister_filter_listener' function to fix issue

 - Issue
  After filter_listener were unregistered, listener callback was still invoked.
 - Cause
  When all filters were unregistered, filter_interface should be unregistered, but normal_interface was used.
 - Solution
  When filter is unregistered, it is changed to use 'mc_ipc_unregister_filter_listener'.
  After that, unregistering filter will use filter_interface(interface + server_name).

Change-Id: I356c1c0d96fd3297e6f3f61e3b906980d3e2f2ef

5 years agoUpdate code to remove SAM violation (GV, PP) 45/212845/2 accepted/tizen/unified/20190901.225905 submit/tizen/20190828.013758 submit/tizen/20190830.003130
hj kim [Tue, 27 Aug 2019 08:40:15 +0000 (17:40 +0900)]
Update code to remove SAM violation (GV, PP)

Change-Id: I11345dc1eb6433c91ade42b28321d7354e236bc0

5 years agoDelete meaningless configuration 80/212780/1 accepted/tizen/unified/20190828.011023 submit/tizen/20190827.051104
INSUN PYO [Tue, 27 Aug 2019 01:13:53 +0000 (10:13 +0900)]
Delete meaningless configuration

If the socket and service prefix names are the same, then Sockets(in .service) and Service(in .socket) are not needed.
Specifying Sokcets and Service is needed for certain functions, so using it without reason confuses the developer.

Change-Id: I6bf969f4a4abc2e59a6885a852bb1909ad861e77
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
5 years agoChange mc_client_get_ability_support() to mc_client_get_server_ability_support() 64/212064/1 accepted/tizen/unified/20190816.112315 submit/tizen/20190815.231259
hj kim [Wed, 14 Aug 2019 01:48:34 +0000 (10:48 +0900)]
Change mc_client_get_ability_support() to mc_client_get_server_ability_support()

Change-Id: Ifce4e6ec68fcdc4b7a648afc8a4c3b5f366d5f3b

5 years agoRemove check EACCESS and Fix log position to avoid errno change. (errno can be change... 45/211945/7
hj kim [Mon, 12 Aug 2019 10:32:53 +0000 (19:32 +0900)]
Remove check EACCESS and Fix log position to avoid errno change. (errno can be changed when using dlog)

The media-controller daemon can return EACCESS to the client when the daemon creates a commication socket temporarily.
For this reason, if client get EACCESSn, client must retry the connection.

Change-Id: If7753f8a2590365f4edba2ba6d4183207d0ddf0e

5 years ago[ACR-1428] Add functions for ability 50/210450/27 accepted/tizen/unified/20190813.082345 submit/tizen/20190813.013835
hj kim [Fri, 19 Jul 2019 07:08:33 +0000 (16:08 +0900)]
[ACR-1428] Add functions for ability

Change-Id: Ice6c525465f6e741ceb483a39f9c78585c4d3903

5 years agoRemove duplicate codes for releasing listener 62/211662/4
jiyong.min [Thu, 8 Aug 2019 01:52:15 +0000 (10:52 +0900)]
Remove duplicate codes for releasing listener

Change-Id: Ib25f7e12c768a9655d7c44b7abbdf9b3429ee1d4

5 years agoAdd to restart service when ondemand is not enabled. 23/211523/2 accepted/tizen/unified/20190806.220533 submit/tizen/20190806.073859
jiyong.min [Tue, 6 Aug 2019 07:06:28 +0000 (16:06 +0900)]
Add to restart service when ondemand is not enabled.

Change-Id: I24340e840cfff21d68a14792d177b29c64207c00

5 years agoModify the condition expression 75/211275/4 accepted/tizen/unified/20190806.072202 submit/tizen/20190805.053702
Minje Ahn [Thu, 1 Aug 2019 04:00:01 +0000 (13:00 +0900)]
Modify the condition expression

Change-Id: Ie18f8fa16d6ed2ea7399d49c3af97c89979ee243
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoModify subscribe for MC_SUBSCRIPTION_TYPE_PLAYBACK_ABILITY 26/211426/1 accepted/tizen/unified/20190805.042912 submit/tizen/20190805.013641
jiyong.min [Mon, 5 Aug 2019 00:11:12 +0000 (09:11 +0900)]
Modify subscribe for MC_SUBSCRIPTION_TYPE_PLAYBACK_ABILITY

 - After mc_client_subscribe is called for MC_SUBSCRIPTION_TYPE_PLABACK_ABILITY,
   mc_playback_ability_updated_cb is not invoked
  When mc_client_subscribe is called, wrong user_data was pased.

Change-Id: I1184b5ef76b996b631219d6ccbe9c4ae0f6ba960

5 years agoChange return type of mc_db_disconnect() 70/211270/4
Minje Ahn [Thu, 1 Aug 2019 02:26:12 +0000 (11:26 +0900)]
Change return type of mc_db_disconnect()

Change-Id: I183a54a6d2154afdaa13e23def10e6c31c87289b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoAdd for upgrade from 5.0 to 5.5 00/210800/11
Minje Ahn [Thu, 25 Jul 2019 02:22:42 +0000 (11:22 +0900)]
Add for upgrade from 5.0 to 5.5

Change-Id: I72ad8f0aeafaeeda01f08114fc5a05c90be4345d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoAdd logic to apply duplication of search keywords 21/210821/10 accepted/tizen/unified/20190729.081053 submit/tizen/20190726.053215
jiyong.min [Thu, 25 Jul 2019 05:33:06 +0000 (14:33 +0900)]
Add logic to apply duplication of search keywords

Change-Id: I35ca0e04e6deebab44ca901c0fcb592989b3bdce

5 years agoAdd static at _destroy_search_list 20/210820/6
jiyong.min [Thu, 25 Jul 2019 01:38:16 +0000 (10:38 +0900)]
Add static at _destroy_search_list

Change-Id: If1162098d948be58c04d283de4e97e41c59f21f7

5 years agoRestore removed APIs for compatibility 15/210115/1 accepted/tizen/unified/20190716.111304 submit/tizen/20190716.080029
hj kim [Tue, 16 Jul 2019 02:45:02 +0000 (11:45 +0900)]
Restore removed APIs for compatibility

Change-Id: Ic16ac2081c1b1c20a438fef064835a81a9b7500f

5 years agoChange the server check for activate and exist 21/209721/3 accepted/tizen/unified/20190715.111808 submit/tizen/20190715.042823
jiyong.min [Wed, 10 Jul 2019 08:11:32 +0000 (17:11 +0900)]
Change the server check for activate and exist

Change-Id: I93199e12482b38dc39e978eac3ff5da8d5f6babb

5 years agoMerge "[ACR-1411] Add new error for ability not supported" into tizen submit/tizen/20190710.060329 submit/tizen/20190710.075719
Jiyong Min [Wed, 10 Jul 2019 05:45:33 +0000 (05:45 +0000)]
Merge "[ACR-1411] Add new error for ability not supported" into tizen

5 years agosearch keyword can be NULL if category is not determined 65/209665/1
hj kim [Wed, 10 Jul 2019 02:18:07 +0000 (11:18 +0900)]
search keyword can be NULL if category is not determined

Change-Id: I40a70bb32c17401c6dbedf136fb537527308901a

5 years ago[ACR-1411] Add new error for ability not supported 36/207436/17
jiyong.min [Tue, 4 Jun 2019 23:42:44 +0000 (08:42 +0900)]
[ACR-1411] Add new error for ability not supported

Change-Id: I7cd47f659b30873664315fabce17474ef49075ae

5 years agoAdd to free 'msg', 'creds', and 'source' due to memory leak issue 51/209151/10 accepted/tizen/unified/20190705.110651 submit/tizen/20190705.011248
jiyong.min [Wed, 3 Jul 2019 02:40:36 +0000 (11:40 +0900)]
Add to free 'msg', 'creds', and 'source' due to memory leak issue

Change-Id: Iea97415f5e4c8abfb963cb5906882dc0dbc6ccaf

5 years agoMerge "Use __mc_db_get_record() on mc_db_get_latest_server_info" into tizen accepted/tizen/unified/20190704.115625 submit/tizen/20190704.070253
hj kim [Thu, 4 Jul 2019 06:59:02 +0000 (06:59 +0000)]
Merge "Use __mc_db_get_record() on mc_db_get_latest_server_info" into tizen

5 years agoMerge "Remove unnecessary setting" into tizen
Jiyong Min [Thu, 4 Jul 2019 06:53:33 +0000 (06:53 +0000)]
Merge "Remove unnecessary setting" into tizen

5 years agoUse __mc_db_get_record() on mc_db_get_latest_server_info 84/208984/7
Minje Ahn [Tue, 2 Jul 2019 00:37:08 +0000 (09:37 +0900)]
Use __mc_db_get_record() on mc_db_get_latest_server_info

Change-Id: Ie4a0c2eea5df448f5d554b29e2260606b51fe3e5
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoMerge "Add restriction for setting content type" into tizen
Jiyong Min [Thu, 4 Jul 2019 06:49:37 +0000 (06:49 +0000)]
Merge "Add restriction for setting content type" into tizen

5 years agoRemove check for gcov 14/209014/4 accepted/tizen/unified/20190702.234131 submit/tizen/20190701.235505
Minje Ahn [Tue, 2 Jul 2019 01:43:45 +0000 (10:43 +0900)]
Remove check for gcov

Change-Id: I08d37b05d3c89ffd262aeff917db1b0c9a98e344
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoRemove unnecessary setting 01/209001/1
INSUN PYO [Tue, 2 Jul 2019 01:25:29 +0000 (10:25 +0900)]
Remove unnecessary setting

Change-Id: I583842cf32200d4956abf89b149f4bf379e91b59

5 years agoUpdate description 83/208983/1
Minje Ahn [Tue, 2 Jul 2019 00:33:37 +0000 (09:33 +0900)]
Update description

Change-Id: Icdfa353005dfa51ecb312f716215cebcac07545a
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoFix build error 81/208981/1
Minje Ahn [Tue, 2 Jul 2019 00:32:20 +0000 (09:32 +0900)]
Fix build error

Change-Id: I99ae6d6a8baf61f5dbf687d6f361ae8a85e27344
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoAdd for line coverage 69/208969/3
Minje Ahn [Mon, 1 Jul 2019 23:16:36 +0000 (08:16 +0900)]
Add for line coverage

Change-Id: Iaeb8873f285a16ce1feade31350e40b74deddaae
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoAdd restriction for setting content type 34/208834/2
hj kim [Mon, 1 Jul 2019 01:47:33 +0000 (10:47 +0900)]
Add restriction for setting content type

Change-Id: I214d4930fdf3ec7815906f857ed5bae62a8f5d66

5 years agoBug fix of adding playlist item into media db 54/208754/1 accepted/tizen/unified/20190628.120635 submit/tizen/20190628.044402
hj kim [Fri, 28 Jun 2019 02:53:41 +0000 (11:53 +0900)]
Bug fix of adding playlist item into media db

Change-Id: Ibeeb4937e5aec2f44477443160e0d426bbfeb8ec

5 years agoMerge "Modify API descriptions regarding the ACR-1355" into tizen accepted/tizen/unified/20190626.040951 submit/tizen/20190625.233624
hj kim [Mon, 24 Jun 2019 02:08:50 +0000 (02:08 +0000)]
Merge "Modify API descriptions regarding the ACR-1355" into tizen

5 years agoAdd error type when no record 17/208217/4 accepted/tizen/unified/20190620.123706 submit/tizen/20190620.052708
Minje Ahn [Thu, 20 Jun 2019 04:00:18 +0000 (13:00 +0900)]
Add error type when no record

Change-Id: I645be2b7262098da16c615f24f383dbc25d63edc
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoDelete function for count-only 20/207820/11 accepted/tizen/unified/20190618.050011 submit/tizen/20190617.081601
Minje Ahn [Thu, 13 Jun 2019 04:59:44 +0000 (13:59 +0900)]
Delete function for count-only

Change-Id: I01420453bdf44e1f3707ed0fc9095f16d4edeeb1
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoModify API descriptions regarding the ACR-1355 50/207950/1
hj kim [Fri, 14 Jun 2019 07:02:28 +0000 (16:02 +0900)]
Modify API descriptions regarding the ACR-1355

Change-Id: I65e03ec0e0c7c18277708cf46d8b2e2e65fec4c0

6 years agoMerge "Add function for single result" into tizen
hj kim [Fri, 14 Jun 2019 05:31:35 +0000 (05:31 +0000)]
Merge "Add function for single result" into tizen

6 years agoMerge "Modify shift operation to use 64-bit operand" into tizen
hj kim [Fri, 14 Jun 2019 04:58:25 +0000 (04:58 +0000)]
Merge "Modify shift operation to use 64-bit operand" into tizen