platform/core/appfw/slp-pkgmgr.git
7 years agoMake the library version to be same as the pakcage version 83/110983/3
jongmyeongko [Thu, 19 Jan 2017 06:04:08 +0000 (15:04 +0900)]
Make the library version to be same as the pakcage version

Change-Id: Ib5af69fc93cfd13eade47f8342ea8b84692f66e7
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoApply MSG_NOSIGNAL to the api using 'send' system call. 21/110821/3
jongmyeongko [Wed, 18 Jan 2017 06:27:17 +0000 (15:27 +0900)]
Apply MSG_NOSIGNAL to the api using 'send' system call.

From a certain cause, if the pipe is broken, then the process will be aborted unexpectedly
and the remaining behavior of that process will be skipped.
The SIGPIPE signal cause this abort.
So, to prevent the unexpect abort, the MSG_NOSIGNAL flag can be the solution.
Becuase, this flag turns off the signaling caused by current system call.
Even though the signaling is off, the process could know the pipe error from errno(EPIPE).

Change-Id: Ifd35062947a24982b160f0774546a855332c7b94
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoRemove unused codes 33/110833/2
Sangyoon Jang [Wed, 18 Jan 2017 07:24:26 +0000 (16:24 +0900)]
Remove unused codes

Change-Id: Ic44b93b1e36391b9ffd7578685ff4595637c171c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix coding violation 25/110825/2
jongmyeongko [Wed, 18 Jan 2017 07:11:53 +0000 (16:11 +0900)]
Fix coding violation

Change-Id: Iaab5aeae37c69d40eda00cc2c1eed41f6006de6e
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoSupport legacy image for backward-compatibility 23/107123/6 accepted/tizen/3.0/common/20170109.195840 accepted/tizen/3.0/ivi/20170109.073416 accepted/tizen/3.0/tv/20170110.055242 accepted/tizen/common/20170112.174439 accepted/tizen/ivi/20170112.222534 accepted/tizen/mobile/20170112.222425 accepted/tizen/tv/20170112.222449 accepted/tizen/wearable/20170112.222512 submit/tizen/20170112.013301 submit/tizen_3.0/20170106.072144 submit/tizen_3.0/20170106.102334 submit/tizen_3.0/20170106.143701
jongmyeongko [Mon, 26 Dec 2016 16:08:42 +0000 (01:08 +0900)]
Support legacy image for backward-compatibility

Refer to:
https://review.tizen.org/gerrit/#/c/104823/

Change-Id: I384e0b4d3e9a80e12bf1810c791f2fa317e947a1
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoRemove unused signal string 63/107263/3 accepted/tizen/3.0/common/20170109.083928 accepted/tizen/3.0/ivi/20170106.095005 accepted/tizen/3.0/mobile/20170106.094808 accepted/tizen/3.0/tv/20170106.094907 accepted/tizen/3.0/wearable/20170106.094936 submit/tizen_3.0/20170105.051635
Junghyun Yeon [Tue, 27 Dec 2016 08:54:32 +0000 (17:54 +0900)]
Remove unused signal string

- enable/disable_global_app_for_uid signal is integrated with
enable/disable_app signal so remove it.

Related changes:
[pkgmgr-info] : https://review.tizen.org/gerrit/107069
[pkgmgr-tool] : https://review.tizen.org/gerrit/107098
[pkgmgr-server] : https://review.tizen.org/gerrit/107264

Change-Id: I617f30e367f45be08f21208f028bb7fc09a9042d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoAdd clear cache signal 50/108350/2
Sangyoon Jang [Wed, 4 Jan 2017 06:29:13 +0000 (15:29 +0900)]
Add clear cache signal

Change-Id: Ifaceab310755b7dbb993a95b4da1f6f594256691
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoAdd uid check routine at cleardata functions 90/105590/8 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.121835 accepted/tizen/3.0.m2/tv/20170104.122324 accepted/tizen/3.0.m2/wearable/20170104.122938 accepted/tizen/3.0/common/20161228.071524 accepted/tizen/3.0/ivi/20161226.030254 accepted/tizen/3.0/mobile/20161226.030114 accepted/tizen/3.0/tv/20161226.030201 accepted/tizen/3.0/wearable/20161226.030227 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0/20161223.043050
Junghyun Yeon [Mon, 19 Dec 2016 05:22:47 +0000 (14:22 +0900)]
Add uid check routine at cleardata functions

- Calling cleardata with global uid will not be allowed
  because cleardata will only works for userdata of each user, not pkg itself

Change-Id: I1d1ff1e24f593c080060f16580a40ace17f845f7
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agorefactor getsize sync function 17/105817/3 accepted/tizen/3.0/common/20161227.101234 accepted/tizen/3.0/ivi/20161222.024819 accepted/tizen/3.0/mobile/20161222.024657 accepted/tizen/3.0/tv/20161222.024728 accepted/tizen/3.0/wearable/20161222.024750 submit/tizen_3.0/20161221.130430
jongmyeongko [Mon, 19 Dec 2016 13:51:25 +0000 (22:51 +0900)]
refactor getsize sync function

Submit with:
https://review.tizen.org/gerrit/#/c/105817/
https://review.tizen.org/gerrit/#/c/105823/
https://review.tizen.org/gerrit/#/c/105825/

Change-Id: I4bd5365a78171d0e51314c6fe2ae526889c5c312
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoFix app/pkg event callback 85/103385/2 accepted/tizen/3.0/common/20161212.060259 accepted/tizen/3.0/common/20161216.122513 accepted/tizen/3.0/ivi/20161212.022740 accepted/tizen/3.0/ivi/20161216.013348 accepted/tizen/3.0/mobile/20161212.022442 accepted/tizen/3.0/mobile/20161216.013211 accepted/tizen/3.0/tv/20161212.022637 accepted/tizen/3.0/tv/20161216.013256 accepted/tizen/3.0/wearable/20161212.022710 accepted/tizen/3.0/wearable/20161216.013319 submit/tizen_3.0/20161209.072525 submit/tizen_3.0/20161214.072903
Junghyun Yeon [Thu, 8 Dec 2016 07:40:53 +0000 (16:40 +0900)]
Fix app/pkg event callback

- App/Pkg event callback will be invoked only when
app/pkg event has happened

Change-Id: I3fc7b226be209389ec45490f03c756a954e3c90f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoAdd debug mode request 63/103163/5
Sangyoon Jang [Wed, 7 Dec 2016 11:22:35 +0000 (20:22 +0900)]
Add debug mode request

Change-Id: I39577120dfa29c360a28fb3974324012eb41f23c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix making gvariant with pkgtype 11/103411/1
Sangyoon Jang [Thu, 8 Dec 2016 08:23:59 +0000 (17:23 +0900)]
Fix making gvariant with pkgtype

Change-Id: Ia0a788428da444dfc63a4fbf643bae53fd1c7ec3
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix build warning 65/103165/2
Sangyoon Jang [Wed, 7 Dec 2016 11:28:58 +0000 (20:28 +0900)]
Fix build warning

Initialize local variable. (-Wmaybe-uninitialized)

Change-Id: I70a8b197feb56924d87d1881e79431feac97150c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoif it's failed to get the pkgtype from the file, use the pkgtype argument. 59/101959/2 accepted/tizen/3.0/common/20161206.125812 accepted/tizen/3.0/ivi/20161206.000411 accepted/tizen/3.0/mobile/20161206.000227 accepted/tizen/3.0/tv/20161206.000334 accepted/tizen/3.0/wearable/20161206.000352 submit/tizen_3.0/20161205.120256
jongmyeongko [Fri, 2 Dec 2016 13:04:58 +0000 (22:04 +0900)]
if it's failed to get the pkgtype from the file, use the pkgtype argument.

Change-Id: Ib4f3d460a10b221253afd8bdb7c2772399225729
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoMove error codes definition to installer lib 11/101411/2
Sangyoon Jang [Fri, 9 Sep 2016 02:14:20 +0000 (11:14 +0900)]
Move error codes definition to installer lib

Submit with:
 - https://review.tizen.org/gerrit/101409
 - https://review.tizen.org/gerrit/101412

Change-Id: Ie8175ab95abf9cda1eff36e5576c17c1f52da721
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoImplement new options 91/100891/3 accepted/tizen/3.0/common/20161203.012129 accepted/tizen/3.0/ivi/20161201.075330 accepted/tizen/3.0/mobile/20161201.075058 accepted/tizen/3.0/tv/20161201.075214 accepted/tizen/3.0/wearable/20161201.075246 submit/tizen_3.0/20161130.132739 submit/tizen_3.0/20161201.024602
jongmyeongko [Tue, 29 Nov 2016 13:04:27 +0000 (22:04 +0900)]
Implement new options

- keep-rwdata, partial-rw to support RO partition upgrade.

Change-Id: I353fe232596f08b665c76c54405ab3f3284eeceb
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoAdd functions for change application label 79/100579/3 submit/tizen_3.0/20161201.024001
Junghyun Yeon [Mon, 28 Nov 2016 12:01:23 +0000 (21:01 +0900)]
Add functions for change application label

Related changes:
[pkgmgr-server] : https://review.tizen.org/gerrit/100580

Change-Id: I806d2ab020b53159474676da13b2aff4270ba518
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoRemove unused internal functions 50/100550/1 accepted/tizen/3.0/common/20161130.065324 accepted/tizen/3.0/ivi/20161130.012625 accepted/tizen/3.0/mobile/20161130.012525 accepted/tizen/3.0/tv/20161130.012552 accepted/tizen/3.0/wearable/20161130.012609 submit/tizen_3.0/20161129.101050
Sangyoon Jang [Mon, 28 Nov 2016 11:02:51 +0000 (20:02 +0900)]
Remove unused internal functions

Change-Id: I923a938950471d7f6ec1b10cc02cf607a0acd33c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix getting signal name 42/100542/2 accepted/tizen/3.0/common/20161129.102917 accepted/tizen/3.0/ivi/20161129.002020 accepted/tizen/3.0/mobile/20161129.001912 accepted/tizen/3.0/tv/20161129.001946 accepted/tizen/3.0/wearable/20161129.001958 submit/tizen_3.0/20161128.050643
Sangyoon Jang [Mon, 28 Nov 2016 10:45:42 +0000 (19:45 +0900)]
Fix getting signal name

Submit with:
 - https://review.tizen.org/gerrit/100543
 - https://review.tizen.org/gerrit/100544

Change-Id: Ibeca57ed960c3d08236f25a62f40547630c39f4f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix _pkg_plugin_load_library() 89/100389/1
Sangyoon Jang [Mon, 28 Nov 2016 04:40:21 +0000 (13:40 +0900)]
Fix _pkg_plugin_load_library()

Return before loading the library if the library already loaded.

Change-Id: Ia97fca4a27a6e76169dd97b51741994a47ac02a7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoAdd getting event name for recovery request type 72/97572/4 accepted/tizen/3.0/common/20161125.101738 accepted/tizen/3.0/ivi/20161125.081919 accepted/tizen/3.0/mobile/20161125.081425 accepted/tizen/3.0/tv/20161125.081726 accepted/tizen/3.0/wearable/20161125.081834 submit/tizen_3.0/20161124.130849
Bartlomiej Kunikowski [Mon, 14 Nov 2016 13:17:32 +0000 (14:17 +0100)]
Add getting event name for recovery request type

As key of recovery request type is set to 'install',
event name for recovery request type is set to 'install' also.

Change-Id: Ie27797a14fcc3889195759df623c8145d7b94ef1
Signed-off-by: Bartlomiej Kunikowski <b.kunikowski@partner.samsung.com>
8 years agoadd new installer options for RW prelaod and no removal 11/99011/4
jongmyeongko [Mon, 21 Nov 2016 11:55:05 +0000 (20:55 +0900)]
add new installer options for RW prelaod and no removal

Change-Id: Ice4b36d2f77b33ce0859a22a1b72a167a680355e
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoRemove getting pkgtype at api side 22/99922/4
Sangyoon Jang [Thu, 24 Nov 2016 11:50:01 +0000 (20:50 +0900)]
Remove getting pkgtype at api side

This will be done by pkgmgr-server.

Submit with:
 - https://review.tizen.org/gerrit/99923
 - https://review.tizen.org/gerrit/99944

Change-Id: Ia2a3a43da1abbad2c2971b6405c7118679cc7768
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoImplement pkgmgr_client_check_pkginfo_from_file accepted/tizen/3.0/common/20161124.181958 accepted/tizen/3.0/ivi/20161124.030518 accepted/tizen/3.0/mobile/20161124.030407 accepted/tizen/3.0/tv/20161124.030431 accepted/tizen/3.0/wearable/20161124.030458 submit/tizen_3.0/20161123.114701
Sangyoon Jang [Tue, 7 Jun 2016 10:31:35 +0000 (19:31 +0900)]
Implement pkgmgr_client_check_pkginfo_from_file

Change-Id: I4dcbabe0b414321718c970e557d335d3727c32c0
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoAdd missing declaration of pkgmgr_client_reqeust_size_info 66/98666/2
Sangyoon Jang [Fri, 18 Nov 2016 07:06:05 +0000 (16:06 +0900)]
Add missing declaration of pkgmgr_client_reqeust_size_info

Change-Id: I57596f8038a8b94f474e8c37ceae8a29b258e5f5
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoRemove auto unsubscribing request event callback 51/96251/1 accepted/tizen/3.0/common/20161114.081602 accepted/tizen/3.0/ivi/20161110.015543 accepted/tizen/3.0/mobile/20161110.015255 accepted/tizen/3.0/tv/20161110.015421 accepted/tizen/3.0/wearable/20161110.015512 submit/tizen_3.0/20161107.133644 submit/tizen_3.0_common/20161110.084657
Sangyoon Jang [Tue, 8 Nov 2016 08:45:55 +0000 (17:45 +0900)]
Remove auto unsubscribing request event callback

Now client can listen multiple callbacks for one reqkey,
so this auto removing logic should be modified.
This commit removes this logic temporarily.

Change-Id: Ie7219e04c33d1291468087df9f896f6057f8d677
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix pkgmgr_client_enable/disable_packages 08/96208/2
Sangyoon Jang [Tue, 8 Nov 2016 07:09:32 +0000 (16:09 +0900)]
Fix pkgmgr_client_enable/disable_packages

Add user event callback.

Change-Id: I72b57130305d74e962a654a6582b4016a246a592
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoImplement new apis for enable/disable multiple packages 65/95565/3
Sangyoon Jang [Fri, 4 Nov 2016 00:29:14 +0000 (09:29 +0900)]
Implement new apis for enable/disable multiple packages

Submit with:
 - https://review.tizen.org/gerrit/95640

Change-Id: Ic5f01059650552b7e1d1040dcf2cd89f06b887fe
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix CMakeLists to add files automatically 66/93066/5
Junghyun Yeon [Thu, 20 Oct 2016 07:48:40 +0000 (16:48 +0900)]
Fix CMakeLists to add files automatically

Change-Id: I2faad2319548ee0c2bcd04490c37d384924cd386
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoFix a memory leak 71/94271/1
Sangyoon Jang [Fri, 28 Oct 2016 02:23:30 +0000 (11:23 +0900)]
Fix a memory leak

Change-Id: I82da1edb86120c3c778e8247b451729f0e7451e1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix compile/linker flags 08/93708/1
Sangyoon Jang [Tue, 25 Oct 2016 10:35:53 +0000 (19:35 +0900)]
Fix compile/linker flags

Add -fPIE, -fPIE flag.
(for applying ASLR)

Change-Id: Icaddc19acd06e41053329596c23432bc3dd60a32
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix memory leak 33/93133/1
Sangyoon Jang [Thu, 20 Oct 2016 07:35:51 +0000 (16:35 +0900)]
Fix memory leak

Change-Id: If1d5ecbffae39f92e31ab97d1ef1f0fe40a07444
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoGet kill/check result from server instead of tmp file 96/91896/4 accepted/tizen/3.0/ivi/20161028.122943 accepted/tizen/3.0/mobile/20161028.122217 accepted/tizen/3.0/tv/20161028.122515 accepted/tizen/3.0/wearable/20161028.122731 accepted/tizen/common/20161012.154706 accepted/tizen/common/20161013.155649 accepted/tizen/ivi/20161014.022155 accepted/tizen/ivi/20161014.074159 accepted/tizen/mobile/20161014.022225 accepted/tizen/mobile/20161014.074056 accepted/tizen/tv/20161014.022141 accepted/tizen/tv/20161014.074119 accepted/tizen/wearable/20161014.022124 accepted/tizen/wearable/20161014.074139 submit/tizen/20161012.064511 submit/tizen/20161012.122424 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082323 submit/tizen_3.0_common/20161104.104000
Sangyoon Jang [Wed, 12 Oct 2016 06:28:54 +0000 (15:28 +0900)]
Get kill/check result from server instead of tmp file

Submit together:
 - https://review.tizen.org/gerrit/91895
 - https://review.tizen.org/gerrit/91896

Change-Id: Ifda21b50828a13290163b7cc598eb6d40a52e396
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix signature of pkgmgr_client_set_tep_path 02/91902/2
Sangyoon Jang [Wed, 12 Oct 2016 06:45:07 +0000 (15:45 +0900)]
Fix signature of pkgmgr_client_set_tep_path

Add a const qualifier to tep_path.

Change-Id: Ic90623a9a0be2a242dfff212e03333be542b5f6a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoAdd installer requirement to devel package 15/88115/2
Slava Barinov [Tue, 13 Sep 2016 11:07:27 +0000 (14:07 +0300)]
Add installer requirement to devel package

Without explicit dependency the case is possible when the -devel package
is installed without client package and provides a broken symlink to
/usr/lib/libpkgmgr_installer.so.0

Change-Id: If3123d62535b607873f83658662ff99fab169905
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
8 years agoCode refactoring 12/86412/10
Sangyoon Jang [Thu, 1 Sep 2016 05:42:21 +0000 (14:42 +0900)]
Code refactoring

- Rename comm_* -> pkgmgr_client_connection_*
- Simplify callback logic
- Move internal headers to source directory
- Remove unused files

Change-Id: I44e9211dddd27e00cc1b908733f0ccb71efc71d1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoMerge "Fix sending signal for reinstall/RDS" into tizen
Tomasz Iwanek [Mon, 10 Oct 2016 08:09:38 +0000 (01:09 -0700)]
Merge "Fix sending signal for reinstall/RDS" into tizen

8 years agoFix sending signal for reinstall/RDS 12/91412/1
Tomasz Iwanek [Fri, 7 Oct 2016 09:18:59 +0000 (11:18 +0200)]
Fix sending signal for reinstall/RDS

Change-Id: I7c8f1a66edf1e7e55753e3386c34d69433056d97

8 years agoFix converting signal type 71/91371/1
Sangyoon Jang [Fri, 7 Oct 2016 07:21:45 +0000 (16:21 +0900)]
Fix converting signal type

Add signal type for clear data.

Change-Id: I31b01178265a773a022120777a8467e41236ab3c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoAdd pkgmgr_installer_send_app_uninstall_signal_for_uid() 23/91223/1 accepted/tizen/3.0/ivi/20161011.065042 accepted/tizen/3.0/mobile/20161015.034039 accepted/tizen/3.0/tv/20161016.005547 accepted/tizen/3.0/wearable/20161015.083924 accepted/tizen/common/20161006.154003 accepted/tizen/ivi/20161006.232919 accepted/tizen/mobile/20161006.232816 accepted/tizen/tv/20161006.232846 accepted/tizen/wearable/20161006.232905 submit/tizen/20161006.094717 submit/tizen_3.0_ivi/20161010.000007 submit/tizen_3.0_mobile/20161015.000006 submit/tizen_3.0_tv/20161015.000005 submit/tizen_3.0_wearable/20161015.000005
Sangyoon Jang [Thu, 6 Oct 2016 09:42:46 +0000 (18:42 +0900)]
Add pkgmgr_installer_send_app_uninstall_signal_for_uid()

Change-Id: I9d18d0727d3a91c4977dce62fa674bfcf7e1bcdb
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix wrong size type in signal agent 64/90964/1 accepted/tizen/common/20161005.165606 accepted/tizen/ivi/20161006.075656 accepted/tizen/mobile/20161006.075613 accepted/tizen/tv/20161006.075630 accepted/tizen/wearable/20161006.075645 submit/tizen/20161005.072822
Sangyoon Jang [Wed, 5 Oct 2016 07:25:16 +0000 (16:25 +0900)]
Fix wrong size type in signal agent

Change-Id: I600c9de85fd3ad3411fba326b9ccee3fee286a5f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoMerge "Fix sending disable/enable pkg signal" into tizen accepted/tizen/common/20160919.154540 accepted/tizen/ivi/20160919.232044 accepted/tizen/mobile/20160919.231951 accepted/tizen/tv/20160919.232015 accepted/tizen/wearable/20160919.232027 submit/tizen/20160919.055034
Junghyun Yeon [Mon, 19 Sep 2016 05:45:17 +0000 (22:45 -0700)]
Merge "Fix sending disable/enable pkg signal" into tizen

8 years agoFix sending disable/enable pkg signal 11/88011/1
Sangyoon Jang [Mon, 12 Sep 2016 12:32:59 +0000 (21:32 +0900)]
Fix sending disable/enable pkg signal

Change-Id: I332a054b63fdd3293442a86a0aa75b9b5e147f5a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoAdd auth checking at signal agent 87/87887/4
Sangyoon Jang [Mon, 12 Sep 2016 04:48:08 +0000 (13:48 +0900)]
Add auth checking at signal agent

Only root or 'app_fw' user can send to agent.

Change-Id: If3ec8662fa9290af7f0d7ffc22b73b39dcfb9a4f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoRemove duplicated codes 70/87870/1
Sangyoon Jang [Mon, 12 Sep 2016 02:39:16 +0000 (11:39 +0900)]
Remove duplicated codes

Change-Id: I815838bbb6e423ce35f58719d02fa3fcff8095cb
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoRemove unused static functions 41/86241/1 accepted/tizen/common/20160905.171417 accepted/tizen/ivi/20160905.235900 accepted/tizen/mobile/20160905.235727 accepted/tizen/tv/20160905.235806 accepted/tizen/wearable/20160905.235833 submit/tizen/20160905.010800
Sangyoon Jang [Wed, 31 Aug 2016 08:01:55 +0000 (17:01 +0900)]
Remove unused static functions

Change-Id: Id6c04851a920c18e7d2053595ce8e79dc6ffbadc
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix signal agent 17/86217/1
Sangyoon Jang [Wed, 31 Aug 2016 06:09:58 +0000 (15:09 +0900)]
Fix signal agent

Do not unref GVariant from g_variant_new_from_data.

Change-Id: I906789bab1bad084670a494f3d096ba87a293a3d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoSet target_user as tizenglobalapp user when -u option is not set 34/86034/2
Sangyoon Jang [Tue, 30 Aug 2016 07:57:08 +0000 (16:57 +0900)]
Set target_user as tizenglobalapp user when -u option is not set

Submit together:
 - https://review.tizen.org/gerrit/86038

Change-Id: I2837adfbb4ce3700caa17cca9c6ee9f8a2099cd7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoClean up event signal related code 20/73620/9
Sangyoon Jang [Mon, 29 Aug 2016 06:06:30 +0000 (15:06 +0900)]
Clean up event signal related code

- Use PKGMGR_XXX instead of COMM_XXX
- Subscribe gdbus signal only once
- Remove unused variables

Change-Id: Ib65544c2ba963493ce7cb23eeb816412689819b5
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoGlobal symlink error code 35/84635/2 accepted/tizen/common/20160829.135844 accepted/tizen/common/20160830.150128 accepted/tizen/ivi/20160830.061208 accepted/tizen/mobile/20160830.060930 accepted/tizen/tv/20160830.061036 accepted/tizen/wearable/20160830.061122 submit/tizen/20160829.010716 submit/tizen/20160830.010724
Tomasz Iwanek [Fri, 19 Aug 2016 14:18:14 +0000 (16:18 +0200)]
Global symlink error code

Change-Id: I5e32253c69eba8eaffae1226e5ad50d1806f7716

8 years agoRemove unused function and codes 49/84349/3 accepted/tizen/common/20160823.132601 accepted/tizen/ivi/20160824.021609 accepted/tizen/mobile/20160824.021433 accepted/tizen/tv/20160824.021530 accepted/tizen/wearable/20160824.021638 submit/tizen/20160822.060113
Junghyun Yeon [Thu, 18 Aug 2016 06:59:42 +0000 (15:59 +0900)]
Remove unused function and codes

-Remove api pkgmgr_client_activate_appv
-Remove csc-related codes

Related change
[pkgmgr-tool] : https://review.tizen.org/gerrit/#/c/84350/

Change-Id: I3aff30ed9c54c9a4d6a20dbee88c0f2a1513cde4
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoFix getting DBus bus type 56/84056/3
Sangyoon Jang [Tue, 16 Aug 2016 10:07:26 +0000 (19:07 +0900)]
Fix getting DBus bus type

Installer now send signal to both of bus types.
The pkgmgr client will connect with proper bus type.

- Request -> system bus
- Listen(system) -> system bus
- Listen(user) -> session bus

Change-Id: If597cecf44e70f8ea9c9264fcdb37bc943057fc5
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoAdd pkgmgr_installer_send_signal_for_uid 05/83105/6
Sangyoon Jang [Tue, 9 Aug 2016 07:29:54 +0000 (16:29 +0900)]
Add pkgmgr_installer_send_signal_for_uid

This api sends signal to agent, and agent emit signal into session bus.

Change-Id: I7c01c5703f836a19a0b19805b50b33d088a2a80e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoImplement pkgmgr-installer-signal-agent 75/82975/13
Sangyoon Jang [Mon, 8 Aug 2016 10:35:51 +0000 (19:35 +0900)]
Implement pkgmgr-installer-signal-agent

pkgmgr-installer-signal-agent receives signal information from backend
installer, and emits into user-session bus.
backend installer running as system user cannot use user session bus, so
this agent will cover for it.

Change-Id: I834782358cf37a151b44737a7592bf40c3fbeba1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix to set g_target_uid properly 23/84223/2 accepted/tizen/common/20160818.144514 accepted/tizen/ivi/20160819.063351 accepted/tizen/mobile/20160819.063221 accepted/tizen/tv/20160819.063335 accepted/tizen/wearable/20160819.063315 submit/tizen/20160818.060816
Junghyun Yeon [Wed, 17 Aug 2016 10:50:51 +0000 (19:50 +0900)]
Fix to set g_target_uid properly

Change-Id: I06ab3e4981f47bfed67f3b971cfd9dbd2b12619c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agotpk/wgt backend will run as system session 64/80764/5 accepted/tizen/common/20160812.140738 accepted/tizen/ivi/20160815.233244 accepted/tizen/mobile/20160815.233114 accepted/tizen/tv/20160815.233202 accepted/tizen/wearable/20160815.233222 submit/tizen/20160811.013634 submit/tizen/20160811.062803 submit/tizen/20160812.053402
Junghyun Yeon [Wed, 20 Jul 2016 05:17:43 +0000 (14:17 +0900)]
tpk/wgt backend will run as system session

Related changes
[pkgmgr-server] https://review.tizen.org/gerrit/#/c/78205/
[app-installers] https://review.tizen.org/gerrit/#/c/78206/
[tpk-backend] https://review.tizen.org/gerrit/#/c/80787/
[wgt-backend] https://review.tizen.org/gerrit/#/c/81099/

Change-Id: Ie19d7b431ef13a035cdd8c4df76b515aa57b4ca3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agonew internal API for parser-plugin to get target_uid. 31/81631/4 accepted/tizen/common/20160803.193137 accepted/tizen/ivi/20160804.080746 accepted/tizen/mobile/20160804.080838 accepted/tizen/tv/20160804.080704 accepted/tizen/wearable/20160804.080511 submit/tizen/20160803.012753
jongmyeongko [Wed, 27 Jul 2016 10:24:25 +0000 (19:24 +0900)]
new internal API for parser-plugin to get target_uid.

Change-Id: Id6ae8ce79be686659baab096ed7db70a5e4263d4
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoImplement pkg enable/disable 17/78917/4 accepted/tizen/common/20160719.171846 accepted/tizen/ivi/20160718.104412 accepted/tizen/mobile/20160718.104258 accepted/tizen/tv/20160718.104152 accepted/tizen/wearable/20160718.104316 submit/tizen/20160718.020809
Junghyun Yeon [Thu, 7 Jul 2016 10:13:49 +0000 (19:13 +0900)]
Implement pkg enable/disable

Related changes
[pkgmgr-tool] https://review.tizen.org/gerrit/78916
[pkgmgr-server] https://review.tizen.org/gerrit/78918
[app-installers] https://review.tizen.org/gerrit/78919
[tpk-backend] https://review.tizen.org/gerrit/#/c/79070/

Change-Id: I122cf29824b4ce60327cf6e790474db0dee3d035
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoFix pkgmgr_client_set_tep_path 50/80150/1
Sangyoon Jang [Fri, 15 Jul 2016 02:40:58 +0000 (11:40 +0900)]
Fix pkgmgr_client_set_tep_path

Change-Id: Ib6ba6458d78956adaad5ccb8536caac7984ede76
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoUnknown key string addition 84/77784/3 accepted/tizen/common/20160706.141902 accepted/tizen/ivi/20160706.014248 accepted/tizen/mobile/20160706.014210 accepted/tizen/tv/20160706.014224 accepted/tizen/wearable/20160706.014236 submit/tizen/20160705.114429
Piotr Ganicz [Thu, 30 Jun 2016 14:28:58 +0000 (16:28 +0200)]
Unknown key string addition

The following patchset should be submitted together:
https://review.tizen.org/gerrit/#/c/77782/

Change-Id: Id906263319ec6557c40a4877add9616783b99767

8 years agoFix sending upgrade event 75/77775/3 accepted/tizen/common/20160706.141401 accepted/tizen/ivi/20160705.044604 accepted/tizen/mobile/20160705.044436 accepted/tizen/tv/20160705.044547 accepted/tizen/wearable/20160705.044500 submit/tizen/20160704.042542
Sangyoon Jang [Fri, 1 Jul 2016 05:27:35 +0000 (14:27 +0900)]
Fix sending upgrade event

Change-Id: I1ecf7a0b3a283c2e3a6bffff838fd6f083043ad7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoadd string for new error 44/77244/1 accepted/tizen/common/20160703.130839 accepted/tizen/ivi/20160701.034213 accepted/tizen/mobile/20160701.034346 accepted/tizen/tv/20160701.034116 accepted/tizen/wearable/20160701.034241 submit/tizen/20160630.141237 submit/tizen_common/20160701.180000
jongmyeongko [Wed, 29 Jun 2016 07:20:59 +0000 (16:20 +0900)]
add string for new error

Change-Id: Ia6615da9ffc316827a5371a50c2cf1e76b2fdc6c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoadd new pkgcmd errors 22/76822/1
jongmyeongko [Mon, 27 Jun 2016 10:31:07 +0000 (19:31 +0900)]
add new pkgcmd errors

Change-Id: I436d7476f89bb58d028210d8538c3e565feeb361
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agofix style 45/72145/4 accepted/tizen/common/20160627.191600 accepted/tizen/ivi/20160624.063930 accepted/tizen/mobile/20160624.063513 accepted/tizen/tv/20160624.063551 accepted/tizen/wearable/20160624.063820 submit/tizen/20160623.103205
jongmyeongko [Tue, 31 May 2016 02:52:12 +0000 (11:52 +0900)]
fix style

Change-Id: I7c32da19d027896bba2588cbf7eaee47c19c1567
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoremove unused function 70/74970/1 accepted/tizen/common/20160620.163114 accepted/tizen/common/20160620.163202 accepted/tizen/ivi/20160617.083625 accepted/tizen/ivi/20160617.083716 accepted/tizen/mobile/20160617.083447 accepted/tizen/mobile/20160617.083837 accepted/tizen/tv/20160617.083314 accepted/tizen/tv/20160617.083607 accepted/tizen/wearable/20160617.083651 accepted/tizen/wearable/20160617.083919 submit/tizen/20160616.134250 submit/tizen/20160616.235341
Junghyun Yeon [Thu, 16 Jun 2016 07:32:29 +0000 (16:32 +0900)]
remove unused function

Change-Id: Id5f85eb750fc9979de96d8a753f2349317199b7e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoFix pkgmgr move API to get event callback 21/73621/3 accepted/tizen/common/20160613.144707 accepted/tizen/ivi/20160610.114457 accepted/tizen/mobile/20160610.114406 accepted/tizen/tv/20160610.114425 accepted/tizen/wearable/20160610.114443 submit/tizen/20160610.015635
Junghyun Yeon [Thu, 9 Jun 2016 02:19:14 +0000 (11:19 +0900)]
Fix pkgmgr move API to get event callback

- move function should receive signal to retrieve
current progress of job requested
- remove mode argument from move api for compatibility previous tizen version.
(actually, mode argument is not used)

changed should be applied with pkgmgr-server
https://review.tizen.org/gerrit/#/c/73622/

Change-Id: I914835ba95cc240ebe3aed06cc3f6217edb926ca
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoFix __get_signal_name 66/73466/1 accepted/tizen/common/20160610.175850 accepted/tizen/ivi/20160609.091406 accepted/tizen/mobile/20160609.091540 accepted/tizen/tv/20160609.091344 accepted/tizen/wearable/20160609.091317 submit/tizen/20160609.010102
Sangyoon Jang [Wed, 8 Jun 2016 08:08:17 +0000 (17:08 +0900)]
Fix __get_signal_name

Add cases: manifest direct install, mount install

Change-Id: I340a7628dd74d74bf8089a98283a01c319bf43ae
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix crash when event callback is not set 66/73166/2 accepted/tizen/common/20160607.194653 accepted/tizen/ivi/20160607.235245 accepted/tizen/ivi/20160607.235333 accepted/tizen/mobile/20160607.235228 accepted/tizen/mobile/20160607.235305 accepted/tizen/tv/20160607.235241 accepted/tizen/tv/20160607.235324 accepted/tizen/wearable/20160607.235233 accepted/tizen/wearable/20160607.235314 submit/tizen/20160607.081957 submit/tizen/20160607.082137
Sangyoon Jang [Tue, 7 Jun 2016 04:32:11 +0000 (13:32 +0900)]
Fix crash when event callback is not set

Change-Id: I660591bcfe8c30f62cd6c1700154d019d4e8c08e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoReorder parameters of function for consistency 92/70692/1 accepted/tizen/common/20160602.140044 accepted/tizen/ivi/20160602.022850 accepted/tizen/mobile/20160602.023022 accepted/tizen/tv/20160602.022551 accepted/tizen/wearable/20160602.022737 submit/tizen/20160531.024853
Junghyun Yeon [Fri, 20 May 2016 06:40:58 +0000 (15:40 +0900)]
Reorder parameters of function for consistency

reorder parameters for get_pkg_restrction_mode
for consistency with other functions

Change-Id: Ie12242e2861638ecbd286e36b8a72e0d260a24db
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoIntegrate blacklist and restrictiom mode 87/69587/8 submit/tizen/20160520.050106
Junghyun Yeon [Mon, 16 May 2016 04:32:52 +0000 (13:32 +0900)]
Integrate blacklist and restrictiom mode

Remove APIs related with pkg blacklist function
and Integrate into restriction mode

Related changes : pkgmgr-server
https://review.tizen.org/gerrit/#/c/69473/

Change-Id: I046a58850c41a442f3ae02b2b1478ef561ad0747
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoChanged dependency of pwdutils to /sbin/useradd 14/70614/2 accepted/tizen/common/20160523.143832 accepted/tizen/ivi/20160523.023843 accepted/tizen/mobile/20160523.023924 accepted/tizen/tv/20160523.023900 accepted/tizen/wearable/20160523.023910 submit/tizen/20160520.053329
changjoo.lee [Fri, 20 May 2016 01:07:31 +0000 (10:07 +0900)]
Changed dependency of pwdutils to /sbin/useradd

pwdutils may be replaced with shadow-utils

Change-Id: Ib070eb8ff330b8f90ba66b7e2dbc6b57da14a42a
Signed-off-by: changjoo.lee <changjoo.lee@samsung.com>
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
8 years agoChange the owner of /etc/skel/apps_rw to tizenglobalapp 94/68294/3
Semun Lee [Tue, 3 May 2016 09:13:46 +0000 (18:13 +0900)]
Change the owner of /etc/skel/apps_rw to tizenglobalapp

app-installer that runs as tizenglobalapp will create
directories to /etc/skel/apps_rw for global applications

Change-Id: Iaa313ae496a84374ea5d07f083ddf981fa8b7d39
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
8 years agoImplement restriction mode api 06/68306/5
Sangyoon Jang [Tue, 3 May 2016 10:35:33 +0000 (19:35 +0900)]
Implement restriction mode api

Related patch:
 - https://review.tizen.org/gerrit/66938

Change-Id: I9d1edfa4ac20c6e2b543e0694eb27f5f459f7758
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agopkgmgr_client_usr_mount_install 69/66569/4 accepted/tizen/common/20160505.140351 accepted/tizen/ivi/20160506.035731 accepted/tizen/mobile/20160506.035155 accepted/tizen/tv/20160506.035523 accepted/tizen/wearable/20160506.035622 submit/tizen/20160504.074553
Tomasz Iwanek [Mon, 18 Apr 2016 14:45:05 +0000 (16:45 +0200)]
pkgmgr_client_usr_mount_install

Requires:
 - https://review.tizen.org/gerrit/#/c/65834/

Change-Id: Ia05f8efea9613a297568d6983a1528c8b0e43e1d

8 years agoAdd mount install option handling to pkgmgr_installer API 88/65788/3
Tomasz Iwanek [Tue, 12 Apr 2016 11:39:10 +0000 (13:39 +0200)]
Add mount install option handling to pkgmgr_installer API

Change-Id: Ie8b97d9fcbb1d33eacc142a7768766b8823b0e8d

8 years agoImplement app signal related with app splash screen display 62/65962/7 accepted/tizen/common/20160426.143114 accepted/tizen/ivi/20160425.231856 accepted/tizen/mobile/20160425.231844 accepted/tizen/tv/20160425.231816 accepted/tizen/wearable/20160425.231835 submit/tizen/20160425.083419
Hwankyu Jhun [Wed, 6 Apr 2016 06:08:21 +0000 (15:08 +0900)]
Implement app signal related with app splash screen display

Change-Id: Ib5923f6dfbd91488b7710b37bc47c00f423ee6ac
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoimplement pkg move 22/64122/8 accepted/tizen/common/20160421.161500 accepted/tizen/common/20160425.144850 accepted/tizen/ivi/20160421.011303 accepted/tizen/mobile/20160421.011437 accepted/tizen/tv/20160421.011323 accepted/tizen/wearable/20160421.011330 submit/tizen/20160418.112441 submit/tizen/20160420.102539 submit/tizen/20160425.015839 submit/tizen/20160425.022839
Junghyun Yeon [Wed, 30 Mar 2016 07:14:40 +0000 (16:14 +0900)]
implement pkg move

changes are applied in these repos
[pkgmgr-tool] https://review.tizen.org/gerrit/#/c/64121/
[slp-pkgmgr] https://review.tizen.org/gerrit/#/c/64122/
[pkgmgr-server] https://review.tizen.org/gerrit/#/c/64123/

Change-Id: Ic2de3a2b690aafc78faeb78695862d3d181451de
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoFix pkgmgr.pc.in 89/66289/1
Sangyoon Jang [Mon, 18 Apr 2016 07:56:28 +0000 (16:56 +0900)]
Fix pkgmgr.pc.in

Remove wrong dependency(removed).

Change-Id: I11a3feebceac672ea1cb674581e0b3d2cd0da5b7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoReturn PKGMGR_R_EPRIV error when privilege denied 98/65698/1
Sangyoon Jang [Tue, 12 Apr 2016 06:53:15 +0000 (15:53 +0900)]
Return PKGMGR_R_EPRIV error when privilege denied

Change-Id: I3bc3a5432fdcb66f5f089eff0135f2cbed2905e7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoSource cleanup 71/65671/4
Sangyoon Jang [Tue, 12 Apr 2016 05:44:16 +0000 (14:44 +0900)]
Source cleanup

- comm_xxx(pkgmgr_installer_client.so) => merged at pkgmgr_client
- remove unused files
- don't install unnecessary files

Change-Id: Ia369bb621606437645673e2fea136ec9f59d18fb
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoPass it's own uid when calling not 'usr' prefixed api 04/64904/2 accepted/tizen/common/20160411.130023 accepted/tizen/ivi/20160411.051425 accepted/tizen/mobile/20160411.051559 accepted/tizen/tv/20160411.051453 accepted/tizen/wearable/20160411.051548 submit/tizen/20160411.024425
Sangyoon Jang [Wed, 6 Apr 2016 06:17:30 +0000 (15:17 +0900)]
Pass it's own uid when calling not 'usr' prefixed api

If the caller is a regular user, pass it's own uid, but if the caller is
a non-regular user(root or system daemon), pass tizenglobalapp user's
uid.

Change-Id: I78d66ebb0e8521e185b97b8cdb53c7fb6de3622a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoimplement functions to used by capi-package-manager 77/64577/3 accepted/tizen/common/20160406.144151 accepted/tizen/ivi/20160406.071936 accepted/tizen/mobile/20160406.071830 accepted/tizen/tv/20160406.071852 accepted/tizen/wearable/20160406.071913 submit/tizen/20160406.013051
Junghyun Yeon [Mon, 4 Apr 2016 00:01:55 +0000 (09:01 +0900)]
implement functions to used by capi-package-manager
when unset event cb

Change-Id: I3589e878537a04b9bbea41f995f7e631e3a81002
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoFix build warning 00/64600/1 accepted/tizen/common/20160406.143406 accepted/tizen/ivi/20160406.012026 accepted/tizen/mobile/20160406.011855 accepted/tizen/tv/20160406.011945 accepted/tizen/wearable/20160406.012006 submit/tizen/20160405.001024
Myungki Lee [Mon, 4 Apr 2016 05:47:20 +0000 (14:47 +0900)]
Fix build warning

Change-Id: I65aa47edc825fbd5f6250eb55b8a9290c5d665df
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoadd force-removal option for installer. 16/63116/3 accepted/tizen/common/20160323.184341 accepted/tizen/common/20160324.084223 accepted/tizen/ivi/20160324.131626 accepted/tizen/mobile/20160324.132909 accepted/tizen/tv/20160324.132732 accepted/tizen/wearable/20160324.132656 submit/tizen/20160323.020400 submit/tizen/20160323.235918
jongmyeongko [Tue, 22 Mar 2016 06:59:03 +0000 (15:59 +0900)]
add force-removal option for installer.

usage(root only):
tpk-backend -d {pkgid} --preload --force-remove

Change-Id: I0a8e9ddb787d3ae55cb9832ae3bf7918c97fa9fe
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoseperate app enable/disable signal parameter 41/62541/4 accepted/tizen/ivi/20160323.010801 accepted/tizen/mobile/20160323.010651 accepted/tizen/tv/20160323.010723 accepted/tizen/wearable/20160323.010743 submit/tizen/20160322.002805
Junghyun Yeon [Wed, 16 Mar 2016 11:53:09 +0000 (20:53 +0900)]
seperate app enable/disable signal parameter

Change-Id: Ie38784869255bf35679895f5f4f0f0e7432e878b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoredefine pkg queues 26/62926/2
Junghyun Yeon [Mon, 21 Mar 2016 06:21:38 +0000 (15:21 +0900)]
redefine pkg queues

Change-Id: Ieffcd2eb4c26f2d6f03dfda5dd12eeab3a21694b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoSend signal with target_uid instead of getuid() 75/62875/1
Sangyoon Jang [Mon, 21 Mar 2016 02:25:22 +0000 (11:25 +0900)]
Send signal with target_uid instead of getuid()

Change-Id: I9a27872c3fbafe9aebd406263c516b8898862a22
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agofix and add some prototype to suppress build warnings 91/61991/2 accepted/tizen/common/20160317.155414 accepted/tizen/ivi/20160315.001449 accepted/tizen/mobile/20160315.001402 accepted/tizen/tv/20160315.001412 accepted/tizen/wearable/20160315.001427 submit/tizen/20160314.031145 submit/tizen_common/20160316.154911
Junghyun Yeon [Sat, 12 Mar 2016 04:39:44 +0000 (13:39 +0900)]
fix and add some prototype to suppress build warnings

Change-Id: Ib62e03d5ac11ae4e9ed8c40014f6433d9fd94703
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years ago- change enum value of COMM_STATUS_BROADCAST_ALL 60/61960/2
Junghyun Yeon [Fri, 11 Mar 2016 11:46:18 +0000 (20:46 +0900)]
- change enum value of COMM_STATUS_BROADCAST_ALL
to cover enable/disable of app
- remove useless code

Change-Id: I7831215bbb64a55c116126606109aed8dd17a6b1
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoadd missing declaration for tep related function. 14/61314/2
jongmyeongko [Mon, 7 Mar 2016 08:43:29 +0000 (17:43 +0900)]
add missing declaration for tep related function.

Change-Id: I5c129b59b69b7698a7fdae16e5238fb2370cf432
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agochanges to app signal work properly 73/60773/2 accepted/tizen/common/20160308.142757 accepted/tizen/ivi/20160309.004712 accepted/tizen/mobile/20160309.004616 accepted/tizen/tv/20160309.004633 accepted/tizen/wearable/20160309.004652 submit/tizen/20160308.025616
Junghyun Yeon [Wed, 2 Mar 2016 07:01:19 +0000 (16:01 +0900)]
changes to app signal work properly

Change-Id: Ie3fc60733b9bddeee92df09596145a85fec7afeb
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoRemove sample backend code 11/60311/1 accepted/tizen/common/20160304.194334 accepted/tizen/ivi/20160303.093921 accepted/tizen/mobile/20160303.093807 accepted/tizen/tv/20160303.093831 accepted/tizen/wearable/20160303.093902 submit/tizen/20160303.064856
Sangyoon Jang [Thu, 25 Feb 2016 03:13:11 +0000 (12:13 +0900)]
Remove sample backend code

These codes are out-dated.

Change-Id: I65b798eecca2eac4db8606d1efeea34ff1693b30
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agofix build error that 'rpm' conflict with file from tpk-backend package 44/60244/2 accepted/tizen/common/20160301.120555 accepted/tizen/ivi/20160225.081530 accepted/tizen/mobile/20160225.081436 accepted/tizen/tv/20160225.081501 accepted/tizen/wearable/20160225.081515 submit/tizen/20160224.092304 submit/tizen/20160224.092603 submit/tizen_common/20160229.190608
jongmyeong ko [Wed, 24 Feb 2016 09:15:50 +0000 (01:15 -0800)]
fix build error that 'rpm' conflict with file from tpk-backend package

This reverts commit e416196f661ee7e34860993d802f70a4f423e2b0.

Change-Id: Icc47a52e6aed048c8c8f26c8a0dace0afaf1d327

8 years agoRevert "clear 'rpm' related code" 18/60118/2 submit/tizen/20160224.000443
jongmyeong ko [Tue, 23 Feb 2016 11:26:18 +0000 (03:26 -0800)]
Revert "clear 'rpm' related code"

This reverts commit c0a0d7ca6485f1fc9c70994bbf2e578f60cf5fc3.

Change-Id: Ife60abc72f9d6d31deb5ef3e636d9610ea9b649e

8 years agochange the name of optional_file argument to more common one. 74/60074/1
jongmyeongko [Tue, 23 Feb 2016 07:21:35 +0000 (16:21 +0900)]
change the name of optional_file argument to more common one.

Change-Id: Iad1f4ec4b021cbd33e91db8aa207c93780d20085
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoclear 'rpm' related code 31/59731/1 accepted/tizen/common/20160222.162127 accepted/tizen/ivi/20160222.011639 accepted/tizen/mobile/20160222.011434 accepted/tizen/tv/20160222.011515 accepted/tizen/wearable/20160222.011554 submit/tizen/20160219.102650 submit/tizen_common/20160222.141210
jongmyeongko [Thu, 18 Feb 2016 03:17:23 +0000 (12:17 +0900)]
clear 'rpm' related code

Change-Id: I4a7099ff8b62a6051d06aaf3bde8dc8e1b54eaea
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoadd 'preload' as long option 66/58866/6 accepted/tizen/common/20160217.170655 accepted/tizen/ivi/20160218.023300 accepted/tizen/mobile/20160205.064210 accepted/tizen/tv/20160205.064224 accepted/tizen/wearable/20160205.064244 submit/tizen/20160205.051501 submit/tizen_common/20160217.131930 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002
jongmyeongko [Wed, 3 Feb 2016 12:33:05 +0000 (21:33 +0900)]
add 'preload' as long option

this option represents current request is for preload app.

Change-Id: Icdbb43bff3e716bea082bea6b51103276d774559
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoAdd define PKGMGR_INSTALLER_CLEAR_EVENT_STR 44/58244/2
Tomasz Iwanek [Thu, 28 Jan 2016 12:45:53 +0000 (13:45 +0100)]
Add define PKGMGR_INSTALLER_CLEAR_EVENT_STR

Change-Id: I377dc2e4a45f8d57302941d75911e96006ca5805

8 years agoImplement app signal related with app disable/enable 32/57832/8 accepted/tizen/mobile/20160202.114604 accepted/tizen/mobile/20160203.051928 accepted/tizen/tv/20160202.114652 accepted/tizen/tv/20160203.051945 accepted/tizen/wearable/20160202.114731 accepted/tizen/wearable/20160203.052014 submit/tizen/20160201.060916 submit/tizen/20160202.002216 submit/tizen/20160202.010556 submit/tizen/20160202.023804 submit/tizen/20160203.003555
Junghyun Yeon [Mon, 25 Jan 2016 06:15:11 +0000 (15:15 +0900)]
Implement app signal related with app disable/enable

Changes applied at
[pkgmgr-tool][pkgmgr-info][slp-pkgmgr][pkgmgr-server]

Change-Id: I0e7af16a23329fd4f364e6d5932e8bc24d43ef0a
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoFix getsize method call parameter 71/58171/1 accepted/tizen/mobile/20160201.042846 accepted/tizen/tv/20160201.042920 accepted/tizen/wearable/20160201.042934 submit/tizen/20160201.013807
Sangyoon Jang [Thu, 28 Jan 2016 06:42:39 +0000 (15:42 +0900)]
Fix getsize method call parameter

uid was missing

Change-Id: I493bc74144a732329fdc58c50e06dc0dd865deca
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>