platform/core/api/media-controller.git
5 years agoRemove checking initial value for 'connection_cnt' 44/232844/4 accepted/tizen_4.0_unified tizen_4.0 accepted/tizen/4.0/unified/20200512.005047 submit/tizen_4.0/20200508.030913
jiyong.min [Fri, 8 May 2020 02:21:41 +0000 (11:21 +0900)]
Remove checking initial value for 'connection_cnt'

  - If starting service was failed, it prevents the service from restarting.

Change-Id: I11e6b24ae5d3fc7f9b2cbc5b1c9b187fbc7363ad

5 years agoRemove check EACCESS and Fix log position to avoid errno change. (errno can be change... 00/212000/2 accepted/tizen/4.0/unified/20190820.015434 submit/tizen_4.0/20190813.071349
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 agoAdd to free 'msg', 'creds', and 'source' due to memory leak issue 22/209322/1 accepted/tizen/4.0/unified/20190705.074235 submit/tizen_4.0/20190705.014149
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 agoAdd to remove and update information for dead application on database 84/208884/1 accepted/tizen/4.0/unified/20190702.072310 submit/tizen_4.0/20190701.070443
jiyong.min [Tue, 12 Feb 2019 00:57:40 +0000 (09:57 +0900)]
Add to remove and update information for dead application on database

Change-Id: I0dfe7eef25ae2552d87dd3dd5a1aeea926071065

5 years agoAdd to notify the updated server_name and server_states to clients 83/208883/1
jiyong.min [Wed, 30 Jan 2019 02:05:59 +0000 (11:05 +0900)]
Add to notify the updated server_name and server_states to clients

Change-Id: I4200d24402c3797ddd252e5d7175208d55ac76ab

5 years agoAdd signal handler for app_dead_signal 82/208882/2
jiyong.min [Fri, 18 Jan 2019 07:30:36 +0000 (16:30 +0900)]
Add signal handler for app_dead_signal

 - When app_dead_signal is raised, remove pid from connected_list
   and decrease connection count

Change-Id: I6deaf323619ef12e1ba9616debdb6ae65fce37a8

5 years agocontroller daemon will save not only pid but also appid when server and client create 81/208881/3
hj kim [Thu, 17 Jan 2019 08:43:08 +0000 (17:43 +0900)]
controller daemon will save not only pid but also appid when server and client create

Change-Id: I0dc3f2645e45e83b285fc8dcd2d326e71f22642a
(cherry picked from commit 3ea5a160e4a68daeafd1db5feb69fc4d00eb1d2e)

6 years agoBug fix of removing all data for command verification 45/202945/1 accepted/tizen/4.0/unified/20190409.091537 submit/tizen_4.0/20190408.060232
hj kim [Fri, 5 Apr 2019 07:23:10 +0000 (16:23 +0900)]
Bug fix of removing all data for command verification

Change-Id: Iafaed5f04ea2dc879a65fc7448966de55d83ee31

6 years agoFix test code crash 95/186295/1 accepted/tizen/4.0/unified/20180809.145732 submit/tizen_4.0/20180809.003941
hj kim [Thu, 9 Aug 2018 00:20:31 +0000 (09:20 +0900)]
Fix test code crash

Change-Id: I23361c014f3042216d03a877d5a857a9e7eab071

6 years agoFix memory leak 13/186213/1 accepted/tizen/4.0/unified/20180808.141405 submit/tizen_4.0/20180808.060727
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 57/185257/1 accepted/tizen/4.0/unified/20180803.172230 submit/tizen_4.0/20180727.055655
hj kim [Fri, 27 Jul 2018 05:53:25 +0000 (14:53 +0900)]
Fix Wformat build error

Change-Id: I93d2faa80bb6014b9c413abda567987ac0a545da

6 years agoAdd missed whitespace before function 28/185028/1 accepted/tizen/4.0/unified/20180803.172110 submit/tizen_4.0/20180726.022654
jiyong.min [Wed, 25 Jul 2018 09:13:09 +0000 (18:13 +0900)]
Add missed whitespace before function

Change-Id: I0e26922013dae83cfe2f926ce445e20a85ced334

6 years ago[ACR-1268]Change APIs profile for the newly added ones. From Common to Mobile only 15/184415/11 accepted/tizen/4.0/unified/20180719.160958 submit/tizen_4.0/20180719.092500
hj kim [Wed, 18 Jul 2018 02:27:25 +0000 (11:27 +0900)]
[ACR-1268]Change APIs profile for the newly added ones. From Common to Mobile only

Change-Id: If84e173763253ebbd16172d5c832c4aa37d2570e

6 years agoJust update doxygen description 88/183988/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 14/183914/1 accepted/tizen/4.0/unified/20180712.235759 submit/tizen_4.0/20180712.083848
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 83/183683/3 accepted/tizen/4.0/unified/20180710.164306 submit/tizen_4.0/20180710.053316
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 80/183480/3 accepted/tizen/4.0/unified/20180706.091449 submit/tizen_4.0/20180706.043935
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 19/182519/18
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

6 years agoCheck parameter condition 44/182944/1 accepted/tizen/4.0/unified/20180702.105530 submit/tizen_4.0/20180629.051746
hj kim [Fri, 29 Jun 2018 05:16:09 +0000 (14:16 +0900)]
Check parameter condition

Change-Id: I4d284a0cf58dc96e7e3faaab0153c66a17db503b

6 years agoUpdate test code 58/182758/2
hj kim [Thu, 28 Jun 2018 00:10:40 +0000 (09:10 +0900)]
Update test code

Change-Id: I7ff69f483a463292f91785622d98176cecc724a8

6 years agoFix Wrong API description 57/182757/1
hj kim [Wed, 27 Jun 2018 23:26:18 +0000 (08:26 +0900)]
Fix Wrong API description

Change-Id: I61ab74964a5148977d260d18dae8965587111a63

6 years agoModify tcp message transfer to service daemon 98/182698/1 accepted/tizen/4.0/unified/20180628.130533 submit/tizen_4.0/20180627.072601
Jiyong Min [Thu, 31 May 2018 01:07:22 +0000 (10:07 +0900)]
Modify tcp message transfer to service daemon

Change-Id: I4d9677bf7044827fddb73cf49314d210c5de71fe

6 years agoJust update version 63/182563/1 accepted/tizen/4.0/unified/20180627.151207 submit/tizen_4.0/20180626.070726
hj kim [Tue, 26 Jun 2018 07:09:13 +0000 (16:09 +0900)]
Just update version

Change-Id: I206909ea858714a85d8ba799c9a31edd789f915f

6 years ago[ACR-1237] Add APIs to support playlist and metadata 32/181932/24
hj kim [Tue, 19 Jun 2018 05:29:30 +0000 (14:29 +0900)]
[ACR-1237] Add APIs to support playlist and metadata

Change-Id: I071564bece115a997eebfc466c6912e8d3f0f6ab

6 years agoBug fix. 'mc_client_foreach_server_subscribed' return incorrectly changed server_name 11/182011/2 accepted/tizen/4.0/unified/20180620.131342 submit/tizen_4.0/20180620.012106
Jiyong Min [Tue, 19 Jun 2018 23:06:13 +0000 (08:06 +0900)]
Bug fix. 'mc_client_foreach_server_subscribed' return incorrectly changed server_name

Change-Id: Iba14d810882197609fd0b4cffe605c5d270078a6

7 years agoAdd the description and fix the typo 98/181598/1
Jiyong Min [Fri, 15 Jun 2018 04:41:45 +0000 (13:41 +0900)]
Add the description and fix the typo

Change-Id: Ic524c747bf1e89e7fbe3940280341b3ac6aac7da

7 years agoAdd new command, reply functions and types 37/180837/6 accepted/tizen/4.0/unified/20180612.131228 submit/tizen_4.0/20180611.010536
Jiyong Min [Mon, 4 Jun 2018 22:25:49 +0000 (07:25 +0900)]
Add new command, reply functions and types

Change-Id: I08ec65bbcd8bbd417e93acc777975c7194cbffd0

7 years ago[ACR-1235][Add] Add to send custom action and to receive reply 65/180765/13
Jiyong Min [Mon, 4 Jun 2018 05:16:21 +0000 (14:16 +0900)]
[ACR-1235][Add] Add to send custom action and to receive reply

Change-Id: I8c2fc695ef2e6b76467ac0f6e3266c069f953ffb

7 years agoChange request_id from int to char 60/180860/3
hj kim [Tue, 5 Jun 2018 04:26:17 +0000 (13:26 +0900)]
Change request_id from int to char

Change-Id: Idd19cc1cf10c14d4c2c0ca2ddae95f92a35ff1d9

7 years ago1.Privilege issue fix. 2.DB Update security issue fix. 3. Add code for managing the... 85/180785/1
hj kim [Mon, 4 Jun 2018 07:27:02 +0000 (16:27 +0900)]
1.Privilege issue fix. 2.DB Update security issue fix. 3. Add code for managing the playlist. 4. doxygen update

Change-Id: I7c123777927133423290c8830bfe2b8b9b40fa86

7 years agorestrict making multiple handles 80/180780/1
hj kim [Fri, 25 May 2018 07:14:06 +0000 (16:14 +0900)]
restrict making multiple handles

Change-Id: I0c9c7bbe2f3c06ae6efc44bb40bcfdd5e6bafc30

7 years agoCode refactoring. remove duplicated code when replace bundle to string 77/180777/1
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

7 years agoAdd code for sending and receiving request id 76/180776/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

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

Change-Id: Ibfc8defee75868d2e41173d0a59168450c2de81b

7 years agoChange __send_command to receive request id 74/180774/1
hj kim [Mon, 14 May 2018 09:45:46 +0000 (18:45 +0900)]
Change __send_command to receive request id

Change-Id: I2994944e0a2ec2d25cf78393d0a9f44201db4513

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

Change-Id: I29cd01bfe5374cca124f8864932415a62092e1bf

7 years agoChange mp_ipc_send_mssage API to get the request id 70/180770/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

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

Change-Id: I9e523282d6510a465da1c79a32b3a0da4e069bac

7 years agoRemove unused dependency of dbus-glib-1 60/174560/1 accepted/tizen/4.0/unified/20180404.063506 submit/tizen_4.0/20180403.043621
hj kim [Tue, 3 Apr 2018 00:16:09 +0000 (09:16 +0900)]
Remove unused dependency of dbus-glib-1

Change-Id: Ibc61f0f2d9284c42c87f317bcdff408c8f2ad0cb

7 years agoFix typo 66/171466/1 accepted/tizen/4.0/unified/20180306.061140 submit/tizen_4.0/20180305.053852
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>
7 years agoFix wrong description for MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED 57/168657/1 accepted/tizen/4.0/unified/20180131.050244 submit/tizen_4.0/20180130.060607
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

7 years agoFix Doxygen mistakes 50/168650/1
hj kim [Wed, 24 Jan 2018 04:57:38 +0000 (13:57 +0900)]
Fix Doxygen mistakes

Change-Id: I772e13cda9cc88cc8041eb3d2af3932c77c95406

7 years agoFix HANDLE_LEAK_SQLITE_STATEMENT issue 02/168402/1 submit/tizen_4.0/20180130.011252
Jiyong Min [Fri, 26 Jan 2018 08:05:43 +0000 (17:05 +0900)]
Fix HANDLE_LEAK_SQLITE_STATEMENT issue

Change-Id: I4c3a50382a3ad035b6081c5911c085fb16cadcc8

7 years agoAdd debug msg and update debug msg 33/165633/1 accepted/tizen/4.0/unified/20180111.043124 submit/tizen_4.0/20180103.024722 tizen_4.0.IoT.p2_release
hj kim [Fri, 29 Dec 2017 06:42:32 +0000 (15:42 +0900)]
Add debug msg and update debug msg

Change-Id: I965f27c09f10f6ac60de4718f6e44f37b60ec735

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

Change-Id: If9b1d3f862535e22a8c03d04001a20d0ea038280

7 years agoFix that getting command did not work for permission denied 08/165208/1 accepted/tizen/4.0/unified/20171228.065044 submit/tizen_4.0/20171228.015101
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>
Conflicts:
svc/media_controller_svc.c

Change-Id: I77c7335519cf70809b8c68c0bf0c7242801124d8

7 years agoMerge branch 'tizen' into tizen_4.0 86/153686/2 accepted/tizen/4.0/unified/20171010.063951 submit/tizen_4.0/20170929.062627 tizen_4.0.IoT.p1_release tizen_4.0.m2_release
Haejeong Kim [Fri, 29 Sep 2017 06:24:19 +0000 (15:24 +0900)]
Merge branch 'tizen' into tizen_4.0

Change-Id: Iecfd13ac9ef6b6bbe539afbd7ad4a6da962edbda

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 ** 22/152022/1 accepted/tizen/4.0/unified/20170925.071705 submit/tizen_4.0/20170922.065440
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 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 agoMerge Tizen 4.0 58/151858/1
Haejeong Kim [Fri, 22 Sep 2017 06:45:56 +0000 (15:45 +0900)]
Merge Tizen 4.0

Change-Id: I3555b1e42fa32c97d8d061da7ba34d1056ec5579

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 agoModify the interface naming for D-Bus (Add some prefix before app_id) 63/149863/4 submit/tizen_4.0/20170914.041548
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>
7 years agoRemove old update script 47/148247/1
Sunmin Lee [Thu, 7 Sep 2017 07:10:05 +0000 (16:10 +0900)]
Remove old update script

RW update script for Tizen 2.4 (to 3.0) is not necessary in Tizen 4.0.
Remove this file to avoid being executed during Tizen 4.0 update.

Change-Id: Ia6e49878acd6a9e35e4865411b712b8a0d103fd9

7 years agoMerge branch 'tizen' into tizen_4.0 13/148113/1 accepted/tizen/4.0/unified/20170907.195835 submit/tizen_4.0/20170907.015257
Haejeong Kim [Thu, 7 Sep 2017 01:15:16 +0000 (10:15 +0900)]
Merge branch 'tizen' into tizen_4.0

Change-Id: I44304b1578f0e2515c90232fc6ad88cfc8fdafc4

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>
8 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

8 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>
8 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>
8 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>
8 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

8 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>
8 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>
8 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>
8 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

8 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>
8 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>
8 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

8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
9 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>
9 years agoReplace getting uid from logind to systemd and remove mult-user define 56/72656/1 accepted/tizen/common/20160603.150903 accepted/tizen/ivi/20160606.121109 accepted/tizen/mobile/20160606.120719 accepted/tizen/tv/20160606.120907 accepted/tizen/wearable/20160606.121033 submit/tizen/20160603.021103 submit/tizen/20160603.061849
Jiyong Min [Thu, 2 Jun 2016 04:20:43 +0000 (13:20 +0900)]
Replace getting uid from logind to systemd and remove mult-user define

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