platform/core/appfw/aul-1.git
8 years agoSupport direct launch mode 26/60326/2 submit/tizen/20160226.001837
Hwankyu Jhun [Thu, 25 Feb 2016 04:36:01 +0000 (13:36 +0900)]
Support direct launch mode

- Add "-e" option on app_launcher tool
- If the user uses this option, the launchpad executes
an application by using fork-exec.

Change-Id: I653e120f383b6153ce184bc3a1b8939bf7286c1b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd api-version on the appinfo for sending to launchpad 49/60249/4 accepted/tizen/ivi/20160225.082533 accepted/tizen/mobile/20160225.082446 accepted/tizen/tv/20160225.082458 accepted/tizen/wearable/20160225.082518 submit/tizen/20160225.031452
Hwankyu Jhun [Wed, 24 Feb 2016 10:25:33 +0000 (19:25 +0900)]
Add api-version on the appinfo for sending to launchpad

- Add new definition for api-version

Change-Id: I31a391e8f37645c360f086e2529896b9f3f1a543
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd trace point 88/60088/2
Myungki Lee [Tue, 23 Feb 2016 08:26:17 +0000 (17:26 +0900)]
Add trace point

Change-Id: I65e3690142e4c50fc83bda7de5fe0bb30de77cd4
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoAdd APP_SET/UNSET_APP_CONTROL_DEFAULT_APP cmd 01/59901/4 accepted/tizen/ivi/20160223.232802 accepted/tizen/mobile/20160223.232706 accepted/tizen/tv/20160223.232721 accepted/tizen/wearable/20160223.232742 submit/tizen/20160223.113635
Myungki Lee [Tue, 23 Feb 2016 05:40:42 +0000 (14:40 +0900)]
Add APP_SET/UNSET_APP_CONTROL_DEFAULT_APP cmd

Change-Id: I823457d7a73680c26021c27f1fba820c3042fb3b
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoDecode bundle by flag 21/59321/2
Daehyeon Jung [Fri, 12 Feb 2016 11:19:52 +0000 (20:19 +0900)]
Decode bundle by flag

Change-Id: Id9810d30333768f61d79145304d70568bc61b5c1
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
8 years agoRename static functions at aul_rsc_mgr_internal.c 59/59359/1 accepted/tizen/common/20160217.170725 accepted/tizen/ivi/20160218.023412 accepted/tizen/mobile/20160216.001753 accepted/tizen/tv/20160216.001811 accepted/tizen/wearable/20160216.001829 submit/tizen/20160215.053949 submit/tizen_common/20160217.131930 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002
Sangyoon Jang [Mon, 15 Feb 2016 05:20:55 +0000 (14:20 +0900)]
Rename static functions at aul_rsc_mgr_internal.c

Use double underscore.

Change-Id: I03b9ca627a6c81244bbe096d44f77ad58fc20b0e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoValidate resource manifest 69/59169/4
Sangyoon Jang [Thu, 11 Feb 2016 05:50:39 +0000 (14:50 +0900)]
Validate resource manifest

Change-Id: I58c6577b08a898feed901fafbdd1e17f3c031ded
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoImplement resource parser 38/58838/5 accepted/tizen/mobile/20160213.090658 accepted/tizen/tv/20160213.091015 accepted/tizen/wearable/20160213.091312 submit/tizen/20160212.110553
Sangyoon Jang [Thu, 4 Feb 2016 01:21:30 +0000 (10:21 +0900)]
Implement resource parser

resource parser is implemented at pkgmgr-info currently, but aul is the
only project who uses resource parser.

Change-Id: I5a98ac19cf06a07eab09ffce0b9ec4830b697495
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoAdd bundle-wrapped aul_sock APIs 29/58229/2
Daehyeon Jung [Thu, 28 Jan 2016 11:30:32 +0000 (20:30 +0900)]
Add bundle-wrapped aul_sock APIs

- wrap aul_sock_send_raw_* functions with bundle encode

Change-Id: Ib394abb98d2d26d8eaafa6114d09f9d36f981ef7

8 years agoDeprecate shared directory related API 44/58044/6 accepted/tizen/mobile/20160202.114600 accepted/tizen/tv/20160202.114650 accepted/tizen/wearable/20160202.114729 submit/tizen/20160202.002216 submit/tizen/20160202.010556 submit/tizen/20160202.023804
Hwankyu Jhun [Wed, 27 Jan 2016 05:48:20 +0000 (14:48 +0900)]
Deprecate shared directory related API

- Shared/data directory is only available applications
with api-version lower than 3.0 from Tizen 3.0.

Change-Id: I4fe84168f5921f033a31510cccfac84cb16ea6c3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd aul_app_get_all_running_app_info func 30/57130/8
Myungki Lee [Wed, 27 Jan 2016 10:47:40 +0000 (19:47 +0900)]
Add aul_app_get_all_running_app_info func

This API use to get all running application list, including sub app.

Change-Id: Icd4cd3df43acf752f10045d4df57f054cc3c4801
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agofix memory leak 65/58165/1
Daehyeon Jung [Thu, 28 Jan 2016 03:14:31 +0000 (12:14 +0900)]
fix memory leak

Change-Id: I064c68967fb015dfe6ec5eba46cf3a74b82afe66

8 years agoUse preinitialized app root path 28/58028/1 accepted/tizen/mobile/20160128.010547 accepted/tizen/tv/20160128.010602 accepted/tizen/wearable/20160128.010630 submit/tizen/20160127.083815
Junghoon Park [Wed, 27 Jan 2016 02:39:17 +0000 (11:39 +0900)]
Use preinitialized app root path

- Launchpad loader will prepare preinitialized app root path to improve
  performance.

Change-Id: I880826babcb9c3593784e7eaf5a84cd006d3ad44
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoUse preloaded pkgid to get app path 46/57946/2 accepted/tizen/mobile/20160127.072006 accepted/tizen/tv/20160127.072112 accepted/tizen/wearable/20160127.072235 submit/tizen/20160126.232053
Junghoon Park [Tue, 26 Jan 2016 08:58:05 +0000 (17:58 +0900)]
Use preloaded pkgid to get app path

 - To improve performance, pkgid is preloaded by launchpad loader.

Change-Id: Iaf4b7148ff3f295ee7f79028b9cbb29c3ef5dc77
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoDelete a preload_list.txt.in file 03/57903/2 accepted/tizen/mobile/20160126.050628 accepted/tizen/tv/20160126.050645 accepted/tizen/wearable/20160126.050709 submit/tizen/20160126.013029
Hwankyu Jhun [Tue, 26 Jan 2016 01:22:32 +0000 (10:22 +0900)]
Delete a preload_list.txt.in file

Needs to be submitted:
https://review.tizen.org/gerrit/#/c/57902/

Change-Id: I98daa0cd41a273bbed2073a5d7dcd89400ebf719
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix for memory leak 22/57822/2 accepted/tizen/mobile/20160125.224847 accepted/tizen/tv/20160125.224905 accepted/tizen/wearable/20160125.224923 submit/tizen/20160125.074711
Junghoon Park [Mon, 25 Jan 2016 04:47:34 +0000 (13:47 +0900)]
Fix for memory leak

Change-Id: Ie35e218c1ec42e100e5fbb457b12dda4430e955f
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoMerge "Fix app_launcher tool" into tizen accepted/tizen/mobile/20160122.080458 accepted/tizen/tv/20160122.080522 accepted/tizen/wearable/20160122.080537 submit/tizen/20160122.050256
Hwankyu Jhun [Fri, 22 Jan 2016 05:01:42 +0000 (21:01 -0800)]
Merge "Fix app_launcher tool" into tizen

8 years agoFix app_launcher tool 07/57707/1
Hwankyu Jhun [Fri, 22 Jan 2016 02:24:56 +0000 (11:24 +0900)]
Fix app_launcher tool

- Add the apptype info for launchpad

Change-Id: Ifaa78733d4d4693fed603cc44d8b71e0e655c7fd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoSeparate app paths for global app 48/57648/1 submit/tizen/20160122.025814
Junghoon Park [Thu, 21 Jan 2016 09:11:46 +0000 (18:11 +0900)]
Separate app paths for global app

- There are two types of global apps. One is read only and the other is writable. Paths for those are different each other.

Change-Id: Ieca8f5741025bd6873d89782707a6e763f77ede3
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoSupport quick launch without AMD 28/57428/15 accepted/tizen/mobile/20160122.033935 accepted/tizen/tv/20160122.033942 accepted/tizen/wearable/20160122.033948 submit/tizen/20160121.061916
Hwankyu Jhun [Wed, 20 Jan 2016 05:22:45 +0000 (14:22 +0900)]
Support quick launch without AMD

- Add "-f" option on app_launcher tool

Change-Id: I2e41e089d8f24733c64f621f4f5a747093afceac
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd parameter for aul_add_loader() 25/57225/6 accepted/tizen/mobile/20160122.031634 accepted/tizen/tv/20160122.031712 accepted/tizen/wearable/20160122.031853 submit/tizen/20160120.085740
Daehyeon Jung [Fri, 15 Jan 2016 02:46:58 +0000 (11:46 +0900)]
Add parameter for aul_add_loader()

- bundle will be passed to launchpad loader on create

Change-Id: I57070a47c9dd8baec566e5fab4bde437a986d48c
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
8 years agoUse gdbus instead of dbus-glib 04/57204/19 accepted/tizen/mobile/20160119.001652 accepted/tizen/tv/20160119.001712 accepted/tizen/wearable/20160119.001736 submit/tizen/20160118.110223
Hawnkyu Jhun [Sat, 16 Jan 2016 14:50:49 +0000 (23:50 +0900)]
Use gdbus instead of dbus-glib

Change-Id: Ie5c23001d6079d421245404d01997220dedad4b2
Signed-off-by: Hawnkyu Jhun <h.jhun@samsung.com>
8 years agoadd option for aul_sock functions 79/56179/5 accepted/tizen/mobile/20160118.084729 accepted/tizen/tv/20160118.084749 accepted/tizen/wearable/20160118.084807 submit/tizen/20160118.055121
Daehyeon Jung [Mon, 18 Jan 2016 05:19:33 +0000 (14:19 +0900)]
add option for aul_sock functions

Change-Id: If2f190fd5fb3e32d261b1073df015a94aa2b995a
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
8 years agoMove tool files to the tool folder 16/56716/1
Hwankyu Jhun [Tue, 12 Jan 2016 08:50:40 +0000 (17:50 +0900)]
Move tool files to the tool folder

Change-Id: I429446d19f50a7b1b153af0750c55eeabf65ab8f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agofix misuse of bundle_get_byte 34/56234/1 accepted/tizen/mobile/20160112.223845 accepted/tizen/tv/20160112.223913 accepted/tizen/wearable/20160112.223928 submit/tizen/20160112.015033 submit/tizen/20160112.082423
Daehyeon Jung [Tue, 5 Jan 2016 12:57:49 +0000 (21:57 +0900)]
fix misuse of bundle_get_byte

Change-Id: Idc09995108f6de67e2c0aeae4a397a55550bdfcb

8 years agoMerge "add aul_app_com_* apis for widget_service" into tizen
Daehyeon Jung [Tue, 5 Jan 2016 09:06:09 +0000 (01:06 -0800)]
Merge "add aul_app_com_* apis for widget_service" into tizen

8 years agoRefactor aul_sock_send_raw_with_fd_reply 50/56050/2
Sangyoon Jang [Mon, 4 Jan 2016 02:32:00 +0000 (11:32 +0900)]
Refactor aul_sock_send_raw_with_fd_reply

alloc memory for packet dynamically
refactor recv part

Change-Id: I567f0ffd0c659d75d64bfd4cd184b765ce6606d7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoadd aul_app_com_* apis for widget_service 16/54616/11
Daehyeon Jung [Thu, 24 Dec 2015 04:29:37 +0000 (13:29 +0900)]
add aul_app_com_* apis for widget_service

Change-Id: If6cb5b573d788d605bbbc186815e73792184c4a5
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
8 years agoAdd API for System Session 45/56145/1 accepted/tizen/mobile/20160105.045151 accepted/tizen/tv/20160105.045225 accepted/tizen/wearable/20160105.045246 submit/tizen/20160105.021130
Hwankyu Jhun [Tue, 5 Jan 2016 01:54:42 +0000 (10:54 +0900)]
Add API for System Session

- add aul_app_is_running_for_uid()

Change-Id: I4176f339f520667621266745f180396695182b38
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix aul socket buffer size 72/55872/1 accepted/tizen/mobile/20151230.223317 accepted/tizen/mobile/20160104.054130 accepted/tizen/tv/20151230.223331 accepted/tizen/tv/20160104.054158 accepted/tizen/wearable/20151230.223341 accepted/tizen/wearable/20160104.054216 submit/tizen/20151230.025906 submit/tizen/20151230.054910 submit/tizen/20160104.014224
Hwankyu Jhun [Wed, 30 Dec 2015 02:49:40 +0000 (11:49 +0900)]
Fix aul socket buffer size

- Socket buffer size is changed 65535 to 131071.

Change-Id: Ic485eae2a9b68c6487654820727476ff7cb32885
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd fd passing feature for message-port 56/55156/8 submit/tizen/20151230.014719
Hyunho Kang [Tue, 29 Dec 2015 02:26:34 +0000 (11:26 +0900)]
Add fd passing feature for message-port

Change-Id: I3cb5877eb96b2cd2be4c8a6959f7937a0d1c27c1
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoRafactor aul proc api 77/55577/9 accepted/tizen/mobile/20151228.093120 accepted/tizen/tv/20151228.093151 accepted/tizen/wearable/20151228.093216 submit/tizen/20151228.050440
Hwankyu Jhun [Mon, 28 Dec 2015 01:07:53 +0000 (10:07 +0900)]
Rafactor aul proc api

- rename the api prefix
- remove unnecessary apis

Change-Id: I593025eaf3a4c2ceb892cc048fd432c3b673213d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoMerge "Rafactor aul socket api" into tizen accepted/tizen/mobile/20151228.023546 accepted/tizen/tv/20151228.023603 accepted/tizen/wearable/20151228.023628 submit/tizen/20151227.235525 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Hwankyu Jhun [Sun, 27 Dec 2015 23:54:36 +0000 (15:54 -0800)]
Merge "Rafactor aul socket api" into tizen

8 years agoRafactor aul socket api 52/55352/12
Hwankyu Jhun [Wed, 23 Dec 2015 08:50:01 +0000 (17:50 +0900)]
Rafactor aul socket api

- rename the api prefix
- remove unnecessary apis

Change-Id: I2ca98e7ff9151897c354dd2bc3fc8850da416e8f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoadd subcompositor related keys 77/54777/2
Daehyeon Jung [Thu, 17 Dec 2015 11:44:54 +0000 (20:44 +0900)]
add subcompositor related keys

Change-Id: I1107fc5cf01ddb12447823a8bed48fc6eaa197ad
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
8 years agoFix bug in aul_listen_app_status_signal 61/54061/7
Jiwoong Im [Fri, 11 Dec 2015 06:27:56 +0000 (15:27 +0900)]
Fix bug in aul_listen_app_status_signal

Change-Id: Ib756745ba1818438e2941427866a83105c1deb43
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoChange spec file to fix build error 50/54950/1 accepted/tizen/mobile/20151221.224552 accepted/tizen/tv/20151221.224608 accepted/tizen/wearable/20151221.224631 submit/tizen/20151221.030350 submit/tizen/20151221.125258
Junghoon Park [Mon, 21 Dec 2015 02:59:16 +0000 (11:59 +0900)]
Change spec file to fix build error

Change-Id: I5fd3439746008c3846674fd3319b47f65c513b55
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoRemove AMD 21/54821/3 submit/tizen/20151221.022924
Junghoon Park [Mon, 21 Dec 2015 01:09:04 +0000 (10:09 +0900)]
Remove AMD

 - AMD will be moved to platform/core/appfw/amd

Change-Id: I9f7b647407d8153e35ba6da06cb932c4f34cf0bb
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoSet to invalid if can't find the current language 51/54851/1
Myungki Lee [Fri, 18 Dec 2015 07:11:28 +0000 (16:11 +0900)]
Set to invalid if can't find the current language

Change-Id: I5a6104a2f3177595bcb40455d1df9be1945dcb0b
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agofix build error 14/54814/1
Junghoon Park [Fri, 18 Dec 2015 04:59:35 +0000 (13:59 +0900)]
fix build error

Change-Id: I7ec9b2e8b82e240bc4d5cb3e4e42156dc7a5b514
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoMerge "Add delete rua history feature" into tizen
Junghoon Park [Fri, 18 Dec 2015 04:49:58 +0000 (20:49 -0800)]
Merge "Add delete rua history feature" into tizen

8 years agocode refactoring 34/54734/2
Jiwoong Im [Thu, 17 Dec 2015 12:51:22 +0000 (21:51 +0900)]
code refactoring

- modify copyright
- change SLPAPI to API
- use #pragma once to be included only once

Change-Id: Icc14baacf9f6c52df3f999dcc3d47f3b6a48ccde
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoAdd delete rua history feature 70/54070/15
hyunho kang [Fri, 11 Dec 2015 07:12:02 +0000 (16:12 +0900)]
Add delete rua history feature

To resolve librua APIs permission problem,
provide indirect DB access method to librua.

Change-Id: Iffa94fd9da1331f464ae1ff0b3fa6666fc09a90b
Signed-off-by: hyunho kang <hhstark.kang@samsung.com>
8 years agoRefactor amd_request.c 39/54639/3 accepted/tizen/mobile/20151217.093014 accepted/tizen/tv/20151217.093153 accepted/tizen/wearable/20151217.093130 submit/tizen/20151217.025256
Junghoon Park [Thu, 17 Dec 2015 00:57:42 +0000 (09:57 +0900)]
Refactor amd_request.c

- remove the feature for process limit
  (It will be made by using data structural of app-group later)

Change-Id: I481888066eb35c7efb5e72e84937ff2706a164bc
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agocheck call/download privilege only in regular user launch. 46/54546/4
Jiwoong Im [Wed, 16 Dec 2015 05:21:57 +0000 (14:21 +0900)]
check call/download privilege only in regular user launch.

Change-Id: Idede215859c4a602238b22a78523bf4319ba1733
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoMerge tizen_2.4 into tizen 10/54510/5 accepted/tizen/mobile/20151216.110022 accepted/tizen/tv/20151216.105844 accepted/tizen/wearable/20151216.105833 submit/tizen/20151216.002737
Hwankyu Jhun [Tue, 15 Dec 2015 23:33:21 +0000 (08:33 +0900)]
Merge tizen_2.4 into tizen

- add effective appid feature
- fix code intent
- add the space after struct definition

Change-Id: I526e7306cf2adb9f0a92905e7825fbb3e3d8c92e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix type casting 09/54509/1 accepted/tizen/mobile/20151216.105748 accepted/tizen/tv/20151216.105639 accepted/tizen/wearable/20151216.105619 submit/tizen/20151215.232329
Hwankyu Jhun [Tue, 15 Dec 2015 23:20:28 +0000 (08:20 +0900)]
Fix type casting

Change-Id: I7c775163e24cf91bff2e9baef24fdb144554f1e6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoMerge "fix type casting for 64-bit env" into tizen submit/tizen/20151215.230844
Hwankyu Jhun [Tue, 15 Dec 2015 23:08:04 +0000 (15:08 -0800)]
Merge "fix type casting for 64-bit env" into tizen

8 years agofix type casting for 64-bit env 08/54508/1
Hwankyu Jhun [Tue, 15 Dec 2015 23:03:58 +0000 (08:03 +0900)]
fix type casting for 64-bit env

Change-Id: I3e5ba1bada9e9c0a1087360cfac456536535b41a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd APIs for BG management 25/54325/5 submit/tizen/20151215.084459
Junghoon Park [Tue, 15 Dec 2015 08:15:56 +0000 (17:15 +0900)]
Add APIs for BG management

- add types (AIT_COMPTYPE, AIT_BG_CATEGORY)
- add _status_find_service_apps()
- add _status_check_service_only()
- modify app-group to use them
- refactor amd_appinfo

Change-Id: I2ae6d4684d78d7b16948e12dfb10cfd1f8381d78
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoApply coding rule 14/54414/2 submit/tizen/20151215.075536
Hwankyu Jhun [Tue, 15 Dec 2015 07:04:45 +0000 (16:04 +0900)]
Apply coding rule

Change-Id: I5b8da34229519e331f43ea6bf94a2323fb54fd9f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoRemove compile warnings 04/54304/1
Semun Lee [Tue, 15 Dec 2015 01:06:27 +0000 (10:06 +0900)]
Remove compile warnings

- include bundle_internal.h for some internal bundle apis
- define _GNU_SOURCE instead of __USE_GNU
- add missing license boilerplates
- remove unused function

Change-Id: Id3c4325e06db9bf0f1a43e6969e40936ad379136
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
8 years agoGet information about running apps except for subapps 58/54258/2
Junghoon Park [Mon, 14 Dec 2015 10:13:05 +0000 (19:13 +0900)]
Get information about running apps except for subapps

- add is_subapp in app_status_info_t
- modify _status_app_is_running()
- modify _status_app_is_running_v2()
- remove unused file

Change-Id: I5c0a2dc4834f6fb4468fab8f4f44f8aedebbc4b2
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoLet amd wait application's launching using inotify 71/53571/20 accepted/tizen/mobile/20151214.233910 accepted/tizen/tv/20151214.233931 accepted/tizen/wearable/20151214.233950 submit/tizen/20151214.102546
Sangyoon Jang [Tue, 8 Dec 2015 02:47:36 +0000 (11:47 +0900)]
Let amd wait application's launching using inotify

amd should not use busy waiting.
amd now monitors socket creation and returns result to caller when socket
is created.
if somebody request app_control to launching app, it will be pended
until the app launched(socket created).

Change-Id: I708cd6db27bc7e751e552be5507cda7c419d08e5
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoMerge "Add new handler to process the launch signal containing appid." into tizen
Myungki Lee [Mon, 14 Dec 2015 05:26:37 +0000 (21:26 -0800)]
Merge "Add new handler to process the launch signal containing appid." into tizen

8 years agofix _start_app_local_with_bundle() 78/54078/1 accepted/tizen/mobile/20151212.071120 accepted/tizen/tv/20151212.072617 accepted/tizen/wearable/20151212.073219 submit/tizen/20151211.074901
Hwankyu Jhun [Fri, 11 Dec 2015 07:41:19 +0000 (16:41 +0900)]
fix _start_app_local_with_bundle()

- add bundle data about appid

Change-Id: Icdb8a372ba9769981410e37c7040622d578dc95c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd new handler to process the launch signal containing appid. 44/54044/2 accepted/tizen/mobile/20151214.233221 accepted/tizen/tv/20151214.233232 accepted/tizen/wearable/20151214.233255 submit/tizen/20151214.052927
Myungki Lee [Fri, 11 Dec 2015 05:30:25 +0000 (14:30 +0900)]
Add new handler to process the launch signal containing appid.

Change-Id: I2d5dc38310fceae07819b755d06d0ed3f9a8b046
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoMerge "support debug-launchpad" into tizen accepted/tizen/mobile/20151212.070857 accepted/tizen/tv/20151212.072423 accepted/tizen/wearable/20151212.072919 submit/tizen/20151211.044548
Hwankyu Jhun [Fri, 11 Dec 2015 02:05:49 +0000 (18:05 -0800)]
Merge "support debug-launchpad" into tizen

8 years agoMerge "Add aul_app_get_pid API" into tizen
Hwankyu Jhun [Fri, 11 Dec 2015 01:12:26 +0000 (17:12 -0800)]
Merge "Add aul_app_get_pid API" into tizen

8 years agoAdd description for aul_svc_set_loader_id() 51/53851/1 accepted/tizen/mobile/20151210.225932 accepted/tizen/tv/20151210.225946 accepted/tizen/wearable/20151210.230006 submit/tizen/20151210.083837
Junghoon Park [Thu, 10 Dec 2015 00:17:15 +0000 (09:17 +0900)]
Add description for aul_svc_set_loader_id()

Change-Id: I4c8aa232b7209aaa2332f3b1aecd2a3493b2a9b8
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agosupport debug-launchpad 22/53722/7
Hwankyu Jhun [Wed, 9 Dec 2015 23:09:10 +0000 (08:09 +0900)]
support debug-launchpad

- add new parameter to app_agent_send_cmd()
- add tools for debug-launchpad (launch_debug and appid2pid)

Change-Id: If78a21d0deecb93b4d351a07cd4d7c4d4e9d1b37
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd aul_app_get_pid API 47/53847/1
Hwankyu Jhun [Wed, 9 Dec 2015 22:51:42 +0000 (07:51 +0900)]
Add aul_app_get_pid API

- This API gets specified application process id.

Change-Id: I7b9b40fedbd8cb752225d75ae20801f7cb826105
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix __dispatch_get_socket_pair necessary bundle free bug. 48/53748/1 accepted/tizen/mobile/20151210.024522 accepted/tizen/tv/20151210.021456 accepted/tizen/wearable/20151210.024418 submit/tizen/20151209.065705
hyunho kang [Wed, 9 Dec 2015 05:56:35 +0000 (14:56 +0900)]
Fix __dispatch_get_socket_pair necessary bundle free bug.

Change-Id: I3f0ad6084b9875e54603da0917c7d0794f9b4e70
Signed-off-by: hyunho kang <hhstark.kang@samsung.com>
8 years agoUse command value for launchpad 11/53711/1 accepted/tizen/mobile/20151210.024431 accepted/tizen/wearable/20151210.013950 submit/tizen/20151209.021638
Junghoon Park [Wed, 9 Dec 2015 01:39:13 +0000 (10:39 +0900)]
Use command value for launchpad

Change-Id: I78ec61631e0274179d44c460704083e4fdaac09b
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoAdd APIs for dynamic loader 81/53481/6 accepted/tizen/mobile/20151208.125757 accepted/tizen/tv/20151208.125817 accepted/tizen/wearable/20151208.125833 submit/tizen/20151208.055026
Junghoon Park [Mon, 7 Dec 2015 07:57:45 +0000 (16:57 +0900)]
Add APIs for dynamic loader

Change-Id: Ibdf2a4a2a81e5809223ea26e5c1a463ffde9ac85
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agosupport share-panel & app-selector 2.4 migration 66/53066/6 accepted/tizen/mobile/20151208.123418 accepted/tizen/tv/20151208.123435 accepted/tizen/wearable/20151208.123452 submit/tizen/20151207.051443
Jiwoong Im [Tue, 1 Dec 2015 11:48:05 +0000 (20:48 +0900)]
support share-panel & app-selector 2.4 migration

- open aul_forward_app api
- enable to send cancel result by aul_svc_send_result

Change-Id: I4937a416386cd80c3ebc0ba780b37ab9cda1797e
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agosend app signal regarding lifecycle events 48/53348/4 accepted/tizen/mobile/20151206.223946 accepted/tizen/tv/20151206.224005 accepted/tizen/wearable/20151206.224020 submit/tizen/20151204.074112
Daehyeon Jung [Fri, 4 Dec 2015 06:49:55 +0000 (15:49 +0900)]
send app signal regarding lifecycle events

Change-Id: I436d7d3a3e259b7add0f035db6e2ce09b9bec3aa
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
8 years agoapply ASLR 15/53315/1 accepted/tizen/mobile/20151204.062005 accepted/tizen/tv/20151204.062026 accepted/tizen/wearable/20151204.062050 submit/tizen/20151204.013647
Hwankyu Jhun [Fri, 4 Dec 2015 01:24:44 +0000 (10:24 +0900)]
apply ASLR

Change-Id: Ie675608a62692782ddce4ddb5fbbaa9a4d021063
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix __dispatch_get_socket_pair resource leak. 20/53220/3
hyunho kang [Thu, 3 Dec 2015 01:05:42 +0000 (10:05 +0900)]
Fix __dispatch_get_socket_pair resource leak.

Change-Id: I5158f0e69da8e660a10cdb6e8997bab0add6ef5f
Signed-off-by: hyunho kang <hhstark.kang@samsung.com>
8 years agoMake candidate processes after an app is resumed 51/52751/4 pepper accepted/tizen/mobile/20151202.041002 accepted/tizen/tv/20151202.041029 accepted/tizen/wearable/20151202.041057 submit/tizen/20151202.005650
Junghoon Park [Wed, 2 Dec 2015 00:43:22 +0000 (09:43 +0900)]
Make candidate processes after an app is resumed

Change-Id: I52042baad1dd983e982cdef95ceca8feac60561f
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoMerge "Migrate launch_app tool to aul package" into tizen accepted/tizen/mobile/20151202.040659 accepted/tizen/tv/20151202.040720 accepted/tizen/wearable/20151202.040736 submit/tizen/20151201.232940
Hwankyu Jhun [Tue, 1 Dec 2015 23:27:18 +0000 (15:27 -0800)]
Merge "Migrate launch_app tool to aul package" into tizen

8 years agoMigrate launch_app tool to aul package 56/53056/3
Hwankyu Jhun [Tue, 1 Dec 2015 09:45:08 +0000 (18:45 +0900)]
Migrate launch_app tool to aul package

- Tizen IDE needs to execute an app by using the tool.

Change-Id: I4642afa162f8c1ea0b647909b93005fd894c12fb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoenable to recycle application 53/53053/1
Jiwoong Im [Tue, 1 Dec 2015 09:48:16 +0000 (18:48 +0900)]
enable to recycle application

Change-Id: I69f459b5893a7ceeb00311b49167bb50e8862109
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoupdate app info while killing the app 41/52541/2 accepted/tizen/mobile/20151124.234031 accepted/tizen/tv/20151124.234043 accepted/tizen/wearable/20151124.234054 submit/tizen/20151124.090417
Hwankyu Jhun [Tue, 24 Nov 2015 08:33:53 +0000 (17:33 +0900)]
update app info while killing the app

Change-Id: I2c6d4ab9b2f6d700ce8610a3b746bcc95c152ab1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agofix launchpad-process-pool socket name 50/52250/1 accepted/tizen/mobile/20151122.234126 accepted/tizen/tv/20151122.234137 accepted/tizen/wearable/20151122.234144 submit/tizen/20151120.075035
Hwankyu Jhun [Fri, 20 Nov 2015 07:09:14 +0000 (16:09 +0900)]
fix launchpad-process-pool socket name

Change-Id: I215bbe56a94c3bf685876e4b03e96d1d5431d861
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoCheck the privilege for call operation. 54/51954/7
Junghoon, Park [Thu, 19 Nov 2015 23:35:24 +0000 (08:35 +0900)]
Check the privilege for call operation.

Change-Id: I168e152180725a007c6942fd2724088d740105da
Signed-off-by: Junghoon, Park <jh9216.park@samsung.com>
8 years agoMerge "merge 2.4 to tizen" into tizen accepted/tizen/mobile/20151120.070445 accepted/tizen/tv/20151120.070500 accepted/tizen/wearable/20151120.070513 submit/tizen/20151119.232432
Junghoon, Park [Thu, 19 Nov 2015 23:09:43 +0000 (15:09 -0800)]
Merge "merge 2.4 to tizen" into tizen

9 years agomerge 2.4 to tizen 40/51840/12
Junghoon, Park [Thu, 19 Nov 2015 02:05:09 +0000 (11:05 +0900)]
merge 2.4 to tizen

- add AIT_POOL for launchpad
- remove release-agent, launch-agent
- add TEP feature
- support restarting service app

Change-Id: I40bef863e16c34b9f2ec98f915a51c843beb020b
Signed-off-by: Junghoon, Park <jh9216.park@samsung.com>
9 years agoFix implicit declaration of function 'rua_stat_update' warning. 13/52113/1 accepted/tizen/mobile/20151119.232118 accepted/tizen/tv/20151119.232147 accepted/tizen/wearable/20151119.232154 submit/tizen/20151119.090110
hyunho kang [Thu, 19 Nov 2015 06:43:01 +0000 (15:43 +0900)]
Fix implicit declaration of function 'rua_stat_update' warning.

Change-Id: I3d367369205a216088495e082f72a83bea0f9a21
Signed-off-by: hyunho kang <hhstark.kang@samsung.com>
9 years agoSync rua_stat feature with tizen 2.4 82/51882/6 accepted/tizen/mobile/20151117.232212 accepted/tizen/tv/20151117.232227 accepted/tizen/wearable/20151117.232240 submit/tizen/20151117.085819
hyunho kang [Tue, 17 Nov 2015 02:58:46 +0000 (11:58 +0900)]
Sync rua_stat feature with tizen 2.4

Change-Id: I64856348513c4b65dfd69add4dca10c0055b8407
Signed-off-by: hyunho kang <hhstark.kang@samsung.com>
9 years agoFix bug about launching an app 42/51742/1 accepted/tizen/mobile/20151116.024803 accepted/tizen/tv/20151116.024814 accepted/tizen/wearable/20151116.024836 submit/tizen/20151115.234435
Hwankyu Jhun [Fri, 13 Nov 2015 10:23:55 +0000 (19:23 +0900)]
Fix bug about launching an app

- Add an exception when launching an app is STATUS_DYING
- Fix operator precedence in _status_get_app_info_status()

Change-Id: Ia5cf9cbda6a9f0f48eebf01c53a377827f0d1e99
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
9 years agosync app group with tizen_2.4 23/50923/8 accepted/tizen/mobile/20151111.232020 accepted/tizen/tv/20151111.232037 accepted/tizen/wearable/20151111.232050 submit/tizen/20151111.072844
Jiwoong Im [Tue, 3 Nov 2015 05:07:37 +0000 (14:07 +0900)]
sync app group with tizen_2.4

- sync implementation of app group from tizen_2.4
- add appgroup_info tool

Change-Id: Ib5bd77ff6c969bab18d6dbb7affa6fd8c677c5fc
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoAdd APIs for System Session 61/51461/1 accepted/tizen/mobile/20151111.044144 accepted/tizen/tv/20151111.044201 accepted/tizen/wearable/20151111.044216 submit/tizen/20151110.071018
Junghoon, Park [Tue, 10 Nov 2015 02:36:29 +0000 (11:36 +0900)]
Add APIs for System Session

- add aul_app_get_appid_bypid_for_uid()
- add aul_app_get_pkgid_bypid_for_uid()
- modify descriptions for aul APIs

Change-Id: I1712aeeba42c6400a3b721f4354a0830e710a126
Signed-off-by: Junghoon, Park <jh9216.park@samsung.com>
9 years agoMerge "remove amd_session_agent to use launchpad" into tizen accepted/tizen/mobile/20151109.234132 accepted/tizen/tv/20151109.234145 accepted/tizen/wearable/20151109.234155 submit/tizen/20151109.105333
Junghoon, Park [Mon, 9 Nov 2015 01:55:34 +0000 (17:55 -0800)]
Merge "remove amd_session_agent to use launchpad" into tizen

9 years agoport some APIs from 2.4 to 3.0 27/51227/3
Junghoon, Park [Thu, 5 Nov 2015 11:15:20 +0000 (20:15 +0900)]
port some APIs from 2.4 to 3.0

- add aul_set_preinit_window()
- add aul_get_preinit_window()
- add aul_set_preinit_background()
- add aul_get_preinit_background()
- add aul_set_preinit_conformant()
- add aul_get_preinit_conformant()
- add aul_set_preinit_appid()
- add aul_set_preinit_pkgid()

Change-Id: I48dc0029835e8efe3d5d6642b853d10dd6b01b89
Signed-off-by: Junghoon, Park <jh9216.park@samsung.com>
9 years agoremove amd_session_agent to use launchpad 91/50991/2
Junghoon, Park [Wed, 4 Nov 2015 09:04:54 +0000 (18:04 +0900)]
remove amd_session_agent to use launchpad

Change-Id: Id63c9adc9837dd0fe8b10318b1218b736ae65fba
Signed-off-by: Junghoon, Park <jh9216.park@samsung.com>
9 years agoFix prevent issues and remove compile warning messages 60/50860/2 accepted/tizen/mobile/20151103.224955 accepted/tizen/tv/20151103.225006 accepted/tizen/wearable/20151103.225018 submit/tizen/20151103.105151
Hwankyu Jhun [Tue, 3 Nov 2015 02:00:39 +0000 (11:00 +0900)]
Fix prevent issues and remove compile warning messages

- Fix buffer overflow
- Fix thread-safety issue
- Fix dereference null return value

Change-Id: I6d1f11e7ce78ab28ea6b6c8b4666e88124c66f4d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
9 years agoFix getting the appid on __dispatch_app_pause() 37/50837/3 accepted/tizen/mobile/20151103.224751 accepted/tizen/tv/20151103.224802 accepted/tizen/wearable/20151103.224816 submit/tizen/20151103.063941
Hwankyu Jhun [Tue, 3 Nov 2015 00:12:18 +0000 (09:12 +0900)]
Fix getting the appid on __dispatch_app_pause()

Change-Id: Idcb124bbf756ff50cc7552df14972ec380098b43
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
9 years agoAdd a dbus signal handler for syspopup 59/50259/8 submit/tizen/20151028.020252 submit/tizen/20151028.061056 submit/tizen/20151029.231927
Hwankyu Jhun [Tue, 27 Oct 2015 23:51:02 +0000 (08:51 +0900)]
Add a dbus signal handler for syspopup

When AMD gets a signal about launching request for syspopup, AMD
will launch the syspopup.

Change-Id: I58cd195c09cc464e9069eb41c25cc9234846ba64
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
9 years agoAdd fd passing feature for data-control 01/48901/9
hyunho kang [Tue, 27 Oct 2015 08:13:53 +0000 (17:13 +0900)]
Add fd passing feature for data-control

Change-Id: I9106541404b4f0c439b89b31f8e6f0efe3258d33
Signed-off-by: hyunho kang <hhstark.kang@samsung.com>
9 years agoGet appid of process from smack label 78/49878/8
Sangyoon Jang [Wed, 21 Oct 2015 06:13:55 +0000 (15:13 +0900)]
Get appid of process from smack label

getting appid from cmdline is untrusted because process can modify its
cmdline

Change-Id: Ib3f937dc8e08dcbccff4c4b2964395a7593fd305
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoMerge "refactor amd_launch.c" into tizen
Junghoon, Park [Tue, 27 Oct 2015 02:43:36 +0000 (19:43 -0700)]
Merge "refactor amd_launch.c" into tizen

9 years agoadd system/session bus signal filter seperately 52/50152/7
Junghoon, Park [Tue, 27 Oct 2015 00:24:28 +0000 (09:24 +0900)]
add system/session bus signal filter seperately

 - In dbus signal listen to apis, add system/session bus signal filter seperately.

Change-Id: Ic78f2611841b70a383b5114aa8ff5c43ca5a7a25
Signed-off-by: Junghoon, Park <jh9216.park@samsung.com>
9 years agorefactor amd_launch.c 13/50013/5
Junghoon, Park [Fri, 23 Oct 2015 01:41:41 +0000 (10:41 +0900)]
refactor amd_launch.c

Change-Id: Ib1d20ce87002ca6599ec37fa18ae033884b207eb
Signed-off-by: Junghoon, Park <jh9216.park@samsung.com>
9 years agoadd dbus signal apis from tizen_2.4 77/49977/3
Jiwoong Im [Thu, 22 Oct 2015 06:58:12 +0000 (15:58 +0900)]
add dbus signal apis from tizen_2.4

list of added apis
- aul_listen_booting_done_signal
- aul_listen_cooldown_signal
- aul_listen_app_status_signal
- aul_update_freezer_status
- aul_send_app_launch_request_signal
- aul_send_app_resume_request_signal
- aul_send_app_terminate_request_signal
- aul_send_app_status_change_signal
- aul_send_app_terminated_signal
- aul_send_app_group_signal

Change-Id: Iea0e70b85149e4ccc4be6a5fbec0065076982540
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agorefactor amd_request.c 39/49939/4
Junghoon, Park [Thu, 22 Oct 2015 01:50:06 +0000 (10:50 +0900)]
refactor amd_request.c

Change-Id: I4ff9ed35699e143b7a6810e7db29eed01fa07724
Signed-off-by: Junghoon, Park <jh9216.park@samsung.com>
9 years agoFix prevent bugs: Uncheck return value, Dead default in switch. 03/49903/1
Myungki Lee [Wed, 21 Oct 2015 10:21:12 +0000 (19:21 +0900)]
Fix prevent bugs: Uncheck return value, Dead default in switch.

Change-Id: Ie1a4e4d10631d6831381b25f418beb1f3dc055c9
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
9 years agoadd appsvc.sql file 06/49706/1 accepted/tizen/mobile/20151019.091659 accepted/tizen/tv/20151019.091711 accepted/tizen/wearable/20151019.091727 submit/tizen/20151019.090536 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Jiwoong Im [Mon, 19 Oct 2015 09:04:18 +0000 (18:04 +0900)]
add appsvc.sql file

Change-Id: I7fb7490e6dcb4a6dfbd41a5c83c46b9ac4ef8e95
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoinstall .appsvc.db in skel directory 05/49705/1 submit/tizen/20151019.090006
Jiwoong Im [Mon, 19 Oct 2015 08:57:34 +0000 (17:57 +0900)]
install .appsvc.db in skel directory

Change-Id: I1c4279973071d86566734cde0127ec6b01251678
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoFix application web tct failure 69/49669/1 accepted/tizen/mobile/20151017.101303 accepted/tizen/tv/20151017.101522 accepted/tizen/wearable/20151017.101950 submit/tizen/20151017.083624
Jiwoong Im [Sat, 17 Oct 2015 08:12:17 +0000 (17:12 +0900)]
Fix application web tct failure

- open appsvd db correctly in readonly/readwrite case.
- add caller appid to bundle in start app.

Change-Id: Ic2026eceb291736b0bb4c3601de2743805b7cfc1
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>