platform/core/multimedia/media-server.git
6 years agofix invalid format argument types for dlog 26/135126/2 accepted/tizen/unified/20170630.083308 submit/tizen/20170621.064821 submit/tizen/20170622.044226
Haejeong Kim [Wed, 21 Jun 2017 04:50:03 +0000 (13:50 +0900)]
fix invalid format argument types for dlog

Change-Id: Ie859956a7af6129b935b4c10c56013914fffabc4

6 years agoadd new error code. MS_MEDIA_ERR_NOT_SUPPORTED_FEATURE 66/134766/1
Haejeong Kim [Tue, 20 Jun 2017 03:53:00 +0000 (12:53 +0900)]
add new error code. MS_MEDIA_ERR_NOT_SUPPORTED_FEATURE

Change-Id: I70bf0530cb36ce8ec7be569463eb2cb0f1534453

6 years agoAdd some errors to support DCM service 64/134564/1 accepted/tizen/unified/20170630.083154 submit/tizen/20170619.092525
Haejeong Kim [Mon, 19 Jun 2017 08:09:16 +0000 (17:09 +0900)]
Add some errors to support DCM service

Change-Id: I3f59aeaee11eae993af5b40598ac29b8e8cb04b0

6 years agoJust change internal API name 63/134563/1
Haejeong Kim [Mon, 19 Jun 2017 08:07:59 +0000 (17:07 +0900)]
Just change internal API name

Change-Id: Id5adfa290188d467eb5f7c4ebb5846380beb01bd

6 years agoJust update pkg version 22/134022/1 submit/tizen/20170614.092220
Haejeong Kim [Wed, 14 Jun 2017 08:17:14 +0000 (17:17 +0900)]
Just update pkg version

Change-Id: I5f036fbb660967a9190bb22664aba952d9785c78

6 years agoRedefine Comunicate msg on DCM and use it commonly with DCM server 98/133898/2
Haejeong Kim [Wed, 14 Jun 2017 02:55:18 +0000 (11:55 +0900)]
Redefine Comunicate msg on DCM and use it commonly with DCM server

Change-Id: I676254f27228cd649fbcb4362b8e94e47bad4524

6 years agoJust remove white space 97/133897/1
Haejeong Kim [Wed, 14 Jun 2017 02:47:44 +0000 (11:47 +0900)]
Just remove white space

Change-Id: Iac85652fd069b4985209d5563826678876f2a2c1

6 years agoReinforce string valid 20/132820/2 accepted/tizen/unified/20170608.072632 submit/tizen/20170608.033400
Minje Ahn [Thu, 8 Jun 2017 01:12:18 +0000 (10:12 +0900)]
Reinforce string valid

Change-Id: I0243494001a72d158a8674308b06ed69272ce80f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoReduce logging in Tizen 4.0 98/132498/1
chen89.chen [Tue, 6 Jun 2017 08:12:14 +0000 (16:12 +0800)]
Reduce logging in Tizen 4.0

Change-Id: I5a1b0d6eb43b567bb1613e3000c6bc127b763461

6 years agoAdd to system_info header to fix build error 65/132265/2 accepted/tizen/unified/20170602.154829 submit/tizen/20170602.042001
Jiyong Min [Fri, 2 Jun 2017 04:07:08 +0000 (13:07 +0900)]
Add to system_info header to fix build error

Change-Id: Iaf961ece12383c8416cde3182d9d0b9c972121db
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
6 years agoFix build error if _USE_SENIOR_MODE is defined 82/132082/1 accepted/tizen/unified/20170601.234905 submit/tizen/20170601.050023
Jiyong Min [Thu, 1 Jun 2017 04:45:55 +0000 (13:45 +0900)]
Fix build error if _USE_SENIOR_MODE is defined

Change-Id: I69f1598544b1e186d296b68e3a7d6bdb0d092a2e
Signed-off-by: jiyong min <jiyong.min@samsung.com>
6 years agoAnalyze GCC 6.2 compiler warnings for Tizen 4.0 39/131839/2 accepted/tizen/unified/20170531.144536 submit/tizen/20170531.091701
chen89.chen [Wed, 31 May 2017 04:22:11 +0000 (12:22 +0800)]
Analyze GCC 6.2 compiler warnings for Tizen 4.0

Change-Id: I96bf85315cd94c3f72c4ebee49ed16adc87c964f

6 years agoMerge "Fix svace issue (Unified_2.3 ver)" into tizen
Jiyong Min [Wed, 31 May 2017 01:22:24 +0000 (01:22 +0000)]
Merge "Fix svace issue (Unified_2.3 ver)" into tizen

6 years agoFix typo 06/131806/1
Minje Ahn [Wed, 31 May 2017 00:31:48 +0000 (09:31 +0900)]
Fix typo

stroage to storage

Change-Id: I9b7963477543308820bd1c1ad1097854985761b9
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoFix svace issue (Unified_2.3 ver) 04/131804/1
Jiyong Min [Tue, 30 May 2017 23:38:56 +0000 (08:38 +0900)]
Fix svace issue (Unified_2.3 ver)

Change-Id: I507478fef93958d35f79b40fd41449d20818410d
Signed-off-by: jiyong min <jiyong.min@samsung.com>
6 years agoRemove unused dlopen function 04/130604/1 accepted/tizen/unified/20170531.082426 submit/tizen/20170523.092028
Minje Ahn [Tue, 23 May 2017 05:57:03 +0000 (14:57 +0900)]
Remove unused dlopen function

Change-Id: I39874a4957cb28ef13dc16d98b6ef2e234400884
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoMerge "Remove unused parameters" into tizen submit/tizen/20170523.042515
hj kim [Tue, 23 May 2017 04:21:09 +0000 (04:21 +0000)]
Merge "Remove unused parameters" into tizen

6 years agoRemove unused parameters 65/130465/2
Minje Ahn [Mon, 22 May 2017 10:26:56 +0000 (19:26 +0900)]
Remove unused parameters

Remove socket path and structure

Change-Id: Ia27b7d39d585ef4a1461a2b4ae22f6c928bbaaf2
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoJust change parameter name from store_type to storage_type 10/130310/1 submit/tizen/20170522.021655
Haejeong Kim [Mon, 22 May 2017 01:43:47 +0000 (10:43 +0900)]
Just change parameter name from store_type to storage_type

Change-Id: Ia496c18ca1cc9384cccf2b2de571048a11399980

6 years agoUse common API in dcm service 07/130307/1
Haejeong Kim [Mon, 22 May 2017 01:38:53 +0000 (10:38 +0900)]
Use common API in dcm service

Change-Id: Iafa667dfcb3d620e30be58497dd4c61ee948d825

7 years agoimprove usb unmount flow 08/129208/2 accepted/tizen/unified/20170522.184519 submit/tizen/20170519.090113 submit/tizen/20170522.012555 submit/tizen/20170522.022319 tizen_4.0.m1_release
chen89.chen [Mon, 15 May 2017 11:52:16 +0000 (19:52 +0800)]
improve usb unmount flow

Change-Id: Ie859f1100936adad2b4ce9a4dfc47b544810c5d1

7 years agoRemove thumb_extract_all feature 03/130103/2
Minje Ahn [Fri, 19 May 2017 06:42:32 +0000 (15:42 +0900)]
Remove thumb_extract_all feature

Change-Id: I59521acc0f2bb818099ee042ad15f5b3b8ccfee2
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoUse ms_user_XXX APIs instead of each local code 84/130084/2 accepted/tizen/unified/20170519.200058 submit/tizen/20170519.061906
Haejeong Kim [Fri, 19 May 2017 05:20:39 +0000 (14:20 +0900)]
Use ms_user_XXX APIs instead of each local code

Change-Id: I69f63a452b31dc62146abc58105da6d06e000db0

7 years agoAdd API of getting thumbnail store path 05/129805/2 submit/tizen/20170518.232034
Haejeong Kim [Thu, 18 May 2017 06:56:19 +0000 (15:56 +0900)]
Add API of getting thumbnail store path

Change-Id: Ic080a797a46111b76fb6553e07a91325d8e2576a

7 years agoadd media-util-user.h & .c to check path for each user 32/129632/5 accepted/tizen/unified/20170518.061324 submit/tizen/20170518.042448
Haejeong Kim [Wed, 17 May 2017 08:10:37 +0000 (17:10 +0900)]
add media-util-user.h & .c to check path for each user

Change-Id: Idb1adff0b8fa99277dde3ba121bf852d7ca0acfe

7 years agoAdd some define for debug 02/129602/2
Haejeong Kim [Wed, 17 May 2017 06:50:03 +0000 (15:50 +0900)]
Add some define for debug

Change-Id: I1bf7b5b39b9c4a8869761fc3137b6fe241831bda

7 years agoFix build warning 01/129601/1
Haejeong Kim [Wed, 17 May 2017 06:44:50 +0000 (15:44 +0900)]
Fix build warning

Change-Id: I0102c19e611a29bacc70e364d88bc99f6cb61d7b

7 years agoAdd explicit build dependency 41/127541/1 accepted/tizen/unified/20170429.023548 submit/tizen/20170427.133911 submit/tizen/20170512.035802
Hwankyu Jhun [Thu, 27 Apr 2017 22:58:24 +0000 (07:58 +0900)]
Add explicit build dependency

Requires:
 - vconf

Change-Id: I5c39c2898f6348980e24d77634bb8d8c9df3a179
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRemove cloud storage path 84/126384/1 accepted/tizen/unified/20170425.044929 submit/tizen/20170424.020830
Minje Ahn [Fri, 21 Apr 2017 06:57:05 +0000 (15:57 +0900)]
Remove cloud storage path

Change-Id: Ib845e08d4066a39be02369935b35de204a336202
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
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