Junghyun Yeon [Thu, 25 Feb 2021 06:29:27 +0000 (15:29 +0900)]
Merge remote-tracking branch 'origin/master' into implement_api2
Junghyun Yeon [Thu, 25 Feb 2021 06:28:59 +0000 (15:28 +0900)]
Fix static analysis issue
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 25 Feb 2021 02:41:59 +0000 (11:41 +0900)]
Change include filepaths
Header include definitions doesn't have to be relative path.
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 25 Feb 2021 03:32:41 +0000 (12:32 +0900)]
Remove unnecessary codes
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 25 Feb 2021 03:09:59 +0000 (12:09 +0900)]
Add locale setter at pkginfo, appinfo function
- Locale at each structure should be set at server side.
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
김일호/Tizen Platform Lab(SR)/Engineer/삼성전자 [Thu, 25 Feb 2021 03:06:49 +0000 (12:06 +0900)]
Disconnect client socket after all use in PkgInfoClient (#85)
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Thu, 25 Feb 2021 03:02:43 +0000 (12:02 +0900)]
Merge remote-tracking branch 'origin/master' into implement_api2
review-bot [Thu, 25 Feb 2021 00:19:05 +0000 (09:19 +0900)]
[Reform] Apply Coding Style
review-bot [Thu, 25 Feb 2021 00:49:31 +0000 (09:49 +0900)]
[Reform] Apply Coding Style
Junghyun Yeon [Thu, 25 Feb 2021 01:49:08 +0000 (10:49 +0900)]
Merge remote-tracking branch 'origin/master' into implement_api2
Ilho Kim [Wed, 24 Feb 2021 07:32:21 +0000 (16:32 +0900)]
Fix CertInfoParcelable
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 24 Feb 2021 15:44:40 +0000 (00:44 +0900)]
Fix double free
GHashTable's pointers will be catched PkgGetDBHandler
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Changgyu Choi [Wed, 24 Feb 2021 03:18:54 +0000 (12:18 +0900)]
Fix static issues
Changes:
* Fix memory leak.
* Remove FilterParcelable::uid_
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Ilho Kim [Tue, 23 Feb 2021 10:54:21 +0000 (19:54 +0900)]
Implement offline mode in PkgInfoClient
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Wed, 24 Feb 2021 05:56:11 +0000 (14:56 +0900)]
Fix build error
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Wed, 24 Feb 2021 03:31:51 +0000 (12:31 +0900)]
Merge remote-tracking branch 'origin/master' into implement_api2
Junghyun Yeon [Wed, 24 Feb 2021 03:24:01 +0000 (12:24 +0900)]
Implement foreach appcontrol API
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
김일호/Tizen Platform Lab(SR)/Engineer/삼성전자 [Wed, 24 Feb 2021 00:07:03 +0000 (09:07 +0900)]
Implement PkgInfoClient (#79)
* Implement PkgInfoClient
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
손주성/Tizen Platform Lab(SR)/Staff Engineer/삼성전자 [Tue, 23 Feb 2021 23:22:03 +0000 (08:22 +0900)]
Merge pull request #78 from jusung07-son/master
Set pkgid for cert db
Junghyun Yeon [Tue, 23 Feb 2021 08:32:03 +0000 (17:32 +0900)]
Implement getting datacontrol privilege API
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 23 Feb 2021 08:13:32 +0000 (17:13 +0900)]
Implement getting datacontrol trusted info API
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 23 Feb 2021 08:02:39 +0000 (17:02 +0900)]
Implement getting datacontrol appid API
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 23 Feb 2021 07:50:30 +0000 (16:50 +0900)]
Update pkgmgr-info APIs
- Fix build error of getting localed label API.
- Implement get datacontrol info API
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 23 Feb 2021 07:40:56 +0000 (16:40 +0900)]
Implement localed label API
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jusung [Tue, 23 Feb 2021 01:28:00 +0000 (10:28 +0900)]
Set pkgid for cert db
Signed-off-by: jusung <jusung07.son@samsung.com>
Junghyun Yeon [Tue, 23 Feb 2021 01:18:16 +0000 (10:18 +0900)]
Implement basic pkgmgrinfo_appinfo_ APIs using newly implemented pkginfo_manager
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
최창규/Tizen Platform Lab(SR)/Engineer/삼성전자 [Tue, 23 Feb 2021 01:04:01 +0000 (10:04 +0900)]
Add SharedObject util (#73)
* Add SharedObject util
* Fix implementation
* Fix conflict
Ilho Kim [Mon, 22 Feb 2021 11:24:09 +0000 (20:24 +0900)]
Modify PkgInfoClient constructor
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Mon, 22 Feb 2021 08:54:51 +0000 (17:54 +0900)]
Change usage of functions
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 19 Feb 2021 08:57:19 +0000 (17:57 +0900)]
Change CertInfoParcelable
Change codes to accept pkgid to be used as getter parcelable.
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
review-bot [Tue, 23 Feb 2021 00:28:54 +0000 (09:28 +0900)]
[Reform] Apply Coding Style
손주성/Tizen Platform Lab(SR)/Staff Engineer/삼성전자 [Tue, 23 Feb 2021 00:28:50 +0000 (09:28 +0900)]
Merge pull request #70 from jusung07-son/master
Implement request handler
Junghyun Yeon [Mon, 22 Feb 2021 11:10:27 +0000 (20:10 +0900)]
Implement _pkginfo_get_packages
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 22 Feb 2021 11:01:00 +0000 (20:01 +0900)]
Remove factory from pkginfoclient
It will be replaced with ParcelableFactory
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 22 Feb 2021 10:50:58 +0000 (19:50 +0900)]
Add logger class
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 22 Feb 2021 10:44:22 +0000 (19:44 +0900)]
Implement pkginfo APIs to use pkginfo_manager API
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 22 Feb 2021 10:12:38 +0000 (19:12 +0900)]
Add locale element at pkg/appinfo structures
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 22 Feb 2021 10:08:00 +0000 (19:08 +0900)]
Add pkginfo manager for adaptor class between C and C++
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jusung [Fri, 19 Feb 2021 05:01:30 +0000 (14:01 +0900)]
Fix static analysis issue
Signed-off-by: jusung <jusung07.son@samsung.com>
jusung [Fri, 19 Feb 2021 04:29:34 +0000 (13:29 +0900)]
Implement request handler
Signed-off-by: jusung <jusung07.son@samsung.com>
Changgyu Choi [Thu, 18 Feb 2021 08:56:23 +0000 (17:56 +0900)]
Fix implementation
김일호/Tizen Platform Lab(SR)/Engineer/삼성전자 [Fri, 19 Feb 2021 01:44:06 +0000 (10:44 +0900)]
Merge pull request #63 from ilho159-kim/query_parcelable
Add QueryParcelable
Changgyu Choi [Thu, 18 Feb 2021 09:27:50 +0000 (18:27 +0900)]
Add to destruct job for release callbacks
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Junghyun Yeon [Thu, 18 Feb 2021 06:58:26 +0000 (15:58 +0900)]
Matching implements and header's prototype
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Thu, 18 Feb 2021 11:09:14 +0000 (20:09 +0900)]
Change to use C++14
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 18 Feb 2021 09:53:35 +0000 (18:53 +0900)]
Fix ResultParcelable
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
review-bot [Wed, 17 Feb 2021 23:48:31 +0000 (08:48 +0900)]
[Reform] Apply Coding Style
Changgyu Choi [Thu, 18 Feb 2021 03:34:50 +0000 (12:34 +0900)]
Fix warning
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Ilho Kim [Thu, 18 Feb 2021 03:49:18 +0000 (12:49 +0900)]
Merge branch 'master' into query_parcelable
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
김일호/Tizen Platform Lab(SR)/Engineer/삼성전자 [Thu, 18 Feb 2021 03:47:10 +0000 (12:47 +0900)]
Add ResultParcelable (#59)
* Add ResultParcelable
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 17 Feb 2021 11:24:09 +0000 (20:24 +0900)]
Add ParcelableFactory
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Changgyu Choi [Wed, 17 Feb 2021 09:45:06 +0000 (18:45 +0900)]
Fix wrong implementation
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Ilho Kim [Wed, 17 Feb 2021 08:09:11 +0000 (17:09 +0900)]
Add QueryParcelable
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
최창규/Tizen Platform Lab(SR)/Engineer/삼성전자 [Wed, 17 Feb 2021 08:24:05 +0000 (17:24 +0900)]
Server/runner (#54)
* Implement worker thread
* Implement Runner
* Add some missing implementation
* Remove unnecessary header
* Add logs for debuging
* Fix coding style
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Junghyun Yeon [Wed, 17 Feb 2021 07:43:52 +0000 (16:43 +0900)]
Delete includes of removed file
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Wed, 17 Feb 2021 07:28:11 +0000 (16:28 +0900)]
Remove unnecessary parcelable and req handlers
AppctrlPrivInfo and DataCtrlPrivInfo will be handled at
QueryParcelable and QueryHandler
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
연정현/Tizen Platform Lab(SR)/Staff Engineer/삼성전자 [Wed, 17 Feb 2021 07:11:28 +0000 (16:11 +0900)]
Separate pkgmgr-info legacy library and implement dbhandler (#52)
separate db access codes from pkgmgr-info internal APIs and add codes at db handlers to use it.
review-bot [Mon, 15 Feb 2021 05:01:52 +0000 (14:01 +0900)]
[Reform] Apply Coding Style
Ilho Kim [Mon, 15 Feb 2021 04:02:41 +0000 (13:02 +0900)]
Fix static analysis issue
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 10 Feb 2021 07:57:41 +0000 (16:57 +0900)]
Implement CertInfoParcelable
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 10 Feb 2021 06:51:41 +0000 (15:51 +0900)]
Implement FilterParcelable
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 10 Feb 2021 03:14:28 +0000 (12:14 +0900)]
Handle allocated memory
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 9 Feb 2021 23:38:31 +0000 (08:38 +0900)]
Change parcel to inherit Parcelable class
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 9 Feb 2021 04:16:12 +0000 (13:16 +0900)]
Fix potential defect
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 8 Feb 2021 11:25:23 +0000 (20:25 +0900)]
Implement PkgInfoParcel, AppInfoParcel
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
review-bot [Tue, 16 Feb 2021 07:59:53 +0000 (16:59 +0900)]
[Reform] Apply Coding Style
최창규/Tizen Platform Lab(SR)/Engineer/삼성전자 [Tue, 16 Feb 2021 07:59:26 +0000 (16:59 +0900)]
Add locale parameter in HandleRequest (#55)
* Add locale parameter in HandleRequest
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
* Fix wrong inheritance implementation
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
손주성/Tizen Platform Lab(SR)/Staff Engineer/삼성전자 [Tue, 16 Feb 2021 06:44:52 +0000 (15:44 +0900)]
Merge pull request #57 from review-bot/reform/appfw-pkgmgr-info-c/c++-google-Xn6UadOE-python-pep8-c100-wLP6J2nv
Coding style for "Implement Server" PR
review-bot [Tue, 16 Feb 2021 04:24:56 +0000 (13:24 +0900)]
[Reform] Apply Coding Style
손주성/Tizen Platform Lab(SR)/Staff Engineer/삼성전자 [Tue, 16 Feb 2021 04:24:50 +0000 (13:24 +0900)]
Merge pull request #50 from jusung07-son/master
Implement Server
Changgyu Choi [Mon, 15 Feb 2021 07:55:26 +0000 (16:55 +0900)]
Add to unlink path
This patch adds to unlink path
when path is already used.
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Mon, 15 Feb 2021 01:05:44 +0000 (10:05 +0900)]
Add Request type in PkgRequest
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
jusung [Sun, 14 Feb 2021 23:47:53 +0000 (08:47 +0900)]
Implement Server
Signed-off-by: jusung <jusung07.son@samsung.com>
손주성/Tizen Platform Lab(SR)/Staff Engineer/삼성전자 [Tue, 9 Feb 2021 23:26:00 +0000 (08:26 +0900)]
Merge pull request #48 from changyu-choi/server/pkg_request
Implement PkgRequest
Changgyu Choi [Tue, 9 Feb 2021 05:41:13 +0000 (14:41 +0900)]
Fix wrong implementation
Changgyu Choi [Tue, 9 Feb 2021 05:34:43 +0000 (14:34 +0900)]
Fix build error
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 9 Feb 2021 04:08:25 +0000 (13:08 +0900)]
Implement PkgRequest
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Ilho Kim [Mon, 8 Feb 2021 00:50:18 +0000 (09:50 +0900)]
Fix some coding style
- Add public keywork for inheritance class
- Fix coding rule
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 5 Feb 2021 12:04:19 +0000 (21:04 +0900)]
Build setup for server
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
연정현/Tizen Platform Lab(SR)/Staff Engineer/삼성전자 [Tue, 9 Feb 2021 03:23:45 +0000 (12:23 +0900)]
Remove pkginfo-server-lib (#43)
It's unnecessary
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Changgyu Choi [Tue, 9 Feb 2021 00:37:22 +0000 (09:37 +0900)]
Add ParcelFactory skeleton code
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Junghyun Yeon [Mon, 8 Feb 2021 09:50:50 +0000 (18:50 +0900)]
Integrate pkgmgr-common with pkgmgr-info
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Mon, 8 Feb 2021 08:09:26 +0000 (17:09 +0900)]
Add GetRequestType method
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
최창규/Tizen Platform Lab(SR)/Engineer/삼성전자 [Mon, 8 Feb 2021 09:07:56 +0000 (18:07 +0900)]
Add request type enum header (#39)
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
review-bot [Fri, 5 Feb 2021 06:32:33 +0000 (15:32 +0900)]
[Reform] Apply Coding Style
Ilho Kim [Fri, 5 Feb 2021 05:41:55 +0000 (14:41 +0900)]
Add TARGET_LINK_LIBRARIES for using some libs
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 5 Feb 2021 06:28:57 +0000 (15:28 +0900)]
Fix build error
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
review-bot [Fri, 5 Feb 2021 05:51:53 +0000 (14:51 +0900)]
[Reform] Apply Coding Style
김일호/Tizen Platform Lab(SR)/Engineer/삼성전자 [Fri, 5 Feb 2021 05:53:45 +0000 (14:53 +0900)]
Add unittest (#31)
* add unittest
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
최창규/Tizen Platform Lab(SR)/Engineer/삼성전자 [Fri, 5 Feb 2021 05:51:42 +0000 (14:51 +0900)]
Implement socket (#32)
* Implement socket
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
* Fix potential issues
김일호/Tizen Platform Lab(SR)/Engineer/삼성전자 [Fri, 5 Feb 2021 01:27:03 +0000 (10:27 +0900)]
Adjust visibility attribute "default" (#30)
* Adjust visibility attribute "default"
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
김일호/Tizen Platform Lab(SR)/Engineer/삼성전자 [Fri, 5 Feb 2021 01:12:06 +0000 (10:12 +0900)]
Fix namespace format (#29)
* adjust namespace
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 4 Feb 2021 09:18:13 +0000 (18:18 +0900)]
Add public keywork
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
review-bot [Wed, 3 Feb 2021 10:58:42 +0000 (19:58 +0900)]
[Reform] Apply Coding Style
review-bot [Thu, 4 Feb 2021 07:10:07 +0000 (16:10 +0900)]
[Reform] Apply Coding Style
Junghyun Yeon [Thu, 4 Feb 2021 08:47:29 +0000 (17:47 +0900)]
Adjust header file location
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 4 Feb 2021 07:32:02 +0000 (16:32 +0900)]
Remove dependency from pkgmgrinfo_basic to pkgmgrinfo_private
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 4 Feb 2021 07:25:14 +0000 (16:25 +0900)]
Integrate pkgmgr-client and pkgmgr-info
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 4 Feb 2021 06:40:06 +0000 (15:40 +0900)]
Remove pkgmgrinfo_private from pkgmgr-info
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 4 Feb 2021 06:05:38 +0000 (15:05 +0900)]
Move files from src/ to common/
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>