platform/core/api/media-controller.git
6 years agoFix memory leak 89/186189/1 accepted/tizen/unified/20180808.141319 submit/tizen/20180808.060658
Minje Ahn [Wed, 8 Aug 2018 03:42:17 +0000 (12:42 +0900)]
Fix memory leak

Change-Id: Id41c86f180203f4c4f9e575760f0585ec10a77b6
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoFix Wformat build error 92/185192/1 accepted/tizen/unified/20180730.142056 submit/tizen/20180727.055504
yhji [Fri, 27 Jul 2018 01:54:28 +0000 (10:54 +0900)]
Fix Wformat build error

Change-Id: I8a8999e3b5b452a02947d90652df50b18704ef6d
Signed-off-by: yhji <yhji.lee@samsung.com>
6 years agoRemove unused upgrade script 59/184259/2 accepted/tizen/unified/20180717.063159 accepted/tizen/unified/20180718.154224 submit/tizen/20180717.002804 submit/tizen/20180717.054420
jiyong.min [Mon, 16 Jul 2018 23:37:56 +0000 (08:37 +0900)]
Remove unused upgrade script

Change-Id: Ic4a2a97ca9bed2aeb8a8a5e0fbe38fba66a66ed6

6 years agoJust update doxygen description 90/183990/1
hj kim [Fri, 13 Jul 2018 02:23:32 +0000 (11:23 +0900)]
Just update doxygen description

Change-Id: Ib36121eb278135cb9e7931f18a1fa41341f99217

6 years agoFix typo 15/183915/1 accepted/tizen/unified/20180713.090601 submit/tizen/20180712.083902
hj kim [Thu, 12 Jul 2018 08:29:15 +0000 (17:29 +0900)]
Fix typo

Change-Id: I0f4e45fc72d1154a4b4a55d0d4a40860986e3fe9

6 years agoAdd to remove client from client_list table when it is created 92/183692/1 submit/tizen/20180710.053337
Jiyong Min [Tue, 10 Jul 2018 03:32:00 +0000 (12:32 +0900)]
Add to remove client from client_list table when it is created
(The handle was not destroyed, it make the client_name duplicated.)

Change-Id: I13eea6d69e7ddd6b3c6ed51836ab0a213ac2c5c6

6 years agoFix Coverity issues 93/183493/1 accepted/tizen/unified/20180706.140659 submit/tizen/20180706.044046
hj kim [Fri, 6 Jul 2018 01:41:35 +0000 (10:41 +0900)]
Fix Coverity issues

Change-Id: I2e77a011e2401387a282f0768d3a5bd7b8d8ec5a

6 years ago[ACR-1252] Add to send event, reply and received callbacks 89/183489/1
Jiyong Min [Tue, 26 Jun 2018 01:18:21 +0000 (10:18 +0900)]
[ACR-1252] Add to send event, reply and received callbacks

Change-Id: I22a3f81785f38c77213e854cc47ab8dd152cb282
(cherry picked from commit beeeff22972d6a79c28f905364f028eb52e9486c)

6 years agoCheck parameter condition 63/182963/1 accepted/tizen/unified/20180703.163709 submit/tizen/20180702.022124 submit/tizen/20180703.063819
hj kim [Fri, 29 Jun 2018 07:26:39 +0000 (16:26 +0900)]
Check parameter condition

Change-Id: Iee5aa7772151f606287291395901ef159844fc8b

6 years ago[4.0 ACR-1237] Apply 4.0 updated code to 5.0 60/182760/1 accepted/tizen/unified/20180629.061629 submit/tizen/20180628.091114
hj kim [Thu, 28 Jun 2018 00:28:02 +0000 (09:28 +0900)]
[4.0 ACR-1237] Apply 4.0 updated code to 5.0

Change-Id: If373e52223beeb3c90f069374444dfc5a96ba52c

6 years agoAdd ACR-1235 and sync media-controller from 4.0 38/182138/4 submit/tizen/20180627.041748
Jiyong Min [Wed, 20 Jun 2018 23:46:20 +0000 (08:46 +0900)]
Add ACR-1235 and sync media-controller from 4.0

Change-Id: I8a6cdd068741f195de0350aad936eb8778774493

6 years agoModify tcp message transfer to service daemon 08/180308/23 accepted/tizen/unified/20180628.061206 submit/tizen/20180627.041635
Jiyong Min [Thu, 31 May 2018 01:07:22 +0000 (10:07 +0900)]
Modify tcp message transfer to service daemon

Change-Id: Id2e3d0b5635812acc32c5272f1e2d5d75b84c1ba

6 years agoAdd code for checking privilege 14/180414/1
hj kim [Tue, 29 May 2018 08:25:35 +0000 (17:25 +0900)]
Add code for checking privilege

Change-Id: Idc252e1c2e74f1f45a4278a62d7da60488f94601

6 years agoUnify playlist remove and update to avoid timing issue 15/180315/1
hj kim [Mon, 28 May 2018 08:21:48 +0000 (17:21 +0900)]
Unify playlist remove and update to avoid timing issue

Change-Id: I2e5f9c61bf024fd6e765de1c3466b8ee153ad0b2

6 years agorestrict making multiple handles 64/180164/1 submit/tizen/20180528.002901
hj kim [Fri, 25 May 2018 07:14:06 +0000 (16:14 +0900)]
restrict making multiple handles

Change-Id: I0c9c7bbe2f3c06ae6efc44bb40bcfdd5e6bafc30

6 years agoJust rearrange the code. remove duplicated code 08/180008/1
hj kim [Thu, 24 May 2018 05:41:22 +0000 (14:41 +0900)]
Just rearrange the code. remove duplicated code

Change-Id: I242c3b05e514eda582cbd3b5e188ef6a89b08cac

6 years agoJust rename API 90/179990/1
hj kim [Thu, 24 May 2018 02:55:55 +0000 (11:55 +0900)]
Just rename API

Change-Id: I81b0e594f8a2b4e15a143558491b988bcd5961ce

6 years agoChange the way of making db update query. Client send parameters and Controller Serve... 79/179979/5
hj kim [Wed, 23 May 2018 23:49:00 +0000 (08:49 +0900)]
Change the way of making db update query. Client send parameters and Controller Server make the query for the security issues

Change-Id: If60a2ebdcdf58039cfbc7ed5bf25ab63783027bd

6 years agoCode refactoring. remove duplicated code when replace bundle to string 06/178906/4
Jiyong Min [Mon, 14 May 2018 23:47:28 +0000 (08:47 +0900)]
Code refactoring. remove duplicated code when replace bundle to string

Change-Id: I7880fd420cf8c70ca2cd61151541f004ee5fd1e3

6 years agoAdd code for sending and receiving request id 05/178905/1
hj kim [Mon, 14 May 2018 23:43:29 +0000 (08:43 +0900)]
Add code for sending and receiving request id

Change-Id: I2e660c8494fb6b6088653038dacbfff459eee577

6 years agoJust change parameter name 65/178865/1
hj kim [Mon, 14 May 2018 09:57:48 +0000 (18:57 +0900)]
Just change parameter name

Change-Id: Ibfc8defee75868d2e41173d0a59168450c2de81b

6 years agoChange __send_command to receive request id 60/178860/2
hj kim [Mon, 14 May 2018 09:45:46 +0000 (18:45 +0900)]
Change __send_command to receive request id

Change-Id: I2994944e0a2ec2d25cf78393d0a9f44201db4513

6 years agoCode refactoring. remove duplicated code when send command 05/178805/2
hj kim [Mon, 14 May 2018 05:57:52 +0000 (14:57 +0900)]
Code refactoring. remove duplicated code when send command

Change-Id: I29cd01bfe5374cca124f8864932415a62092e1bf

6 years agoChange mp_ipc_send_mssage API to get the request id 73/178773/1
hj kim [Mon, 14 May 2018 04:25:01 +0000 (13:25 +0900)]
Change mp_ipc_send_mssage API to get the request id

Change-Id: I6877c948f7034c74527b0957cc7ce8ef150e4ea1

6 years agoAdd getting request id 71/178771/1
Jiyong Min [Mon, 14 May 2018 03:57:45 +0000 (12:57 +0900)]
Add getting request id

Change-Id: I9e523282d6510a465da1c79a32b3a0da4e069bac

6 years agoCoverity issue fix 07/177807/1 accepted/tizen/unified/20180504.063634 submit/tizen/20180504.024555
hj kim [Fri, 4 May 2018 02:31:09 +0000 (11:31 +0900)]
Coverity issue fix

Change-Id: I728bf41141647834063e370ff2fa357d2431a00a

6 years agoCheck validity of input parameter 44/177744/1 submit/tizen/20180503.224930
hj kim [Thu, 3 May 2018 09:01:37 +0000 (18:01 +0900)]
Check validity of input parameter

Change-Id: I2d116534bbfb13871444077258abe853267e4b7b

6 years agoAdd code for exception handling 51/177351/2 accepted/tizen/unified/20180502.071159 submit/tizen/20180429.222028 submit/tizen/20180502.025013
hj kim [Fri, 27 Apr 2018 08:31:37 +0000 (17:31 +0900)]
Add code for exception handling

Change-Id: I7e29f9bbfff90b8b7e5dc381bc112aab9bf86109

6 years agoAdd test case for APP_CONTROL_OPERATION_MEDIA_CONTROLLER 50/177350/1
hj kim [Fri, 27 Apr 2018 08:30:41 +0000 (17:30 +0900)]
Add test case for APP_CONTROL_OPERATION_MEDIA_CONTROLLER

Change-Id: I77474a80eb41f5c4181b7684baa0d2ee9a1d3c38

6 years agoFix Coverity issue 62/177062/1 accepted/tizen/unified/20180425.133711 submit/tizen/20180425.052308
hj kim [Wed, 25 Apr 2018 05:20:32 +0000 (14:20 +0900)]
Fix Coverity issue

Change-Id: Ie7856f1807c61ac9d21bec485d13e1281066fba5

6 years agoChange 'index' column to 'playlist_index' due to syntax error and 78/176578/2 accepted/tizen/unified/20180423.062727 submit/tizen/20180419.225455
Jiyong Min [Fri, 20 Apr 2018 05:32:42 +0000 (14:32 +0900)]
Change 'index' column to 'playlist_index' due to syntax error and
add the column into enum

Change-Id: Ic5245360cb03ef4ccabb2cce936c958b62328afd

6 years ago[ACR-1200] Add APIs to set and get index of playlist 30/174930/20
hj kim [Thu, 5 Apr 2018 06:26:35 +0000 (15:26 +0900)]
[ACR-1200] Add APIs to set and get index of playlist

Change-Id: I03562cc9d738b01c56715be74ce3414e8f09727c

6 years agoFix doxygen fault 04/176204/1 accepted/tizen/unified/20180418.071756 submit/tizen/20180417.235711
hj kim [Tue, 17 Apr 2018 09:41:36 +0000 (18:41 +0900)]
Fix doxygen fault

Change-Id: I1384b4794e6f05a4446f87310011190f4b986db5

6 years agoTo make clear change media_id to index 92/175892/1 accepted/tizen/unified/20180416.213845 submit/tizen/20180416.031123
hj kim [Fri, 13 Apr 2018 06:56:14 +0000 (15:56 +0900)]
To make clear change media_id to index

Change-Id: I1163833b6a9400281a279af0229ea63c58910e9c

6 years ago[ACR-1199]Add APIs for playling designated playlist item. 16/174816/7 accepted/tizen/unified/20180411.065620 submit/tizen/20180411.022759
hj kim [Wed, 4 Apr 2018 09:15:51 +0000 (18:15 +0900)]
[ACR-1199]Add APIs for playling designated playlist item.

Change-Id: I7192d1468ae4e24a00a51adebd17492759a03893

6 years agoFix Coverity Issues 29/175029/1 accepted/tizen/unified/20180409.060345 submit/tizen/20180406.052230
hj kim [Fri, 6 Apr 2018 05:20:08 +0000 (14:20 +0900)]
Fix Coverity Issues

Change-Id: I56f62c8f84ba0d2903ab41f8f56f3f72f97ea0f8

6 years agoRemove unused dependency of dbus-glib-1 31/174531/1 accepted/tizen/unified/20180403.182410 submit/tizen/20180403.050213
hj kim [Tue, 3 Apr 2018 00:16:09 +0000 (09:16 +0900)]
Remove unused dependency of dbus-glib-1

Change-Id: Ibc61f0f2d9284c42c87f317bcdff408c8f2ad0cb

6 years ago[ACR-1190] Add new APIs to support playlist 76/174176/14
hj kim [Thu, 29 Mar 2018 01:40:42 +0000 (10:40 +0900)]
[ACR-1190] Add new APIs to support playlist

Change-Id: Iec9a08c93aa755d46fe3bb8bac48151ede42c55d

6 years ago[MPR-1333]Keep latest server's metadata. and bug fix of server/playback state when... 13/172713/5
hj kim [Thu, 15 Mar 2018 09:56:40 +0000 (18:56 +0900)]
[MPR-1333]Keep latest server's metadata. and bug fix of server/playback state when launch and destroy

Change-Id: Id5f7b721b6ec451df673bfb67cca1f191b4c5c09

6 years agoJust move defines. Don't need to define them in .h 90/173390/1
hj kim [Wed, 21 Mar 2018 06:51:20 +0000 (15:51 +0900)]
Just move defines. Don't need to define them in .h

Change-Id: Ic1c97fcb002d5519287f7aa5866833c5b8ff6333

6 years agoAdd description for custom command cb. and fix memory leak 25/172625/3 accepted/tizen/unified/20180319.063008 submit/tizen/20180316.071952 submit/tizen/20180319.022933
hj kim [Thu, 15 Mar 2018 02:29:01 +0000 (11:29 +0900)]
Add description for custom command cb. and fix memory leak

Change-Id: Ia2c914e9671283c70164f983570967caffc96471

6 years ago[ACR-1173] Separate playback state and action 61/172161/7
hj kim [Mon, 12 Mar 2018 08:47:08 +0000 (17:47 +0900)]
[ACR-1173] Separate playback state and action

Change-Id: I0b32ef9f3a1407ab67197d5f3b355f86a2b39af3

6 years ago[ACR-1172] Add repeat mode for one media 78/171878/3 accepted/tizen/unified/20180315.061319 submit/tizen/20180312.020434 submit/tizen/20180313.014139
hj kim [Thu, 8 Mar 2018 02:06:19 +0000 (11:06 +0900)]
[ACR-1172] Add repeat mode for one media

Change-Id: I6014c25574f744d56574dce02cc33f01ec6163dc

6 years agoFix typo 56/171456/1 accepted/tizen/unified/20180307.071309 submit/tizen/20180305.053300
Minje Ahn [Mon, 5 Mar 2018 05:09:39 +0000 (14:09 +0900)]
Fix typo

Change-Id: I48543419a8a3816b3d33d10ab67f9556b0314c03
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoFix HANDLE_LEAK_SQLITE_STATEMENT issue 06/168406/1 accepted/tizen/unified/20180130.055216 submit/tizen/20180130.011229
Jiyong Min [Fri, 26 Jan 2018 08:05:43 +0000 (17:05 +0900)]
Fix HANDLE_LEAK_SQLITE_STATEMENT issue

Change-Id: I4c3a50382a3ad035b6081c5911c085fb16cadcc8
(cherry picked from commit 04196724d55566dcd069628fdf4f5f7b75a844b7)

6 years agoFix wrong description for MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED 15/168115/1 accepted/tizen/unified/20180125.122840 submit/tizen/20180125.001258
hj kim [Wed, 24 Jan 2018 07:50:48 +0000 (16:50 +0900)]
Fix wrong description for MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED

Change-Id: I34748e38e8a6ae2152b84650be4124e963769e50

6 years agoFix Doxygen mistakes 74/168074/2
hj kim [Wed, 24 Jan 2018 04:57:38 +0000 (13:57 +0900)]
Fix Doxygen mistakes

Change-Id: I772e13cda9cc88cc8041eb3d2af3932c77c95406

6 years agoAdd debug msg and update debug msg 66/165466/1 accepted/tizen/unified/20180103.151753 submit/tizen/20180102.071056
hj kim [Fri, 29 Dec 2017 06:42:32 +0000 (15:42 +0900)]
Add debug msg and update debug msg

Change-Id: I965f27c09f10f6ac60de4718f6e44f37b60ec735

6 years agoFix typo 45/165445/1
hj kim [Fri, 29 Dec 2017 03:05:34 +0000 (12:05 +0900)]
Fix typo

Change-Id: If9b1d3f862535e22a8c03d04001a20d0ea038280

6 years agoFix that getting command did not work for permission denied 88/165188/2 accepted/tizen/unified/20171229.070218 submit/tizen/20171228.044239
Jiyong Min [Wed, 27 Dec 2017 03:05:54 +0000 (12:05 +0900)]
Fix that getting command did not work for permission denied

[Cause]
The server process should check the safety of the command.
The check-list of the command exist in the list of the client.
So it should be checked with the data of the client.

[Solution]
The '__mc_get_data' search the command with the check-list.
The '__mc_get_data' don't care about the pid(client & server).

Change-Id: I51d68b215006e92a04586e6d635fdd15999ff3cb
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
6 years agoJust update debug msg 57/164257/1 accepted/tizen/unified/20171219.072645 submit/tizen/20171218.085007
hj kim [Mon, 18 Dec 2017 08:45:33 +0000 (17:45 +0900)]
Just update debug msg

Change-Id: I0c58a3187e3e36e38015717ab2db423256a0739c

6 years agoAdd to send playback positin/shuffle mode/repeat mode command 62/161162/2
Jiyong Min [Wed, 22 Nov 2017 03:12:57 +0000 (12:12 +0900)]
Add to send playback positin/shuffle mode/repeat mode command

Change-Id: I373e626d0552a1d74b0fa91de46b18d3cf65df07
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
6 years ago[ACR-1114][Add] Add to send playback positin/shuffle mode/repeat mode command 79/160779/7
Jiyong Min [Mon, 20 Nov 2017 05:28:03 +0000 (14:28 +0900)]
[ACR-1114][Add] Add to send playback positin/shuffle mode/repeat mode command

Change-Id: I6f6e0d46939047d3f116ba74e67a1d45ccbbb7ac
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoAdd bundle_internal.h 99/153599/1 accepted/tizen/unified/20170929.081632 submit/tizen/20170928.090751
Jiyong Min [Fri, 29 Sep 2017 01:50:34 +0000 (10:50 +0900)]
Add bundle_internal.h

Change-Id: Iea7bf4f21d738c768b48c8270c8dd90138e16a62
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoFix build error 54/153554/1
Jiyong Min [Thu, 28 Sep 2017 23:13:05 +0000 (08:13 +0900)]
Fix build error

Change-Id: Ie3b3ca9f1a83874ddf37cb18c581435987229561
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoModify memory leak of bundle_raw 50/153150/2
Jiyong Min [Thu, 28 Sep 2017 04:19:05 +0000 (13:19 +0900)]
Modify memory leak of bundle_raw
(fix coverity issue)

Change-Id: I12dc14dc114e72ec5c92dbacfbc0e29da23b4dfc
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoModify dbus user_data from GList * to GList ** 21/152021/1 accepted/tizen/unified/20170925.071136 submit/tizen/20170922.060558
Jiyong Min [Mon, 25 Sep 2017 00:20:35 +0000 (09:20 +0900)]
Modify dbus user_data from GList * to GList **

The pointer address of the list can be changeable during getting callback.
So GList ** will be used.

Change-Id: Ib1a8dd7d3264ac3054ccafb7b036fa38da6cd9cf
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoRemove unused code 35/151735/2
Jiyong Min [Thu, 21 Sep 2017 23:10:24 +0000 (08:10 +0900)]
Remove unused code

Change-Id: I0513f808a19ef3b6a68595709d56a4f1657b7645
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoCrash issue fix. Fix wrong listener list management and remove empty listener 89/151589/2
Haejeong Kim [Thu, 21 Sep 2017 08:16:37 +0000 (17:16 +0900)]
Crash issue fix. Fix wrong listener list management and remove empty listener

Change-Id: I6fa61669504dfc61690a1c88cc74b7f8a864e30e

7 years agoBreak if find listener 60/151560/1
Haejeong Kim [Thu, 21 Sep 2017 07:36:48 +0000 (16:36 +0900)]
Break if find listener

Change-Id: Ie59381c0364813c6085bbd2453be31c096f30c5e

7 years agoEnhance debug msg to check listener list 52/151552/3
Haejeong Kim [Thu, 21 Sep 2017 07:28:24 +0000 (16:28 +0900)]
Enhance debug msg to check listener list

Change-Id: I166145db5dffb2bd8bb98bef05eeb40d09c45d1c

7 years agoChange strcmp to g_strcmp0 31/151531/1
Haejeong Kim [Thu, 21 Sep 2017 07:02:21 +0000 (16:02 +0900)]
Change strcmp to g_strcmp0

Change-Id: Ib3d05c3b262112e95dbdbe0c3f713e259e761cb2

7 years agoJust update debug msg 68/151468/4
Haejeong Kim [Thu, 21 Sep 2017 03:55:41 +0000 (12:55 +0900)]
Just update debug msg

Change-Id: I70338f5a02dc300278096be679dc947899444f2a

7 years agoError check when make key 23/151423/1
Haejeong Kim [Thu, 21 Sep 2017 01:31:50 +0000 (10:31 +0900)]
Error check when make key

Change-Id: I8a9d6c62c1b8443bae00acf25f10acd67a761568

7 years agoModify the interface naming for D-Bus (Add some prefix before app_id) 45/150545/1 accepted/tizen/unified/20170920.081256 submit/tizen/20170918.224228
Jiyong Min [Wed, 13 Sep 2017 09:48:00 +0000 (18:48 +0900)]
Modify the interface naming for D-Bus (Add some prefix before app_id)

 [Problem]
 Rarely, media-controller return error(-38) for specific web-application.
 - Cause
   If the web application has the app_id begins with number, also an element of D-Bus interface
   begins with number due to the app_id is one of the element.
   But D-Bus does not accept that the element begins with number, so D-Bus return error.
 - Solution
   The prefix has been added before app_id, so all elements of the interface begins with character.

Change-Id: I5ed79375d3494880f92a1b620baadb5303084309
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
(cherry picked from commit 81ad6777b831c8d6e51c026a232e39f989d6b899)

7 years agoRemove \n in dlog msg 20/147820/1 accepted/tizen/unified/20170907.060416 submit/tizen/20170906.051057
Haejeong Kim [Wed, 6 Sep 2017 01:20:48 +0000 (10:20 +0900)]
Remove \n in dlog msg

Change-Id: I580a41493cbf79b7870d84087e9061aa94698399

7 years agoApply tizen coding rule 43/147543/2 accepted/tizen/unified/20170906.060711 submit/tizen/20170905.045152
Haejeong Kim [Tue, 5 Sep 2017 00:55:11 +0000 (09:55 +0900)]
Apply tizen coding rule

Change-Id: Idc66670eb58469fceda725b4cc76a15d8b20146a

7 years agoModify to do chmod() before listening server socket & remove unused user-service... 64/146464/3 accepted/tizen/unified/20170829.140409 submit/tizen/20170829.044633
Jiyong Min [Tue, 29 Aug 2017 03:34:12 +0000 (12:34 +0900)]
Modify to do chmod() before listening server socket & remove unused user-service file
(Rarely application can not access socket because of no permission)

Change-Id: I0e8fb10f5dfd0c1b68e723db9a5a6c3ff4d884de
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoRemove useless sqlite dependency 96/146296/1 accepted/tizen/unified/20170829.053219 submit/tizen/20170828.073653
Haejeong Kim [Mon, 28 Aug 2017 01:46:09 +0000 (10:46 +0900)]
Remove useless sqlite dependency

Change-Id: I05cbbd080fd20c11b3515ffc12183015a13e40c7

7 years agoChange the name of database(fix typo) 51/145051/1 accepted/tizen/unified/20170824.050958 submit/tizen/20170822.081413 submit/tizen/20170823.010640 submit/tizen/20170824.010707
Jiyong Min [Mon, 21 Aug 2017 04:30:49 +0000 (13:30 +0900)]
Change the name of database(fix typo)

Change-Id: If173edb4a1d91adbbcf0fe064db92c82794fa2d1
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoFix to access NULL pointer before it is checked 82/140282/1
Jiyong Min [Mon, 24 Jul 2017 09:51:21 +0000 (18:51 +0900)]
Fix to access NULL pointer before it is checked

Change-Id: I14fe724694dcde45709161de4dc786cb036a909b
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoAdd to check valid server_name 07/138007/3 accepted/tizen/4.0/unified/20170816.011044 accepted/tizen/4.0/unified/20170816.014558 accepted/tizen/4.0/unified/20170828.224011 accepted/tizen/unified/20170712.165003 submit/tizen/20170711.075158 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0/20170828.100002 submit/tizen_4.0_unified/20170814.115522
Jiyong Min [Mon, 10 Jul 2017 23:35:40 +0000 (08:35 +0900)]
Add to check valid server_name

 - If deactivated server_name is used in client applications and it is not null,
  getting apis returned database error and sending apis did not return error.
  It can make a mistake for developers.
  So it is needed to check whether server is activated.

Change-Id: I2c7aa60d534ef6ecec5a33708dfd6305fa9b7501
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years ago[RQ170613-00009] fix invalid format argument types for dlog 09/134309/1 accepted/tizen/unified/20170630.083030 submit/tizen/20170616.053948
Haejeong Kim [Fri, 16 Jun 2017 02:37:23 +0000 (11:37 +0900)]
[RQ170613-00009] fix invalid format argument types for dlog

Change-Id: I70448615e9d2808deab842beaa56f0895eb71398

7 years agoRemove unused code 34/130434/2 accepted/tizen/unified/20170531.082429 submit/tizen/20170523.042515 submit/tizen/20170523.092712
Minje Ahn [Mon, 22 May 2017 09:19:19 +0000 (18:19 +0900)]
Remove unused code

Remove socket path and structure

Change-Id: I164d7537e7b1497ee1e1e450b118c37439f5cb5d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoFix the problem getting wrong server & playback state for latest_server after reboot 96/129596/7
Jiyong Min [Wed, 17 May 2017 06:29:57 +0000 (15:29 +0900)]
Fix the problem getting wrong server & playback state for latest_server after reboot
and change the location of header files

Change-Id: I0a3f41de8d484f334b06709630bfc9dba3c2bc14
Signed-off-by: jiyong min <jiyong.min@samsung.com>
7 years agoChange application name validity checker 48/127048/3 accepted/tizen/unified/20170428.032542 submit/tizen/20170427.042538 tizen_4.0.m1_release
Jiyong Min [Wed, 26 Apr 2017 03:53:31 +0000 (12:53 +0900)]
Change application name validity checker

 [Problem] Can not seperate two similar application name. (ex. music-player & musicxplayer)
 [Solution] The 'APPID_SEP' specific seperator has been added.

Change-Id: I0a906fce8d2d4e8b61e12a264b75dadc842279bb
Signed-off-by: jiyong min <jiyong.min@samsung.com>
7 years agochange strncpy to g_strlcpy 66/126766/1 accepted/tizen/unified/20170426.061707 submit/tizen/20170425.065515
Haejeong Kim [Tue, 25 Apr 2017 05:15:35 +0000 (14:15 +0900)]
change strncpy to g_strlcpy

Change-Id: Ie53b67f8d98a3b94674cffdfcddf18dbd0e47ebb

7 years agoRemove to check valid app_id for original app_id 38/124438/2 accepted/tizen/unified/20170413.164948 submit/tizen/20170413.053950
Jiyong Min [Tue, 11 Apr 2017 09:03:40 +0000 (18:03 +0900)]
Remove to check valid app_id for original app_id

 [Problem]
  If client application checked server_name, it was not same with the app_id of the server application.

 [Solution]
  The dbus does not support special character, so the app_id as interface was modified to valid name for dbus.
 As the result, the modified app_id was not same with original app_id of the server application.
 The interface used by dbus already has been checked before dbus function is called.
 So I remove to check valid app_id and modify it.

Change-Id: I6d120bc7c37c17ac68ed37a788892d3354447697
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoFix memory leak for 'key' value 60/124260/1 accepted/tizen/unified/20170411.164345 submit/tizen/20170411.062346
Jiyong Min [Tue, 11 Apr 2017 04:07:40 +0000 (13:07 +0900)]
Fix memory leak for 'key' value

Change-Id: I9f9dc5d7d472decb122644708beb9e3c29c87597
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoRemove g-variant_get duplicated and so on the dbus signal 29/124229/3
Jiyong Min [Tue, 11 Apr 2017 01:38:15 +0000 (10:38 +0900)]
Remove g-variant_get duplicated and so on the dbus signal

 [Problem] During C# TCT, IPC signal make crash by abnormal memory access.

Change-Id: I4f183aed57c661d2988ffe0d8ac15c73bd4846fb
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoFix Memory leak 12/123812/1 accepted/tizen/unified/20170411.035056 submit/tizen/20170411.005908
Haejeong Kim [Fri, 7 Apr 2017 06:16:25 +0000 (15:16 +0900)]
Fix Memory leak

Change-Id: Ie03687a56cd3f157fed792f46478bd1f5b814ded

7 years agoRemove unused header <sys/stat.h> 97/123097/3 accepted/tizen/unified/20170407.190721 submit/tizen/20170405.040602 submit/tizen/20170407.050424
Jiyong Min [Tue, 4 Apr 2017 11:04:58 +0000 (20:04 +0900)]
Remove unused header <sys/stat.h>

Change-Id: I4f2ed4bacdbb1b0ecd613cf2e5959b898c6c8bbc
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoModify wrong description 29/122529/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170404.142629 accepted/tizen/ivi/20170404.060417 accepted/tizen/mobile/20170404.060331 accepted/tizen/tv/20170404.060342 accepted/tizen/unified/20170404.060435 accepted/tizen/wearable/20170404.060401 submit/tizen/20170404.001327
Jiyong Min [Mon, 3 Apr 2017 02:18:01 +0000 (11:18 +0900)]
Modify wrong description

Change-Id: I3e4401793eaa9b73bada94868ac8345d9ca9b95f
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoJust Apply tizen coding rule 85/121985/1 accepted/tizen/common/20170330.151633 accepted/tizen/ivi/20170330.224602 accepted/tizen/mobile/20170330.224449 accepted/tizen/tv/20170330.224530 accepted/tizen/unified/20170330.224626 accepted/tizen/wearable/20170330.224547 submit/tizen/20170330.015416
Haejeong Kim [Thu, 30 Mar 2017 00:07:39 +0000 (09:07 +0900)]
Just Apply tizen coding rule

Change-Id: Idd89a334756b5d71212586a29af91649be2f5f85

7 years agoUse license macro in spec file 24/120624/2 accepted/tizen/common/20170324.122600 accepted/tizen/ivi/20170324.111211 accepted/tizen/mobile/20170324.110926 accepted/tizen/tv/20170324.110950 accepted/tizen/unified/20170324.111249 accepted/tizen/wearable/20170324.111130 submit/tizen/20170324.044324
Jiyong Min [Thu, 23 Mar 2017 10:24:07 +0000 (19:24 +0900)]
Use license macro in spec file

Change-Id: Ieb99fa3c776098ee24b38f098d7e44deb0f86074
Signed-off-by: jiyong.min <jiyong.min@samsung.com>
7 years agoAdd request queue and code refactoring for media-controller 28/115628/2 accepted/tizen/common/20170309.175456 accepted/tizen/ivi/20170309.072337 accepted/tizen/mobile/20170309.072252 accepted/tizen/tv/20170309.072310 accepted/tizen/unified/20170310.075712 accepted/tizen/wearable/20170309.072322 submit/tizen/20170309.045041 submit/tizen_unified/20170310.011401
Jiyong Min [Mon, 20 Feb 2017 23:47:55 +0000 (08:47 +0900)]
Add request queue and code refactoring for media-controller

 - Add the request queue for thread of media-controller to performance enhancement

 - Add the type of request in message to seperate message in queue

 - Code refactoring
  Using abbreviation for define

Change-Id: Ic6d44e299299a8b47c561d62b5e5e53e753cb8ab
Signed-off-by: jiyong.min <jiyong.min@samsung.com>
7 years agoAdd update script numberring 68/103568/2 accepted/tizen/common/20161209.061441 accepted/tizen/ivi/20161209.010341 accepted/tizen/mobile/20161209.010242 accepted/tizen/tv/20161209.010303 accepted/tizen/unified/20170309.031607 accepted/tizen/wearable/20161209.010318 submit/tizen/20161208.234055 submit/tizen_unified/20170308.100404
Jiyong Min [Thu, 8 Dec 2016 23:31:14 +0000 (08:31 +0900)]
Add update script numberring

Change-Id: Ie41af21230c7b00a58dad65577e8a29a5a3ee887
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoReplace free to g_free for g_strdup_xxx 33/102133/1 accepted/tizen/common/20161208.135228 accepted/tizen/ivi/20161208.013116 accepted/tizen/mobile/20161208.013020 accepted/tizen/tv/20161208.013052 accepted/tizen/wearable/20161208.013103 submit/tizen/20161207.232858
Jiyong Min [Mon, 5 Dec 2016 05:19:32 +0000 (14:19 +0900)]
Replace free to g_free for g_strdup_xxx

Change-Id: I62599633092be948fbcac98352bc3148d4fc3142
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoReplace free to g_free for g_strdup_xxx 08/101108/1
Jiyong Min [Wed, 30 Nov 2016 09:00:15 +0000 (18:00 +0900)]
Replace free to g_free for g_strdup_xxx

Change-Id: Ia59c7ffade7ebb0f5c2b7d1029a8460aa9ecf0e7
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoFix bug reported by static analyzer 75/99475/1 accepted/tizen/common/20161129.173608 accepted/tizen/ivi/20161130.015429 accepted/tizen/mobile/20161130.015209 accepted/tizen/tv/20161130.015254 accepted/tizen/wearable/20161130.015342 submit/tizen/20161129.052917
Jiyong Min [Wed, 23 Nov 2016 04:12:02 +0000 (13:12 +0900)]
Fix bug reported by static analyzer

 - non-terminated C string by memcpy

Change-Id: Ie7a1235aba20872373ee3257c3541b191e8bd53e
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoCode optimization, remove unused header and so on. 52/98852/1 accepted/tizen/common/20161122.192849 accepted/tizen/ivi/20161122.235926 accepted/tizen/mobile/20161122.235719 accepted/tizen/tv/20161122.235801 accepted/tizen/wearable/20161122.235841 submit/tizen/20161122.044017
Jiyong Min [Mon, 21 Nov 2016 04:59:37 +0000 (13:59 +0900)]
Code optimization, remove unused header and so on.

Change-Id: I7fcf00c388a2baeef0ab5606d825580386321b1d
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
8 years agoModify memory allocation 65/96765/1 accepted/tizen/common/20161115.200549 accepted/tizen/ivi/20161115.234259 accepted/tizen/mobile/20161115.233954 accepted/tizen/tv/20161115.234152 accepted/tizen/wearable/20161115.234223 submit/tizen/20161115.062308
Jiyong Min [Thu, 10 Nov 2016 06:06:47 +0000 (15:06 +0900)]
Modify memory allocation

 [Problem] Kona RQ161102-00322

Change-Id: Iea9f5534a2c671837b549e37b567dea6b6999c49
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
8 years agoReplace g_malloc to calloc 85/94285/1 accepted/tizen/common/20161031.121729 accepted/tizen/ivi/20161031.082403 accepted/tizen/mobile/20161031.082332 accepted/tizen/tv/20161031.082341 accepted/tizen/wearable/20161031.082349 submit/tizen/20161031.014738
Jiyong Min [Fri, 28 Oct 2016 04:29:47 +0000 (13:29 +0900)]
Replace g_malloc to calloc

Change-Id: I6afb39fca7a4865cdd41b4748f5ad04aeb529408
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
8 years agoModify wrong description 42/89242/1 accepted/tizen/3.0/ivi/20161011.055345 accepted/tizen/3.0/mobile/20161015.032312 accepted/tizen/3.0/tv/20161016.003440 accepted/tizen/3.0/wearable/20161015.080340 accepted/tizen/common/20160928.163946 accepted/tizen/ivi/20160930.040752 accepted/tizen/mobile/20160930.040431 accepted/tizen/tv/20160930.040603 accepted/tizen/wearable/20160930.040659 submit/tizen/20160928.043825 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000005 submit/tizen_3.0_mobile/20161015.000000 submit/tizen_3.0_tv/20161015.000000 submit/tizen_3.0_wearable/20161015.000000
Jiyong Min [Fri, 23 Sep 2016 01:15:43 +0000 (10:15 +0900)]
Modify wrong description

Change-Id: I9c7210f04161d4323ea76e0de5ec7b5f7b05fe8a
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
8 years agoRemove unnecessary socket in systemd 90/88490/2 accepted/tizen/common/20160920.131858 accepted/tizen/ivi/20160920.052033 accepted/tizen/mobile/20160920.051938 accepted/tizen/tv/20160920.051957 accepted/tizen/wearable/20160920.052014 submit/tizen/20160920.020928
Jiyong Min [Mon, 19 Sep 2016 09:34:05 +0000 (18:34 +0900)]
Remove unnecessary socket in systemd

 - PROBLEM
[DF160820-00274] Kona defect
"Failed to load configuration for mediacontroller-ipc.service: No such file or directory" warning message in systemd .JazzM

[version] 0.1.25
[solution] remove unneccessary socket in systemd

Change-Id: I3fc12ccc74b0f43f8a4b627fcf971b8b1b2dab72
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
8 years agoAdd upgrade scripts 2.4 to 3.0 26/87926/3
Jiyong Min [Mon, 12 Sep 2016 07:02:44 +0000 (16:02 +0900)]
Add upgrade scripts 2.4 to 3.0

Change-Id: Id40bd6b5410e52404b0eb50a8b168848ab5d0ad5
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
8 years agoAdd the description for callback context 39/82339/2 accepted/tizen/common/20160805.130150 accepted/tizen/ivi/20160808.081151 accepted/tizen/mobile/20160808.080809 accepted/tizen/tv/20160808.081000 accepted/tizen/wearable/20160808.081101 submit/tizen/20160805.054353
Jiyong Min [Wed, 3 Aug 2016 03:45:57 +0000 (12:45 +0900)]
Add the description for callback context

Change-Id: I32c6f3202dd611887d2828691ddc2cef8173ba70
Signed-off-by: jiyong min <jiyong.min@samsung.com>
8 years agoSet the SMACK security label to run given executable file in systemd services 41/80841/1 accepted/tizen/common/20160721.175728 accepted/tizen/ivi/20160721.090740 accepted/tizen/mobile/20160721.090440 accepted/tizen/tv/20160721.091300 accepted/tizen/wearable/20160721.091001 submit/tizen/20160721.003054
jooseong lee [Wed, 20 Jul 2016 11:06:53 +0000 (20:06 +0900)]
Set the SMACK security label to run given executable file in systemd services

Change-Id: I94c440384b8fcabe5dc4721c81a67840e701eb24
Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
8 years agoAdd to check null string because of null pointer dereferenced 37/75837/2 accepted/tizen/common/20160622.145823 accepted/tizen/ivi/20160622.094119 accepted/tizen/mobile/20160622.094030 accepted/tizen/tv/20160622.094047 accepted/tizen/wearable/20160622.094107 submit/tizen/20160622.011011
Jiyong Min [Tue, 21 Jun 2016 22:39:17 +0000 (07:39 +0900)]
Add to check null string because of null pointer dereferenced

Change-Id: I9958f6c1ca600462215bb5bd7b40581180bef230
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
8 years agoApply tizen coding rule 84/74484/1 accepted/tizen/common/20160620.162455 accepted/tizen/ivi/20160617.082440 accepted/tizen/mobile/20160617.081914 accepted/tizen/tv/20160617.082026 accepted/tizen/wearable/20160617.082126 submit/tizen/20160616.065630
Jiyong Min [Tue, 14 Jun 2016 10:11:42 +0000 (19:11 +0900)]
Apply tizen coding rule

Change-Id: I246dc867786289295bd7ebc56f1836eb21069794
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>