platform/core/appfw/aul-1.git
7 years agoResolve appid using AMD cache 72/114672/8
Junghoon Park [Tue, 14 Feb 2017 10:58:38 +0000 (19:58 +0900)]
Resolve appid using AMD cache

Change-Id: I1659b50b3f8f09dd3f036d564e4448134fec9360
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoAdd new APIs to resume app instance 23/114723/3
Hwankyu Jhun [Tue, 14 Feb 2017 22:52:06 +0000 (07:52 +0900)]
Add new APIs to resume app instance

Change-Id: I0906bf504812465e7811e16c3bf08fc529c0e620
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoHandling single quote during app control resolution 11/114711/1
Junghoon Park [Tue, 14 Feb 2017 07:30:04 +0000 (16:30 +0900)]
Handling single quote during app control resolution

Change-Id: Ia59873ca475662967169094a2a551aef77787c89
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoAdd APIs to get window stack information 47/114347/7
Junghoon Park [Mon, 13 Feb 2017 05:38:05 +0000 (14:38 +0900)]
Add APIs to get window stack information

Change-Id: Ibdfc43bbc4b88a3cff1f6c6c8037dcaff6e8f7c1
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoRelease version 0.3.2 29/114429/1 accepted/tizen/common/20170214.173428 accepted/tizen/ivi/20170214.010552 accepted/tizen/mobile/20170214.010302 accepted/tizen/tv/20170214.010417 accepted/tizen/wearable/20170214.010447 submit/tizen/20170213.101405
Hwankyu Jhun [Mon, 13 Feb 2017 09:28:09 +0000 (18:28 +0900)]
Release version 0.3.2

Changes:
 - Fix memory leak

Change-Id: Ie7d252aa9caa04c335253b5307cf73ca98435fd4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix memory leak 27/113727/1
Hwankyu Jhun [Wed, 8 Feb 2017 12:10:10 +0000 (21:10 +0900)]
Fix memory leak

Change-Id: I5e79c6d4961869b34feb631a8717d3b26604970c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.3.1 29/112629/3 accepted/tizen/common/20170203.161757 accepted/tizen/ivi/20170205.234126 accepted/tizen/mobile/20170205.234028 accepted/tizen/tv/20170205.234053 accepted/tizen/wearable/20170205.234107 submit/tizen/20170203.072358
Hwankyu Jhun [Thu, 2 Feb 2017 04:47:10 +0000 (13:47 +0900)]
Release version 0.3.1

Changes:
 - Create socket link for debug mode
 - Fix memory leak

Change-Id: I6ccd58f9b3b777c5658da238894aece348084a73
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoCreate socket link for debug mode 68/112668/5
Hwankyu Jhun [Thu, 2 Feb 2017 06:42:55 +0000 (15:42 +0900)]
Create socket link for debug mode

When the application is launched by the debugger,
the socket link should be created for re-launching the application.
Until now, the running application by the debugger could not
get the re-launch request.

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

Change-Id: I1f25f342ef3eeac3dae3e66749fe9a11f7d8851c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix memory leak 59/112559/1
Hwankyu Jhun [Wed, 1 Feb 2017 11:18:21 +0000 (20:18 +0900)]
Fix memory leak

Change-Id: I2d022608e4dd55edf97241b0fe690655256c31de
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.3.0 27/111927/1 accepted/tizen/common/20170203.161550 submit/tizen/20170125.052415 submit/tizen/20170201.055134 submit/tizen/20170202.033829
Hwankyu Jhun [Wed, 25 Jan 2017 04:34:31 +0000 (13:34 +0900)]
Release version 0.3.0

Changes:
 - Fix versioning
 - Fix wrong error handling
 - Support app group instance launch
 - Resolving memory leak in _svc_db_check_perm
 - Prevent SIGPIPE

Change-Id: I9dd9b344d55efc6cccc12f793313be69058fb1e1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix versioning 24/111924/2
Hwankyu Jhun [Wed, 25 Jan 2017 04:27:34 +0000 (13:27 +0900)]
Fix versioning

Change-Id: I2b4ce17610e2abd3d3df4abbd9f0a907fa9edae0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix wrong error handling 69/111769/1
Sangyoon Jang [Tue, 24 Jan 2017 02:15:36 +0000 (11:15 +0900)]
Fix wrong error handling

Change-Id: I3e10f66df46ba7406a3fa85c7b2a34ba6e537f33
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoSupport app group instance launch 07/111507/2
Hawnkyu Jhun [Sat, 21 Jan 2017 02:26:51 +0000 (11:26 +0900)]
Support app group instance launch

- Add new internal APIs to get instance id

Change-Id: I75dbed523133202c8ad52faa5eaf9b44e2f6158f
Signed-off-by: Hawnkyu Jhun <h.jhun@samsung.com>
7 years agoResolving memory leak in _svc_db_check_perm
darpan.ka [Thu, 19 Jan 2017 12:29:12 +0000 (17:59 +0530)]
Resolving memory leak in _svc_db_check_perm

Change-Id: I64e25e9eda3a5193c73b005611a5b4d6b3915a8b
Signed-off-by: darpan.ka <darpan.ka@samsung.com>
7 years agoPrevent SIGPIPE 56/111156/1
Hwankyu Jhun [Thu, 19 Jan 2017 23:41:34 +0000 (08:41 +0900)]
Prevent SIGPIPE

- Use MSG_NOSIGNAL option

Change-Id: I4c5ec80709d0135e2250d5003423c03a70138faa
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.2.0 97/110997/2 accepted/tizen/common/20170125.112831 accepted/tizen/ivi/20170119.222134 accepted/tizen/mobile/20170119.221630 accepted/tizen/tv/20170119.221909 accepted/tizen/wearable/20170119.222024 submit/tizen/20170119.070147
Hwankyu Jhun [Thu, 19 Jan 2017 06:39:14 +0000 (15:39 +0900)]
Release version 0.2.0

Changes:
 - Remove unused API
 - Remove Profile Build Dependency
 - Support receiving result callbacks for system daemon

Change-Id: I4a9a91d4216be5724daaac950684d1a34540011d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRemove unused API 02/110802/2
Hwankyu Jhun [Wed, 18 Jan 2017 05:55:06 +0000 (14:55 +0900)]
Remove unused API

The aul_get_app_external_specific_path API is not being used.

Change-Id: Ie3fb48f2aca7ff90044a16d92e9c2cb150d41d06
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRemove Profile Build Dependency: Do it at runtime 43/97343/9
MyungJoo Ham [Mon, 14 Nov 2016 02:22:45 +0000 (11:22 +0900)]
Remove Profile Build Dependency: Do it at runtime

- This is for Tizen 4.0.

  : Tizen 4.0 Configurability and Build Blocks require
  to remove all profile-depending build options in spec files.
  (No More profile macros)

- It is recommended to distinguish features/profiles at runtime.
 unless it incurs too much overhead, which requires you to
 create multiple binaries and subpackages.

Change-Id: I73a928797c69adf91a93fc5d11922d284a17231e
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoSupport receiving result callbacks for system daemon 60/110760/2
Junghoon Park [Mon, 16 Jan 2017 01:24:01 +0000 (10:24 +0900)]
Support receiving result callbacks for system daemon

- Add aul_launch_app_with_result_for_uid() which will be used
at __run_svc_with_pkgname()

Change-Id: Ia6475dcf9310fb7d89e0ca753600771635bf05d0
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoRelease version 0.1.0 09/110509/2 accepted/tizen/common/20170119.171546 submit/tizen/20170117.053142
Hwankyu Jhun [Tue, 17 Jan 2017 01:03:37 +0000 (10:03 +0900)]
Release version 0.1.0

Changes:
- Support multiple instance launch

Change-Id: I3136383cf0923100fddeb749fba3a60397f0c29d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix external path api 33/110533/1
Sangyoon Jang [Tue, 17 Jan 2017 02:20:53 +0000 (11:20 +0900)]
Fix external path api

Change-Id: Ib98be53317e2f546dfbb666052a4dba4f024fd05
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoSupport multiple instance launch 20/108620/16
Hwankyu Jhun [Thu, 5 Jan 2017 08:14:38 +0000 (17:14 +0900)]
Support multiple instance launch

- Add new APIs and new internal keys
aul_app_get_running_app_instance_info(): Retrieves the app instance info
aul_svc_set_instance_id: Sets the instance ID
aul_svc_get_instance_id: Gets the instance ID

- Requires:
[application] https://review.tizen.org/gerrit/#/c/108805/
[app-manager] https://review.tizen.org/gerrit/#/c/110114/
[amd] https://review.tizen.org/gerrit/#/c/109746/
[rua] https://review.tizen.org/gerrit/#/c/109906/

Change-Id: I1cc83fe8a82b6df09a3cfa551b9861247040da27
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix bug about screen connector accepted/tizen/common/20170112.174204 accepted/tizen/ivi/20170111.222002 accepted/tizen/mobile/20170111.221848 accepted/tizen/tv/20170111.221922 accepted/tizen/wearable/20170111.221942 submit/tizen/20170111.041200
Hwankyu Jhun [Mon, 9 Jan 2017 06:29:47 +0000 (15:29 +0900)]
Fix bug about screen connector

If the provider app is already running, the viewer app
cannot get the app screen from the AMD.
Before sending the request, the viewer app should create
the app com handle.

Change-Id: I26b2112f98065ec334b26649350d726861a39fe1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 00/108400/1 accepted/tizen/common/20170109.202203 accepted/tizen/ivi/20170105.223131 accepted/tizen/mobile/20170105.223007 accepted/tizen/tv/20170105.223050 accepted/tizen/wearable/20170105.223112 submit/tizen/20170105.005252
Hwankyu Jhun [Wed, 4 Jan 2017 07:57:32 +0000 (16:57 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I14f168ba6f2b95afe324f5eb9db7c1d607474276

7 years agoChange group of appsvc db to system_share 21/107421/1 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.122144 accepted/tizen/3.0.m2/tv/20170104.122405 accepted/tizen/3.0.m2/wearable/20170104.122750 accepted/tizen/3.0/common/20161229.112703 accepted/tizen/3.0/ivi/20161229.054110 accepted/tizen/3.0/mobile/20161229.054016 accepted/tizen/3.0/tv/20161229.054041 accepted/tizen/3.0/wearable/20161229.054055 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0/20161228.051438
Jiwoong Im [Wed, 28 Dec 2016 04:25:03 +0000 (13:25 +0900)]
Change group of appsvc db to system_share

- Because amd moves to system session, amd can't access to appsvc db.
  Change gruop of appsvc db to system_share.

Change-Id: I656751a7f254445e4db06f8d1ebed68d67f57239
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoChange server socket to nonblocking socket 04/100504/9
Hwankyu Jhun [Mon, 28 Nov 2016 09:41:30 +0000 (18:41 +0900)]
Change server socket to nonblocking socket

We've got issues:
- An application got the event from aul fd. But, the connection request
didn't exist while calling the accept(). It caused the deadlock issue.(tizen 2.4)
- In the IVI profile, an application had the deadlock issue when
calling the accept().
To solve this issue, we have a history of changing to nonblocking socket.(workaground)

Change-Id: I329adaefd91b527ed2bf54d898126e413462962b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAMD moves to system session 99/102399/14 accepted/tizen/3.0/common/20161222.075003 accepted/tizen/3.0/ivi/20161221.103935 accepted/tizen/3.0/mobile/20161221.103623 accepted/tizen/3.0/tv/20161221.103747 accepted/tizen/3.0/wearable/20161221.103915 submit/tizen_3.0/20161221.012134
Hwankyu Jhun [Mon, 5 Dec 2016 13:05:42 +0000 (22:05 +0900)]
AMD moves to system session

The amd socket path is changed to "/run/aul/daemons/.amd-sock".
The for_uid APIs use the bundle data for adding the target uid.

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

Change-Id: Ib6371ed0248f265e6ad88d7be04e2c5918f64d46
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix appid2pid tool 08/105708/1 accepted/tizen/3.0/common/20161221.180847 accepted/tizen/3.0/ivi/20161221.010014 accepted/tizen/3.0/mobile/20161221.010159 accepted/tizen/3.0/tv/20161221.005740 accepted/tizen/3.0/wearable/20161221.005929 submit/tizen_3.0/20161220.012114 submit/tizen_3.0/20161220.014437
Hwankyu Jhun [Mon, 19 Dec 2016 09:50:40 +0000 (18:50 +0900)]
Fix appid2pid tool

- Use aul_app_get_all_running_app_info API instead of aul_app_get_pid
API

Change-Id: I6da42c35e377b59ac9f0a4b5f19590b62c322161
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRemove aul rsm 31/105031/2 submit/tizen_3.0/20161219.021901
Hwankyu Jhun [Thu, 15 Dec 2016 06:54:55 +0000 (15:54 +0900)]
Remove aul rsm

- Use screen connector instead of rsm

Change-Id: Iddabb6e1b49fd37d6da44048d9a1c6601380aaf2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix memory corruption on watchface change 21/105321/1 accepted/tizen/3.0/common/20161219.113522 accepted/tizen/3.0/wearable/20161219.095510 submit/tizen_3.0/20161216.082724
Daehyeon Jung [Fri, 16 Dec 2016 08:13:37 +0000 (17:13 +0900)]
Fix memory corruption on watchface change

Change-Id: I06a0776c03c2fa175d9b194259c170b37585685c
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
7 years agoReplace 'readdir_r' with 'readdir' 36/104736/2 accepted/tizen/common/20161219.151825 accepted/tizen/ivi/20161219.021751 accepted/tizen/mobile/20161219.021605 accepted/tizen/tv/20161219.021650 accepted/tizen/wearable/20161219.021722 submit/tizen/20161216.095153
Inkyun Kil [Wed, 14 Dec 2016 07:44:21 +0000 (16:44 +0900)]
Replace 'readdir_r' with 'readdir'

'readdir_r' is deprecated since version 2.24 glibc.
By upgrading TOOLCHAIN for platform, it should be replaced by 'readdir'

Change-Id: Iaa2b9a03a4e5a393436516ea87ce9d7b2559716e
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
7 years agoFix bug about screen connector 62/104162/1 accepted/tizen/3.0/common/20161213.163938 accepted/tizen/3.0/ivi/20161213.025722 accepted/tizen/3.0/mobile/20161213.025408 accepted/tizen/3.0/tv/20161213.025432 accepted/tizen/3.0/wearable/20161213.025609 submit/tizen_3.0/20161212.123626
Hwankyu Jhun [Mon, 12 Dec 2016 12:17:25 +0000 (21:17 +0900)]
Fix bug about screen connector

- Add pid info on endpoint

Change-Id: I4fff43138316e784ea6c905e4ab127caed30679b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoPass the bundle data for background management 34/83134/10 accepted/tizen/common/20161212.185623 accepted/tizen/ivi/20161213.003146 accepted/tizen/mobile/20161213.003007 accepted/tizen/tv/20161213.003051 accepted/tizen/wearable/20161213.003126 submit/tizen/20161212.091026
Hwankyu Jhun [Tue, 9 Aug 2016 08:31:22 +0000 (17:31 +0900)]
Pass the bundle data for background management

Change-Id: I2a211746034259619f9c92b8afcca819e0edb719
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoSupport screen connector 95/100695/15 submit/tizen_3.0/20161212.043612
Hwankyu Jhun [Tue, 29 Nov 2016 02:53:10 +0000 (11:53 +0900)]
Support screen connector

- The aul rsm will be removed.

Change-Id: Ibecb354d45f0c0242f6ad9054c98f030f8c4fff4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix app launcher tool 70/102970/2 accepted/tizen/3.0/common/20161208.153628 accepted/tizen/3.0/ivi/20161208.063306 accepted/tizen/3.0/mobile/20161208.063212 accepted/tizen/3.0/tv/20161208.063242 accepted/tizen/3.0/wearable/20161208.063254 submit/tizen_3.0/20161207.115658
Hwankyu Jhun [Wed, 7 Dec 2016 02:28:46 +0000 (11:28 +0900)]
Fix app launcher tool

- Prevent invalid access

Change-Id: Ia28ad29bf11d6201341a8184bba864603faf832e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd a new definition for alias appid 89/102989/2
Hwankyu Jhun [Wed, 7 Dec 2016 02:41:26 +0000 (11:41 +0900)]
Add a new definition for alias appid

Change-Id: Ice2949903d28ec2c85029bb5d1d27881ad2001b4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix bug about launch app tool 63/102563/2
Hwankyu Jhun [Tue, 6 Dec 2016 06:02:26 +0000 (15:02 +0900)]
Fix bug about launch app tool

Change-Id: If34ba4c33aa1974d07daec1492abf7fd98a27684
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix bug about getting appid by alias id 68/102568/1
Hwankyu Jhun [Tue, 6 Dec 2016 06:13:35 +0000 (15:13 +0900)]
Fix bug about getting appid by alias id

Change-Id: I60f8613b976e07204060bfafef038b4cf663d71a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoChange upgrade script number 59/101859/1 accepted/tizen/3.0/common/20161205.091933 accepted/tizen/3.0/ivi/20161204.235847 accepted/tizen/3.0/mobile/20161204.235717 accepted/tizen/3.0/tv/20161204.235752 accepted/tizen/3.0/wearable/20161204.235818 submit/tizen_3.0/20161202.085638
Hwankyu Jhun [Fri, 2 Dec 2016 08:47:23 +0000 (17:47 +0900)]
Change upgrade script number

Change-Id: I82625cc4095bb58dd1f69e6bf79e571b9cf49f89
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoChange app service db path 67/101567/5 submit/tizen_3.0/20161202.062936
Hwankyu Jhun [Thu, 1 Dec 2016 12:12:43 +0000 (21:12 +0900)]
Change app service db path

- The user db path is changed to "/opt/dbspace/<uid>/.appsvc.db".

Change-Id: Ia88523b0285cdbe4b09bf83c3fcda58991436fbf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agofix getting external path 83/101283/3 accepted/tizen/3.0/common/20161203.012120 accepted/tizen/3.0/ivi/20161201.075324 accepted/tizen/3.0/mobile/20161201.075049 accepted/tizen/3.0/tv/20161201.075207 accepted/tizen/3.0/wearable/20161201.075242 submit/tizen_3.0/20161130.132739 submit/tizen_3.0/20161201.024602
jongmyeong ko [Wed, 30 Nov 2016 13:46:29 +0000 (05:46 -0800)]
fix getting external path

This reverts commit f43a32134ace6f9d316b96c565c30b15d32a3d63.

Change-Id: I1d912dc3a8f7b6776b7dfcfffb93a10967b9701f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoHandle null pointer exceptions 54/100954/1
Junghoon Park [Wed, 30 Nov 2016 02:34:36 +0000 (11:34 +0900)]
Handle null pointer exceptions

Change-Id: Iaba7023e0499bfdfaca667102f31b87848870efe
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoRevert "fix getting external path" 04/100004/2 accepted/tizen/3.0/common/20161128.091356 accepted/tizen/3.0/ivi/20161128.083024 accepted/tizen/3.0/mobile/20161128.082819 accepted/tizen/3.0/tv/20161128.082854 accepted/tizen/3.0/wearable/20161128.082943 submit/tizen_3.0/20161125.015709
jongmyeong ko [Thu, 24 Nov 2016 16:55:05 +0000 (08:55 -0800)]
Revert "fix getting external path"

This reverts commit c45238d8876e18e7259512ae80ed252670a2dea5.

Change-Id: Icd5cf55f1885f2d73e146e8fe0f2f22009af3ba6

7 years agoFix app_launcher tool 00/99700/1
Hwankyu Jhun [Wed, 23 Nov 2016 23:53:14 +0000 (08:53 +0900)]
Fix app_launcher tool

- Use g_timeout_add instead of g_idle_add

Change-Id: I285edec098c08a0cc11a96791847c5a8fd2375e2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agofix getting external path 92/97292/7 accepted/tizen/3.0/common/20161124.181734 accepted/tizen/3.0/ivi/20161124.025758 accepted/tizen/3.0/mobile/20161124.025710 accepted/tizen/3.0/tv/20161124.025730 accepted/tizen/3.0/wearable/20161124.025745 accepted/tizen/common/20161125.095202 accepted/tizen/ivi/20161125.004148 accepted/tizen/mobile/20161125.003620 accepted/tizen/tv/20161125.003913 accepted/tizen/wearable/20161125.004036 submit/tizen/20161124.000829 submit/tizen_3.0/20161123.100537
jongmyeong ko [Sun, 13 Nov 2016 09:19:58 +0000 (01:19 -0800)]
fix getting external path

- use storage api.
- return defualt path if sdcard is not mounted.

This reverts commit 527e629ac677440e8eb39fee451d92fe59935470.

Change-Id: Id7d9a90250a64e200d8b80f94d04d37670925524
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoSupport allowed appid feature 06/99206/1
Hwankyu Jhun [Tue, 22 Nov 2016 05:21:46 +0000 (14:21 +0900)]
Support allowed appid feature

- Add parser plugin to register allowed appid metadata
- Add new APIs to retrive all allowed information

Change-Id: I4ac8a21138615d12c844905e7e03d9fe5fa8c998
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix app_launcher tool 65/99065/2 accepted/tizen/3.0/common/20161123.070905 accepted/tizen/3.0/ivi/20161124.024604 accepted/tizen/3.0/mobile/20161124.024506 accepted/tizen/3.0/tv/20161124.024527 accepted/tizen/3.0/wearable/20161124.024548 submit/tizen_3.0/20161122.002346
Hwankyu Jhun [Mon, 21 Nov 2016 23:27:43 +0000 (08:27 +0900)]
Fix app_launcher tool

- Add fallback for listening dead signal

Change-Id: I97566463d3a18a79fd518deffc06502bc265ee88
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix alias id feature to improve app launch performance 96/98596/6
Hwankyu Jhun [Fri, 18 Nov 2016 01:47:44 +0000 (10:47 +0900)]
Fix alias id feature to improve app launch performance

- Remove setting the appid from the alias info
- Add new APIs for the alias id
aul_svc_get_appid_by_alias_appid()
aul_svc_get_appid_by_alias_appid_for_uid()
aul_svc_foreach_alias_info_by_appid()
aul_svc_foreach_alias_info_by_appid_for_uid()

Change-Id: I9256e0c522143d765330463249799dc9d4ff8157
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix wrong description 26/97626/2
Hwankyu Jhun [Tue, 15 Nov 2016 00:38:05 +0000 (09:38 +0900)]
Fix wrong description

Some APIs don't return STATUS_FOCUS.

Change-Id: Ia44f614508814765296bf9ffaf940c626652e633
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd aul_rsm_viewer_unset_surface_handler function 82/97382/1 accepted/tizen/3.0/common/20161116.143657 accepted/tizen/3.0/ivi/20161116.022304 accepted/tizen/3.0/mobile/20161116.022109 accepted/tizen/3.0/tv/20161116.022148 accepted/tizen/3.0/wearable/20161116.022229 submit/tizen_3.0/20161115.024443
Hyunho Kang [Mon, 14 Nov 2016 05:02:54 +0000 (14:02 +0900)]
Add aul_rsm_viewer_unset_surface_handler function

Change-Id: I39c86de77ded873c879f07887ce1f5f39145bdab
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRevert "get external path using storage api." 44/97244/2 accepted/tizen/3.0/common/20161114.143122 accepted/tizen/3.0/ivi/20161114.002552 accepted/tizen/3.0/mobile/20161114.002424 accepted/tizen/3.0/tv/20161114.002502 accepted/tizen/3.0/wearable/20161114.002525 submit/tizen_3.0/20161111.080112 submit/tizen_3.0_common/20161114.081136
jongmyeong ko [Fri, 11 Nov 2016 13:25:34 +0000 (05:25 -0800)]
Revert "get external path using storage api."

This reverts commit 97e845e72079be00a5674e3569cd8dcd356dc027.

Change-Id: I9a246e0fd4bc38dc0a3e83160efd79cba05cfefe

7 years agoMerge branch 'tizen' into tizen_3.0 submit/tizen/20161111.080541
Hwankyu Jhun [Fri, 11 Nov 2016 05:21:57 +0000 (14:21 +0900)]
Merge branch 'tizen' into tizen_3.0

7 years agoFix deref after null issue 14/97014/2
Hyunho Kang [Fri, 11 Nov 2016 02:52:40 +0000 (11:52 +0900)]
Fix deref after null issue

Change-Id: Iab2a69c1f4d581d1336192ba53f9fc9a1ea318c9
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix CMakeLists.txt file 48/97048/1
Hwankyu Jhun [Fri, 11 Nov 2016 05:13:26 +0000 (14:13 +0900)]
Fix CMakeLists.txt file

- Use AUX_SOURCE_DIRECTORY option

Change-Id: I92c672fa6cf570dee668b561ae91ab5834865c51
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoMerge branch 'tizen' into tizen_3.0 submit/tizen/20161111.000844 submit/tizen_3.0/20161111.001102
Hwankyu Jhun [Fri, 11 Nov 2016 00:06:17 +0000 (09:06 +0900)]
Merge branch 'tizen' into tizen_3.0

7 years agoAdd surface creator pid managing logic 48/96748/2 submit/tizen_3.0/20161111.000156
Hyunho Kang [Thu, 10 Nov 2016 05:42:33 +0000 (14:42 +0900)]
Add surface creator pid managing logic

- watch needs creator's pid to terminated old watch face

Change-Id: If514cde01623f60a926d716ba88c07b7f951e32f
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoSupport metadata parser plugin for alias id 98/95498/31
Hwankyu Jhun [Thu, 3 Nov 2016 11:22:37 +0000 (20:22 +0900)]
Support metadata parser plugin for alias id

Change-Id: I74f39272f8ef1f4b9b3b4c7fa23541db7988e2ba
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix app status callback 95/96195/3 accepted/tizen/3.0/ivi/20161110.071009 accepted/tizen/3.0/mobile/20161110.070910 accepted/tizen/3.0/tv/20161110.070933 accepted/tizen/3.0/wearable/20161110.070958 accepted/tizen/common/20161109.140350 accepted/tizen/ivi/20161110.000437 accepted/tizen/mobile/20161110.000342 accepted/tizen/tv/20161110.000404 accepted/tizen/wearable/20161110.000422 submit/tizen/20161108.071447 submit/tizen/20161109.002425 submit/tizen_3.0/20161108.071238
Hwankyu Jhun [Tue, 8 Nov 2016 06:28:05 +0000 (15:28 +0900)]
Fix app status callback

- Use GList instead of custom list

Change-Id: Ib4a887215cedbbccb8ca136883637a65727c6367
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoChange the window stack limitedly 97/96097/1
Junghoon Park [Tue, 8 Nov 2016 00:47:22 +0000 (09:47 +0900)]
Change the window stack limitedly

- puts some app above the caller app

Change-Id: Ib85237f28b8342b4209d5720522ae253b431f52b
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoget external path using storage api. 16/80516/9
jongmyeongko [Mon, 18 Jul 2016 11:15:54 +0000 (20:15 +0900)]
get external path using storage api.

Change-Id: I57a4060fc6c88806e76a3af576ccc34d86c160e3
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoMerge "fix SVACE issue" into tizen accepted/tizen/3.0/common/20161114.082646 accepted/tizen/3.0/ivi/20161104.104723 accepted/tizen/3.0/mobile/20161104.104628 accepted/tizen/3.0/tv/20161104.104644 accepted/tizen/3.0/wearable/20161104.104701 submit/tizen_3.0/20161104.085937 submit/tizen_3.0_common/20161110.084657
SukHyung, Kang [Fri, 4 Nov 2016 08:34:10 +0000 (01:34 -0700)]
Merge "fix SVACE issue" into tizen

7 years agofix SVACE issue 88/95688/2
SukHyung, Kang [Fri, 4 Nov 2016 08:21:44 +0000 (17:21 +0900)]
fix SVACE issue

Change-Id: Iffdf0e9beb608349b2836399f61bebfd93ba7e50
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
7 years agofix widget visibility change 62/95662/3 accepted/tizen/common/20161104.103223 accepted/tizen/ivi/20161106.235435 accepted/tizen/mobile/20161106.235340 accepted/tizen/tv/20161106.235353 accepted/tizen/wearable/20161106.235415 submit/tizen/20161104.073837
Daehyeon Jung [Fri, 4 Nov 2016 06:56:57 +0000 (15:56 +0900)]
fix widget visibility change

Change-Id: I2f7c1daf2a1de85a4105a715678c6a60b31d137c
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
7 years agoAdd remote surface viewer functions 09/95509/1 accepted/tizen/common/20161104.055922 accepted/tizen/ivi/20161103.232235 accepted/tizen/mobile/20161103.232141 accepted/tizen/tv/20161103.232201 accepted/tizen/wearable/20161103.232219 submit/tizen/20161103.120134 submit/tizen_3.0/20161103.120339 submit/tizen_3.0/20161103.122410 submit/tizen_3.0/20161104.073859
Daehyeon Jung [Thu, 3 Nov 2016 11:35:11 +0000 (20:35 +0900)]
Add remote surface viewer functions

 - create remote surface view with resource id

Change-Id: Iaec35562675539aa5e514373e4e8c165493af6c1
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
7 years agoadd aul_rsm_* to support remote surface management 86/93386/13 accepted/tizen/common/20161104.055911 accepted/tizen/ivi/20161103.232002 accepted/tizen/mobile/20161103.231910 accepted/tizen/tv/20161103.231923 accepted/tizen/wearable/20161103.231938 submit/tizen/20161103.092503 submit/tizen_3.0/20161103.094516
Daehyeon Jung [Mon, 24 Oct 2016 05:09:39 +0000 (14:09 +0900)]
add aul_rsm_* to support remote surface management

Change-Id: Ic1535b9a296debb02acf6369d95624d8a1676649
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
7 years agoFix '-f' option of the app_launcher tool 31/94831/2
Hwankyu Jhun [Tue, 1 Nov 2016 08:27:04 +0000 (17:27 +0900)]
Fix '-f' option of the app_launcher tool

- If the app process is terminated abnormally before executing
the amd process, the amd can get incorrect app infomation.
- If the app is terminated before the amd is ready,
the tool will print the error message. And, the tool
will print the success message when the tool isn't
monitoring whether the amd is ready.
- The tool will subscribe the dead signal when the user
uses this option.

Change-Id: If0089c85af900f22f95ed8e884fea430e38919df
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix the description about aul_app_group_activate_below API 96/94596/1
Hwankyu Jhun [Tue, 1 Nov 2016 00:55:43 +0000 (09:55 +0900)]
Fix the description about aul_app_group_activate_below API

Change-Id: I9bc7942630ce10a408e9e23a061af4793f936b63
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoUse launchpad instead of debug-launchpad 88/90188/5 accepted/tizen/3.0/ivi/20161102.075746 accepted/tizen/3.0/mobile/20161102.075612 accepted/tizen/3.0/tv/20161102.075643 accepted/tizen/3.0/wearable/20161102.075717 accepted/tizen/common/20161102.121350 accepted/tizen/ivi/20161101.005509 accepted/tizen/mobile/20161101.005410 accepted/tizen/tv/20161101.005430 accepted/tizen/wearable/20161101.005449 submit/tizen/20161031.132039 submit/tizen_3.0/20161102.051512
Hwankyu Jhun [Thu, 29 Sep 2016 00:41:20 +0000 (09:41 +0900)]
Use launchpad instead of debug-launchpad

The debug-launchpad will be removed. The launchpad
can perform debugging feature.

Change-Id: I3eae79ba3ac3f1bdaa3057d4b53570181e0dea9f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd numbers to the AUL cmd 01/92401/2 accepted/tizen/common/20161031.121631 accepted/tizen/ivi/20161031.082308 accepted/tizen/mobile/20161031.082137 accepted/tizen/tv/20161031.082228 accepted/tizen/wearable/20161031.082249 submit/tizen/20161031.010650
Hwankyu Jhun [Mon, 17 Oct 2016 00:34:28 +0000 (09:34 +0900)]
Add numbers to the AUL cmd

This patch is for debugging.

Change-Id: I377b4c962eb493eaa91dc5dec1de49b69a71bb20
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd aul_widget_instance_get_content() 12/81312/8 accepted/tizen/3.0/ivi/20161028.123007 accepted/tizen/3.0/mobile/20161028.122256 accepted/tizen/3.0/tv/20161028.122553 accepted/tizen/3.0/wearable/20161028.122812 accepted/tizen/common/20161013.155657 accepted/tizen/ivi/20161013.000915 accepted/tizen/mobile/20161013.000838 accepted/tizen/tv/20161013.000851 accepted/tizen/wearable/20161013.000903 submit/tizen/20161012.155021 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082323 submit/tizen_3.0_common/20161104.104000
Hyunho Kang [Wed, 12 Oct 2016 10:35:55 +0000 (19:35 +0900)]
Add aul_widget_instance_get_content()

- Retrieve content info of widget instance

Change-Id: I193071a78126d888753452ae696d93aaec464411
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix the exception handling 54/91154/4
Hwankyu Jhun [Thu, 6 Oct 2016 05:54:32 +0000 (14:54 +0900)]
Fix the exception handling

The recv() returns 0 when the peer has performed an orderly
shutdown.

Change-Id: I46c095fb6605e1adab8197a17d5e24753ce7194a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd new APIs to activate/deactivate alias info 83/90683/2 accepted/tizen/3.0/ivi/20161011.053549 accepted/tizen/3.0/mobile/20161015.032346 accepted/tizen/3.0/tv/20161016.003403 accepted/tizen/3.0/wearable/20161015.080408 accepted/tizen/common/20161004.081054 accepted/tizen/ivi/20161004.232552 accepted/tizen/mobile/20161004.232507 accepted/tizen/tv/20161004.232522 accepted/tizen/wearable/20161004.232537 submit/tizen/20161004.045053 submit/tizen_3.0_ivi/20161010.000000 submit/tizen_3.0_ivi/20161010.000010 submit/tizen_3.0_mobile/20161015.000000 submit/tizen_3.0_tv/20161015.000000 submit/tizen_3.0_wearable/20161015.000000
Hwankyu Jhun [Mon, 3 Oct 2016 23:43:20 +0000 (08:43 +0900)]
Add new APIs to activate/deactivate alias info

Change-Id: I6869bcc74963fd3f855062c93fbdada8ade76382
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix aul_svc_foreach_alias_info API 74/90474/2
Hwankyu Jhun [Fri, 30 Sep 2016 07:58:15 +0000 (16:58 +0900)]
Fix aul_svc_foreach_alias_info API

Change-Id: I75036f7cfbc07b7fe8010158f8b6bab2fa4169af
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoInitialize variable and Fix the exception 54/89954/1 accepted/tizen/common/20160928.163704 accepted/tizen/ivi/20160929.001741 accepted/tizen/mobile/20160929.001601 accepted/tizen/tv/20160929.001757 accepted/tizen/wearable/20160929.001731 submit/tizen/20160928.021408
Hwankyu Jhun [Wed, 28 Sep 2016 01:33:33 +0000 (10:33 +0900)]
Initialize variable and Fix the exception

Change-Id: Id634bd9d526c707cac0d3681419b3027e2bcf036
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRemove unused APIs 48/89748/1
Hwankyu Jhun [Mon, 26 Sep 2016 23:49:42 +0000 (08:49 +0900)]
Remove unused APIs

Change-Id: Ibb4ac3cbe2ce46aebe48019110236b24f536ddf4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoSupport listening the status of the specified app 50/89150/2 accepted/tizen/common/20160926.154000 accepted/tizen/ivi/20160926.001027 accepted/tizen/mobile/20160926.000912 accepted/tizen/tv/20160926.000956 accepted/tizen/wearable/20160926.001010 submit/tizen/20160925.092015
Hwankyu Jhun [Thu, 22 Sep 2016 09:22:25 +0000 (18:22 +0900)]
Support listening the status of the specified app

Change-Id: I3ee2aca6a0faad0dd2dc401cb4fb323694807e67
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix fd leak 12/88412/1 accepted/tizen/common/20160919.154538 accepted/tizen/ivi/20160919.232042 accepted/tizen/mobile/20160919.231949 accepted/tizen/tv/20160919.232012 accepted/tizen/wearable/20160919.232025 submit/tizen/20160919.055034
Hwankyu Jhun [Mon, 19 Sep 2016 00:25:51 +0000 (09:25 +0900)]
Fix fd leak

Change-Id: I765a15d19e07cf11a70776aace70977a44232b44
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRefactor aul_app_get_running_app_info API 60/87860/6
Hawnkyu Jhun [Sun, 11 Sep 2016 10:19:44 +0000 (19:19 +0900)]
Refactor aul_app_get_running_app_info API

Change-Id: I6f95bb96c1ec2a8fcdc03a15462b69929d88a138
Signed-off-by: Hawnkyu Jhun <h.jhun@samsung.com>
7 years agoAdd a new API to retrieve the alias info 04/87804/6 accepted/tizen/common/20160912.180657 accepted/tizen/ivi/20160912.093236 accepted/tizen/mobile/20160912.093147 accepted/tizen/tv/20160912.093201 accepted/tizen/wearable/20160912.093220 submit/tizen/20160911.233959
Hwankyu Jhun [Fri, 9 Sep 2016 11:56:17 +0000 (20:56 +0900)]
Add a new API to retrieve the alias info

Change-Id: I14d920c44027e259be8708e8782ed22df54adacf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix app_request_to_launchpad function 51/87651/1
Hwankyu Jhun [Fri, 9 Sep 2016 04:37:58 +0000 (13:37 +0900)]
Fix app_request_to_launchpad function

- Add calling bundle_del() to delete the appid

Change-Id: Ib1a9b147b30791146544a3956fd41a74551b2423
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix getting running appinfo 98/87498/2
Hwankyu Jhun [Thu, 8 Sep 2016 08:54:29 +0000 (17:54 +0900)]
Fix getting running appinfo

- Add an exception handling to check the result

Change-Id: I3b66c8d87336b4c2bbde01a4c71e21e0130506fd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd APIs to set/unset alias appid 37/87237/16 accepted/tizen/common/20160908.134710 accepted/tizen/ivi/20160909.062339 accepted/tizen/mobile/20160909.062246 accepted/tizen/tv/20160909.062310 accepted/tizen/wearable/20160909.062320 submit/tizen/20160908.070959
Hwankyu Jhun [Wed, 7 Sep 2016 06:02:16 +0000 (15:02 +0900)]
Add APIs to set/unset alias appid

- Create alias_info table
- Add new APIs
aul_set_alias_appid()
aul_unset_laias_appid()
aul_svc_set_alias_appid()
aul_svc_unset_alias_appid()

Change-Id: I47881716f742d940d793e18929b990de0f32acd1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoImplement widget_service_get_instance_count 01/87001/3 accepted/tizen/common/20160908.134529 accepted/tizen/ivi/20160909.001711 accepted/tizen/mobile/20160909.001613 accepted/tizen/tv/20160909.001633 accepted/tizen/wearable/20160909.001650 submit/tizen/20160908.041324
Hyunho Kang [Tue, 6 Sep 2016 02:34:15 +0000 (11:34 +0900)]
Implement widget_service_get_instance_count

Change-Id: Id27fa2ac1631558e20c82fd861eb9c50484bff91
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd an exception handling about getting shared data path 43/86443/1 accepted/tizen/common/20160901.143544 accepted/tizen/ivi/20160901.104051 accepted/tizen/mobile/20160901.104002 accepted/tizen/tv/20160901.104018 accepted/tizen/wearable/20160901.104034 submit/tizen/20160901.074409
Hwankyu Jhun [Thu, 1 Sep 2016 07:28:52 +0000 (16:28 +0900)]
Add an exception handling about getting shared data path

Change-Id: I3dbb1c8e5a5b327eafaa57faaa7aca5d69f9a5c9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd asynchronous API to resume an application 58/86258/1
Hwankyu Jhun [Wed, 31 Aug 2016 08:45:47 +0000 (17:45 +0900)]
Add asynchronous API to resume an application

- Add APIs
aul_resume_pid_async()
aul_resume_pid_async_for_uid()

Change-Id: I662927086cfcb0ad8b2682f5682e54a9414132f4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoCheck if shared/data exist instead of api-version 55/85655/2 accepted/tizen/common/20160830.150123 accepted/tizen/ivi/20160830.061205 accepted/tizen/mobile/20160830.060927 accepted/tizen/tv/20160830.061032 accepted/tizen/wearable/20160830.061120 submit/tizen/20160830.010724
Semun Lee [Fri, 26 Aug 2016 09:05:20 +0000 (18:05 +0900)]
Check if shared/data exist instead of api-version

Since Tizen 3.0 shared/data directory is available for
applications that has appdir.shareddata privilege.
Otherwise, shared/data directory will not be created.
So, we could just check existence of shared/data in aul.

Change-Id: I3fc6b94e2b1ac1f478bb14ee60057892446d085d
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
7 years agoAdd a script to upgrade appsvc db 56/85656/3 accepted/tizen/common/20160829.135831 submit/tizen/20160829.010716
Hwankyu Jhun [Fri, 26 Aug 2016 09:08:30 +0000 (18:08 +0900)]
Add a script to upgrade appsvc db

Change-Id: I3d85bb4b2620ba431970c596121d4c7487c8b74c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd socket timeout feature 87/71487/23 accepted/tizen/common/20160822.132752 submit/tizen/20160822.060035
Hwankyu Jhun [Wed, 25 May 2016 12:31:33 +0000 (21:31 +0900)]
Add socket timeout feature

The socket timeout period is 5.2s. If the socket timeout file
exists, the caller process uses the system socket timeout period.
This feature is enabled in the tv profile.

- Add internal APIs
aul_sock_set_sock_option()
aul_sock_get_rcv_timeval()

Change-Id: I56a9580b221165b4277144d7b8716e7f76f85b65
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd a new definition for splash screen 44/77544/10 accepted/tizen/common/20160811.145910 accepted/tizen/ivi/20160812.010440 accepted/tizen/mobile/20160812.010433 accepted/tizen/tv/20160812.010426 accepted/tizen/wearable/20160812.010419 submit/tizen/20160810.224233
Hwankyu Jhun [Thu, 30 Jun 2016 07:08:01 +0000 (16:08 +0900)]
Add a new definition for splash screen

Change-Id: I834fd4776277e4913dd000e220f66104b7861301
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRemove getting a file descriptor from environments 29/82829/2 accepted/tizen/common/20160809.183924 accepted/tizen/ivi/20160809.232609 accepted/tizen/mobile/20160809.232340 accepted/tizen/tv/20160809.232458 accepted/tizen/wearable/20160809.232703 submit/tizen/20160809.011327 submit/tizen/20160809.051427
Hwankyu Jhun [Mon, 8 Aug 2016 02:46:39 +0000 (11:46 +0900)]
Remove getting a file descriptor from environments

Change-Id: I5d0a9b37e0d10490d757bdca6a318e00d91b6f59
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoUse pkgmgr API to get the parser db path 51/81451/5
Hwankyu Jhun [Tue, 26 Jul 2016 08:59:45 +0000 (17:59 +0900)]
Use pkgmgr API to get the parser db path

- Requires
https://review.tizen.org/gerrit/81322

Change-Id: I0430ef10a23bb0448990d67561077292021b29d4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd APIs for terminating apps 26/80426/5 accepted/tizen/common/20160803.193208 accepted/tizen/ivi/20160804.080800 accepted/tizen/mobile/20160804.080850 accepted/tizen/tv/20160804.080716 accepted/tizen/wearable/20160804.080542 submit/tizen/20160803.012753
Junghoon Park [Fri, 22 Jul 2016 01:49:18 +0000 (10:49 +0900)]
Add APIs for terminating apps

- add aul_terminate_pid_sync_without_restart()
- add aul_terminate_pid_sync_without_restart_for_uid()

Change-Id: I81f171a13c40e58319196b8cd01eaab27a0c4556
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoAdd widget app restart logic 18/80518/8
Hyunho Kang [Tue, 26 Jul 2016 07:15:43 +0000 (16:15 +0900)]
Add widget app restart logic

Change-Id: I11184aa13f388d4b8d377f2ef5c3f1136e3b2d65
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix bug about launch_app tool 65/81865/1
Hwankyu Jhun [Fri, 29 Jul 2016 01:22:34 +0000 (10:22 +0900)]
Fix bug about launch_app tool

Change-Id: I339f0108944652b5a0e97805d5e34790a3efac40
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix app_launcher tool 03/81703/2
Hwankyu Jhun [Thu, 28 Jul 2016 04:01:10 +0000 (13:01 +0900)]
Fix app_launcher tool

- Add the root path for "-f" option

Change-Id: Ic11880790af9283ca4c241fb1de4eac36679e6f4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoDelete the aul.service file 73/81073/2 accepted/tizen/common/20160722.134740 accepted/tizen/ivi/20160722.043926 accepted/tizen/mobile/20160722.043839 accepted/tizen/tv/20160722.043851 accepted/tizen/wearable/20160722.043911 submit/tizen/20160722.025055
Hwankyu Jhun [Fri, 22 Jul 2016 01:17:53 +0000 (10:17 +0900)]
Delete the aul.service file

- Requires
[amd] https://review.tizen.org/gerrit/81074

Change-Id: Ib728812854ef24f571972394e104a37b61c1d35e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd new APIs to get last caller process id 78/80678/1
Hwankyu Jhun [Tue, 19 Jul 2016 11:26:01 +0000 (20:26 +0900)]
Add new APIs to get last caller process id

- Add APIs
aul_app_get_last_caller()
aul_app_get_last_caller_for_uid()

Change-Id: I5495250cfac1a3a22daf1a496112fb897e0e0a1b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd aul_widget_instance_* function 61/78461/9 accepted/tizen/common/20160712.150525 accepted/tizen/ivi/20160712.000225 accepted/tizen/mobile/20160712.000100 accepted/tizen/tv/20160712.000204 accepted/tizen/wearable/20160712.000214 submit/tizen/20160711.130213
Daehyeon Jung [Mon, 4 Jul 2016 06:06:10 +0000 (15:06 +0900)]
Add aul_widget_instance_* function

 - Add aul_widget_instance_* functions to store instance
 to AMD

Change-Id: I3c657cc81181031d0ffd644e2d726c456b9fc0d8
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
8 years agoUse the appid passed by launchpad 67/78767/7 accepted/tizen/common/20160712.150344 accepted/tizen/ivi/20160711.031203 accepted/tizen/mobile/20160711.030757 accepted/tizen/tv/20160711.030705 accepted/tizen/wearable/20160711.030719 submit/tizen/20160711.014306
Hwankyu Jhun [Thu, 7 Jul 2016 11:27:33 +0000 (20:27 +0900)]
Use the appid passed by launchpad

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

Change-Id: I45225f8b9370fb222e71bf7fc0816545c74cf80b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoCheck the value obtained from the bundle. 47/79047/6
Myungki Lee [Fri, 8 Jul 2016 05:07:50 +0000 (14:07 +0900)]
Check the value obtained from the bundle.

Change-Id: I93a92ac03c4b60e88ca389d035abcc19c09c21d4
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>