hj kim [Tue, 28 Jul 2020 06:32:27 +0000 (15:32 +0900)]
remove duplicated codes
init/deinit of scan_req_mutex2 is called in msc_init_scan_thread() and msc_deinit_scan_thread()
Change-Id: I1f9d4356be8a4427ba25413d871212087356480d
hj kim [Tue, 28 Jul 2020 01:49:15 +0000 (10:49 +0900)]
Remove unnecessary parameter
Change-Id: I6ea189c15f66bb6535728bf3cc13af2f02f6736d
hj kim [Mon, 27 Jul 2020 03:21:15 +0000 (12:21 +0900)]
Use msc_push_scan_request() API instead of accessing queue directly
And add parameter checking code.
Change-Id: Idf9bcf412271123b00d8518483d4a4dd5db28312
hj kim [Fri, 24 Jul 2020 03:35:22 +0000 (12:35 +0900)]
Sync register_thread code between scanner and scanner-v2
both scanners do same thing in register_thread.
scanner-v2 codes were old one. so updated it.
Change-Id: Ia8dec97011cfbf59d9ce6506e7eae5fd44516f75
hj kim [Fri, 24 Jul 2020 04:50:25 +0000 (13:50 +0900)]
Improve msc_register_thread()
Change-Id: If9605d58e4a687728d4613f013da01b474a131bb
hj kim [Fri, 24 Jul 2020 02:41:34 +0000 (11:41 +0900)]
Sync batch insert code between scanner and scanner-v2
- add some debug log
- Use GPtrArray instead of GArray
- bug fix when batch_insert is stopped due to power_off
Change-Id: I7b7837d50b701aac61c17c93e9c1c1b6ce2faca7
hj kim [Fri, 24 Jul 2020 02:06:31 +0000 (11:06 +0900)]
Remove unnecessary code for TV Product mode
_USE_TVPD_MODE is always enabled for scanner-v2
Change-Id: I83ead7c703e2e83f59447f46f166bec6c8626d8e
hj kim [Thu, 23 Jul 2020 07:36:17 +0000 (16:36 +0900)]
Rename function and apply it to scanner-v2
Change __msc_is_stop_needed() to __msc_is_power_off() because this function check only power status.
And msc_get_power_status() has been removed. _msc_is_power_off() can cover it.
Change-Id: Ib51109da141a4596ac67485d3bcdbaf5998dd619
hj kim [Fri, 24 Jul 2020 00:08:13 +0000 (09:08 +0900)]
Use functions instead of setting value directly. And apply tizen coding rule
Change-Id: If60290b803bbb74961127b4510833f386cd0def2
hj kim [Fri, 24 Jul 2020 00:17:49 +0000 (09:17 +0900)]
Remove unused functions
Change-Id: Icda82739039ad674abfda2b54e104ccef033c64a
Minje Ahn [Tue, 21 Jul 2020 01:00:45 +0000 (10:00 +0900)]
Remove query_do_update_list()
Modified update_one_extract_item() function to update DB directly.
So there is no need to call query_do_update_list() for update.
This patch only affects media-scanner-v2.
Change-Id: Ic8a834eb1303636fb86f461d40226a2ce7ef2c56
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 16 Jul 2020 01:44:42 +0000 (10:44 +0900)]
Remove unused functions in scanner-v2
Change-Id: I0788f2105b9d23238d13857143bb5b3a06f85664
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 15 Jul 2020 05:18:08 +0000 (14:18 +0900)]
Remove DB handle checker
ms_disconnect_db() checks for DB handle.
Change-Id: I545b5c8f5e5cca25c4254272276700b49ef43a8a
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 15 Jul 2020 05:15:39 +0000 (14:15 +0900)]
Remove unnecessary parameters
1. Remove unnecessary parameters
2. Remove unused code
3. Apply coding rule
Change-Id: I0e3688bc359d93c33044afede39b1f2e90d34d9f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 14 Jul 2020 08:02:55 +0000 (17:02 +0900)]
Remove unnecessary plugin API
1. Remove plugin APIs that are no longer used.
2. Remove unnecessary parameters.
Change-Id: I26b403d74c2194479af6369c3b7b13346840b728
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
hj kim [Thu, 9 Jul 2020 02:25:04 +0000 (11:25 +0900)]
Fix typo
Change-Id: Ic8f9c2f9cd22f86d0cb612392805a7572626b1d2
hj kim [Fri, 3 Jul 2020 07:29:17 +0000 (16:29 +0900)]
Improve ms_read_db_tcp_socket() and remove unused funtion
Change-Id: I144d78d13575283c3ff259b43da760b5ddbe43cd
Minje Ahn [Thu, 2 Jul 2020 08:25:38 +0000 (17:25 +0900)]
Flags cleanup
Remove USE_SUSPEND_MODE (unused)
Merge USE_RECORDED_CONTENT, SET_VIP_PROCESS into USE_TVPD_MODE
Change-Id: Idb4141a49248d55408b58055fe3cb96d230df601
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 1 Jul 2020 05:55:29 +0000 (14:55 +0900)]
Remove senior mode
Change-Id: I8859f7655bc9e0135e09cfa41275f44ec8c6123c
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
hj kim [Wed, 1 Jul 2020 02:40:41 +0000 (02:40 +0000)]
Merge "Use FMS(Feature Management System) key instead of system key" into tizen
chengyj1985 [Mon, 29 Jun 2020 03:56:30 +0000 (11:56 +0800)]
Use FMS(Feature Management System) key instead of system key
Change-Id: If50ea2d693f18d799efd6c5c6400d91e8a6f441c
Minje Ahn [Mon, 29 Jun 2020 01:21:47 +0000 (10:21 +0900)]
Remove plugin API for folder batch insertion
This patch changes media-scanner-v2 to write directly to media.db.
It makes better performance than bulk insert through IPC.
Change-Id: Ia91b44d8707b32d4c347c1b152b5225da6dbad17
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
hj kim [Mon, 22 Jun 2020 08:59:42 +0000 (17:59 +0900)]
Remove unnecessary libsmack dependency
Change-Id: Ia3f7473f924af39e2f97af545fc468c161d8ba59
chengyj1985 [Fri, 29 May 2020 05:44:17 +0000 (13:44 +0800)]
free current_path when stop scan
Change-Id: I8ebda21373640e75fae379256f460d29bf54c2b8
chengyj1985 [Thu, 14 May 2020 08:54:28 +0000 (16:54 +0800)]
fix coredump issue when free ptr
Change-Id: Iacbdfea010bdabc8eeee5c4ab5f784add92c272c
Minje Ahn [Wed, 22 Apr 2020 07:53:56 +0000 (16:53 +0900)]
Remove GThreadFunc type cast
Change-Id: Ie36088ef923dac63639934eec008e684e7ddc06c
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 21 Apr 2020 23:46:09 +0000 (08:46 +0900)]
Fix bug that media-scanner does not shut down
There is no response to the cancelled request.
So do not increase req count.
Change-Id: I6a265f6715d6c6a195339f4584a95e6a9a351d20
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 21 Apr 2020 07:20:44 +0000 (16:20 +0900)]
Server side scanner clean up
Change-Id: Ieb365d409de8c2fab3b9e8300e9b229a7fc537b6
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 21 Apr 2020 04:36:02 +0000 (13:36 +0900)]
Fix TV build error
Change-Id: I6d7364ab2dbfd769d846b842cf16313e41efef08
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 20 Apr 2020 22:56:09 +0000 (07:56 +0900)]
Scanner-v2 cleanup
Change-Id: I48802cc60beb69bd1d8033e70905421857fa10a1
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 20 Apr 2020 06:17:41 +0000 (15:17 +0900)]
Clean up thread-related code in media-server
Change-Id: I06a092205022f86b78dfd40de99c9d4b2dba5ace
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 20 Apr 2020 00:49:18 +0000 (09:49 +0900)]
Scanner mainloop cleanup
Change-Id: I51d2a504a0685bb8247168835dda5999e6a81048
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
hj kim [Mon, 13 Apr 2020 07:00:56 +0000 (16:00 +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: I0a47c563dda34a37d3936f94ef7f90fbfa679303
hj kim [Fri, 17 Apr 2020 03:38:20 +0000 (12:38 +0900)]
Fix memory leak
Change-Id: Id14976cdc15b05708743112fb48331657b303ec8
Minje Ahn [Mon, 13 Apr 2020 04:56:42 +0000 (13:56 +0900)]
Code cleanup
Change-Id: Id0857696f352ba13fab920d9027994083054f5d5
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Fri, 10 Apr 2020 01:43:17 +0000 (10:43 +0900)]
External storage related code cleanup
Change-Id: Ia94d294c7257f118c831352fad4b40c30c78cc67
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
hj kim [Wed, 8 Apr 2020 06:57:14 +0000 (06:57 +0000)]
Merge "Remove -Wno-deprecated -Wno-deprecated-declarations options" into tizen
hj kim [Wed, 8 Apr 2020 05:57:54 +0000 (14:57 +0900)]
Remove -Wno-deprecated -Wno-deprecated-declarations options
Change-Id: I0d3777a7bd7bab0bd2a1084572de3bffe992f2ab
Minje Ahn [Wed, 8 Apr 2020 04:12:14 +0000 (13:12 +0900)]
Exclude scanner-v2 from public build
Changed to build the scanner-v2 only for TV profile (Exclude scanner-v1 when TV profile build)
Change-Id: I0d5fa8c32ec53c3d704ce5ca23157b59fabc11aa
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 1 Apr 2020 03:18:11 +0000 (12:18 +0900)]
Change function name
Change-Id: Ia0b013ba11ae6c5ba179fd9ed6d580b20130d8ce
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 31 Mar 2020 00:54:03 +0000 (09:54 +0900)]
Improve notification-related functions
Change-Id: I8b4d856bc63fbacd091f0f9882d5d069d4278aba
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
INSUN PYO [Mon, 23 Mar 2020 23:28:01 +0000 (08:28 +0900)]
Fix memory leak
Change-Id: I9038098ad2e77f47491578e3fda8aed914423dc5
hj kim [Fri, 13 Mar 2020 07:17:02 +0000 (16:17 +0900)]
Modify code to use g_strdup()
Change-Id: I0d2569df7e7059a9af2994e562b3ecfba04c64d8
jiyong.min [Fri, 13 Mar 2020 03:58:12 +0000 (12:58 +0900)]
Remove unused variable and add define to fix build warning
Change-Id: I9ea49a41497db938d0fc38adb1bfce2db9959bf5
hj kim [Thu, 12 Mar 2020 05:34:46 +0000 (14:34 +0900)]
Fix build warning and Modify Makefile to make warning error
Change-Id: I47089d3e772155ed3cde0a9871635424ed9d6de1
hj kim [Tue, 11 Feb 2020 07:11:04 +0000 (16:11 +0900)]
Replace 'g_main_is_running' to 'g_main_loop_is_running' for glib update
Change-Id: I69916c61cf4f2393d556afcf14ab3592d9eca03e
jiyong.min [Thu, 30 Jan 2020 00:16:21 +0000 (09:16 +0900)]
Remove unreachable code
- Fix svace WGID 425080, 425081
Variable 'recv_msg' can't be null because of 'req->recv_msg == NULL' checker.
Change-Id: I649a65805cf8c17c338f47d88d65ac21d1f46f39
Minje Ahn [Wed, 29 Jan 2020 07:11:19 +0000 (16:11 +0900)]
Fix collation error
Cannot find symbol in linked library.
So, use icu API directly instead dlcall.
Change-Id: I3248794bec7cfd07097c40325e344842b9e9d3a2
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
hj kim [Thu, 16 Jan 2020 08:49:35 +0000 (17:49 +0900)]
Unify dulicated code regarding checking msg validity
Change-Id: I10f8eb1e001ce6f2cf118502ae0f4c50c845302c
hj kim [Thu, 16 Jan 2020 08:11:31 +0000 (17:11 +0900)]
Remove unused function
Change-Id: Ia908fa598bddb987538cdf7368586069ff188a09
hj kim [Mon, 13 Jan 2020 06:59:32 +0000 (15:59 +0900)]
Change global variables to static
Change-Id: I6a995e9e9476de4896d96fe3d2d9a5d809b74261
hj kim [Mon, 13 Jan 2020 03:03:45 +0000 (12:03 +0900)]
Remove duplicated codes
Change-Id: I38e7ffe94280e8f11d7e604b959130bc0502dcd6
jiyong.min [Tue, 7 Jan 2020 02:18:40 +0000 (11:18 +0900)]
Fix build error for toolchin upgrade (GCC6->GCC9)
error: 'SIZE_MAX' undeclared
'SIZE_MAX' is defined in 'stdint.h'.
Change-Id: I08864566a765cc0ef6635dc6a00ea9294fb78656
hj kim [Fri, 27 Dec 2019 07:10:54 +0000 (16:10 +0900)]
Change some API's return type to void
Change-Id: I25b58d3f5e16e153528bf56154fb79eacc4161de
chengyj1985 [Thu, 26 Dec 2019 10:07:28 +0000 (18:07 +0800)]
load and unload libmediaservice function once
Change-Id: I8e44c5d500f948268606a2a52accd9d50112ad41
chengyj1985 [Mon, 9 Dec 2019 06:13:52 +0000 (14:13 +0800)]
send msg to app side when recursive scan start
Change-Id: I1c8d0832ba6dbce5721f44c0f9e2f545b75e9910
Minje Ahn [Tue, 5 Nov 2019 01:10:07 +0000 (10:10 +0900)]
Merge all storage tables
Change-Id: I49044af9e80b357e92dbf72b5bfb422f581b3aa2
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
chengyj1985 [Tue, 12 Nov 2019 13:44:46 +0000 (21:44 +0800)]
fix path issue when get folder id
Change-Id: Icf52db1d8dfaab168ca33e3bbc2b79730ca0e10b
chengyj1985 [Wed, 23 Oct 2019 09:10:39 +0000 (17:10 +0800)]
check folder id between media and folder table,if not same, rescan the file
Change-Id: I975b480a27108710c0f99d7375745f7a2681fff8
chengyj1985 [Thu, 17 Oct 2019 03:48:17 +0000 (11:48 +0800)]
Modify the response condition for TV profile
1. Send partial message to all requester
2. Don't remove owner if MS_MSG_SCANNER_COMPLETE
Change-Id: I15761c449fc1275e8e167aec32f9d58cde01a119
Minje Ahn [Wed, 16 Oct 2019 06:33:28 +0000 (15:33 +0900)]
Add feature checker for external storage
Feature of storage.external is false on wearable profile
Change-Id: If47d348164e49ede353da1547ef6b352220ae097
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 9 Oct 2019 23:56:36 +0000 (08:56 +0900)]
Fix buffer size in garray
Change-Id: Idc188b84755981a56f7573689cf7502f701a2b86
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
jiyong.min [Thu, 10 Oct 2019 00:21:02 +0000 (09:21 +0900)]
Change path information to secure log
Change-Id: I31733db9538dcb9b218b4f61ffe121388e723886
Minje Ahn [Tue, 8 Oct 2019 02:09:43 +0000 (11:09 +0900)]
Change error type
Use MS_MEDIA_ERR_DB_INTERNAL instead some db error types for reduce error type
Change-Id: I5d2206b3dac3a3ce603a72db124056010f8a3327
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 7 Oct 2019 06:09:47 +0000 (15:09 +0900)]
Fix memory leak
Change-Id: I72272d582bedcaac93a65eee651274e848fb2378
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 2 Oct 2019 03:59:17 +0000 (12:59 +0900)]
Fix bug
Change-Id: I07c51106b589e8aa3fd6fdb3fea4756989d89450
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 1 Oct 2019 23:35:10 +0000 (08:35 +0900)]
Delete meaningless error types
Change-Id: Ia0d8020b2c074ae3d7d60f23679fe0830315bbe7
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 1 Oct 2019 08:22:31 +0000 (17:22 +0900)]
Change MS_MEDIA_ERR_INVALID_PATH to MS_MEDIA_ERR_INVALID_PARAMETER
Change-Id: I3e61cf1d4a3411776927a04f6fa7264b0fb1cabe
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 1 Oct 2019 07:34:31 +0000 (16:34 +0900)]
Integrate IPC related errors
Change-Id: I578f3e1e6a838b283bf2013c83a231a3affd6a0f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
hj kim [Tue, 1 Oct 2019 02:52:10 +0000 (02:52 +0000)]
Merge "Remove unused error type" into tizen
Minje Ahn [Thu, 26 Sep 2019 06:18:33 +0000 (15:18 +0900)]
Improve thumb thread
Change-Id: I36fc4924cd2d59b93d81ce52fa64a9cd5a7a0463
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 19 Sep 2019 05:59:25 +0000 (14:59 +0900)]
Remove unused error type
Change-Id: Iaae238488cbcdebdbc708e05bc65876a4691e38a
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 23 Sep 2019 08:15:46 +0000 (17:15 +0900)]
Improve dcm thread
Change-Id: I1f3c63432701aed745e1970051e5a5af869a6499
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 24 Sep 2019 01:09:38 +0000 (10:09 +0900)]
Fix coverity issue
Change-Id: I961b547e0c4b73c444a3a406a88bed3351f054b4
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 16 Sep 2019 08:08:52 +0000 (17:08 +0900)]
Modify for readability
Change-Id: Ib3a4e363eaa8e1e2ba57e95e58c9eaf2335a029b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 16 Sep 2019 23:45:16 +0000 (08:45 +0900)]
Fix bug
Add exception handling of requests for deleted directories
Change-Id: I1efe84058a340bf5d614b76a3948f8cbb9d1030f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 11 Sep 2019 00:20:30 +0000 (09:20 +0900)]
Improve __ms_check_storage_status
Change-Id: Id16ddf944bf79ffc7dd71c6d23ced3c5597b3c6e
Minje Ahn [Tue, 10 Sep 2019 06:56:08 +0000 (15:56 +0900)]
Improve owner_list
Change-Id: I076539b5ad7ad1a7960b0641aa8741ce8c9e09ad
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 10 Sep 2019 00:03:10 +0000 (09:03 +0900)]
Change user service path
Change-Id: I2b7a1135c6e3c33be03ee7686731460111efe066
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 5 Sep 2019 23:29:40 +0000 (08:29 +0900)]
Remove __msc_clear_file_list
Change-Id: I96067196dddbcea596c67d0cced80fe4eb72f76c
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 5 Sep 2019 05:16:54 +0000 (14:16 +0900)]
Added code for recording measurements
Change-Id: I130492b153683c2700adaf1a79611f6740b99400
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 4 Sep 2019 08:32:38 +0000 (17:32 +0900)]
Change GArray to GPtrArray
Change-Id: If7bef21b0aebdabb60dfb14634fced0ee647cecd
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 4 Sep 2019 06:39:07 +0000 (15:39 +0900)]
Remove batch db thread
Use db update thread instead
Change-Id: I6f559d98302f68f7750371b7f7a537e5f03a24b8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 4 Sep 2019 05:05:01 +0000 (14:05 +0900)]
Fix crash issue
Change GArray to GPtrArray
Change-Id: I9bebfc08d370dcac9109fda2c39d639da7d3b817
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 28 Aug 2019 05:51:54 +0000 (14:51 +0900)]
Improve msc_register_thread
Change-Id: I7f5938e6650b46d6afb7bac90ea84a5b651622f6
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 2 Sep 2019 07:45:57 +0000 (16:45 +0900)]
Remove unnecessary definition
Change-Id: I4d3b6f45d73a9999a70d94f99e88e8a1998261eb
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 29 Aug 2019 03:09:42 +0000 (12:09 +0900)]
Improve msc_metadata_update
Change-Id: I6ae478e656c6da1447caf9ac6b1da69064548039
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 28 Aug 2019 01:08:43 +0000 (10:08 +0900)]
Improve msc_directory_scan_thread
Change-Id: I0d24081a1011dc8193b495c21149379680e1e27f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 27 Aug 2019 06:42:36 +0000 (15:42 +0900)]
Improve msc_storage_scan_thread()
Change-Id: I3a50e558b598b9e6a7230b8a5b3896a29e7c1ca0
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 26 Aug 2019 05:44:06 +0000 (14:44 +0900)]
Improve __msc_dir_scan function
Change-Id: I0427f03e26f592743dac7b29bd5e3f23e08085f3
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 29 Aug 2019 05:51:22 +0000 (14:51 +0900)]
Remove unnecessary definitions
Change-Id: I47c9d7c3c45b84a03b490c333cf91dc604ef785e
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Yunmi Ha [Thu, 22 Aug 2019 02:01:34 +0000 (02:01 +0000)]
Revert "tizen: Add additional unit for "unified" user session"
This reverts commit
be366a16c0d5ed2252461286299fc039b2cf9b66.
We've optimized systemd-user without unified system/session.
So, we revert the patch for unified system/session.
Change-Id: I137fc81c3aa2a1e6d07553ed7e82ddb8766ed48b
Minje Ahn [Mon, 5 Aug 2019 02:47:52 +0000 (11:47 +0900)]
Change return type of media_db_disconnect()
sqlite3_close_v2() always returns SQLITE_OK.
Therefore, it does not need to check the return value.
Change-Id: Ida11b4577d9553d377df02b83a5c07088ee3da40
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 1 Aug 2019 06:30:13 +0000 (15:30 +0900)]
Change return type of ms_disconnect_db()
sqlite3_close_v2() always returns SQLITE_OK.
Therefore, it does not need to check the return value.
Change-Id: I7c5c6fb90665431a8063527fd221d4f94a75de6b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 18 Jul 2019 07:06:58 +0000 (16:06 +0900)]
Fix media-server-user.service
Change-Id: Iea1475d33c633b9f4d8d1202cd2f54e2c0804a1c
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
INSUN PYO [Wed, 26 Jun 2019 00:41:03 +0000 (09:41 +0900)]
Change the config value of the "CPUAccounting=" ("true" -> "yes")
Change-Id: I856884b54178badd10516de67ecb8c0261bf5b6e
Minje Ahn [Wed, 29 May 2019 23:47:07 +0000 (08:47 +0900)]
Simplify plugin
1. Modified to call the shared object directly
2. Update error msg
Change-Id: I23a487735e6051bed19d1d64ea7d1311c475cfcc
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 29 May 2019 02:29:42 +0000 (11:29 +0900)]
Change folder scanning
Fixed an issue where media could not be seen during folder scan
Change-Id: I6c356f58771aed7a45b13f6b96d9de88dde1fd89
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 23 May 2019 06:06:16 +0000 (15:06 +0900)]
Modified to write directly instead of request
Change-Id: Ibd16f2a38aa573fedf6339e3d5175586cf28c3bd
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 22 May 2019 23:07:03 +0000 (08:07 +0900)]
Fix boolean notation
Change-Id: Ia9ea48b4b68d5a5a891eb9cb42973bff5c5910b6
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>