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>
Minje Ahn [Wed, 22 May 2019 07:02:58 +0000 (16:02 +0900)]
Fix typo
bacth to batch
Change-Id: Ic1977c61e5bcc0ec026fe7b50c6fb0ed91cfc7de
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 22 May 2019 06:26:43 +0000 (15:26 +0900)]
Use boolean instead of enumeration
Change-Id: I9e1ef388791cad1089e5e35ac17aac604272243f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 21 May 2019 06:27:03 +0000 (15:27 +0900)]
Remove the queue for the folder insertion
No longer needed due to scanner logic changes
Change-Id: If0c1cf1e9b0c1bfc2c47661b9a971f9e763f3bda
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 21 May 2019 00:27:27 +0000 (09:27 +0900)]
Remove unnecessary parameter
Deletes unnecessary parameter due to logic changes
Change-Id: Ideea19adf033415dd361f9093ea0b1435fa611e7
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 15 May 2019 02:05:36 +0000 (11:05 +0900)]
Modify scanner progress
If the modified time of the database and the file system are different,
use UPDATE instead of DELETE/INSERT.
Change-Id: Ibaa7a66a203fbacaaeb115d5744b98d70e3bcd9a
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 13 May 2019 07:51:49 +0000 (16:51 +0900)]
Reduce DB connection when noti
Change-Id: I69d7aa3db5656cce399d37eaa0be80c0abe70b89
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Jiyong Min [Wed, 1 May 2019 23:11:11 +0000 (23:11 +0000)]
Merge "tizen: Add additional unit for "unified" user session" into tizen
Mateusz Moscicki [Fri, 19 Apr 2019 11:57:06 +0000 (13:57 +0200)]
tizen: Add additional unit for "unified" user session
The unified user session is about moving user session units, managed by
systemd --user, to main systemd, where it's managed as part of newly
created user@.target.
user@.target will contain same units as previously available in user/,
with same UID and environment setup. systemd instance is used for unit
to be able to specify UID (inherited from user@.target).
The rationale behind this work is following:
* VD requirement to remove user session support
* boot time optimization requirements, due to:
+ 'systemd --user' taking 1s its own startup that could be used for
unit startup
+ ability to better rearrange units if these managed by one systemd
instance
Unit installed by this commit will not be used till user login mechanism
will be changed in systemd package (via changing pam_systemd to start
user@.target, rather than user@.service).
Change-Id: I009b5188e3c928e6f4faf87f0aac311bd959dc5e
Minje Ahn [Mon, 22 Apr 2019 04:25:17 +0000 (13:25 +0900)]
Update package version
0.3.70 to 0.4.0
Change-Id: Iaee73c360c9e05dd2110542ff9cf9786e4725469
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 17 Apr 2019 06:38:02 +0000 (15:38 +0900)]
Match columns of media with filter keyword
Change-Id: Id024fe77ec6626c733f951410ee3f95e2e0cc4f9
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 11 Apr 2019 22:48:47 +0000 (07:48 +0900)]
Match columns of folder with filter keyword
Change-Id: I7d6495be65f470089fe9b936b88a124efc620843
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Jiyong Min [Thu, 11 Apr 2019 23:13:49 +0000 (23:13 +0000)]
Merge "Modify access label of 'mediadb-update' to System::Tools" into tizen
jiyong.min [Thu, 11 Apr 2019 06:47:32 +0000 (15:47 +0900)]
Modify access label of 'mediadb-update' to System::Tools
Change-Id: Ic1f5ea6224e8c64389b9ad086e405ac931b12885
Minje Ahn [Thu, 11 Apr 2019 06:05:01 +0000 (15:05 +0900)]
Remove unused parameter
Remove storage_type
Change-Id: Ib887f2194c967b2a64b4542821292921b228904d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 11 Apr 2019 03:52:48 +0000 (12:52 +0900)]
Match columns of storage with filter keyword
Change-Id: Ia7c9fd3eaeb8a683bb91fc50324c6b3a8560d30f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 4 Apr 2019 02:06:48 +0000 (11:06 +0900)]
Change path to folder_path in folder table
1. Modify column name
2. Change media, folder join query
3. Remove alias from media and folder table
Change-Id: I2700f2bc7ebbced6af5a9320ba2d25f310e9de52
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
chengyj1985 [Sun, 10 Feb 2019 04:36:46 +0000 (12:36 +0800)]
check usb path before use
Change-Id: I3e89734c0ced73a028c6c743a99eb4705360c811
hj kim [Thu, 7 Feb 2019 06:32:51 +0000 (15:32 +0900)]
Remove unused parameter
Change-Id: I01d98e671a5e0828ef03d89823fe5693e278c0e5
hj kim [Thu, 7 Feb 2019 06:25:21 +0000 (15:25 +0900)]
Return error if path is invalid
Change-Id: Ib7a540948ba9d7d189af1b14eb0558ef1fc9e7ae
Jiyong Min [Thu, 31 Jan 2019 01:06:01 +0000 (01:06 +0000)]
Merge "Remove g_variant_unref" into tizen
Minje Ahn [Wed, 30 Jan 2019 05:33:08 +0000 (14:33 +0900)]
Remove g_variant_unref
g_dbus_message_get_body does not increase ref count.
It just returns body pointer.
Change-Id: I3f4c72abe1f2b40768e6320d441d8e86233e0acd
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
chengyj1985 [Wed, 30 Jan 2019 03:41:51 +0000 (11:41 +0800)]
check pvr modified time on TV product
Change-Id: I883333fa5857e5e91641103fd49db8ba90090784
Minje Ahn [Wed, 30 Jan 2019 01:38:56 +0000 (10:38 +0900)]
Add missing handle
Change-Id: I44ad612035319fb7366e31a7d9b1e05c8c8b1ed9
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 29 Jan 2019 05:28:45 +0000 (14:28 +0900)]
Move set_folder_item_validity
Move plugin to media-common
Change-Id: If42952a34de232b0bc95aa52040b05e90a4ca061
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 29 Jan 2019 05:20:47 +0000 (14:20 +0900)]
Move get_storage_list
Move plugin to media-common
Change-Id: I5b331c0df56822d324a9177fd937fbdc9792d271
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 29 Jan 2019 05:09:45 +0000 (14:09 +0900)]
Move delete_invalid_folder
Move plugin to media-common
Change-Id: Ic5923eeef8d2b74f42aaaaeab1ac0b9d7e05c48d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Fri, 18 Jan 2019 01:42:21 +0000 (10:42 +0900)]
Move delete_all_invalid_items_in_storage
Move API from plugin to media-common
Change-Id: Ifd00f87f3aaab6713600ccc63e9b938305a179f3
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Fri, 18 Jan 2019 00:39:58 +0000 (09:39 +0900)]
Move get_folder_id
Move API from plugin to media-common
Change-Id: Ifc31e0146dfd839ad3bcca460b0765bc1b1c4147
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 17 Jan 2019 23:24:07 +0000 (08:24 +0900)]
Move set_all_storage_items_validity
Move API from plugin to media-common
Change-Id: Ia8d9ddef013367dd23a2697260efc18f6aadc809
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 17 Jan 2019 07:30:30 +0000 (16:30 +0900)]
Move check_item_exist
plugin to media-common library
Change-Id: I9c01ce4a29e78caf25958422c093e16fe5c8f096
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 16 Jan 2019 05:45:16 +0000 (14:45 +0900)]
Use sqlite3 API directly instead of using db-util
1. Remove db-util dependency. db-util is a simple wrapper of sqlite so it is recommended to use sqlite directly
2. add code of "localize collation" from the libslp-db-util to support localized collate fileter option in media-content
Change-Id: Idc7314ba7cd26f4390e0df60abfed9d1a1a50e4b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 16 Jan 2019 08:39:17 +0000 (17:39 +0900)]
Add end flag for scanner-v2
Change-Id: I1d900ce0e91d43d0d065f4ca475f8edcf1988a2c
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
hj kim [Wed, 16 Jan 2019 06:08:23 +0000 (06:08 +0000)]
Merge "Remove check_storage in mediadb-update." into tizen
jiyong.min [Wed, 16 Jan 2019 05:35:17 +0000 (14:35 +0900)]
Remove unused parameter
Change-Id: I3941e955c8fd5ce70cd146c2e7f47df32cebb397
jiyong.min [Wed, 16 Jan 2019 05:13:44 +0000 (14:13 +0900)]
Fix 'undeclaration' build due to parameter mismatch
Change-Id: I72212d95ac08ba4182fe36496514155bd1d7e236
Minje Ahn [Fri, 28 Dec 2018 02:25:11 +0000 (11:25 +0900)]
Remove check_storage in mediadb-update.
check_storage was added to fix the timing issue.
if media-service miss the "MMC mount" event, media-server didn't scan it.
so media-server did check_storage to check MMC by itself. (just update storage table)
but the problem seems to be no longer happening.
Change-Id: I26148e1a854b052339ad986e5d40159011e5003a
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
chengyj1985 [Fri, 11 Jan 2019 05:59:09 +0000 (13:59 +0800)]
add lock to avoid to decode 8k video in two thread
Change-Id: I82b1fa7740fe48d8230d9f12f2775d4449179dde
hj kim [Fri, 11 Jan 2019 01:32:34 +0000 (10:32 +0900)]
Revert removing db-util depencenty because of the localized collate error
Change-Id: I9a992a443a221f5d58e980dda1ec56bf28312bb7
hj kim [Fri, 4 Jan 2019 07:59:43 +0000 (16:59 +0900)]
Add PC Requires
Change-Id: I035b2bcccdfb8df50f3f0ff7c64e533e911cfbfc
jiyong.min [Fri, 7 Dec 2018 04:14:24 +0000 (13:14 +0900)]
Fix format error in logs
Change-Id: I78ca88ff4d60ea5c27ad2290906e80dd1b892dd7
Minje Ahn [Mon, 3 Dec 2018 04:01:47 +0000 (13:01 +0900)]
Remove db-util dependency
Change-Id: I446cbe96c6776bc74baba7f5e2561a557abd34e8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Fri, 30 Nov 2018 01:58:27 +0000 (10:58 +0900)]
Update header
Change-Id: I7ea2ac7d942c097645b49a36a528e5022533b0f7
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Fri, 30 Nov 2018 01:36:26 +0000 (10:36 +0900)]
Remove wrapping struct
Use sqlite3 Explicitly
Change-Id: I8a2b4486f51592b98701728708d645b4514a186f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Fri, 30 Nov 2018 01:17:02 +0000 (10:17 +0900)]
Change DB connection API
Use media-util instead media-svc
Change-Id: I124e7014402e080e4dea416cc56b9a484c46c98d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
hj kim [Thu, 29 Nov 2018 09:20:23 +0000 (18:20 +0900)]
Unify simple APIs
Change-Id: I8ef091ec82aedb41b9365c4c9a780538fb8dcc2e
Minje Ahn [Thu, 29 Nov 2018 07:21:16 +0000 (16:21 +0900)]
Remove unused parameter
Delete unused DB handle
Change-Id: I1c4c2db2239216439beaf2df1ea259a0823655a1
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 29 Nov 2018 01:19:47 +0000 (10:19 +0900)]
Fix typo
ms_validaty_change_all_items to ms_validity_change_all_items
Change-Id: Ie67c645c1a404269fdd9639a96a27e81ce08cbab
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 28 Nov 2018 06:28:47 +0000 (15:28 +0900)]
Delete err_msg
This is old code.
No more error msgs are required.
Use return value instead.
Change-Id: I61d6f0182fbf55a20d61ec0fbd37eaa8be9ee42a
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>