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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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
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>
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>
Daehyeon Jung [Wed, 20 Apr 2016 07:49:33 +0000 (00:49 -0700)]
Merge "Add widget viewer operation key" into tizen
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Daehyeon Jung [Wed, 9 Mar 2016 08:31:45 +0000 (17:31 +0900)]
Add -u, --user option to app_launcher
Change-Id: I7c903f01a5e07996285e25cfdc54bf600e670b27
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>
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>
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>
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>
Junghoon Park [Wed, 2 Mar 2016 09:08:01 +0000 (18:08 +0900)]
Send request for locking input in case of implicit launch
Change-Id: I3110b01103bcaccdf694c7b69007f57295a55585
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghoon Park [Mon, 29 Feb 2016 10:30:53 +0000 (19:30 +0900)]
Improve performance for resolving appid
- merge query statements (100ms ==> 70ms)
Change-Id: Ia3aa8ad0b820c99b0ea785cabc6f82595d7775fe
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghoon Park [Fri, 26 Feb 2016 07:48:58 +0000 (16:48 +0900)]
Improve performance for resolving appid
- Optimize query statements (240ms ==> 100ms)
Change-Id: I3986d3badc7e585e6763097159c2adc712012250
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghoon Park [Fri, 26 Feb 2016 03:12:39 +0000 (19:12 -0800)]
Merge "Support multiple launch requests for the result to the same process" into tizen
Junghoon Park [Fri, 26 Feb 2016 03:05:16 +0000 (12:05 +0900)]
Support multiple launch requests for the result to the same process
- Because AUL maintained the callback contexts by pid, there was no way to call the right callback function which had been registered by caller.
Change-Id: Ib65c576f19c700c6991ddcd16e0e355a3be0b166
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Hwankyu Jhun [Tue, 23 Feb 2016 09:59:33 +0000 (18:59 +0900)]
Add aul_launch_app_async APIs
These APIs don't check whether the application is executed
successfully.
Change-Id: I4054126e3650a589b6e626997d640fee87182a0f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>