platform/core/multimedia/media-server.git
7 years agoUpdate scan thread(dir, storage) 31/146531/2
Minje Ahn [Tue, 29 Aug 2017 08:11:17 +0000 (17:11 +0900)]
Update scan thread(dir, storage)

Remove unused, or unreached code

Change-Id: I4c769ee79a0e028931b406e04ed481680b4b097c
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoCode cleanup 78/146378/4
Minje Ahn [Mon, 28 Aug 2017 07:57:44 +0000 (16:57 +0900)]
Code cleanup

Remove useless parameters(with libmedia-service)
Change dirent API to glib API
Remove unused APIs

Change-Id: I61d7e0f7df482fa622a8f45985d86e91076ce23e
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove useless aul dependency 93/146293/2 accepted/tizen/unified/20170829.053216 submit/tizen/20170828.073653
Haejeong Kim [Mon, 28 Aug 2017 01:32:43 +0000 (10:32 +0900)]
Remove useless aul dependency

Change-Id: I4bc02ac571f82389ee6debb983cbd10e45728e72

7 years agomedia-server and scanner code cleanup 76/145676/9 accepted/tizen/unified/20170828.164040 submit/tizen/20170825.093836
Minje Ahn [Wed, 23 Aug 2017 08:21:02 +0000 (17:21 +0900)]
media-server and scanner code cleanup

1. Change opendir to g_dir_open(glib)
2. Block media db reset

Change-Id: If56b449dbaed39bc6d63c9c0d9561eb75a7465de
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoAdd to check symbolic link before using filepath(+w) 17/145817/2
Jiyong Min [Thu, 24 Aug 2017 04:15:03 +0000 (13:15 +0900)]
Add to check symbolic link before using filepath(+w)

Change-Id: Iebe5b0c25143cd1be48300201d15c7f9a1b57440
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years ago[USER_VER_6] Change Face related DB Schema. add modified_time in face_scan_list,... 36/145536/1 accepted/tizen/unified/20170824.051008 submit/tizen/20170823.010640 submit/tizen/20170824.010707
Haejeong Kim [Wed, 23 Aug 2017 01:01:31 +0000 (10:01 +0900)]
[USER_VER_6] Change Face related DB Schema. add modified_time in face_scan_list, add user_marked and unique condition in face.

Change-Id: I66a7602f2b3ae0334be281da82741382545c3395

7 years agoCode cleanup 10/145310/1 submit/tizen/20170822.081413
Minje Ahn [Tue, 22 Aug 2017 05:21:16 +0000 (14:21 +0900)]
Code cleanup

Remove unused APIs, values, structures, and etc.

Change-Id: I0c36447eec72541f8d18e79d2bd233f827952dc0
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoMerge function for getting thumbnail folder 07/144607/1 accepted/tizen/4.0/unified/20170829.015839 accepted/tizen/unified/20170822.023757 submit/tizen/20170821.010252 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004
Minje Ahn [Thu, 17 Aug 2017 08:15:18 +0000 (17:15 +0900)]
Merge function for getting thumbnail folder

Change-Id: I20588debed3b2ef14e37c91ebd1d56884c616fb1
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoChange storage type enum name (ms_user_storage_type_t -> ms_user_storage_type_e) 52/144552/3
Minje Ahn [Thu, 17 Aug 2017 06:58:22 +0000 (15:58 +0900)]
Change storage type enum name (ms_user_storage_type_t -> ms_user_storage_type_e)

Change-Id: Ic07aabb7376d43be8e22224b80267278ba2e4366
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoUpdate upgrade scripts 25/144225/1
Minje Ahn [Wed, 16 Aug 2017 02:54:14 +0000 (11:54 +0900)]
Update upgrade scripts

Change-Id: Icf80de1197abb645dd87991f4f7adc2ff94a8124
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoMerge dcm manage queue with request queue 77/143177/1 accepted/tizen/unified/20170809.135233 accepted/tizen/unified/20170814.060117 submit/tizen/20170809.023747 submit/tizen/20170811.053616
Jiyong Min [Wed, 9 Aug 2017 01:53:33 +0000 (10:53 +0900)]
Merge dcm manage queue with request queue

Change-Id: I0f5c6dfc0750c71c083236739758b6235a62370b
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoSvace issue fix. check result of strdup 38/142238/2 submit/tizen/20170804.052933
Haejeong Kim [Thu, 3 Aug 2017 06:44:23 +0000 (15:44 +0900)]
Svace issue fix. check result of strdup

Change-Id: I702d4556a18d75d71798b7465a45ceac5fe7cc04

7 years agoModify define for TV product 86/141386/1 accepted/tizen/4.0/unified/20170816.011319 accepted/tizen/4.0/unified/20170816.014658 accepted/tizen/unified/20170804.025616 submit/tizen/20170731.235031 submit/tizen/20170803.063124 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Jiyong Min [Mon, 31 Jul 2017 08:14:29 +0000 (17:14 +0900)]
Modify define for TV product
(requested by VD)

Change-Id: Id48bf88a43a0fbe0fdb4724a7bb4956b6842e451
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoRemove unused parameters in plugin API 12/140912/2 accepted/tizen/unified/20170803.010416 submit/tizen/20170728.073049 submit/tizen/20170731.013601
Minje Ahn [Thu, 27 Jul 2017 06:18:10 +0000 (15:18 +0900)]
Remove unused parameters in plugin API

Change-Id: I9c49116f3f6688a2542d3fc1906b0a403e941f24
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years ago[tv profile] refine usb unmount storage scan process&&remove a space 26/140926/1
chen89.chen [Thu, 27 Jul 2017 07:30:46 +0000 (15:30 +0800)]
[tv profile] refine usb unmount storage scan process&&remove a space

Change-Id: I690d96e428a4f57390560fd36a8b4971c8d5712f

7 years ago[tv profile] refine usb unmount storage scan process 33/140233/2
chen89.chen [Mon, 24 Jul 2017 08:17:57 +0000 (16:17 +0800)]
[tv profile] refine usb unmount storage scan process

Change-Id: I55787eb60b888f7af57941b0828184701071ba58

7 years ago[security] Add capabilities into service 64/139664/2 accepted/tizen/unified/20170721.024518 submit/tizen/20170720.072141
Minje Ahn [Thu, 20 Jul 2017 04:55:06 +0000 (13:55 +0900)]
[security] Add capabilities into service

Change-Id: I364e46287960741077804ea8c4442f0d61c0ef2f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years ago[SATIZENVUL-953] Add check for memory allocation 05/139405/4
Minje Ahn [Wed, 19 Jul 2017 01:00:55 +0000 (10:00 +0900)]
[SATIZENVUL-953] Add check for memory allocation

And bug fix (svace issue)

Change-Id: Ifccef06a0ea8a48c8528a3a9bb3bd3759cf71c98
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years ago[SATIZENVUL-913] Add check for msg size 74/139274/3
Minje Ahn [Tue, 18 Jul 2017 07:17:22 +0000 (16:17 +0900)]
[SATIZENVUL-913] Add check for msg size

Change-Id: Idbc0fcf62436234d2be06297345f0e7c253ef114
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove unused parameters in thumb_msg 34/138334/2
Minje Ahn [Wed, 12 Jul 2017 01:04:43 +0000 (10:04 +0900)]
Remove unused parameters in thumb_msg

Remove original width, height

Change-Id: Id8a90d6dc8b3c2b4ff58f0436ababef7429f645c
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoreduce log,add secure error log 94/138694/1 submit/tizen/20170713.084810 submit/tizen/20170718.054910
chen89.chen [Thu, 13 Jul 2017 09:07:37 +0000 (17:07 +0800)]
reduce log,add secure error log

Change-Id: I48a3abd6ff62bc8d7e2ab0cbe77956789eaac6ac

7 years agoJust update internal API names 23/136323/1 accepted/tizen/unified/20170703.064236 submit/tizen/20170630.083208
Haejeong Kim [Thu, 29 Jun 2017 05:46:12 +0000 (14:46 +0900)]
Just update internal API names

Change-Id: Ica27ce891b456acc8c88e1dddd4bfba08034479a

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

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

7 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

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

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

7 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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