platform/core/multimedia/dcm-service.git
15 months agoTemporary fix build error for product_tv 78/306378/2 tizen
Jiyong [Wed, 21 Feb 2024 02:09:10 +0000 (11:09 +0900)]
Temporary fix build error for product_tv

- add missing macro and struct

this package should be removed from build during integration

Change-Id: I034d6adc40ea0d9ef58afe205d77582df0b629c9

2 years agoFix typecast issue of 'socklen_t' 61/283261/1 accepted/tizen_8.0_unified accepted/tizen_unified accepted/tizen/8.0/unified/20231005.093410 accepted/tizen/unified/20221103.165750 tizen_8.0_m2_release
jiyong.min [Fri, 21 Oct 2022 05:46:54 +0000 (14:46 +0900)]
Fix typecast issue of 'socklen_t'

Change-Id: Ie6ba4ade56779f777d1ad2e7eb12facfcbeaf726

3 years agoreplace g_memdup() to g_memdup2() 02/267902/1 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/hotfix/20221116.105345 accepted/tizen/unified/20211222.230558 submit/tizen/20211212.233427 tizen_7.0_m2_release
Jiyong Min [Mon, 13 Dec 2021 05:45:18 +0000 (14:45 +0900)]
replace g_memdup() to g_memdup2()

  - g_memdup() was removed in glib2

Change-Id: I3bcbb3f4fc13eb30e5b7a90b1e02e3e2c6733772

4 years agoRemove unused function 52/244152/3 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix accepted/tizen_6.5_unified tizen_6.0 tizen_6.0_hotfix tizen_6.5 accepted/tizen/6.0/unified/20201030.121044 accepted/tizen/6.0/unified/hotfix/20201103.050100 accepted/tizen/6.5/unified/20211028.120323 accepted/tizen/unified/20200917.055756 submit/tizen/20200916.012329 submit/tizen/20200917.004955 submit/tizen_6.0/20201029.205103 submit/tizen_6.0_hotfix/20201102.192503 submit/tizen_6.0_hotfix/20201103.114803 submit/tizen_6.5/20211028.162401 tizen_6.0.m2_release tizen_6.5.m2_release
hj kim [Tue, 15 Sep 2020 08:37:38 +0000 (17:37 +0900)]
Remove unused function

DCM-service tried resizing to speed up face detection. but it affected to the accuracy.
media-vision improved it's performance, so resizing in dcm-service is not needed.

Change-Id: Id03fc167be270cb848dc0141e3bcd0a461173f68

5 years agoUnify rotate type enum 71/232371/3 accepted/tizen/unified/20200507.052254 submit/tizen/20200506.063025
jiyong.min [Sun, 3 May 2020 22:23:57 +0000 (07:23 +0900)]
Unify rotate type enum

Change-Id: I1d186ea40c90cb449b9f4af6dc93a4678007dc87

5 years agoRemove out of memory related code by using glib APIs 55/230655/7 accepted/tizen/unified/20200421.051519 submit/tizen/20200417.051304
hj kim [Mon, 13 Apr 2020 07:17:30 +0000 (16:17 +0900)]
Remove out of memory related code by using glib APIs

glib's memory managed as below.
If any call to allocate memory fails, the application is terminated. This also means that there is no need to check if the call succeeded.

Change-Id: I6789bf638955d97a28a7a66595c8d41165cf204f

5 years agoFix memory leak 44/231044/1
hj kim [Fri, 17 Apr 2020 03:18:49 +0000 (12:18 +0900)]
Fix memory leak

Change-Id: I21cfdc7b3b424136f2ae7b55f58cbae8bb46635a

5 years agoImprove mainloop 91/230891/2
Minje Ahn [Thu, 16 Apr 2020 01:08:55 +0000 (10:08 +0900)]
Improve mainloop

Change-Id: I0b585910f60e11428df241a7c4d594fa9cd539eb
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoFix coverity issue 40/224340/1 accepted/tizen/unified/20200212.125939 submit/tizen/20200211.014826
jiyong.min [Mon, 10 Feb 2020 03:33:16 +0000 (12:33 +0900)]
Fix coverity issue

 - Unchecked return value

Change-Id: Id6da6c59ceeaf374b839a5ca0342bc76172a9751

5 years agoMerge all storage tables 10/216910/1 accepted/tizen/unified/20191114.042542 submit/tizen/20191113.015717
Minje Ahn [Tue, 5 Nov 2019 01:07:15 +0000 (10:07 +0900)]
Merge all storage tables

Change-Id: I3fd61307e74a57b66d6171ab5f33115514a9fb54
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoImprove db operation in dcm daemon 58/215658/8
Minje Ahn [Mon, 14 Oct 2019 04:28:58 +0000 (13:28 +0900)]
Improve db operation in dcm daemon

1. Change to connect db on demand
2. Move scan type from code to query

Change-Id: I85584aee83499a1c5f7813b1b77190f63feb8287
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoMerge "Fix coverity issue" into tizen accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.023922 accepted/tizen/5.5/unified/mobile/hotfix/20201027.083815 accepted/tizen/unified/20191007.234908 accepted/tizen/unified/20191011.015343 submit/tizen/20191007.065948 submit/tizen/20191008.062147 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185103 tizen_5.5.m2_release
hj kim [Mon, 7 Oct 2019 07:03:34 +0000 (07:03 +0000)]
Merge "Fix coverity issue" into tizen

5 years agoFix coverity issue 35/215335/3
jiyong.min [Mon, 7 Oct 2019 06:13:22 +0000 (15:13 +0900)]
Fix coverity issue

 - Ignoring number of bytes read (CHECKED_RETURN)

Change-Id: If9096f6febe94203c3cb202904453a08f8dae595

5 years agoRemove SQLITE_PERM check 95/215295/1
Minje Ahn [Mon, 7 Oct 2019 00:16:34 +0000 (09:16 +0900)]
Remove SQLITE_PERM check

Change-Id: I49c89770a095c139f024742655c9183b4f56e2e6
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoChange MS_MEDIA_ERR_INVALID_PATH to MS_MEDIA_ERR_INVALID_PARAMETER 67/215067/1 accepted/tizen/unified/20191004.003557 submit/tizen/20191002.013808
Minje Ahn [Tue, 1 Oct 2019 08:19:22 +0000 (17:19 +0900)]
Change MS_MEDIA_ERR_INVALID_PATH to MS_MEDIA_ERR_INVALID_PARAMETER

Change-Id: Ia30da057f0661fff4a640222eb88e6c96b26db7e
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoCode cleanup 30/214730/2 accepted/tizen/unified/20191002.013258 submit/tizen/20191001.024920
Minje Ahn [Thu, 26 Sep 2019 01:00:59 +0000 (10:00 +0900)]
Code cleanup

Change some return values.
Improve some functions.

Change-Id: I5092f4ce2fbf734b9ce66374afaad8f233101a30
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoModify dcm send msg function 60/213760/5 accepted/tizen/unified/20190916.111545 submit/tizen/20190916.065445
Minje Ahn [Wed, 11 Sep 2019 05:37:54 +0000 (14:37 +0900)]
Modify dcm send msg function

Change-Id: I737c7a196fb31ce54f25bfb28326aa8726045830
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoUpdate code to reduce Cyclomatic Complexity and DC 39/212839/2 accepted/tizen/unified/20190901.225908 submit/tizen/20190829.010946 submit/tizen/20190830.003130
hj kim [Tue, 27 Aug 2019 07:47:46 +0000 (16:47 +0900)]
Update code to reduce Cyclomatic Complexity and DC

Change-Id: I9e6636d2c1f5ecc8878ae2c28760ee808a6a00d0

5 years agoChange return type of dcm_svc_db_disconnect() 84/211284/2 accepted/tizen/unified/20190806.072210 submit/tizen/20190805.053702
Minje Ahn [Thu, 1 Aug 2019 06:21:21 +0000 (15:21 +0900)]
Change return type of dcm_svc_db_disconnect()

sqlite3_close_v2() always returns SQLITE_OK.
Therefore, it does not need to check the return value.

Change-Id: Iaa787cb8a8fd247dd0011a2593bad5258c5d1efb
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoUpdate package version 75/204175/1 accepted/tizen/unified/20190424.040821 submit/tizen/20190422.051140 submit/tizen/20190424.000637
Minje Ahn [Mon, 22 Apr 2019 04:26:00 +0000 (13:26 +0900)]
Update package version

0.1.13 to 0.2.0

Change-Id: I30a4c44ae2bedc2ac62cb91ac93559804487f1f6
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoMatch columns of media with filter keyword 12/203712/1
Minje Ahn [Wed, 17 Apr 2019 06:37:18 +0000 (15:37 +0900)]
Match columns of media with filter keyword

Change-Id: I1827edfffe664ea876690a2704c2448ca45640d0
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoFix column name 69/202969/1 accepted/tizen/unified/20190410.002059 submit/tizen/20190408.061901
Minje Ahn [Mon, 8 Apr 2019 07:53:27 +0000 (16:53 +0900)]
Fix column name

Change-Id: I1e7e8224548b5503b6de5813914c384e36377669
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoReplace mm-utility function to mm_image_xxx() 84/200984/4 accepted/tizen/unified/20190311.220545 submit/tizen/20190311.013617
jiyong.min [Thu, 7 Mar 2019 02:03:50 +0000 (11:03 +0900)]
Replace mm-utility function to mm_image_xxx()

Change-Id: Icedf17c1d6b7393ac9c78a05fc5067ed4a91bc04

6 years agoRemove wrapping struct 81/194181/3 accepted/tizen/unified/20190111.055145 submit/tizen/20190104.070559 submit/tizen/20190109.233706
Minje Ahn [Fri, 30 Nov 2018 01:34:13 +0000 (10:34 +0900)]
Remove wrapping struct

Use sqlite3 Explicitly

Change-Id: Icfdd5fefaa67f44c0f85619fceed3ebcb196e02f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoRemove unused source code 96/194096/1
jiyong.min [Thu, 29 Nov 2018 04:43:06 +0000 (13:43 +0900)]
Remove unused source code

Change-Id: Icea1ac255875f1a8a700f6f220bf759a93ea175f

6 years agoAdding initial structure for unittest 75/193375/5 accepted/tizen/unified/20181127.073302 submit/tizen/20181126.011146
jiyong.min [Tue, 20 Nov 2018 02:50:19 +0000 (11:50 +0900)]
Adding initial structure for unittest

- It has testcases for dcm-face library of unittest
- It would be enabled by gtest build with '--define "gtests 1"'

Change-Id: Ie0b7f098391e2153034311ebd245d2ec2e6f6b4a

7 years agoAdd fortify option 23/175623/1 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.014931 accepted/tizen/unified/20180516.065717 submit/tizen/20180511.003859 submit/tizen/20180516.001848 submit/tizen_5.0/20181101.000003
Minje Ahn [Wed, 11 Apr 2018 07:15:41 +0000 (16:15 +0900)]
Add fortify option

Change-Id: I6cc006dcec04881e26d2cd4ba5a54f63cb4f647b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoModified the query target 67/174167/1 accepted/tizen/unified/20180330.060542 submit/tizen/20180328.012050
Minje Ahn [Thu, 29 Mar 2018 00:39:34 +0000 (09:39 +0900)]
Modified the query target

Change media table to media view for MMC separation

Change-Id: Idb3091471c396765ab850089f5e2271022ecaf7b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years ago[107583]Fix coverity issue 98/172998/2 accepted/tizen/unified/20180321.060752 submit/tizen/20180320.040253
hj kim [Mon, 19 Mar 2018 07:23:19 +0000 (16:23 +0900)]
[107583]Fix coverity issue

Change-Id: Ibe1b348018f26e4181f705b2c66de3deba59fa05

7 years agoMerge "Updates color enums for refactoring of libmm-utility" into tizen accepted/tizen/unified/20180214.144554 submit/tizen/20180212.075159
Jiyong Min [Mon, 12 Feb 2018 07:48:08 +0000 (07:48 +0000)]
Merge "Updates color enums for refactoring of libmm-utility" into tizen

7 years ago[SATIZENVUL-1315,1316] Reinforced the missing code 76/169776/1 accepted/tizen/unified/20180213.132807 submit/tizen/20180208.063721
Minje Ahn [Fri, 9 Feb 2018 04:13:48 +0000 (13:13 +0900)]
[SATIZENVUL-1315,1316] Reinforced the missing code

Change-Id: I614e82482a3929163d08e8bbf7e7e5e8b2da2b60
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoUpdates color enums for refactoring of libmm-utility 67/169667/4
Jiyong Min [Thu, 8 Feb 2018 07:22:32 +0000 (16:22 +0900)]
Updates color enums for refactoring of libmm-utility

Change-Id: Ifa10697e1d9399d6ab97b1961006c7eb9b4f0aff

7 years ago[SATIZENVUL-1315/SATIZENVUL-1316] Remove msg_size from dcmMsg 46/169446/3
Minje Ahn [Wed, 7 Feb 2018 02:04:46 +0000 (11:04 +0900)]
[SATIZENVUL-1315/SATIZENVUL-1316] Remove msg_size from dcmMsg

Change-Id: I4709d2e8afb1821f0d354630ba20016d012a7104
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoUse new image_util(magicK) APIs instead of Old one 41/168941/5 accepted/tizen/unified/20180206.064132 submit/tizen/20180205.005408
hj kim [Thu, 1 Feb 2018 08:42:50 +0000 (17:42 +0900)]
Use new image_util(magicK) APIs instead of Old one

Change-Id: Ia554632d366dd26289ee9d543993793c22ee73d7

7 years agoRemove dependency of gthread-2.0 29/161029/2 accepted/tizen/unified/20171130.113333 submit/tizen/20171130.061035
hj kim [Tue, 21 Nov 2017 06:27:11 +0000 (15:27 +0900)]
Remove dependency of gthread-2.0

Change-Id: I92cd237ae2b8b0ee8896cdd541a28f1cd0abf9e0

7 years agoRearrage included header files 81/160981/1
hj kim [Tue, 21 Nov 2017 04:13:50 +0000 (13:13 +0900)]
Rearrage included header files

Change-Id: Idb1c5992248244ca502a7d58bd1ca2ef731a32d8

7 years agoChange DB connection option to Read only 38/160938/1
hj kim [Tue, 21 Nov 2017 00:37:43 +0000 (09:37 +0900)]
Change DB connection option to Read only

Change-Id: I3f90493da04d51ae2cb35560ae924885dab7e872

7 years agoBug fix of getting detected face count 96/160796/2 accepted/tizen/unified/20171121.061022 submit/tizen/20171120.082013
hj kim [Mon, 20 Nov 2017 06:12:43 +0000 (15:12 +0900)]
Bug fix of getting detected face count
- Change way to get count from DB.

Change-Id: I220163f6e93752613d22bf56e70af69260f7139b

7 years agochange malloc to g_malloc0 33/160433/1
hj kim [Thu, 16 Nov 2017 06:16:48 +0000 (15:16 +0900)]
change malloc to g_malloc0

Change-Id: I8243bad63d0803db4fe597dee45f2d87230f1775

7 years agoRemove unused test code and Modifiy some debug msg 23/160423/2
hj kim [Thu, 16 Nov 2017 06:04:22 +0000 (15:04 +0900)]
Remove unused test code and Modifiy some debug msg

Change-Id: I247fbc8cd76f24d2ee73cf1c06e29702747ba39d

7 years agoJust change input paramter 81/160381/1
hj kim [Thu, 16 Nov 2017 02:09:20 +0000 (11:09 +0900)]
Just change input paramter

Change-Id: I12773f36c07b5eab2f6ca6fc93bb85cffe23eca7

7 years agoRemove unused color extracting related code 80/160380/2
hj kim [Thu, 16 Nov 2017 02:01:05 +0000 (11:01 +0900)]
Remove unused color extracting related code

Change-Id: Id1f2a162758e676ce18831adea85fba5d2eaf5b6

7 years agoRemove dcm_face_item_s struct 74/160374/1
hj kim [Thu, 16 Nov 2017 01:01:36 +0000 (10:01 +0900)]
Remove dcm_face_item_s struct

Change-Id: I4125bff3f231738bf646c7d62dd1822e2fbac19c

7 years agoRemove user_marked field in face table 81/160181/2 accepted/tizen/unified/20171115.174103 submit/tizen/20171115.074622
Minje Ahn [Tue, 14 Nov 2017 23:56:42 +0000 (08:56 +0900)]
Remove user_marked field in face table

Add face scan status for distinguish between file changes and re-scans.
 - file modified time > face detected time : file is changed
 - face detected time == 0 : some detected faces are removed by user

Change logic to re-scan:
 - Do not delete, add missing. Delete is performed only when the file is modified.
 - Delete unnecessary fields (user_marked)

Change-Id: I1782e330698612c719c4842c6d9d9b1e990b9e2c
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoChange face uuid to id 06/159806/3
Minje Ahn [Mon, 13 Nov 2017 05:39:20 +0000 (14:39 +0900)]
Change face uuid to id

Change-Id: Iddbb8590b72824e6c0766747c2995fed1c726fc3
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove unnecessary DB field and queries 90/159590/1
Minje Ahn [Fri, 10 Nov 2017 03:06:41 +0000 (12:06 +0900)]
Remove unnecessary DB field and queries

Remove storage_id in face_scan_list
Remove queries for duplicate check

Change-Id: Id8f4649747552e95a13d1ad20e0efd7b03c842cb
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years ago1. Remove unused All_face_detection_mode related code and thread for it. 55/159455/8 submit/tizen/20171114.053103
hj kim [Thu, 9 Nov 2017 04:47:46 +0000 (13:47 +0900)]
1. Remove unused All_face_detection_mode related code and thread for it.
2. change socket permission.

Change-Id: Ib83f0bdd11724de89681215adc64d2f3d832d781

7 years agoChange free to DCM_SAFE_FREE 19/147919/1 accepted/tizen/unified/20170907.060431 submit/tizen/20170906.051057
Haejeong Kim [Wed, 6 Sep 2017 05:06:01 +0000 (14:06 +0900)]
Change free to DCM_SAFE_FREE

Change-Id: Id4051c3a031bc4310a6944971abf5b6d565a9dee

7 years agoRemove unused define of _PERFORMANCE_CHECK_ 53/147853/1
Haejeong Kim [Wed, 6 Sep 2017 02:21:57 +0000 (11:21 +0900)]
Remove unused define of _PERFORMANCE_CHECK_

Change-Id: I525a6a750b0b8b565d8c6f36fc95445e8d7e508f

7 years agoApply tizen coding rule 19/147819/1
Haejeong Kim [Wed, 6 Sep 2017 01:16:23 +0000 (10:16 +0900)]
Apply tizen coding rule

Change-Id: I0fd8a224281dcbd692cbf40869ad865e1051a2dd

7 years agoRemove useless vconf dependency 19/146219/1 accepted/tizen/unified/20170829.053208 submit/tizen/20170828.073653
Haejeong Kim [Fri, 25 Aug 2017 09:43:13 +0000 (18:43 +0900)]
Remove useless vconf dependency

Change-Id: I7c2df8ae03501d86eb814ebd80d9e1e750392e54

7 years agoRemove useless media-thumbnail dependency 11/146211/1
Haejeong Kim [Fri, 25 Aug 2017 08:48:22 +0000 (17:48 +0900)]
Remove useless media-thumbnail dependency

Change-Id: I305b16195ddf0ffcdf1045be857bb57b5749ccdb

7 years agoremove dependency of mmutil-imgp 99/146099/2
Haejeong Kim [Fri, 25 Aug 2017 02:48:21 +0000 (11:48 +0900)]
remove dependency of mmutil-imgp

Change-Id: I5e8d29b001af229c78ee7f216af4f30b03e0df0c

7 years agoJust update debug msg and return value. 94/144594/2 accepted/tizen/4.0/unified/20170829.015834 accepted/tizen/unified/20170822.023754 submit/tizen/20170821.010252 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004
Haejeong Kim [Thu, 17 Aug 2017 08:00:12 +0000 (17:00 +0900)]
Just update debug msg and return value.

Change-Id: I35101f0ffc279cb0acd6aeb59bf271585710e840

7 years agoRemove unused parameter scan_item_type 86/144586/1
Haejeong Kim [Thu, 17 Aug 2017 07:41:50 +0000 (16:41 +0900)]
Remove unused parameter scan_item_type

Change-Id: Idf859416c6d3a5911ed8bed5a3475e26f94b4394

7 years agoRemove unused code 83/144583/1
Haejeong Kim [Thu, 17 Aug 2017 07:30:39 +0000 (16:30 +0900)]
Remove unused code

Change-Id: Ic4f2f51960725438d645aca5b9624fb970cd8954

7 years agoFix resource leak. db connection handle was not released. 80/144580/1
Haejeong Kim [Thu, 17 Aug 2017 07:27:54 +0000 (16:27 +0900)]
Fix resource leak. db connection handle was not released.

Change-Id: Ic10ef7dfef61e963aef18213b353025f21ea0901

7 years agoJust add debugging msg 78/144578/1
Haejeong Kim [Thu, 17 Aug 2017 07:27:21 +0000 (16:27 +0900)]
Just add debugging msg

Change-Id: I28b0749e23aad97a57b022293603d100f0cd0fed

7 years agochange strdup to g_strdup 76/144576/1
Haejeong Kim [Thu, 17 Aug 2017 07:26:31 +0000 (16:26 +0900)]
change strdup to g_strdup

Change-Id: I71422248f0d6e67f24d06861ee4307122231e8b4

7 years agoremove useless logic in dcm_scan_single 27/144527/3 submit/tizen/20170817.064526
Haejeong Kim [Thu, 17 Aug 2017 06:00:27 +0000 (15:00 +0900)]
remove useless logic in dcm_scan_single

Change-Id: I7bf87cb588a5ca6721d2cf2338a4295337aa9156

7 years agoRemove simple wrapped API 35/144435/1
Haejeong Kim [Wed, 16 Aug 2017 23:13:52 +0000 (08:13 +0900)]
Remove simple wrapped API

Change-Id: I119455622b241fbb69f867c8fc08b26109051380

7 years agoRemove useless mmc mount check code 34/144434/1
Haejeong Kim [Wed, 16 Aug 2017 23:08:07 +0000 (08:08 +0900)]
Remove useless mmc mount check code

Change-Id: Ib8f33ede5b8fbbe62f3085d77d15710b6c1d58ff

7 years agoRe-extract face info when media item's modified time was changed. when user deletes... 39/144239/2
Haejeong Kim [Wed, 16 Aug 2017 05:06:58 +0000 (14:06 +0900)]
Re-extract face info when media item's modified time was changed. when user deletes system detected face info, modified_time changed to 0 to refresh later

Change-Id: I1b32829536b1e0e2dba1885f3761635b9e704a40

7 years agoApply ASLR for executable 16/143416/2 accepted/tizen/unified/20170814.060123 submit/tizen/20170810.021546 submit/tizen/20170811.071436
Jiyong Min [Thu, 10 Aug 2017 00:04:38 +0000 (09:04 +0900)]
Apply ASLR for executable

Change-Id: Ic97b17a88ed45816beb17f90ea346f1d4a77f1ec
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoFix svace issue 59/142159/2
Minje Ahn [Thu, 3 Aug 2017 02:08:02 +0000 (11:08 +0900)]
Fix svace issue

Change-Id: I00993efbc7240392686818ff391a4488c913563f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoSvace issue fix 43/137643/2
Haejeong Kim [Fri, 7 Jul 2017 02:37:29 +0000 (11:37 +0900)]
Svace issue fix

Change-Id: Ie3f24ab2d006a9b515fd3f9455f139b420a63114

7 years ago1. Just Renaming internal APIs 31/137531/3
Haejeong Kim [Thu, 6 Jul 2017 08:32:29 +0000 (17:32 +0900)]
1. Just Renaming internal APIs
2. Svace issue fix

Change-Id: I75496403a83169694f87fe15c04181fd58287529

7 years agoBug fix of face detection. orientation info was wrong 69/137469/1 accepted/tizen/4.0/unified/20170816.011316 accepted/tizen/4.0/unified/20170816.014656 accepted/tizen/unified/20170710.154107 submit/tizen/20170706.073239 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Haejeong Kim [Thu, 6 Jul 2017 05:41:08 +0000 (14:41 +0900)]
Bug fix of face detection. orientation info was wrong

Change-Id: Idb951be5b5abd2a1fc864528908b1b0c1874e081

7 years agoJust renaming internal APIs 33/137433/1
Haejeong Kim [Thu, 6 Jul 2017 02:10:02 +0000 (11:10 +0900)]
Just renaming internal APIs

Change-Id: I1569d350ed211e6b8766ed903463616401ba0e9d

7 years agoSvace issue fix. Leak of socket fd 24/137424/3
Haejeong Kim [Thu, 6 Jul 2017 01:29:39 +0000 (10:29 +0900)]
Svace issue fix. Leak of socket fd

Change-Id: I53ecfa194cea6db4f9f197d39fc6d1c8117a116a

7 years agoFix unproper return values 66/137266/2
Haejeong Kim [Wed, 5 Jul 2017 06:54:31 +0000 (15:54 +0900)]
Fix unproper return values

Change-Id: Id1b23dc782a37f87c4426260de1568dc216f56a5

7 years agoAdd color to debug msg 41/137241/2 submit/tizen/20170706.001537
Haejeong Kim [Wed, 5 Jul 2017 05:00:34 +0000 (14:00 +0900)]
Add color to debug msg

Change-Id: I38363ffa4fe90fa084a87c8cdd1aa4cf92aad0b3

7 years agoFix that socket binding was not connected by wrong address 54/137254/2
Jiyong Min [Wed, 5 Jul 2017 06:10:07 +0000 (15:10 +0900)]
Fix that socket binding was not connected by wrong address

Change-Id: Iaa2df51a27c8fd3d083dfa61186723385ee8f1ba
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoUse tzplatform_mkpath to make system-path & replace strcpy to g_strcpy to be safety 37/136137/1
Jiyong Min [Wed, 28 Jun 2017 06:26:55 +0000 (15:26 +0900)]
Use tzplatform_mkpath to make system-path & replace strcpy to g_strcpy to be safety

Change-Id: I400c6568ff24dd5e712575be9889c5747fbeaed5
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoAdd D_GNU_SOURCE for strerror_r 81/136081/1
Haejeong Kim [Wed, 28 Jun 2017 04:39:31 +0000 (13:39 +0900)]
Add D_GNU_SOURCE for strerror_r

Change-Id: Ib95dddd11e7b62cd3b7f5dfd6d9cc4b8a78f2a25

7 years agoChange color of log and remove unused define macro 34/135934/1
Jiyong Min [Tue, 27 Jun 2017 10:32:16 +0000 (19:32 +0900)]
Change color of log and remove unused define macro

Change-Id: Ie3d7d232ce4d7591748950e5e90e81f6fd53e4d5
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoCode refactoring for dcm-service 18/135918/3
Jiyong Min [Tue, 27 Jun 2017 09:26:47 +0000 (18:26 +0900)]
Code refactoring for dcm-service

 - Remove unused source code
 - Cleanup header file

Change-Id: Ia562e4ea5dcc9ce953b5d7925778c71929944885
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoCode refactoring C++ to native C 82/135582/6
Jiyong Min [Fri, 23 Jun 2017 07:41:35 +0000 (16:41 +0900)]
Code refactoring C++ to native C

 - C code refactoring
 - Apply coding rule
 - Fix svace issue in local

Change-Id: I57c294ce5b4522cb3f2e7ab7d5e53de2ab324cda
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agofix invalid format argument types for dlog 28/135128/1 accepted/tizen/unified/20170630.083303 submit/tizen/20170621.064821 submit/tizen/20170622.044226
Haejeong Kim [Wed, 21 Jun 2017 04:58:41 +0000 (13:58 +0900)]
fix invalid format argument types for dlog

Change-Id: I7312c1e6823cf1f5586d511d0effa8622ebfed4f

7 years agoRemove face_error_e and use common Error values in libmm-utility 67/134767/1
Haejeong Kim [Tue, 20 Jun 2017 03:52:31 +0000 (12:52 +0900)]
Remove face_error_e and use common Error values in libmm-utility

Change-Id: I2450a4ae723b79357580de53d6b9f80962caef76

7 years agoBug fix of invalid error handling. Remove DcmErrorType and use common Error in libmed... 65/134565/3 accepted/tizen/unified/20170630.083152 submit/tizen/20170619.092525
Haejeong Kim [Mon, 19 Jun 2017 08:10:56 +0000 (17:10 +0900)]
Bug fix of invalid error handling. Remove DcmErrorType and use common Error in libmedia-util

Change-Id: Ibac733efe0a495490e1f62e589e2d75c7e7e30bf

8 years agoBug fix of IPC communication with Media Server. And user common protocol in media... 23/134023/1 submit/tizen/20170614.092220
Haejeong Kim [Wed, 14 Jun 2017 08:19:02 +0000 (17:19 +0900)]
Bug fix of IPC communication with Media Server. And user common protocol in media-util

Change-Id: Ifaeb611ee73e71b8ec2b14dde4925aaebe9b3985

8 years agoIPC Fail fix. Use common socket msg format. remove DcmIpcMsg and use dcmMsg 81/133581/2
Haejeong Kim [Tue, 13 Jun 2017 01:58:47 +0000 (10:58 +0900)]
IPC Fail fix. Use common socket msg format. remove DcmIpcMsg and use dcmMsg

Change-Id: I24b11032c45c34b9344bb547a423de87857bc32f

8 years agoRemove color query 38/131538/2
Minje Ahn [Tue, 30 May 2017 00:37:55 +0000 (09:37 +0900)]
Remove color query

Change-Id: I28c3de45b50f7053beb8e462405a3c1ecb3c6c19
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
8 years agoRemove useless include 96/131196/1
Haejeong Kim [Fri, 26 May 2017 01:23:45 +0000 (10:23 +0900)]
Remove useless include

Change-Id: Ia2fbf6461761c372e5b77fbd098108dd61b5f943

8 years agoAdd -Werror and fix warnings (VD Reqirement) 02/130402/2 accepted/tizen/unified/20170522.185611 submit/tizen/20170522.081948 tizen_4.0.m1_release
Haejeong Kim [Mon, 22 May 2017 07:54:15 +0000 (16:54 +0900)]
Add -Werror and fix warnings (VD Reqirement)

Change-Id: I4a6651f58d7940244f0799e572b50ecb6b32aa64

8 years agoMemory leak fix and use g_strlcpy instead of strncpy. 78/124878/3 accepted/tizen/unified/20170413.162451 submit/tizen/20170413.020954
Haejeong Kim [Thu, 13 Apr 2017 01:42:41 +0000 (10:42 +0900)]
Memory leak fix and use g_strlcpy instead of strncpy.

Change-Id: I14e7846b824ffa4ab00a16c677f6679b825b659c

8 years agoUse license macro in spec file 98/120498/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170323.154432 accepted/tizen/ivi/20170323.085121 accepted/tizen/mobile/20170323.085029 accepted/tizen/tv/20170323.085048 accepted/tizen/unified/20170323.085141 accepted/tizen/wearable/20170323.085103 submit/tizen/20170323.063443
Haejeong Kim [Thu, 23 Mar 2017 06:17:37 +0000 (15:17 +0900)]
Use license macro in spec file

Change-Id: Ib06b3931c453cd1f8fe7360e8b6afe8d719441d4

8 years agoModify wrong socket_fd to communicate with media-server 27/115727/1
Jiyong Min [Thu, 9 Feb 2017 10:52:50 +0000 (19:52 +0900)]
Modify wrong socket_fd to communicate with media-server

 - The socket_fd should be not -1.

 - Socket timeout was increased to 60 sec.
  The timeout error happen frequently.
  As the result which we tested, it took 30 sec or more at wrost case.
  So it was increased to 60 sec.

 - ETC
  Arrange white space and logs

Change-Id: I3bd2adfd4a0d54f684dc7819685b0f74558e0fc6
Signed-off-by: jiyong.min <jiyong.min@samsung.com>
(cherry picked from commit 8490ba208cd2315dece1059b089ab4944fab2455)

8 years agofix build error 88/109088/2 accepted/tizen/common/20170109.202416 accepted/tizen/ivi/20170109.084406 accepted/tizen/mobile/20170109.084308 accepted/tizen/tv/20170109.084325 accepted/tizen/unified/20170309.033238 accepted/tizen/wearable/20170109.084346 submit/tizen/20170109.021416 submit/tizen_unified/20170308.100408
Jiyong Min [Mon, 9 Jan 2017 00:36:11 +0000 (09:36 +0900)]
fix build error
(build fails because of undefined C++11 user-defined literals)

Change-Id: I7ab36537dd3502f2bc5c7c035dba4ae5d2dced69
Signed-off-by: jiyong.min <jiyong.min@samsung.com>
8 years agoFix null pointer access which is dereferenced at DcmScanSvc.cpp:493, may have NULL... 29/98829/1 accepted/tizen/common/20161122.192818 accepted/tizen/ivi/20161122.235919 accepted/tizen/mobile/20161122.235712 accepted/tizen/tv/20161122.235754 accepted/tizen/wearable/20161122.235836 submit/tizen/20161122.044017
Jiyong Min [Mon, 21 Nov 2016 03:46:05 +0000 (12:46 +0900)]
Fix null pointer access which is dereferenced at DcmScanSvc.cpp:493, may have NULL value.

Change-Id: I9ac4cd0b14b9e7b4dd0a1bd9a930e5b451a2c04c
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
8 years agoModify invalid conversion type and argument mismatch 49/89749/1 accepted/tizen/3.0/common/20161114.105755 accepted/tizen/3.0/ivi/20161011.043810 accepted/tizen/3.0/mobile/20161015.032644 accepted/tizen/3.0/tv/20161016.003952 accepted/tizen/3.0/wearable/20161015.081855 accepted/tizen/common/20160928.163935 accepted/tizen/ivi/20160930.040745 accepted/tizen/mobile/20160930.040419 accepted/tizen/tv/20160930.040556 accepted/tizen/wearable/20160930.040655 submit/tizen/20160928.043825 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000001 submit/tizen_3.0_mobile/20161015.000001 submit/tizen_3.0_tv/20161015.000001 submit/tizen_3.0_wearable/20161015.000001
Jiyong Min [Mon, 26 Sep 2016 23:57:53 +0000 (08:57 +0900)]
Modify invalid conversion type and argument mismatch

 - PROBLEM
 build warning

Change-Id: Ibc5da37d908d59d8cdcaca928af0e41a834d075f
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
8 years agoAdd new header for image-utility internal API 27/87327/1 accepted/tizen/common/20160909.114739 accepted/tizen/ivi/20160909.062503 accepted/tizen/mobile/20160909.062410 accepted/tizen/tv/20160909.062423 accepted/tizen/wearable/20160909.062444 submit/tizen/20160909.003012
Jiyong Min [Wed, 7 Sep 2016 10:33:00 +0000 (19:33 +0900)]
Add new header for image-utility internal API

Change-Id: I515978613c6715910756558820f84946a214970b
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
8 years agoRemove build warning message 81/81681/2 accepted/tizen/common/20160805.130138 accepted/tizen/ivi/20160808.081143 accepted/tizen/mobile/20160808.080758 accepted/tizen/tv/20160808.080951 accepted/tizen/wearable/20160808.081056 submit/tizen/20160805.054353
Jiyong Min [Wed, 27 Jul 2016 23:53:58 +0000 (08:53 +0900)]
Remove build warning message

A parameter type did not eqaul function declare, the type is changed from int to enum.

Change-Id: Iaa2d80aeca239d2d783326468c4a311f019f388d
Signed-off-by: jiyong min <jiyong.min@samsung.com>
8 years agoAdd to scan single item synchronizingly 69/78269/1 accepted/tizen/common/20160706.141805 accepted/tizen/ivi/20160706.013740 accepted/tizen/mobile/20160706.013633 accepted/tizen/tv/20160706.013704 accepted/tizen/wearable/20160706.013719 submit/tizen/20160705.084920
Jiyong Min [Tue, 5 Jul 2016 03:53:42 +0000 (12:53 +0900)]
Add to scan single item synchronizingly

Change-Id: I847fc916c2de48554e7d6776fe48825823da36d9
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
8 years agoRemove unused value return 35/77235/1 accepted/tizen/common/20160703.130539 accepted/tizen/ivi/20160701.033254 accepted/tizen/mobile/20160701.033427 accepted/tizen/tv/20160701.033053 accepted/tizen/wearable/20160701.033141 submit/tizen/20160630.084032 submit/tizen_common/20160701.180000
Jiyong Min [Wed, 29 Jun 2016 06:51:14 +0000 (15:51 +0900)]
Remove unused value return

Change-Id: If884ae3eec6885c374e0399b0c6ded004e915fb6
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
8 years agoEnable DCM on-demand 44/75644/1 accepted/tizen/common/20160627.191509 accepted/tizen/common/20160627.192117 accepted/tizen/ivi/20160627.092436 accepted/tizen/mobile/20160627.091841 accepted/tizen/tv/20160627.092032 accepted/tizen/wearable/20160627.092215 submit/tizen/20160623.063229 submit/tizen/20160627.070732
Jiyong Min [Tue, 21 Jun 2016 01:00:57 +0000 (10:00 +0900)]
Enable DCM on-demand

Change-Id: I4d385fee807fc695ea3179cbe20c58036dc4274d
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
9 years agoRevert "Fix UID/GID" 41/68641/1 accepted/tizen/common/20160509.135047 accepted/tizen/ivi/20160510.002351 accepted/tizen/mobile/20160510.002321 accepted/tizen/tv/20160510.002336 accepted/tizen/wearable/20160510.002342 submit/tizen/20160509.073937
Minje ahn [Mon, 9 May 2016 05:43:49 +0000 (22:43 -0700)]
Revert "Fix UID/GID"

This reverts commit 0c10f6cb33291a616a9d5e64d3510b599d7a36be.

Change-Id: Icab4d037c023bad7835ce0b11220fb197260655b

9 years agoFix UID/GID 55/68355/1 accepted/tizen/common/20160504.130730 accepted/tizen/ivi/20160504.115130 accepted/tizen/mobile/20160504.114709 accepted/tizen/tv/20160504.114552 accepted/tizen/wearable/20160504.114915 submit/tizen/20160504.042345
Minje Ahn [Tue, 3 May 2016 23:51:09 +0000 (08:51 +0900)]
Fix UID/GID

Change-Id: Ic4c0d237228e3e2a4725fcdfd92bf14ebce15716
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
9 years agoApply coding rule 27/65627/1
Jiyong Min [Tue, 12 Apr 2016 00:39:52 +0000 (09:39 +0900)]
Apply coding rule

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