platform/core/appfw/aul-1.git
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 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>
7 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>
7 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>
7 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>
7 years agoFix the exeception about terminate requests 38/78338/1 accepted/tizen/common/20160706.141915 accepted/tizen/ivi/20160706.014519 accepted/tizen/mobile/20160706.014428 accepted/tizen/tv/20160706.014443 accepted/tizen/wearable/20160706.014459 submit/tizen/20160705.222911
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>
8 years agoAdd APIs for rua multi-user feature 88/75888/10 accepted/tizen/common/20160703.130338 accepted/tizen/ivi/20160701.032806 accepted/tizen/mobile/20160701.032825 accepted/tizen/tv/20160701.032725 accepted/tizen/wearable/20160701.032746 submit/tizen/20160630.070457 submit/tizen_common/20160701.180000
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>
8 years agoAdjust retry counts 58/77058/1 accepted/tizen/common/20160703.130000 accepted/tizen/ivi/20160629.070839 accepted/tizen/mobile/20160629.071002 accepted/tizen/tv/20160629.070731 accepted/tizen/wearable/20160629.070818 submit/tizen/20160629.021322
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>
8 years agoChange behavior of APP_START_ASYNC to return pid 61/76961/1 accepted/tizen/common/20160629.222458 accepted/tizen/ivi/20160629.020615 accepted/tizen/mobile/20160629.020657 accepted/tizen/tv/20160629.020551 accepted/tizen/wearable/20160629.020641 submit/tizen/20160628.070541
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>
8 years agoFix recv buffer size 65/76565/1 accepted/tizen/common/20160703.125654 accepted/tizen/ivi/20160629.015644 accepted/tizen/mobile/20160629.015605 accepted/tizen/tv/20160629.015717 accepted/tizen/wearable/20160629.015518 submit/tizen/20160627.042541
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>
8 years agoPrevent app sockets from being deleted by attacker 14/76214/1
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>
8 years agoPrevent apps directory from being deleted by attacker 85/76185/1
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>
8 years agoUse a file descriptor passed by the launchpad 34/73534/24 accepted/tizen/common/20160627.191234 accepted/tizen/ivi/20160623.121723 accepted/tizen/mobile/20160623.121624 accepted/tizen/tv/20160623.121635 accepted/tizen/wearable/20160623.121656 submit/tizen/20160622.081450
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>
8 years agoAdd api for setting loader name 98/73998/3 accepted/tizen/common/20160627.191116 submit/tizen/20160621.225650
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>
8 years agochange launch message for web app debug mode 48/75048/1
Cho Woong Suk [Thu, 16 Jun 2016 10:45:47 +0000 (19:45 +0900)]
change launch message for web app debug mode

Change-Id: I9f190606dfef5708d2fde1be327f26bcc217f6e1

8 years agoFix the exceptions 87/74587/3 accepted/tizen/common/20160616.151625 accepted/tizen/ivi/20160616.001948 accepted/tizen/mobile/20160616.001854 accepted/tizen/tv/20160616.001910 accepted/tizen/wearable/20160616.001825 submit/tizen/20160615.014309
Hwankyu Jhun [Tue, 14 Jun 2016 09:53:36 +0000 (18:53 +0900)]
Fix the exceptions

- Check a file descriptor returned from aul socket API
- Initialize pointer values

Change-Id: I08fd07a3d85ef05673e6bc02044a2d24d317a78b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix aul_get_preinit_root_path API 37/74337/1 accepted/tizen/common/20160615.193300 accepted/tizen/ivi/20160615.001502 accepted/tizen/mobile/20160615.001625 accepted/tizen/tv/20160615.001539 accepted/tizen/wearable/20160615.001552 submit/tizen/20160614.094055
Hwankyu Jhun [Tue, 14 Jun 2016 02:41:17 +0000 (11:41 +0900)]
Fix aul_get_preinit_root_path API

- Get the root path from the environment
- Requires
[launchpad] https://review.tizen.org/gerrit/#/c/74336/

Change-Id: If6ad84fb5929804d71ef2dddef657eb62563e929
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix bug about receiving packets in case of 0 size payload 07/74107/1 accepted/tizen/common/20160614.143645 accepted/tizen/ivi/20160614.041203 accepted/tizen/mobile/20160614.041109 accepted/tizen/tv/20160614.041148 accepted/tizen/wearable/20160614.041131 submit/tizen/20160613.023047 submit/tizen/20160613.062107
Junghoon Park [Mon, 13 Jun 2016 01:36:43 +0000 (10:36 +0900)]
Fix bug about receiving packets in case of 0 size payload

Change-Id: I6b69d8c81a8eaaf137b072bc2c6b8804523eb173
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoAdd validation checker for receiving packets 22/73922/1
Junghoon Park [Fri, 10 Jun 2016 05:19:42 +0000 (14:19 +0900)]
Add validation checker for receiving packets

Change-Id: Ibaa4bb2a26b1e51b075da10d08e61ddc33988ea2
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agofix getting external-storage path. 60/73560/1
jongmyeongko [Wed, 8 Jun 2016 06:09:20 +0000 (15:09 +0900)]
fix getting external-storage path.

Change-Id: I284c93a419989810b52ccb877d869044d7db4587
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoRemove calling chmod() 62/72862/3 accepted/tizen/common/20160606.141711 accepted/tizen/ivi/20160606.040554 accepted/tizen/mobile/20160606.035155 accepted/tizen/tv/20160606.035856 accepted/tizen/wearable/20160606.040058 submit/tizen/20160603.030057
Junghoon Park [Thu, 2 Jun 2016 23:54:59 +0000 (08:54 +0900)]
Remove calling chmod()

 - We don't need to allow permissions for groups and others any more

Change-Id: If3d48503534e9952eac13fa26841f0ac0a48dcc3
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoFix memory leak 61/72861/1
Junghoon Park [Thu, 2 Jun 2016 23:36:16 +0000 (08:36 +0900)]
Fix memory leak

Change-Id: Idd6f721ba85836255211fc9064d5be963c8074e5
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoFix the alias appid 19/71619/2 accepted/tizen/common/20160527.152325 accepted/tizen/ivi/20160530.081501 accepted/tizen/mobile/20160530.081600 accepted/tizen/tv/20160530.081457 accepted/tizen/wearable/20160530.081454 submit/tizen/20160527.012938
Hwankyu Jhun [Thu, 26 May 2016 07:36:49 +0000 (16:36 +0900)]
Fix the alias appid

Change-Id: Ib0c0441e18fc2ff84529183382b6221fae56cd4f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix the feature name 96/71396/3
Hwankyu Jhun [Wed, 25 May 2016 07:43:12 +0000 (16:43 +0900)]
Fix the feature name

- The default user feature is changed to
TIZEN_FEATURE_DEFAULT_USER.

Change-Id: I0b62da9cb817d2ebeec5084db24d9ea0fffc4ef7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix wrong function name 58/71458/1 accepted/tizen/common/20160526.150338 accepted/tizen/ivi/20160526.094929 accepted/tizen/mobile/20160526.095125 accepted/tizen/tv/20160526.095008 accepted/tizen/wearable/20160526.095041 submit/tizen/20160526.062537
Junghoon Park [Wed, 25 May 2016 11:05:58 +0000 (20:05 +0900)]
Fix wrong function name

Change-Id: I4aff0851273204571b1747a8bf7e6340ef7aa531
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoSupport multiple widget viewer 11/71111/1
Hwankyu Jhun [Tue, 24 May 2016 06:40:18 +0000 (15:40 +0900)]
Support multiple widget viewer

- Add a new definition (AUL_K_WIDGET_VIEWER)

Change-Id: I134e8d07f2a0669bf11038c8dfc92f0d1e40c969
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd the exceptions for checking the request type 44/70844/1 submit/tizen/20160524.073932
Hwankyu Jhun [Mon, 23 May 2016 04:37:39 +0000 (13:37 +0900)]
Add the exceptions for checking the request type

Change-Id: I066337944d7a029fecbab7c1d15dc7d21d7ed7d3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix the exception handling 07/70707/7 accepted/tizen/common/20160525.155320 submit/tizen/20160523.020650
Hwankyu Jhun [Fri, 20 May 2016 07:20:10 +0000 (16:20 +0900)]
Fix the exception handling

If the application doesn't have a permission to use
aul_app_get_all_running_app_info_for_uid() API, the API
has to return the AUL_R_EILLACC.

Change-Id: I73d01c008b791075b1bb29dc65ec93af4fac9760
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix bug about aul_launch_app_async() 28/70428/1 accepted/tizen/common/20160520.171024 accepted/tizen/ivi/20160520.081045 accepted/tizen/mobile/20160520.080907 accepted/tizen/tv/20160520.080957 accepted/tizen/wearable/20160520.080924 submit/tizen/20160520.002716
Hwankyu Jhun [Thu, 19 May 2016 07:57:55 +0000 (16:57 +0900)]
Fix bug about aul_launch_app_async()

Change-Id: I23cb273bd6785563095cb65010f235d3dfff4327
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoChange enum values of hw acceleration 03/69803/2 accepted/tizen/common/20160520.170918 accepted/tizen/ivi/20160520.002321 accepted/tizen/mobile/20160520.002332 accepted/tizen/tv/20160520.002253 accepted/tizen/wearable/20160520.002309 ref/tags/submit/tizen/20160517.005404 submit/tizen/20160517.005404 submit/tizen/20160519.045032
Junghyun Yeon [Tue, 17 May 2016 01:35:00 +0000 (10:35 +0900)]
Change enum values of hw acceleration

changes related with pkgmgr-info
https://review.tizen.org/gerrit/#/c/69595/

Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Change-Id: I8a7db8cfa6f02cde0a4014db1812c653a6ebcc1f

8 years agoAdd APIs to get the status of an application 57/69657/4 accepted/tizen/common/20160518.124854 accepted/tizen/ivi/20160518.004228 accepted/tizen/mobile/20160518.004354 accepted/tizen/tv/20160518.004244 accepted/tizen/wearable/20160518.004214 submit/tizen/20160517.084446
Hwankyu Jhun [Mon, 16 May 2016 09:13:08 +0000 (18:13 +0900)]
Add APIs to get the status of an application

- Add new APIs
aul_app_get_status()
aul_app_get_status_for_uid()

Change-Id: I9b2441f1d56e4d5a12c9b05b10a5387ee58ee9e5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd an exception handling 89/69689/1
Hwankyu Jhun [Mon, 16 May 2016 10:30:41 +0000 (19:30 +0900)]
Add an exception handling

Change-Id: I08990a317a52402509024006008ba5930c0f11e6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoModify the description of the aul_listen_app_status_signal API 14/68814/5 accepted/tizen/common/20160513.123436 accepted/tizen/ivi/20160513.082045 accepted/tizen/mobile/20160513.082020 accepted/tizen/tv/20160513.082038 accepted/tizen/wearable/20160513.082009 submit/tizen/20160513.010234
Hwankyu Jhun [Tue, 10 May 2016 02:11:05 +0000 (11:11 +0900)]
Modify the description of the aul_listen_app_status_signal API

Change-Id: Idb0025d71a0fcb514dc24c3b112f147f50d00eda
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd APIs to close an application 24/68424/5 accepted/tizen/common/20160510.050928 accepted/tizen/ivi/20160510.002454 accepted/tizen/mobile/20160510.002439 accepted/tizen/tv/20160510.002446 accepted/tizen/wearable/20160510.002427 submit/tizen/20160509.084951
Hwankyu Jhun [Wed, 4 May 2016 07:31:41 +0000 (16:31 +0900)]
Add APIs to close an application

- These APIs wait util the target application is terminated
successfully.
- Add new internal APIs
aul_terminate_pid_sync()
aul_terminate_pid_sync_for_uid()

Change-Id: I5c91924817b998bac636efe021c78b7bd06377a3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoChange mount point for tep 13/68413/1 accepted/tizen/common/20160505.140341 accepted/tizen/ivi/20160506.035730 accepted/tizen/mobile/20160506.035148 accepted/tizen/tv/20160506.035521 accepted/tizen/wearable/20160506.035620 submit/tizen/20160504.074553
Junghoon Park [Wed, 4 May 2016 05:57:53 +0000 (14:57 +0900)]
Change mount point for tep

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

Change-Id: I85d91c8483f631631717e174613bf62fda5328c0
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoAdd --web-debug option to app_launcher 04/67704/2 accepted/tizen/common/20160429.170831 accepted/tizen/ivi/20160502.011844 accepted/tizen/mobile/20160502.011734 accepted/tizen/tv/20160502.011803 accepted/tizen/wearable/20160502.011823 submit/tizen/20160429.075649
Cho Woongsuk [Thu, 28 Apr 2016 05:55:40 +0000 (14:55 +0900)]
Add --web-debug option to app_launcher

To integrate IDE (web inspector), app_launcher has to handle debug port
which is replied by launched web application.

Change-Id: I2f8a94fd62697f11552332ccacdd2b4c13537814

8 years agoModify the priority of the idle source 32/67132/2 accepted/tizen/common/20160427.053712 accepted/tizen/ivi/20160426.234050 accepted/tizen/mobile/20160426.233944 accepted/tizen/tv/20160426.234031 accepted/tizen/wearable/20160426.234013 submit/tizen/20160426.022112
Hwankyu Jhun [Mon, 25 Apr 2016 09:00:13 +0000 (18:00 +0900)]
Modify the priority of the idle source

Change-Id: Ia8e9f0a543069a8122688a7199a8577b8e38a117
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd API to prepare candidate process 71/66671/4 accepted/tizen/common/20160422.172156 accepted/tizen/common/20160426.143111 accepted/tizen/ivi/20160425.044206 accepted/tizen/ivi/20160425.231855 accepted/tizen/mobile/20160425.044132 accepted/tizen/mobile/20160425.231843 accepted/tizen/tv/20160425.044200 accepted/tizen/tv/20160425.231814 accepted/tizen/wearable/20160425.044146 accepted/tizen/wearable/20160425.231833 submit/tizen/20160422.084925 submit/tizen/20160425.083419
Junghoon Park [Wed, 20 Apr 2016 08:21:18 +0000 (17:21 +0900)]
Add API to prepare candidate process

- add aul_prepare_candidate_process()
- Requires
https://review.tizen.org/gerrit/#/c/66672/
https://review.tizen.org/gerrit/#/c/66670/

Change-Id: If868ec3f51930ad3e9fda41b77533ab142ffa41d
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoMerge "Add widget viewer operation key" into tizen accepted/tizen/common/20160421.161440 accepted/tizen/ivi/20160421.011051 accepted/tizen/mobile/20160421.011215 accepted/tizen/tv/20160421.011058 accepted/tizen/wearable/20160421.011122 submit/tizen/20160420.075013 submit/tizen/20160420.075124
Daehyeon Jung [Wed, 20 Apr 2016 07:49:33 +0000 (00:49 -0700)]
Merge "Add widget viewer operation key" into tizen

8 years agoAdd widget viewer operation key 98/66498/2
Daehyeon Jung [Tue, 19 Apr 2016 08:02:22 +0000 (17:02 +0900)]
Add widget viewer operation key

Change-Id: Ic8855fa89a1a09bdbbfcb6a15d65c375608e37ee
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
8 years agoAdd aul_set_process_group() 17/66517/1 accepted/tizen/ivi/20160421.010930 accepted/tizen/mobile/20160421.011003 accepted/tizen/tv/20160421.010943 accepted/tizen/wearable/20160421.010952 submit/tizen/20160420.065042 submit/tizen/20160422.084813
Junghoon Park [Tue, 19 Apr 2016 08:56:41 +0000 (17:56 +0900)]
Add aul_set_process_group()

- support legacy API

Change-Id: I7c89fe07ba04ede3e3ba1a470188c9ad5c7a6d44
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoFix app_launcher tool 91/65891/4
Hwankyu Jhun [Thu, 14 Apr 2016 00:00:16 +0000 (09:00 +0900)]
Fix app_launcher tool

If the AMD isn't ready when the user uses the "-f" option, the
app_launcher tool will wait until the amd_ready file is created.

Change-Id: I61012105df28a4950b908f49ab026a35435d18af
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix the definition about supporting background launch 16/65916/1 accepted/tizen/common/20160414.143058 accepted/tizen/ivi/20160415.014905 accepted/tizen/mobile/20160415.014931 accepted/tizen/tv/20160415.014913 accepted/tizen/wearable/20160415.014923 submit/tizen/20160414.081825
Hwankyu Jhun [Thu, 14 Apr 2016 03:00:55 +0000 (12:00 +0900)]
Fix the definition about supporting background launch

Change-Id: Ib9ffae79c7f6c965d3e08a555b3862c3606e74a1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoSupport background launch 87/64687/10 accepted/tizen/common/20160413.130957 accepted/tizen/ivi/20160413.123450 accepted/tizen/mobile/20160413.123219 accepted/tizen/tv/20160413.123401 accepted/tizen/wearable/20160413.123423 submit/tizen/20160412.075243
Hwankyu Jhun [Mon, 4 Apr 2016 23:09:00 +0000 (08:09 +0900)]
Support background launch

- Add new definition (AUL_SVC_K_BG_LAUNCH)
- Add new internal API
aul_svc_set_background_launch()

Change-Id: If6630b4f121f9d932e1c4954bd7f0d791c029f7c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd setting default user in aul_sock_create_launchpad_client() 80/65480/1 accepted/tizen/common/20160412.130728 accepted/tizen/ivi/20160412.063702 accepted/tizen/mobile/20160412.063520 accepted/tizen/tv/20160412.063720 accepted/tizen/wearable/20160412.063624 submit/tizen/20160411.223138
Hwankyu Jhun [Mon, 11 Apr 2016 08:30:15 +0000 (17:30 +0900)]
Add setting default user in aul_sock_create_launchpad_client()

This patch is for quick launch option. If the default user feature
is enabled, the app_launcher must send the request to
the default user's launchpad.

Change-Id: I7d5385bbcdef96b39c3cabb737b8c95d16b181a5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix launch_debug tool 76/65276/2 accepted/tizen/common/20160408.190349 accepted/tizen/ivi/20160411.005449 accepted/tizen/mobile/20160411.005513 accepted/tizen/tv/20160411.005419 accepted/tizen/wearable/20160411.005436 submit/tizen/20160408.115426
Hwankyu Jhun [Fri, 8 Apr 2016 03:11:28 +0000 (12:11 +0900)]
Fix launch_debug tool

- Get the gdbserver path from parameters
- Set the appinfo for debug-launchpad
- Send the request directly to debug-launchpad

Change-Id: Ic241daeebce5dbac08c6683cf6e4917983caec78
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix bug about checking tep 26/65026/1 accepted/tizen/common/20160408.184911 accepted/tizen/ivi/20160408.052512 accepted/tizen/mobile/20160408.052449 accepted/tizen/tv/20160408.052421 accepted/tizen/wearable/20160408.052435 submit/tizen/20160408.003820
Hwankyu Jhun [Thu, 7 Apr 2016 02:52:06 +0000 (11:52 +0900)]
Fix bug about checking tep

- Use g_variant_get() instead of g_variant_get_int32()

Change-Id: Ib9a84478985d43068fd1659fb399234b9b2f6fda
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix to send AUL_K_SEQ_NUM normally 44/64044/1 accepted/tizen/common/20160330.120146 accepted/tizen/ivi/20160330.003421 accepted/tizen/mobile/20160330.003332 accepted/tizen/tv/20160330.003800 accepted/tizen/wearable/20160330.003802 submit/tizen/20160329.135348
Semun Lee [Tue, 29 Mar 2016 13:30:49 +0000 (22:30 +0900)]
Fix to send AUL_K_SEQ_NUM normally

- When AUL_K_ORG_CALLER_PID is set, we should send
AUL_K_SEQ_NUM normally. It is used in the receiver side

Change-Id: Ieca81e562902fa72f2e80a6479b776defc2d52a8
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
8 years agoApply background management feature 42/62942/1 accepted/tizen/common/20160323.184338 accepted/tizen/common/20160324.084222 accepted/tizen/ivi/20160324.131624 accepted/tizen/mobile/20160324.132908 accepted/tizen/tv/20160324.132730 accepted/tizen/wearable/20160324.132654 submit/tizen/20160323.020400 submit/tizen/20160323.235918
Daehyeon Jung [Mon, 21 Mar 2016 07:18:12 +0000 (16:18 +0900)]
Apply background management feature

Change-Id: I790800ea2299e4b780c39d773a4e3c9336bb4ecf
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
8 years agoAdd default user feature 25/62125/16 accepted/tizen/common/20160321.150439 accepted/tizen/ivi/20160322.023153 accepted/tizen/mobile/20160321.113343 accepted/tizen/tv/20160321.113414 accepted/tizen/wearable/20160321.113435 submit/tizen/20160321.014821 submit/tizen_ivi/20160322.020156
Hwankyu Jhun [Mon, 14 Mar 2016 11:27:18 +0000 (20:27 +0900)]
Add default user feature

- If this option is enabled, AUL API will use the default uid.
- This feature is enabled in tv profile.

Change-Id: Ie43c5860e10422f2198dce6050e7ea6ca284b608
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix error code checks on reply packet 62/62762/4 accepted/tizen/common/20160321.145928 accepted/tizen/ivi/20160321.004621 accepted/tizen/mobile/20160321.004525 accepted/tizen/tv/20160321.004543 accepted/tizen/wearable/20160321.004602 submit/tizen/20160318.074817
Daehyeon Jung [Fri, 18 Mar 2016 04:47:49 +0000 (13:47 +0900)]
Fix error code checks on reply packet

Change-Id: I193c066bd5b0327bce87afb2ee9a27ae96bda8ec
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
8 years agoAdd API for activate-below 48/62048/9 accepted/tizen/common/20160317.160228 accepted/tizen/ivi/20160318.112604 accepted/tizen/mobile/20160318.111804 accepted/tizen/tv/20160318.112104 accepted/tizen/wearable/20160318.112138 submit/tizen/20160317.004826
Junghoon Park [Wed, 16 Mar 2016 11:19:57 +0000 (20:19 +0900)]
Add API for activate-below

 - API to reorder window stack
 - Requires
   https://review.tizen.org/gerrit/#/c/61893/

Change-Id: Iae4c4737e93646515615fea51358d5e6acd023cd
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoFix bug about fd passing feature 81/62281/1 accepted/tizen/ivi/20160315.123737 accepted/tizen/mobile/20160315.123622 accepted/tizen/tv/20160315.123649 accepted/tizen/wearable/20160315.123830 submit/tizen/20160315.075726 submit/tizen_common/20160316.154911
Hwankyu Jhun [Tue, 15 Mar 2016 07:40:30 +0000 (16:40 +0900)]
Fix bug about fd passing feature

Change-Id: Ibbcf8dc569c182972da986ec6203c8d090daeb42
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix bug about resolving appid 00/62200/4 submit/tizen/20160315.050359
Junghoon Park [Tue, 15 Mar 2016 01:14:00 +0000 (10:14 +0900)]
Fix bug about resolving appid

Change-Id: I4094f03f9c064dc7efc10f833493c08e5c8ca128
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoUse thread-safe functions 07/62207/1 accepted/tizen/common/20160317.155433 accepted/tizen/ivi/20160315.121135 accepted/tizen/mobile/20160315.121034 accepted/tizen/tv/20160315.121105 accepted/tizen/wearable/20160315.121119 submit/tizen/20160315.031231
Hwankyu Jhun [Tue, 15 Mar 2016 01:52:28 +0000 (10:52 +0900)]
Use thread-safe functions

Change-Id: I7869402aef3e10b60ae763fa5cd62e327f192308
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agorefine aul_sock functions 25/60325/8 accepted/tizen/ivi/20160313.114531 accepted/tizen/mobile/20160313.113415 accepted/tizen/tv/20160313.113744 accepted/tizen/wearable/20160313.114143 submit/submit/tizen/20160311.081242/20160311.081306 submit/tizen/20160311.081242 submit/tizen/20160314.appfw2
Daehyeon Jung [Thu, 25 Feb 2016 04:29:02 +0000 (13:29 +0900)]
refine aul_sock functions

Change-Id: If04116ce0d9d48b43ab2e3d1bb38024b85117b50
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
8 years agoAdd -u, --user option to app_launcher 29/61629/2
Daehyeon Jung [Wed, 9 Mar 2016 08:31:45 +0000 (17:31 +0900)]
Add -u, --user option to app_launcher

Change-Id: I7c903f01a5e07996285e25cfdc54bf600e670b27

8 years agoAdd APIs for System users 73/61373/9 accepted/tizen/common/20160314.164525 accepted/tizen/ivi/20160310.054031 accepted/tizen/mobile/20160310.053933 accepted/tizen/tv/20160310.053949 accepted/tizen/wearable/20160310.054012 submit/tizen/20160309.054213
Hwankyu Jhun [Mon, 7 Mar 2016 11:10:09 +0000 (20:10 +0900)]
Add APIs for System users

- Add aul_open_app_for_uid()
- Add aul_resume_app_for_uid()
- Add aul_resume_pid_for_uid()
- Add aul_terminate_pid_for_uid()
- Add aul_terminate_pid_async_for_uid()
- Add aul_app_get_running_app_info_for_uid()
- Add aul_app_get_all_running_app_info_for_uid()
- Add aul_app_get_status_for_uid()
- Add aul_add_loader_for_uid()
- Add aul_remove_loader_for_uid()
- Add aul_app_get_pid_for_uid()
- Add aul_pause_app_for_uid()
- Add aul_pause_pid_for_uid()

Change-Id: I926cd03afa82c312b24e251c4707f69f7c39432d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix gdbus type for system users 64/61464/2 accepted/tizen/common/20160310.070839 accepted/tizen/ivi/20160309.010517 accepted/tizen/mobile/20160309.010416 accepted/tizen/tv/20160309.010435 accepted/tizen/wearable/20160309.010452 submit/tizen/20160308.223551
Hwankyu Jhun [Tue, 8 Mar 2016 04:21:56 +0000 (13:21 +0900)]
Fix gdbus type for system users

- Use system bus instead of session bus
- Move session bus related code to the system bus signal filter

Change-Id: Iae95066af1a1bd5a345d9700d62602fe5af354e1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoRevert input lock command 37/60837/1 accepted/tizen/common/20160302.193945 accepted/tizen/common/20160304.194900 accepted/tizen/common/20160304.195801 accepted/tizen/ivi/20160304.144728 accepted/tizen/mobile/20160304.144645 accepted/tizen/tv/20160304.144652 accepted/tizen/wearable/20160304.144709 submit/tizen/20160302.114013 submit/tizen/20160303.080605 submit/tizen/20160304.140231
Junghoon Park [Wed, 2 Mar 2016 11:27:54 +0000 (20:27 +0900)]
Revert input lock command

Change-Id: I09cf4fe1d39e228ac1532c0f0902102b11164f57
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoFix __create_client_sock 69/60569/5 submit/tizen/20160302.105535
Sangyoon Jang [Mon, 29 Feb 2016 06:03:51 +0000 (15:03 +0900)]
Fix __create_client_sock

amd socket is moved to /run/amd/

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