platform/core/multimedia/media-server.git
7 years agoMerge "Remove unused code" into tizen accepted/tizen/unified/20170419.053017 submit/tizen/20170418.052054
hj kim [Tue, 18 Apr 2017 05:20:26 +0000 (22:20 -0700)]
Merge "Remove unused code" into tizen

7 years agoRemove unused code 89/125589/1
Minje Ahn [Tue, 18 Apr 2017 05:15:32 +0000 (14:15 +0900)]
Remove unused code

Change-Id: I8f4c5618dfa8dd185f15bab09dd0da197487f7b0
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoJust change color of log 88/125588/1
Haejeong Kim [Tue, 18 Apr 2017 05:10:08 +0000 (14:10 +0900)]
Just change color of log

Change-Id: I0df2f7d0418d4c4f207f3ee360a8b373e4959b0e

7 years agoApply Tizen Coding Rule 17/125317/1 accepted/tizen/unified/20170417.083020 submit/tizen/20170417.011124
Haejeong Kim [Mon, 17 Apr 2017 01:04:29 +0000 (10:04 +0900)]
Apply Tizen Coding Rule

Change-Id: I9e3089bc1ae03874dead6231ebeb6c44eb73e30b

7 years agoSvace issue fix 90/124990/1
Haejeong Kim [Thu, 13 Apr 2017 08:42:56 +0000 (17:42 +0900)]
Svace issue fix

Change-Id: I8c1cd11a180f641adf703d0afe6cd83701aecb6c

7 years agoSvace issue fix regarding socket 59/124959/1
Haejeong Kim [Thu, 13 Apr 2017 07:12:56 +0000 (16:12 +0900)]
Svace issue fix regarding socket

Change-Id: Ic7d36d9e23793d36886888caf059ad83c6a95954

7 years agoSvace issue fix. change strncpy to g_strlcpy 51/124951/2
Haejeong Kim [Thu, 13 Apr 2017 06:47:14 +0000 (15:47 +0900)]
Svace issue fix. change strncpy to g_strlcpy

Change-Id: I03e087bb28c392f13d867c271bb574acd9edffee

7 years agoCheck error of making thumbnail and modify message type sent to thumbnail server 60/123660/3 accepted/tizen/unified/20170410.155753 submit/tizen/20170410.043321
Jiyong Min [Thu, 6 Apr 2017 10:22:42 +0000 (19:22 +0900)]
Check error of making thumbnail and modify message type sent to thumbnail server
1. Check error message of creating thumbnail pass throug media-server
2. Add enum of the message type between media-server and thumbnail-server
3. Replace hardcoded message type to enum

Change-Id: I0482403b04674402e79bb9f50554fd45769c9a4d
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoAdd define _FILE_OFFSET_BITS=64 for stat 63/123063/2 submit/tizen/20170405.040602
Jiyong Min [Tue, 4 Apr 2017 09:18:35 +0000 (18:18 +0900)]
Add define _FILE_OFFSET_BITS=64 for stat

 [problem] stat return OVERFLOW error because filesize is over 2^31 in 32-bit platform
 - Should define _FILE_OFFSET_BITS=64 to support large filesize in 32-bit platform

Change-Id: Ib915f7e82e64867acc19d828884c8c77881c7596
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoJust Apply Tizen coding rule 77/121877/4 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170330.151648 accepted/tizen/ivi/20170330.224606 accepted/tizen/mobile/20170330.224503 accepted/tizen/tv/20170330.224534 accepted/tizen/unified/20170330.224630 accepted/tizen/wearable/20170330.224551 submit/tizen/20170330.015416
Haejeong Kim [Wed, 29 Mar 2017 08:50:46 +0000 (17:50 +0900)]
Just Apply Tizen coding rule

Change-Id: I4d23ff6a2759524f809785ac1643f6e4ed882f1f

7 years agoFix SVACE Issues and apply tizen coding rule 37/121837/4
Haejeong Kim [Wed, 29 Mar 2017 07:14:05 +0000 (16:14 +0900)]
Fix SVACE Issues and apply tizen coding rule

Change-Id: Ifb12bda2b5733836ff4a9cb5e088fca2f738cb4e

7 years agoreplace media.db to new one. bookmark name added. user_version is 6 51/121751/1
Haejeong Kim [Tue, 28 Mar 2017 23:54:30 +0000 (08:54 +0900)]
replace media.db to new one. bookmark name added. user_version is 6

Change-Id: I6c188216f8a65b0a99b4d0cc1516348351daaa50

7 years agohigh CPU ocuppation of media-scanner after umount USB 11/115711/1
chen89.chen [Tue, 21 Feb 2017 06:24:58 +0000 (14:24 +0800)]
high CPU ocuppation of media-scanner after umount USB
Change-Id: I684ede999e44a013d01916f340d68dc94e2e0f6f

7 years agohigh CPU ocuppation of media-scanner after umount USB 52/115652/1
chen89.chen [Tue, 21 Feb 2017 03:58:50 +0000 (11:58 +0800)]
high CPU ocuppation of media-scanner after umount USB
Change-Id: Ibaf874dfdaa819c4bf51ac34b041eb0ef1fbca6a

7 years agoModify restart option 39/115539/1 accepted/tizen/common/20170221.135028 accepted/tizen/ivi/20170221.225842 accepted/tizen/mobile/20170221.225749 accepted/tizen/tv/20170221.225814 accepted/tizen/unified/20170309.033242 accepted/tizen/wearable/20170221.225822 submit/tizen/20170221.022254 submit/tizen_unified/20170308.100408
Minje Ahn [Mon, 20 Feb 2017 08:46:01 +0000 (17:46 +0900)]
Modify restart option

Always to on-failure

Change-Id: I5a58d6b6d14ec27dd11747e8b2afcc1e8922ec21
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove unused code 31/109931/2 accepted/tizen/common/20170116.181408 accepted/tizen/ivi/20170116.085706 accepted/tizen/mobile/20170116.085613 accepted/tizen/tv/20170116.085627 accepted/tizen/wearable/20170116.085647 submit/tizen/20170116.003619
Minje Ahn [Thu, 12 Jan 2017 08:15:08 +0000 (17:15 +0900)]
Remove unused code

Delete protocol enum, and unused parameters

Change-Id: Ifb19c9d49881622a6321e8459032dd2567afdd9f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove unused code 27/109927/1
Minje Ahn [Thu, 12 Jan 2017 08:05:11 +0000 (17:05 +0900)]
Remove unused code

Delete unused function in media-util
Delete UDP related code

Change-Id: I910cd4cae2f7cbb95cad4918c6b17992d6366e50
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoSync with tizen_3.0 branch 20/108820/6 accepted/tizen/common/20170109.202358 accepted/tizen/ivi/20170109.084249 accepted/tizen/mobile/20170109.084155 accepted/tizen/tv/20170109.084214 accepted/tizen/wearable/20170109.084233 submit/tizen/20170108.233237
Minje Ahn [Fri, 6 Jan 2017 02:09:16 +0000 (11:09 +0900)]
Sync with tizen_3.0 branch

Change-Id: I9b59fef7d773668b03420a32a6564eaf09c2a5b4
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoModify shutdown time of scanner daemon 38/107938/2
Minje Ahn [Mon, 2 Jan 2017 03:44:15 +0000 (12:44 +0900)]
Modify shutdown time of scanner daemon

Modify shutdown time of the scanner daemon from 30 sec to 60 sec to fix TC issues

Change-Id: I14c3eb12ba973c24c648fd619f8464d05e4292ea
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agofix SVACE issue 64/106064/1
Yong Yeon Kim [Sat, 17 Dec 2016 11:45:26 +0000 (20:45 +0900)]
fix SVACE issue

Change-Id: I2dc0d9de67b9a4464a9ebf6cb13902f381c3e8dc
(cherry picked from commit 2973ae3a89395e616f254f4787289e3342b7a3fc)

7 years agoApply new request from data disc 38/105638/5
Yong Yeon Kim [Fri, 16 Dec 2016 10:17:31 +0000 (19:17 +0900)]
Apply new request from data disc

Change-Id: I53140bd259a0dd89c265df8049f757a7df9af554
(cherry picked from commit 852e2791cc4ee5714a122154a0a99be4a9e73e30)

7 years agoRemove storage dependency 70/104770/1 accepted/tizen/common/20161216.124422 accepted/tizen/ivi/20161216.083023 accepted/tizen/mobile/20161216.082939 accepted/tizen/tv/20161216.082954 accepted/tizen/wearable/20161216.083008 submit/tizen/20161216.040950
Minje Ahn [Wed, 14 Dec 2016 08:33:41 +0000 (17:33 +0900)]
Remove storage dependency

Change-Id: I740fcc648ae294c3d69d9cdfc1050b15e3e984bf
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoAdd parameter for getting user path 55/104555/1
Minje Ahn [Tue, 13 Dec 2016 11:35:31 +0000 (20:35 +0900)]
Add parameter for getting user path

Change-Id: Ib6123c3da08dc307abfd46792cc1bf0b94fdc177
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoAdd checker for checking when receive invalid storage uuid 43/104243/1 accepted/tizen/common/20161214.160352 accepted/tizen/ivi/20161214.015255 accepted/tizen/mobile/20161214.014702 accepted/tizen/tv/20161214.015034 accepted/tizen/wearable/20161214.015218 submit/tizen/20161213.083228
Minje Ahn [Tue, 13 Dec 2016 01:57:41 +0000 (10:57 +0900)]
Add checker for checking when receive invalid storage uuid

Change-Id: Ica8f535d8e618176763736b891bf9a6a14a888d7
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoadd new condition for checking user ID 63/103963/1
Yong Yeon Kim [Mon, 12 Dec 2016 02:23:26 +0000 (11:23 +0900)]
add new condition for checking user ID

Change-Id: I24f9465644b946079d9f2a769fc5c0142e02d00b
(cherry picked from commit 3a6dcecea9fd4513ae731a43199c53dc8d149a94)

7 years agoFix noti code when media-server request noti 21/103621/1
Minje Ahn [Fri, 9 Dec 2016 03:21:32 +0000 (12:21 +0900)]
Fix noti code when media-server request noti

Change-Id: I9e64e8756c02f23a46950e764a1f126d1761b2ea
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoAdd update script numberring 49/102749/2 accepted/tizen/common/20161208.135257 accepted/tizen/ivi/20161208.013122 accepted/tizen/mobile/20161208.013035 accepted/tizen/tv/20161208.013058 accepted/tizen/wearable/20161208.013110 submit/tizen/20161207.232858
Jiyong Min [Tue, 6 Dec 2016 11:12:26 +0000 (20:12 +0900)]
Add update script numberring

Change-Id: Icefd3191d1de3eb82f93cfb2fbc801a495c3e470
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoRemove Profile Build Dependency (2/2): mobile service extension 86/101186/3
MyungJoo Ham [Wed, 30 Nov 2016 11:04:59 +0000 (20:04 +0900)]
Remove Profile Build Dependency (2/2): mobile service extension

- This is for Tizen 4.0.

  : Tizen 4.0 Configurability and Build Blocks require
  to remove all profile-depending build options in spec files.
  (No More profile macros)

- Maintainers need to create JIRA-TRE issue when SR-ing this:

  - Add media-server-profile_mobile for mobile profile.
  (mobile profile has different set of service scripts.)

Change-Id: Ia2c2df6f6fa47b53786a28bbbb1ab64db8088e3a
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRemove Profile Build Dependency (1/2): do it at runtime 75/101175/5
MyungJoo Ham [Wed, 30 Nov 2016 10:40:16 +0000 (19:40 +0900)]
Remove Profile Build Dependency (1/2): do it at runtime

- This is for Tizen 4.0.

  : Tizen 4.0 Configurability and Build Blocks require
  to remove all profile-depending build options in spec files.
  (No More profile macros)

- It is recommended to distinguish features/profiles at runtime.
 unless it incurs too much overhead, which requires you to
 create multiple binaries and subpackages.

Change-Id: I015b2f10cb6bd3cb84a9c0435202bc59004e752c
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoFix code to change the path from system session to user session in db noti 57/102057/2
Minje Ahn [Mon, 5 Dec 2016 01:23:11 +0000 (10:23 +0900)]
Fix code to change the path from system session to user session in db noti

Change-Id: I9ed24804d03e25364e1f7b4e4ab675922f67a3ef
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agofix the issue power off media-server deadlock 91/101791/1
beibei.zhao [Fri, 2 Dec 2016 06:43:20 +0000 (14:43 +0800)]
fix the issue power off media-server deadlock

Change-Id: I93cb5063b80254b0ac6534dfc9dc31c77a74f93b

7 years agoimprove callback of data disc 86/101486/1
Yong Yeon Kim [Wed, 30 Nov 2016 09:02:41 +0000 (18:02 +0900)]
improve callback of data disc

Change-Id: I9a7d0e0c8f4840b479c74157ad050cc2087f6162
(cherry picked from commit d1f468d850bb7df65e942628aa138278acf33226)

7 years agoFix svace issue(update) 64/101364/2
Minje Ahn [Thu, 1 Dec 2016 04:28:21 +0000 (13:28 +0900)]
Fix svace issue(update)

Change-Id: If33e2bb60e76385d82896c56c1f4a357ecd2f2b1
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoAdd NULL checker for message structure 25/100725/1 accepted/tizen/common/20161129.173600 accepted/tizen/ivi/20161130.015426 accepted/tizen/mobile/20161130.015206 accepted/tizen/tv/20161130.015251 accepted/tizen/wearable/20161130.015340 submit/tizen/20161129.052917
Minje Ahn [Tue, 29 Nov 2016 05:14:54 +0000 (14:14 +0900)]
Add NULL checker for message structure

Change-Id: Ibe53cd126b594c01095e7a8f723e151f84554c7e
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoMerge "adjuct level of dlog messages" into tizen
Jiyong Min [Tue, 29 Nov 2016 04:32:00 +0000 (20:32 -0800)]
Merge "adjuct level of dlog messages" into tizen

7 years agoPrevent double free socket on error states 83/100683/1
Jiyong Min [Tue, 29 Nov 2016 02:41:22 +0000 (11:41 +0900)]
Prevent double free socket on error states

Change-Id: Iea355560843e4a64670f96e80011aad71478c653
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoadjuct level of dlog messages 67/99467/2
Yong Yeon Kim [Wed, 23 Nov 2016 03:31:18 +0000 (12:31 +0900)]
adjuct level of dlog messages

Change-Id: Id1e142a1c409e87f61b48c7dd0b6c66a6a790292

7 years agoFix logic when request storage_id is empty string 14/99414/1
Minje Ahn [Wed, 23 Nov 2016 00:13:04 +0000 (09:13 +0900)]
Fix logic when request storage_id is empty string

Change-Id: Ifb5f38285ab5bd11f1d400cb55c843caa599e7d8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove duplicated dlopen by other platform 79/98279/2 accepted/tizen/common/20161122.192824 accepted/tizen/ivi/20161122.235920 accepted/tizen/mobile/20161122.235713 accepted/tizen/tv/20161122.235756 accepted/tizen/wearable/20161122.235837 submit/tizen/20161122.044017
Jiyong Min [Thu, 17 Nov 2016 01:37:58 +0000 (10:37 +0900)]
Remove duplicated dlopen by other platform
(Replace hard-coded path to the path which is got at compile)

 - unit test(32bit/64bit): Pass

 [version] 0.3.15

Change-Id: I24c83af86904ada22e36bed96de771e8c7f27969
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoadd new path for the disc 27/98227/5
Yong Yeon Kim [Wed, 16 Nov 2016 12:35:17 +0000 (21:35 +0900)]
add new path for the disc

Change-Id: I1a79a24f99d8c3aa105cb3d0970d65e3ec5fa162

7 years agoRemove source when get the invalid message 19/97719/1
Minje Ahn [Tue, 15 Nov 2016 04:34:39 +0000 (13:34 +0900)]
Remove source when get the invalid message

Change-Id: I7647b18cd87545ac9d001fcebbd875ff263526e7
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agofix memory leak 07/97307/1 accepted/tizen/common/20161115.200731 accepted/tizen/ivi/20161115.234318 accepted/tizen/mobile/20161115.234108 accepted/tizen/tv/20161115.234209 accepted/tizen/wearable/20161115.234241 submit/tizen/20161115.062308
Yong Yeon Kim [Mon, 14 Nov 2016 00:49:57 +0000 (09:49 +0900)]
fix memory leak

Change-Id: I828ab14b754aac3d878b6e966b71cd9fec831024

7 years ago1. fix crash of mediadb-update 51/96451/1
Yong Yeon Kim [Wed, 9 Nov 2016 05:10:31 +0000 (14:10 +0900)]
1. fix crash of mediadb-update
2. Do not installed unnecessay files in TV binary

Change-Id: I8180ba50e4d3a8f6b00ef2627ca27035fcb86a0e

7 years agofix bug : sometimes media scanner can not excute 57/96057/5 accepted/tizen/common/20161109.140243 accepted/tizen/ivi/20161109.002829 accepted/tizen/mobile/20161109.002503 accepted/tizen/tv/20161109.002655 accepted/tizen/wearable/20161109.002746 submit/tizen/20161108.054351
Yong Yeon Kim [Mon, 7 Nov 2016 12:41:02 +0000 (21:41 +0900)]
fix bug : sometimes media scanner can not excute
cause by waiting mutex lock in the dlog message after fork

Change-Id: I163040d9274cb34ca1c0158c64f88f28b819057c

7 years agoMerge "when db size max then 10M, sometimes it will have no content found issue"...
Yong Yeon Kim [Mon, 7 Nov 2016 05:19:55 +0000 (21:19 -0800)]
Merge "when db size max then 10M, sometimes it will have no content found issue" into tizen

7 years agoreduce log messages 59/95859/1
Yong Yeon Kim [Mon, 7 Nov 2016 03:45:05 +0000 (12:45 +0900)]
reduce log messages

Change-Id: I8d833bfc1262d597ef013d3d209873143401f1dd

7 years agowhen db size max then 10M, sometimes it will have no content found issue 79/95679/1
beibei.zhao [Fri, 4 Nov 2016 07:30:45 +0000 (15:30 +0800)]
when db size max then 10M, sometimes it will have no content found issue

Change-Id: Ibcc447463a544bdd8bac2c2c7540f655cc59e8ec

7 years ago1. fix memory leak from previos change 43/95643/2
Yong Yeon Kim [Fri, 4 Nov 2016 06:07:40 +0000 (15:07 +0900)]
1. fix memory leak from previos change
2. change thread unsafe fuctions
    getgrnam -> getgrnam_r
    getpwuid -> getpwuid_r

Change-Id: Ib7345aae7bf4b5ddea32dc35cd7f0c6914152327

7 years agoremove duplicated code 72/95572/1
Yong Yeon Kim [Fri, 4 Nov 2016 01:52:49 +0000 (10:52 +0900)]
remove duplicated code

Change-Id: Iddd4f366a20ef79f967773cf6f08616579dbea55

7 years ago1. remove unusing code 30/95530/2
Yong Yeon Kim [Thu, 3 Nov 2016 12:39:01 +0000 (21:39 +0900)]
1. remove unusing code
2. change the position of reqest to scan senior mode

Change-Id: I1b654dcba09d50be81f43b6331a7a3345acc3560

7 years agofix bug : creating buxton key at making image phase 80/95480/1
Yong Yeon Kim [Thu, 3 Nov 2016 10:18:17 +0000 (19:18 +0900)]
fix bug : creating buxton key at making image phase

Change-Id: I41340512011f10fc350d71d541b0e7a2415210dd

7 years agorefine media-scanner-v2, when a folder scan done, insert items into db immediately 30/94830/2 accepted/tizen/common/20161103.155821 accepted/tizen/ivi/20161103.230335 accepted/tizen/mobile/20161103.230242 accepted/tizen/tv/20161103.230255 accepted/tizen/wearable/20161103.230315 submit/tizen/20161103.004541
beibei.zhao [Tue, 1 Nov 2016 10:25:02 +0000 (18:25 +0800)]
refine media-scanner-v2, when a folder scan done, insert items into db immediately

Change-Id: Icc8fe5383e44925db403dea9df7e7bba5021f0b6

7 years agoCode refactoring (Getting user session path) 64/94164/1 accepted/tizen/common/20161031.121738 accepted/tizen/ivi/20161031.082407 accepted/tizen/mobile/20161031.082335 accepted/tizen/tv/20161031.082344 accepted/tizen/wearable/20161031.082352 submit/tizen/20161031.014738
Minje Ahn [Thu, 27 Oct 2016 08:07:39 +0000 (17:07 +0900)]
Code refactoring (Getting user session path)

Change-Id: Ia409b169b99caa7d48867ded7915d5af00480c08
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agouse getpwuid_r getgrnam_r to guarantee thread safety 00/93700/1
chen89.chen [Tue, 25 Oct 2016 10:27:21 +0000 (18:27 +0800)]
use getpwuid_r getgrnam_r to guarantee thread safety

Change-Id: I723f2becdbec8e6c9f8d27d99a8074f2ff0c14ac

7 years agoUse of vulnerable function 'getpwuid' getpwuid makes no guaranteee of thread safety... 87/93687/1
chen89.chen [Tue, 25 Oct 2016 09:49:11 +0000 (17:49 +0800)]
Use of vulnerable function 'getpwuid' getpwuid makes no guaranteee of thread safety. Use getpwuid_r function instead.

Change-Id: I47cc2148257c75612dd402bd33aa9a5311be344b

7 years agoAdd functions for setting VIP process on the product TV binary 89/93489/2 accepted/tizen/common/20161025.155132 submit/tizen/20161025.104308 submit/tizen_3.0_common/20161104.104000
Yong Yeon Kim [Mon, 24 Oct 2016 12:29:23 +0000 (21:29 +0900)]
Add functions for setting VIP process on the product TV binary

Change-Id: I38dbb8729104b12ce02f216128d38a0b8490eef1

7 years agoModify the exception handling method when read fails. 77/93377/1
Minje Ahn [Mon, 24 Oct 2016 04:35:29 +0000 (13:35 +0900)]
Modify the exception handling method when read fails.

Change-Id: Ib6037f31bb7f6eb4c2e1aa6b1fd1a0aff16bef46
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoSeparate content folder name 36/92236/2 accepted/tizen/3.0/ivi/20161028.133923 accepted/tizen/3.0/mobile/20161028.133029 accepted/tizen/3.0/tv/20161028.133345 accepted/tizen/3.0/wearable/20161028.133655 accepted/tizen/common/20161019.145747 accepted/tizen/ivi/20161019.141549 accepted/tizen/mobile/20161019.141409 accepted/tizen/tv/20161019.141455 accepted/tizen/wearable/20161019.141525 submit/tizen/20161019.084351 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082423
Minje Ahn [Fri, 14 Oct 2016 05:50:34 +0000 (14:50 +0900)]
Separate content folder name

Change-Id: Ic76cb4aa9696a23a6224031f6f85ac5721494696
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agofix the issue __media_get_media_DB failed 83/92083/1
beibei.zhao [Thu, 13 Oct 2016 06:52:14 +0000 (14:52 +0800)]
fix the issue __media_get_media_DB failed

Change-Id: Ia4777e329112d63305f899bb1e0175c563341529

7 years agoModify path when tv profile 63/91563/2 accepted/tizen/common/20161012.154154 accepted/tizen/ivi/20161013.005633 accepted/tizen/mobile/20161013.005548 accepted/tizen/tv/20161013.005604 accepted/tizen/wearable/20161013.005614 submit/tizen/20161012.010406
Minje Ahn [Mon, 10 Oct 2016 07:56:42 +0000 (16:56 +0900)]
Modify path when tv profile

Change-Id: Ib6b7b490a7b7cdb1bc4c648c4e43d51970256448
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoChange content folder name 59/88859/1 accepted/tizen/3.0/ivi/20161011.055436 accepted/tizen/3.0/mobile/20161015.033647 accepted/tizen/3.0/tv/20161016.005254 accepted/tizen/3.0/wearable/20161015.083728 accepted/tizen/common/20160921.162052 accepted/tizen/ivi/20160921.081357 accepted/tizen/mobile/20160921.081424 accepted/tizen/tv/20160921.081351 accepted/tizen/wearable/20160921.081408 submit/tizen/20160921.035629 submit/tizen_3.0_ivi/20161010.000005 submit/tizen_3.0_mobile/20161015.000004 submit/tizen_3.0_tv/20161015.000004 submit/tizen_3.0_wearable/20161015.000004
Jiyong Min [Wed, 21 Sep 2016 03:28:36 +0000 (12:28 +0900)]
Change content folder name

Change-Id: Icda73d5f0313435a0d56d54177b643e9c8820093
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoChange content folder name 43/88843/1
Minje Ahn [Wed, 21 Sep 2016 02:13:43 +0000 (11:13 +0900)]
Change content folder name

Change-Id: I009c0c95a67bc4171e7047d5573a91494a3efbac
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoAdd upgrade scripts 2.4 to 3.0 20/88420/2
Jiyong Min [Mon, 19 Sep 2016 02:18:52 +0000 (11:18 +0900)]
Add upgrade scripts 2.4 to 3.0

Change-Id: Id2b99c00546a7f9950a39d5131c93e5c93084634
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoCode refactoring 80/87880/2
Minje Ahn [Mon, 12 Sep 2016 03:59:04 +0000 (12:59 +0900)]
Code refactoring

Change-Id: Icf0907805811ee326bdaca7590c0cea9efe76b74
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoSupport noti for old path 79/87679/1 accepted/tizen/common/20160919.070505 accepted/tizen/ivi/20160920.051302 accepted/tizen/mobile/20160920.051149 accepted/tizen/tv/20160920.051214 accepted/tizen/wearable/20160920.051239 submit/tizen/20160919.012004
Minje Ahn [Fri, 9 Sep 2016 05:59:18 +0000 (14:59 +0900)]
Support noti for old path

Change-Id: I0d75913983fc109124c1c5d8240dca87c4b20f19
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoFix null pointer dereferenced for __ms_find_user 36/87236/1 accepted/tizen/common/20160907.154652 accepted/tizen/ivi/20160908.044157 accepted/tizen/mobile/20160908.043356 accepted/tizen/tv/20160908.043940 accepted/tizen/wearable/20160908.044048 submit/tizen/20160907.074000
Jiyong Min [Wed, 7 Sep 2016 06:12:43 +0000 (15:12 +0900)]
Fix null pointer dereferenced for __ms_find_user

Change-Id: I14b4a13351913a12c42e4794cc40ff29cc2f7a07
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoAdd restore_fcommon macro with Asan extra-pack 22/86822/1
Jiyong Min [Mon, 5 Sep 2016 05:27:48 +0000 (14:27 +0900)]
Add restore_fcommon macro with Asan extra-pack

 - PROBLEM
When media-server was built with "--extra-packs asan-force-option", build is not available

[Solution] The "resotore_fcommon" macro is needed

Change-Id: I5d3f4a696f093ba1c4042d5669110bd9c5ea8166
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoAdd scanning when checking mmc 83/86783/1
Minje Ahn [Mon, 5 Sep 2016 01:26:49 +0000 (10:26 +0900)]
Add scanning when checking mmc

Change-Id: I83a88169200de45fc0f270c3666c60201355394e
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove media-server memory limit 37/86537/1
Minje Ahn [Thu, 1 Sep 2016 23:23:55 +0000 (08:23 +0900)]
Remove media-server memory limit

Change-Id: Iff73b438a6214942522148dc877a2605c789a965
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRename power_off2 in media-scanner-common_v2.c 35/86235/1
Jiyong Min [Wed, 31 Aug 2016 06:07:36 +0000 (15:07 +0900)]
Rename power_off2 in media-scanner-common_v2.c

 - PROBLEM
power_off2 because same named variable is already defined in media-scanner-scan_v2.c
So it will make build error without "-fcommon" build option.
The "-fcommon" build option will be removed from toolchain because of Asan memory analyzer tools.

Change-Id: Icb67569d306af162617758f3b640588aefc964b3
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoMerge "Fix some code related mutex" into tizen accepted/tizen/common/20160831.162035 accepted/tizen/ivi/20160901.065250 accepted/tizen/mobile/20160901.065028 accepted/tizen/tv/20160901.065128 accepted/tizen/wearable/20160901.065231 submit/tizen/20160831.052250
Jiyong Min [Wed, 31 Aug 2016 05:26:17 +0000 (22:26 -0700)]
Merge "Fix some code related mutex" into tizen

7 years agoFix some code related mutex 06/86206/1
Minje Ahn [Wed, 31 Aug 2016 05:23:16 +0000 (14:23 +0900)]
Fix some code related mutex

Change-Id: I699ca1c675254fd3c8a99c33962653d904506fe8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRevert "Add "-fcommon" build option from global build option to local build option" 04/86204/1
Jiyong Min [Wed, 31 Aug 2016 05:23:04 +0000 (22:23 -0700)]
Revert "Add "-fcommon" build option from global build option to local build option"

This reverts commit 7237a4a2bc7397ec0dfe3f7c8760b0c836681c92.

Change-Id: Ia104d83a2f092e5846226702cc215a2392f4f282

7 years agoAdd "-fcommon" build option from global build option to local build option 94/86194/1
Jiyong Min [Wed, 31 Aug 2016 04:46:13 +0000 (13:46 +0900)]
Add "-fcommon" build option from global build option to local build option

Change-Id: I38eeddb558ef27e5e6eec5c4f31e6c37c49c5d46
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoFix mediastorage root path 15/86015/1
Minje Ahn [Tue, 30 Aug 2016 06:50:17 +0000 (15:50 +0900)]
Fix mediastorage root path

Change-Id: Ibd74e40d48ff036857b2dfe67960a8a08a981fb0
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoFix bug : wrong received message size 39/85639/1
Minje Ahn [Fri, 26 Aug 2016 08:16:33 +0000 (17:16 +0900)]
Fix bug : wrong received message size

Change-Id: I15a720c727f995e03d05a59834cb25576d1a356b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoFix bug : fail to read directory 57/85457/2
Minje Ahn [Thu, 25 Aug 2016 07:34:13 +0000 (16:34 +0900)]
Fix bug : fail to read directory

Change-Id: Ib670f2d662982bfe1646e2d8b3e1a773f7313533
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoAdd media-server.path for lazy mount issue 10/85110/3 accepted/tizen/common/20160825.152046 accepted/tizen/ivi/20160829.040427 accepted/tizen/mobile/20160829.040333 accepted/tizen/tv/20160829.040345 accepted/tizen/wearable/20160829.040407 submit/tizen/20160825.094741 submit/tizen/20160826.022147 submit/tizen/20160826.052212
Jiyong Min [Wed, 24 Aug 2016 00:46:30 +0000 (09:46 +0900)]
Add media-server.path for lazy mount issue

Change-Id: I369363077d721211b8e5a7cc7373517029cfa998
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoFix syscall error(change linux_dirent) 10/85010/1
Minje Ahn [Tue, 23 Aug 2016 08:45:00 +0000 (17:45 +0900)]
Fix syscall error(change linux_dirent)

Change-Id: Ieffae42b6a9fa349489ce18ddfc1cee11ab9a9b8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoAdd option for lazy mount patch 86/84486/2 accepted/tizen/common/20160822.132724 accepted/tizen/ivi/20160823.041255 accepted/tizen/mobile/20160823.041119 accepted/tizen/tv/20160823.041203 accepted/tizen/wearable/20160823.041232 submit/tizen/20160822.012953 submit/tizen/20160822.045932
Minje Ahn [Fri, 19 Aug 2016 03:29:27 +0000 (12:29 +0900)]
Add option for lazy mount patch

Change-Id: I9537d05d88e24fa037f5b56f79b2e9f2660754d0
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove ini parser 92/84292/1 accepted/tizen/common/20160818.144354 accepted/tizen/ivi/20160818.231824 accepted/tizen/mobile/20160818.231649 accepted/tizen/tv/20160818.231755 accepted/tizen/wearable/20160818.231710 submit/tizen/20160818.052348
Minje Ahn [Thu, 18 Aug 2016 02:02:33 +0000 (11:02 +0900)]
Remove ini parser

Change-Id: Iec6e04b816dbdd0befebeff81abe8eaceaeac8ee
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoFix some code 85/84285/1
Minje Ahn [Thu, 18 Aug 2016 01:22:34 +0000 (10:22 +0900)]
Fix some code

Change-Id: I805f88376ef719f67afcc9c11dc8b542e4d256ae
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoChange file name 84/84284/1
Minje Ahn [Thu, 18 Aug 2016 01:17:39 +0000 (10:17 +0900)]
Change file name

Change-Id: Ieff76ef7709579ae78d19cf2d992b768d61168ac
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoModify setGUID options 71/83971/1
Minje Ahn [Tue, 16 Aug 2016 05:18:36 +0000 (14:18 +0900)]
Modify setGUID options

Change-Id: I89c3486169d8a684fa10541a39a45998ee29cdc8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoChange SYS_getdents to SYS_getdents64(support 64bit) 30/83930/1
Minje Ahn [Tue, 16 Aug 2016 00:00:22 +0000 (09:00 +0900)]
Change SYS_getdents to SYS_getdents64(support 64bit)

Change-Id: Ifefa6757ba46c969fb872996e69e6f4c806850c7
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoUpdate scanner-v2, Fix some bug, and code refactoring 91/83191/1 submit/tizen/20160812.084807
Minje Ahn [Tue, 9 Aug 2016 10:21:03 +0000 (19:21 +0900)]
Update scanner-v2, Fix some bug, and code refactoring

Change-Id: I21856399cf1406b1e6b77f5f9dd2c9f14c024f0e
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoModify some code about deviced signal 29/82529/1 accepted/tizen/common/20160811.145530 accepted/tizen/ivi/20160811.002540 accepted/tizen/mobile/20160811.002455 accepted/tizen/tv/20160811.002528 accepted/tizen/wearable/20160811.002938 submit/tizen/20160810.070210
Minje Ahn [Wed, 3 Aug 2016 23:33:47 +0000 (08:33 +0900)]
Modify some code about deviced signal

Change-Id: I374b2a8f1ab4f971d701d6ccfccbf1bf6c498e6a
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoUpdate the query when removing invalid folder 20/82120/1 accepted/tizen/common/20160805.130141 accepted/tizen/ivi/20160808.081145 accepted/tizen/mobile/20160808.080801 accepted/tizen/tv/20160808.080953 accepted/tizen/wearable/20160808.081058 submit/tizen/20160805.054353
Minje Ahn [Mon, 1 Aug 2016 00:12:59 +0000 (09:12 +0900)]
Update the query when removing invalid folder

Change-Id: Ifae93a36c9c32f71db013d5f5f32a1de4851efce
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove build warning message 55/81855/1
Jiyong Min [Fri, 29 Jul 2016 00:18:47 +0000 (09:18 +0900)]
Remove build warning message

Few functions were not used, the functions was not included by define

Change-Id: Idd6cf6b57b6902ab656cc08e8b3e66419b75ce6e
Signed-off-by: jiyong min <jiyong.min@samsung.com>
7 years agoRemove mediadb-update in media-server on boot. 48/81348/2 accepted/tizen/common/20160725.153751 accepted/tizen/ivi/20160725.234038 accepted/tizen/mobile/20160725.233947 accepted/tizen/tv/20160725.234005 accepted/tizen/wearable/20160725.234020 submit/tizen/20160725.135548
Jiyong Min [Mon, 25 Jul 2016 13:48:31 +0000 (22:48 +0900)]
Remove mediadb-update in media-server on boot.

It make race codition with user-session mediadb-update.
The update function on boot remove folder, and then update fucntion on user-session insert folder data again.
So folder data was changed.

Change-Id: I80b127abc625111f8f3ae35007be0a517ec5a854
Signed-off-by: jiyong min <jiyong.min@samsung.com>
7 years agoSet the SMACK security label to run given executable file in systemd services 72/80872/1 accepted/tizen/common/20160721.175703 accepted/tizen/ivi/20160721.090734 accepted/tizen/mobile/20160721.090431 accepted/tizen/tv/20160721.091255 accepted/tizen/wearable/20160721.090941 submit/tizen/20160721.003054
jooseong lee [Wed, 20 Jul 2016 11:55:26 +0000 (20:55 +0900)]
Set the SMACK security label to run given executable file in systemd services

Change-Id: I27d640ee4ccbc24dcc4ca061780012c99d80fa21
Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
7 years agoFix boot priority(after user-serviced, and logind) 40/80140/2 accepted/tizen/common/20160719.172008 accepted/tizen/ivi/20160718.104838 accepted/tizen/mobile/20160718.104913 accepted/tizen/tv/20160718.104650 accepted/tizen/wearable/20160718.104800 submit/tizen/20160718.052709
Minje Ahn [Fri, 15 Jul 2016 01:36:02 +0000 (10:36 +0900)]
Fix boot priority(after user-serviced, and logind)

Change-Id: I72befc0c89dfdaa0c6222ab022dfb17ddbe42c49
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoFix the occasional crash issue when language changing. 09/80009/1 accepted/tizen/common/20160714.153549 accepted/tizen/ivi/20160714.095934 accepted/tizen/mobile/20160714.095841 accepted/tizen/tv/20160714.095856 accepted/tizen/wearable/20160714.095915 submit/tizen/20160714.065308
Minje Ahn [Thu, 14 Jul 2016 05:48:48 +0000 (14:48 +0900)]
Fix the occasional crash issue when language changing.

Change-Id: I47a50a94572521d1a9981ca3da17eaf9dcbcb494
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoFix some code related start_path 61/79161/1 accepted/tizen/common/20160708.141138 accepted/tizen/ivi/20160709.015225 accepted/tizen/mobile/20160709.020546 accepted/tizen/tv/20160709.015212 accepted/tizen/wearable/20160709.020519 submit/tizen/20160708.111538
Minje Ahn [Fri, 8 Jul 2016 11:10:52 +0000 (20:10 +0900)]
Fix some code related start_path

Change-Id: I246d815a60e2a4e62e92b0abe965839633802805
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoFix update meta(start path issue when language changing) 34/79134/1 accepted/tizen/ivi/20160709.015033 accepted/tizen/mobile/20160709.015023 accepted/tizen/tv/20160709.015035 accepted/tizen/wearable/20160709.015025 submit/tizen/20160708.094845
Minje Ahn [Fri, 8 Jul 2016 09:40:19 +0000 (18:40 +0900)]
Fix update meta(start path issue when language changing)

Change-Id: I5e660b31ad7ca2911d64626ba19785d7e85fe501
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoFix storage scan thread crash issue when first boot 53/79053/1 accepted/tizen/ivi/20160708.051955 accepted/tizen/mobile/20160708.051903 accepted/tizen/tv/20160708.051921 accepted/tizen/wearable/20160708.051939 submit/tizen/20160708.041155
Minje Ahn [Fri, 8 Jul 2016 03:54:14 +0000 (12:54 +0900)]
Fix storage scan thread crash issue when first boot

Change-Id: Ibda1a0316d62de4abd75924d0b853ff5f0f11166
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoFix build warning 67/78367/2 accepted/tizen/common/20160706.141809 accepted/tizen/ivi/20160706.013743 accepted/tizen/mobile/20160706.013639 accepted/tizen/tv/20160706.013706 accepted/tizen/wearable/20160706.013720 submit/tizen/20160705.084920
Minje Ahn [Tue, 5 Jul 2016 08:15:29 +0000 (17:15 +0900)]
Fix build warning

Change-Id: Idcb41bb7508c8705c0686a96301bce64d897a93e
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoFix return value after face detection is completed 73/78273/3
Jiyong Min [Tue, 5 Jul 2016 04:09:23 +0000 (13:09 +0900)]
Fix return value after face detection is completed

Change-Id: I1bc360cd676cf3fea340250bd54b925ef4f6806b
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoFix svace issue 67/77467/1 accepted/tizen/common/20160703.130541 accepted/tizen/ivi/20160701.033256 accepted/tizen/mobile/20160701.033428 accepted/tizen/tv/20160701.033056 accepted/tizen/wearable/20160701.033143 submit/tizen/20160630.084032 submit/tizen_common/20160701.180000
Minje Ahn [Thu, 30 Jun 2016 02:13:43 +0000 (11:13 +0900)]
Fix svace issue

Change-Id: Ie3128cfdac166531d24006629141e953519f92a5
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoFix mediadb-update exit value 43/77443/1 accepted/tizen/common/20160630.151849 accepted/tizen/ivi/20160630.063056 accepted/tizen/mobile/20160630.063110 accepted/tizen/tv/20160630.063048 accepted/tizen/wearable/20160630.063035 submit/tizen/20160630.010034
Minje Ahn [Thu, 30 Jun 2016 00:47:23 +0000 (09:47 +0900)]
Fix mediadb-update exit value

Change-Id: I7fed6000e0550960cea37c31e367e623865b2b5f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>