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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Hwankyu Jhun [Wed, 4 Jan 2017 07:57:32 +0000 (16:57 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I14f168ba6f2b95afe324f5eb9db7c1d607474276
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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
Hwankyu Jhun [Fri, 11 Nov 2016 05:21:57 +0000 (14:21 +0900)]
Merge branch 'tizen' into tizen_3.0
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>
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>
Hwankyu Jhun [Fri, 11 Nov 2016 00:06:17 +0000 (09:06 +0900)]
Merge branch 'tizen' into tizen_3.0
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>
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>
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>
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>
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>
SukHyung, Kang [Fri, 4 Nov 2016 08:34:10 +0000 (01:34 -0700)]
Merge "fix SVACE issue" into tizen
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Hwankyu Jhun [Tue, 5 Jul 2016 06:56:02 +0000 (15:56 +0900)]
Fix the exeception about terminate requests
Change-Id: Ie818da1856af42972791626bbdfaa29517add0ba
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hyunho Kang [Wed, 22 Jun 2016 05:43:31 +0000 (14:43 +0900)]
Add APIs for rua multi-user feature
Change-Id: I4cf07a08c6ae2049d28efdd0626d8205d0c848a3
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Junghoon Park [Tue, 28 Jun 2016 10:41:43 +0000 (19:41 +0900)]
Adjust retry counts
Change-Id: Ibca49e8f4956db6f9b78d7473512fe91dd2fe320
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Semun Lee [Tue, 28 Jun 2016 06:36:04 +0000 (15:36 +0900)]
Change behavior of APP_START_ASYNC to return pid
Change-Id: I6e46086c2c9e685d6387709a5c28a7832454db7b
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
Hwankyu Jhun [Fri, 24 Jun 2016 08:16:52 +0000 (17:16 +0900)]
Fix recv buffer size
Change-Id: I5f61b924166d6e138ceec9395a732cfbe30c2969
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 23 Jun 2016 06:56:49 +0000 (15:56 +0900)]
Prevent app sockets from being deleted by attacker
The app socket path is changed to "/run/aul/apps/<uid>/<pid>/.app-sock".
Change-Id: Ifbdca78dad0275f16e4d5fabd33367f406fbaf32
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 23 Jun 2016 05:27:27 +0000 (14:27 +0900)]
Prevent apps directory from being deleted by attacker
Now, the app process can delete the /run/aul/apps directory.
The /run/aul directory mode is changed to 0755.
Change-Id: I6de28fe8433f8ca2ea213f2c22626ef9973d27ac
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 8 Jun 2016 11:16:00 +0000 (20:16 +0900)]
Use a file descriptor passed by the launchpad
- The application socket path is changed to "/run/aul/apps/<uid>/".
- An aul.service file is added for making /run/aul/apps and
/run/aul/daemons directories. The /run/aul/daemons directory has
the "User::Home" SMACK label to protect sockets of daemon processes
from being deleted by attacker.
- While calling the aul_initialize(), the application can get
the aul listen socketfd by using getenv(). The launchpad sets the
environment variable about the aul listen socketfd before executing an
application.
Change-Id: Ie0e5cbeef12ed96ddeab2cfbd38e355cca2692de
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghoon Park [Fri, 17 Jun 2016 02:08:03 +0000 (11:08 +0900)]
Add api for setting loader name
Change-Id: Ia602f7ba4fdefcca1e5d1fc3167fd2e2a3cb2c7e
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>