platform/core/appfw/aul-1.git
7 years agoFix aul_create_result_bundle API 58/149758/3
Hwankyu Jhun [Wed, 9 Aug 2017 08:08:40 +0000 (17:08 +0900)]
Fix aul_create_result_bundle API

If the bundle doesn't have AUL_K_SEQ_NUM, the API returns
AUL_R_ECANCELED.
This patch is for backward compatibility.

Change-Id: I2d05461dd76183ba50d5f9694e3aec343c706b05
hange-Id: I35566d95804eea769056b2b4e3da9095fd003cd1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd some logs to debug key-block issue 57/149757/3
Junghoon Park [Wed, 9 Aug 2017 07:53:56 +0000 (16:53 +0900)]
Add some logs to debug key-block issue

Change-Id: I644cae1a72248e64bc2b1ce72be573cb797244bb
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoAdd new APIs to get running widget info 56/149756/3
Hwankyu Jhun [Thu, 20 Jul 2017 00:01:13 +0000 (09:01 +0900)]
Add new APIs to get running widget info

Adds:
 - aul_widget_info_foreach()
 - aul_widget_info_foreach_for_uid()
 - aul_widget_info_get_pid()
 - aul_widget_info_get_surface_id()
 - aul_widget_info_get_widget_id()
 - aul_widget_info_get_instance_id()
 - aul_widget_info_get_app_id()
 - aul_widget_info_get_package_id()
 - aul_widget_info_get_app_path()

Change-Id: Ib5a346092730474deeaebbb81a3ff9dd919a4217
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRevert "Set the timeout about sending dbus message" 55/149755/3
Junghoon Park [Wed, 19 Jul 2017 02:59:40 +0000 (02:59 +0000)]
Revert "Set the timeout about sending dbus message"

This reverts commit f89881791650cb49f4bcc68717f9c3f32420e597.

Change-Id: I211ec0e7b9842689e7449de5585231b24ab125d0

7 years agoSet the timeout about sending dbus message 54/149754/3
Hwankyu Jhun [Wed, 19 Jul 2017 00:31:59 +0000 (09:31 +0900)]
Set the timeout about sending dbus message

The timeout interval is 5 seconds.

Change-Id: Idab178dcbcbb7c28217bdc98af59069623683ccf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix an error value 53/149753/3
Hwankyu Jhun [Tue, 18 Jul 2017 04:31:05 +0000 (13:31 +0900)]
Fix an error value

Currently, the ENOLAUNCHPAD is not used.
The ENOLAUNCHPAD is equal to the ECANCELED.

Removes:
 - ENOLAUNCHPAD
Adds:
 - ECANCELED

Requires:
 - https://review.tizen.org/gerrit/#/c/139230/ [aul]
 - https://review.tizen.org/gerrit/#/c/139241/ [amd]
 - https://review.tizen.org/gerrit/#/c/139242/ [widget-service]

Change-Id: Ia3990a4db7dfcbaf83880ad5bdd80abc8a33304f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd key for sharing profile with launchpad 52/149752/3
Hyunho Kang [Mon, 10 Jul 2017 08:43:10 +0000 (17:43 +0900)]
Add key for sharing profile with launchpad

https://review.tizen.org/gerrit/#/c/137812/ (launchpad)
https://review.tizen.org/gerrit/#/c/137904/ (amd)
https://review.tizen.org/gerrit/#/c/137917/ (aul-1)

Change-Id: I1e38f31fe239ad103a466f868885ba7e26172c25
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix screen connector API 51/149751/3
Hwankyu Jhun [Fri, 7 Jul 2017 11:36:12 +0000 (20:36 +0900)]
Fix screen connector API

The paramter of aul_screen_connector_update_screen_viewer_status API is
changed the provider instance id to the provider surface id.

Change-Id: Ie3aada914b272763c922e4d048751148e334ecaa
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd screen viewer state update feature 50/149750/3
Hyunho Kang [Tue, 4 Jul 2017 12:12:36 +0000 (21:12 +0900)]
Add screen viewer state update feature

In screen-connector multi viewer senario, provider should decide it's
resume/pause state using every viewer's visibility. So, every viewer should
share their visibility to AMD.

Requires:
 - https://review.tizen.org/gerrit/#/c/137133/ (aul-1)
 - https://review.tizen.org/gerrit/#/c/137134/ (amd)
 - https://review.tizen.org/gerrit/#/c/137136/ (widget-viewer)
 - https://review.tizen.org/gerrit/#/c/137437/ (appcore-watch)

Change-Id: I6437586abe67f732aa302ebca0d4c06613405d07
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd get id by surface ID feature 49/149749/3
Hyunho Kang [Mon, 3 Jul 2017 10:24:17 +0000 (19:24 +0900)]
Add get id by surface ID feature

Viewer apps that add watch with surface id do not have
a watch appid, so in order to pass resume / pause to watch,
amd must supply the id of the app with the surface id.

- aul_screen_connector_get_appid_by_surface_id_request

Change-Id: I6128e975665a95f8c7889b8ac6e4982e98842184
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd common normal exit notify API 48/149748/4
Hyunho Kang [Wed, 28 Jun 2017 11:40:15 +0000 (20:40 +0900)]
Add common normal exit notify API

- aul_notify_exit

https://review.tizen.org/gerrit/#/c/136199/ (amd)
https://review.tizen.org/gerrit/#/c/136200/ (aul-1)
https://review.tizen.org/gerrit/#/c/136201/ (appcore-widget)
https://review.tizen.org/gerrit/#/c/136209/ (widget-service)

Change-Id: I30739b610b42cd11c10b59888312bf7ea641da0e
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.7.9 84/150284/1 accepted/tizen/4.0/unified/20170920.081422 submit/tizen/20170915.023525 submit/tizen_4.0/20170915.023947
Semun Lee [Fri, 15 Sep 2017 03:23:53 +0000 (12:23 +0900)]
Release version 0.7.9

Changes:
 - Remove not supported update script

Change-Id: I098b6419b25663448ba5e266647e524a83d30574
Signed-off-by: Semun Lee <semun.lee@samsung.com>
7 years agoRemove not supported update script 72/150272/1
Sunmin Lee [Fri, 8 Sep 2017 03:18:31 +0000 (12:18 +0900)]
Remove not supported update script

RW update script for Tizen 2.4 (to 3.0) is not necessary in Tizen 4.0.
(Tizen 4.0 does not support upgrade from Tizen 2.4)
Remove this file in terms of clearing the redundancy.

Change-Id: I25d5113134a022401d8d129afe6f10a440bcc0b5
(cherry picked from commit 7c35634720b0aa01139183271df090d34169dab2)

7 years agoRelease version 0.7.8 51/150251/1
Semun Lee [Fri, 15 Sep 2017 02:24:20 +0000 (11:24 +0900)]
Release version 0.7.8

Changes:
 - fix coding rule error

Change-Id: I91f374c434938740c93f3ff4c60c3012bb8d8b91
Signed-off-by: Semun Lee <semun.lee@samsung.com>
7 years agofix coding rule error 89/149689/1
Youngjae Shin [Wed, 13 Sep 2017 02:12:36 +0000 (11:12 +0900)]
fix coding rule error

Change-Id: I1ab7c42253cf98bf58bd04b476c94dc745db4504

7 years agoRelease version 0.7.7 10/145510/1 accepted/tizen/4.0/unified/20170828.223956 accepted/tizen/unified/20170823.031734 submit/tizen/20170822.132553 submit/tizen_4.0/20170828.100002
Hyunho Kang [Tue, 22 Aug 2017 13:19:10 +0000 (22:19 +0900)]
Release version 0.7.7

Changes:
 - Initialize src after destroying it

Change-Id: Id3f39dfcb742164becd04acc576d127e1aa4f293
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoInitialize src after destroying it 99/145099/1
Semun Lee [Mon, 21 Aug 2017 08:40:22 +0000 (17:40 +0900)]
Initialize src after destroying it

Change-Id: Ia71c80385bcc200b167f0e65bb7601a582d4309a
Signed-off-by: Semun Lee <semun.lee@samsung.com>
7 years agoRelease version 0.7.6 93/144193/3 accepted/tizen/unified/20170816.053822 submit/tizen/20170815.234022
Hwankyu Jhun [Tue, 15 Aug 2017 22:46:30 +0000 (07:46 +0900)]
Release version 0.7.6

Changes:
 - Fix log format
 - Fix wrong definition

Change-Id: I82b5fc625fd8255c18c7cb987117f66f0d4f8f59
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix log format 32/143532/2
Hwankyu Jhun [Thu, 10 Aug 2017 08:36:49 +0000 (17:36 +0900)]
Fix log format

Change-Id: Iee82fa54b44ed1fb98f1616f7e4ab9ca17fd0f97
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix wrong definition 44/143644/1
Hwankyu Jhun [Fri, 11 Aug 2017 00:04:21 +0000 (09:04 +0900)]
Fix wrong definition

Change-Id: I86373923bf4ae0028335d1f40acc1dab7f8883ba
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.7.5 14/142414/1 accepted/tizen/unified/20170804.133107 submit/tizen/20170804.022640
Hwankyu Jhun [Fri, 4 Aug 2017 01:52:40 +0000 (10:52 +0900)]
Release version 0.7.5

Changes:
 - Add an exception handling about out of memory

Change-Id: I657c68d2ee924c7367fd9e7ed89fcf75c88da5f5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd an exception handling about out of memory 79/142379/1
Hwankyu Jhun [Thu, 3 Aug 2017 10:01:16 +0000 (19:01 +0900)]
Add an exception handling about out of memory

Change-Id: I1510c6d52bf90bd5aee5b5b5678c7b2fb0ac134a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.7.4 93/141093/1 accepted/tizen/4.0/unified/20170816.011926 accepted/tizen/4.0/unified/20170816.015017 accepted/tizen/unified/20170731.020709 submit/tizen/20170728.073705 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Hwankyu Jhun [Fri, 28 Jul 2017 06:45:11 +0000 (15:45 +0900)]
Release version 0.7.4

Changes:
 - Fix app_launcher tool for debugging web app
 - Fix double free issue
 - Fix bug about web debug option

Change-Id: I2b7fe256f926e605508be58efd98e86d8fa41ba6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix app_launcher tool for debugging web app 30/141030/1
Hwankyu Jhun [Fri, 28 Jul 2017 00:47:14 +0000 (09:47 +0900)]
Fix app_launcher tool for debugging web app

Change-Id: Ic48e60092c1bbe001c1f8e311a01b6d9f937ffb0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix double free issue 80/140980/2
Hwankyu Jhun [Thu, 27 Jul 2017 10:02:24 +0000 (19:02 +0900)]
Fix double free issue

Change-Id: I339aebc485ae9c1bb1a8e3b492255c9baafab0ab
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix bug about web debug option 75/140975/1
Hwankyu Jhun [Thu, 27 Jul 2017 09:46:57 +0000 (18:46 +0900)]
Fix bug about web debug option

Change-Id: I377e05038c4fa611d5fd722b0391218a809b475c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.7.3 05/139905/1 accepted/tizen/unified/20170724.020239 submit/tizen/20170721.041626
Hwankyu Jhun [Fri, 21 Jul 2017 04:10:44 +0000 (13:10 +0900)]
Release version 0.7.3

Changes:
 - Refactor service db code
 - Fix aul app com header file

Change-Id: Iaecfa6bb54865501797ecbfd72280a8cf5486e7c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRefactor service db code 91/139491/5
Hwankyu Jhun [Wed, 19 Jul 2017 06:12:43 +0000 (15:12 +0900)]
Refactor service db code

- Remove using snprintf for preparing sqlite3 query
- Add a function to close the app info db

Change-Id: I3d09ec59cf5ea28f34aa8f57dc4d88b2f1c5051a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRevert "Set the timeout about sending dbus message" 34/139434/1
Hwankyu Jhun [Wed, 19 Jul 2017 03:00:31 +0000 (12:00 +0900)]
Revert "Set the timeout about sending dbus message"

This reverts commit 7a69715bf1e849b8d95c85755037502488020a26.

Change-Id: I5bd88fdbc5e7efb3fa57cf72eea3c2ef0505a011

7 years agoSet the timeout about sending dbus message 96/139396/1
Hwankyu Jhun [Wed, 19 Jul 2017 00:31:59 +0000 (09:31 +0900)]
Set the timeout about sending dbus message

The timeout interval is 5 seconds.

Change-Id: Idab178dcbcbb7c28217bdc98af59069623683ccf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix aul app com header file 88/138988/1
Hwankyu Jhun [Fri, 14 Jul 2017 12:47:18 +0000 (21:47 +0900)]
Fix aul app com header file

- Make explicit the linkage

Change-Id: I07b53400b6a34a47063c66c270b3c6c13104f90e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.7.2 94/136294/1 accepted/tizen/unified/20170703.064111 submit/tizen/20170629.060228
Hwankyu Jhun [Thu, 29 Jun 2017 04:51:56 +0000 (13:51 +0900)]
Release version 0.7.2

Changes:
 - Deprecate fast launch option
 - Add bundle data for fast launch option
 - Fix invalid log format
 - Fix a bug about sending wrong type of parameter
 - Allocate buffer dynamically for input string

Change-Id: Ia24f43632b13477a33922d04c07601314e1ff14e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoDeprecate fast launch option 73/135473/1
Hwankyu Jhun [Thu, 22 Jun 2017 11:51:24 +0000 (20:51 +0900)]
Deprecate fast launch option

AMD starts in system-session. So, the option is not needed.

Change-Id: If0c8d1618df64787ebcf57e080ec724f4f005bc3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd bundle data for fast launch option 64/135464/1
Hwankyu Jhun [Wed, 21 Jun 2017 05:48:05 +0000 (14:48 +0900)]
Add bundle data for fast launch option

When the user use the app_launcher tool with fast launch option,
AUL_K_FAST_LAUNCH key/value will be added on bundle data.

Change-Id: Iad905a828cdc1dba4516f577d396267c43452abb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix invalid log format 30/135030/1
Hwankyu Jhun [Wed, 21 Jun 2017 00:20:26 +0000 (09:20 +0900)]
Fix invalid log format

Change-Id: If5f38463cc1c1c5aa8488683b6aaca3f0fbce901
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix a bug about sending wrong type of parameter 99/134299/1
Junghoon Park [Fri, 16 Jun 2017 01:50:23 +0000 (10:50 +0900)]
Fix a bug about sending wrong type of parameter

Change-Id: Ifaa671e07cdc659934dc7d276e8823db9f363c9b
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoAllocate buffer dynamically for input string 61/133261/3
Hyunho Kang [Fri, 9 Jun 2017 10:56:52 +0000 (19:56 +0900)]
Allocate buffer dynamically for input string

- To prevent buffer overflow

Change-Id: I1855e97ab27613757de49ce535895386a7842544
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRelease version 0.7.1 34/133134/1 accepted/tizen/unified/20170609.204210 submit/tizen/20170609.050739
Jiwoong Im [Fri, 9 Jun 2017 04:53:56 +0000 (13:53 +0900)]
Release version 0.7.1

Changes:
 - Fix buffer overflow
 - Add error handling in datacontrol socket pair request

Change-Id: I29de1928d41c8161657a50bbbd1d38089ad52381
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoAdd error handling in datacontrol socket pair request 80/129880/9
Jiwoong Im [Thu, 18 May 2017 08:38:32 +0000 (17:38 +0900)]
Add error handling in datacontrol socket pair request

- Related patches
  [data-control] https://review.tizen.org/gerrit/#/c/129882/
  [amd] https://review.tizen.org/gerrit/#/c/129881/
  [tpk-manifest-handler] https://review.tizen.org/gerrit/#/c/129211/
  [app-installers] https://review.tizen.org/gerrit/#/c/129212/
  [pkgmgr-info] https://review.tizen.org/gerrit/#/c/129210/

Change-Id: I1205afa15bfde588dd005fb8fd95549a3556d4f3
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoFix buffer overflow 55/132555/1
Hwankyu Jhun [Wed, 7 Jun 2017 01:38:27 +0000 (10:38 +0900)]
Fix buffer overflow

The entries should be a NULL-terminated array.

Change-Id: I538f912f861e6a0a113808c5ee0865fcab4b9cf4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.7.0 22/132022/1 accepted/tizen/unified/20170607.063223 submit/tizen/20170531.235759
Hwankyu Jhun [Thu, 1 Jun 2017 00:24:28 +0000 (09:24 +0900)]
Release version 0.7.0

Changes:
 - Clean up app signal
 - Handle widget abnormal exit
 - Add API to get window notification level

Change-Id: I41cf9794012fd48ec7e895ba1029c18f73a38aab
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoClean up app signal 77/130977/5
Hwankyu Jhun [Thu, 25 May 2017 01:31:03 +0000 (10:31 +0900)]
Clean up app signal

- Remove duplicated signals and unused signals

Change-Id: If4357ff30b9ca78b8e021bad80d73bdd9ee7415d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoHandle widget abnormal exit 74/131674/7
Hwankyu Jhun [Wed, 31 May 2017 02:35:49 +0000 (11:35 +0900)]
Handle widget abnormal exit

- Add a new API to notify normal exit
- Add a new definition (AUL_K_WIDGET_FAULT)

Requires:
 - https://review.tizen.org/gerrit/#/c/131685/ [amd]
 - https://review.tizen.org/gerrit/#/c/131676/ [appcore-widget]
 - https://review.tizen.org/gerrit/#/c/131692/ [widget-service]
 - https://review.tizen.org/gerrit/#/c/131695/ [widget-viewer]

Change-Id: I7b6d208c72eb9cc638a98636b9fffbfe0547d04a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd API to get window notification level 10/130110/4
Junghoon Park [Fri, 19 May 2017 06:49:23 +0000 (15:49 +0900)]
Add API to get window notification level

- This API is dependent on dbus method interface which will be provided by window manager

Change-Id: I72f3898498ec28c2fb6316a898bc7cba88d4d4d5
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoRelease version 0.6.8 50/130750/1 accepted/tizen/unified/20170524.032059 submit/tizen/20170523.234630 tizen_4.0.m1_release
Hwankyu Jhun [Tue, 23 May 2017 23:39:57 +0000 (08:39 +0900)]
Release version 0.6.8

Changes:
 - Fix return value of the app_launcher tool

Change-Id: I2679217a9507a702546e6fc8191a60ace4308b0f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix return value of the app_launcher tool 48/130748/1 submit/tizen/20170523.010304
Hwankyu Jhun [Tue, 23 May 2017 22:44:58 +0000 (07:44 +0900)]
Fix return value of the app_launcher tool

If the target app is not running, the app_launcher tool returns "1".

Change-Id: I60fef2f520e475362a37abc27ff9f68f2489f555
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.6.7 27/130027/1 accepted/tizen/unified/20170519.195912 submit/tizen/20170519.015707
Hwankyu Jhun [Fri, 19 May 2017 01:34:00 +0000 (10:34 +0900)]
Release version 0.6.7

Changes:
 - Fix bug about setting bundle data
 - Revert "Revert "Refactor app launcher tool""

Change-Id: Idedd9d78b4be4b65af52f8b7908eb95e480bd0dd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix bug about setting bundle data 04/129904/1
Hwankyu Jhun [Thu, 18 May 2017 09:49:00 +0000 (18:49 +0900)]
Fix bug about setting bundle data

Change-Id: I9a067689bd28fe71083ff78ef2054645fa74bb0e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRevert "Revert "Refactor app launcher tool"" 03/129903/1
Hwankyu Jhun [Thu, 18 May 2017 08:52:55 +0000 (17:52 +0900)]
Revert "Revert "Refactor app launcher tool""

This reverts commit 034c7bf5b8958c573705262325ae7af8bdd28782.

Change-Id: Idf95e63089861810c7707366f49ca930cd580389

7 years agoRelease version 0.6.6 07/129307/1 accepted/tizen/unified/20170516.175440 submit/tizen/20170516.060248
Hwankyu Jhun [Tue, 16 May 2017 04:52:25 +0000 (13:52 +0900)]
Release version 0.6.6

Changes:
 - Add an exception handling about debug mode
 - Fix launch_app tool

Change-Id: If5a0d364ca91f35e6d5044f0611f49cba43ff61f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd an exception handling about debug mode 69/129269/2
Hwankyu Jhun [Tue, 16 May 2017 02:02:15 +0000 (11:02 +0900)]
Add an exception handling about debug mode

When an application is launched by the debug tool and the debug tool
doesn't start to run the application, the launch_app tool waits 5 seconds.
If the user uses the launch_app tool for debugging an application,
the tool will send the launch request by using the aul_launch_app_async API.

Change-Id: I731a7012ff4240651916dea3afcab032facbbfea
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix launch_app tool 21/129121/1
Hwankyu Jhun [Mon, 15 May 2017 05:48:44 +0000 (14:48 +0900)]
Fix launch_app tool

If sending launch request is failed, the tool returns
a negative error value.

Change-Id: Id1c3fd5740cedf344d67e266d08b6c066b6326b0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRevert "Refactor app launcher tool" 08/128808/2 accepted/tizen/unified/20170512.023732 submit/tizen/20170511.114728
Junghoon Park [Thu, 11 May 2017 11:30:29 +0000 (11:30 +0000)]
Revert "Refactor app launcher tool"

This reverts commit 3166b19b8b22967ad9b37bfb8ab2be7c806d5c25.

Change-Id: Ic33964ebce1c0e07d33bb152e49996a256a57907

7 years agoRelease version 0.6.5 10/128210/1 accepted/tizen/unified/20170510.012840 submit/tizen/20170508.042017
Hwankyu Jhun [Mon, 8 May 2017 04:38:05 +0000 (13:38 +0900)]
Release version 0.6.5

Changes:
 - Refactor app launcher tool
 - Add missing exception to set flag

Change-Id: I53d3efac3604b9f0fdb967e4097a5bfba377e25d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRefactor app launcher tool 09/127909/10
Hwankyu Jhun [Tue, 2 May 2017 09:16:43 +0000 (18:16 +0900)]
Refactor app launcher tool

- Use GOption API
- Monitor amd socket creation instead of amd ready creation (-f option)

Change-Id: I298eaec15d5e9efa6485b88e42a1c604884809f6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd missing exception to set flag 34/128134/1
Hwankyu Jhun [Mon, 8 May 2017 00:51:28 +0000 (09:51 +0900)]
Add missing exception to set flag

If getting a target uid is successfully, the flag
will be initialized to true.

Change-Id: Id730d16c8f7ff5fabc77e028834b36f10a2a649b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.6.4 63/126263/1 accepted/tizen/unified/20170421.113814 submit/tizen/20170421.005321
Hwankyu Jhun [Fri, 21 Apr 2017 00:46:57 +0000 (09:46 +0900)]
Release version 0.6.4

Changes:
 - Add a new API to unregister app status event
 - Adds the API for system users
 - Refactor aul_listen_app_status API

Change-Id: Ic56b72cb9ce9568e52dc60ccbe83d92b2f94c6f2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd a new API to unregister app status event 75/125775/4
Hwankyu Jhun [Tue, 18 Apr 2017 23:33:48 +0000 (08:33 +0900)]
Add a new API to unregister app status event

Adds:
 - aul_ignore_app_status()

Change-Id: I5944ae8874625ba9cef568ad090e491558101c17
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdds the API for system users 01/125901/1
Hwankyu Jhun [Wed, 19 Apr 2017 08:52:49 +0000 (17:52 +0900)]
Adds the API for system users

Adds:
 - aul_listen_app_status_for_uid()

Change-Id: I2d7ddebbe641b113bebaf36b47568e6245b2b79b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRefactor aul_listen_app_status API 70/125770/4
Hawnkyu Jhun [Tue, 18 Apr 2017 14:32:41 +0000 (23:32 +0900)]
Refactor aul_listen_app_status API

The APP_LISTEN_STATUS and APP_STATUS_NOTIFICATION are deleted.
The aul_listen_app_status API uses the app com.
This patch changes the callback type to provide more information.

Change-Id: I68272b701d4c7eaf9c64bc67df5d35b3753ad456
Signed-off-by: Hawnkyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.6.3 56/125156/1 accepted/tizen/unified/20170414.163820 submit/tizen/20170414.043651
Hwankyu Jhun [Fri, 14 Apr 2017 04:40:07 +0000 (13:40 +0900)]
Release version 0.6.3

Changes:
 - Remove unnecessary build condition
 - Adds new APIs to send launch request asynchronous
 - Delete unused header file

Change-Id: I1080a464dbc0935e1c37efffcdfc419070af57a3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRemove unnecessary build condition 43/125143/1
Hwankyu Jhun [Fri, 14 Apr 2017 03:54:59 +0000 (12:54 +0900)]
Remove unnecessary build condition

Change-Id: Ic8ef5cda61a8b3ffed60d4860502429179dd8447
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdds new APIs to send launch request asynchronous 71/124571/6
Hwankyu Jhun [Thu, 13 Apr 2017 08:25:40 +0000 (17:25 +0900)]
Adds new APIs to send launch request asynchronous

These APIs are for supporting implicit async launch.

Adds:
 - aul_svc_run_service_async
 - aul_svc_run_service_async_for_uid
 - aul_launch_app_with_result_async
 - aul_launch_app_with_result_async_for_uid

Change-Id: Ib27f9aa0e0f4d2ffbe89dd2b09553dcfd4c159be
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoDelete unused header file 85/124885/1
Hwankyu Jhun [Thu, 13 Apr 2017 02:04:42 +0000 (11:04 +0900)]
Delete unused header file

This patch deletes perf.h file.

Change-Id: Ibdf3373b7181c35a2f15d1a5cbf8c1796b1603b6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.6.2 83/124283/1 accepted/tizen/unified/20170412.152139 submit/tizen/20170411.042057
Hwankyu Jhun [Tue, 11 Apr 2017 05:15:13 +0000 (14:15 +0900)]
Release version 0.6.2

Changes:
 - Fix bug about aul_listen_app_status_signal API
 - Fix memory leak

Change-Id: I7aece2e3c97d98d4aed96c807f434bb57f557850
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix bug about aul_listen_app_status_signal API 37/124237/1
Hwankyu Jhun [Tue, 11 Apr 2017 02:05:32 +0000 (11:05 +0900)]
Fix bug about aul_listen_app_status_signal API

Change-Id: Iebd439562003e9b8442e335ff0bac49e8e37a76a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix memory leak 13/124113/1
Hwankyu Jhun [Mon, 10 Apr 2017 08:19:14 +0000 (17:19 +0900)]
Fix memory leak

Change-Id: Ic740ba64789ddf7b4be9843128888141e4abd3c8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.6.1 78/123778/1 accepted/tizen/unified/20170407.190633 submit/tizen/20170407.042402
Hwankyu Jhun [Fri, 7 Apr 2017 04:19:03 +0000 (13:19 +0900)]
Release version 0.6.1

Changes:
 - Fix memory leak

Change-Id: I165ac56a7dedd6e632614b1ab72f864a3dbf3cea
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix memory leak 17/123517/1
Hwankyu Jhun [Thu, 6 Apr 2017 03:55:28 +0000 (12:55 +0900)]
Fix memory leak

Change-Id: If08b9d9df930a5f8342398f22baaf821f9ff4039
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.6.0 47/123047/1 accepted/tizen/unified/20170406.053936 submit/tizen/20170404.094507 submit/tizen/20170404.104822
Hwankyu Jhun [Tue, 4 Apr 2017 08:48:24 +0000 (17:48 +0900)]
Release version 0.6.0

Changes:
 - Add APIs for attaching and detaching window
 - Adjust app packet size

Change-Id: I7f1067982090b84e5602c33aadb6b5a938ffc464
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd APIs for attaching and detaching window 46/120646/4
Junghoon Park [Thu, 23 Mar 2017 12:05:07 +0000 (21:05 +0900)]
Add APIs for attaching and detaching window

Change-Id: I75a3465b58f898e691ffe2ba65dce9e49e39ad0d
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoAdjust app packet size 24/119724/8
Hwankyu Jhun [Mon, 20 Mar 2017 02:19:35 +0000 (11:19 +0900)]
Adjust app packet size

Now, the malloc() and calloc() functions allocate 12 bytes
when the datalen is 0.

Change-Id: Ie00954c3fe8460c7a94b34b6ee4bd8e632e3f412
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.5.0 53/122153/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170330.151958 accepted/tizen/ivi/20170330.224256 accepted/tizen/mobile/20170330.223952 accepted/tizen/tv/20170330.224128 accepted/tizen/unified/20170330.224339 accepted/tizen/wearable/20170330.224218 submit/tizen/20170330.090650
Sangyoon Jang [Thu, 30 Mar 2017 09:25:41 +0000 (18:25 +0900)]
Release version 0.5.0

Changes:
 - Remove unnecessary bundle key
 - Add a new app_cmd enum value
 - Fix the description about aul_launch_app_async API
 - Fix a bug on aul_listen_app_launch_signal_v2

Change-Id: I72e44e6d83c00cf3cf769b842006073ec0bc1d41
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix a bug on aul_listen_app_launch_signal_v2 96/122096/1
Sangyoon Jang [Thu, 30 Mar 2017 07:23:33 +0000 (16:23 +0900)]
Fix a bug on aul_listen_app_launch_signal_v2

Change-Id: I20b884a26b34dae29336996f23e0cf5c04174ff1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix the description about aul_launch_app_async API 04/121604/2
Hwankyu Jhun [Tue, 28 Mar 2017 10:04:16 +0000 (19:04 +0900)]
Fix the description about aul_launch_app_async API

Change-Id: I5892455bd5c5692bc1fc427001e41e2660e5b293
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd a new enum value 90/120590/3
Hwankyu Jhun [Thu, 23 Mar 2017 08:37:33 +0000 (17:37 +0900)]
Add a new enum value

- APP_STARTUP_SIGNAL

Change-Id: I34b5cfdfd9fca0e4ff12b672184912d11bfc319f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRemove bundle keys 37/121437/1
Hwankyu Jhun [Tue, 28 Mar 2017 04:43:05 +0000 (13:43 +0900)]
Remove bundle keys

The AUL_SVC_K_CAN_BE_LEADER, AUL_SVC_K_REROUTE and AUL_SVC_K_RECYCLE keys
are removed in the aul_forward_app API.

Change-Id: I784864e187aedb3f01a335b64bfd97d5c36783b0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRemove unnecessary bundle key 62/121362/1
Hwankyu Jhun [Tue, 28 Mar 2017 01:06:48 +0000 (10:06 +0900)]
Remove unnecessary bundle key

The K_CAN_BE_LEADER key is for special apps.

Change-Id: Ie6ab571daea5c9a67a63245f1ff8e056b1a8b4db
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.4.6 17/120017/1 accepted/tizen/common/20170321.102854 accepted/tizen/ivi/20170321.095428 accepted/tizen/mobile/20170321.095329 accepted/tizen/tv/20170321.095350 accepted/tizen/unified/20170321.095449 accepted/tizen/wearable/20170321.095412 submit/tizen/20170321.064722
Hwankyu Jhun [Tue, 21 Mar 2017 06:44:25 +0000 (15:44 +0900)]
Release version 0.4.6

Changes:
 - Adjust execute label about aul tools

Change-Id: Ie37b0c2710a580fad43a39431e3d28809175b9bb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdjust execute label about aul tools 13/120013/1
Hwankyu Jhun [Tue, 21 Mar 2017 06:40:06 +0000 (15:40 +0900)]
Adjust execute label about aul tools

Change-Id: I5214736080b84cc52bb3180967620ffcb199cdd0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.4.5 62/119762/1 accepted/tizen/common/20170320.173627 accepted/tizen/ivi/20170320.222028 accepted/tizen/mobile/20170320.221929 accepted/tizen/tv/20170320.221953 accepted/tizen/unified/20170320.222046 accepted/tizen/wearable/20170320.222011 submit/tizen/20170320.054003
Hyunho Kang [Mon, 20 Mar 2017 05:18:21 +0000 (14:18 +0900)]
Release version 0.4.5

Changes:
   - Adjust smack label about aul tools
   - Add a new enum value about widget event

Change-Id: Ide47461fd37df1e51fa9b494d0373eef6714f704
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdjust smack label about aul tools 32/119732/1
Hwankyu Jhun [Mon, 20 Mar 2017 02:25:21 +0000 (11:25 +0900)]
Adjust smack label about aul tools

The applications should not access the aul tools.

Change-Id: I410af236b9d1819fb3b22b5dfd061a625cbc762d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd a new enum value about widget event 76/119476/1
Hwankyu Jhun [Fri, 17 Mar 2017 05:18:12 +0000 (14:18 +0900)]
Add a new enum value about widget event

Change-Id: Ibd205909f31a3c7663ef003e1ac201172bc12f77
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.4.4 09/118709/1 accepted/tizen/common/20170314.172940 accepted/tizen/ivi/20170314.075343 accepted/tizen/mobile/20170314.075210 accepted/tizen/tv/20170314.075309 accepted/tizen/unified/20170314.075405 accepted/tizen/wearable/20170314.075328 submit/tizen/20170314.023754
Hwankyu Jhun [Mon, 13 Mar 2017 23:19:46 +0000 (08:19 +0900)]
Release version 0.4.4

Changes:
 - Fix the aul_app_group_set_window API
 - Set the cache even though app-selector is resolved

Change-Id: Idef03381760aa15186e4246ebe5c128b1f56e4fb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix the aul_app_group_set_window API 95/118595/2
Hwankyu Jhun [Mon, 13 Mar 2017 08:16:36 +0000 (17:16 +0900)]
Fix the aul_app_group_set_window API

- Use app_send_cmd_with_noreply() instead of app_send_cmd()

Change-Id: I1989f54607a1861428f6e01ad5f43514431df624
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoSet the cache even though app-selector is resolved 28/116228/2
Junghoon Park [Thu, 23 Feb 2017 10:43:41 +0000 (19:43 +0900)]
Set the cache even though app-selector is resolved

Change-Id: I6c5f66a91d772facdc29b405952d59223b1624a5
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoRelease version 0.4.3 06/118306/1 accepted/tizen/common/20170310.122244 accepted/tizen/ivi/20170310.102713 accepted/tizen/mobile/20170310.102553 accepted/tizen/tv/20170310.102637 accepted/tizen/unified/20170310.104639 accepted/tizen/wearable/20170310.102654 submit/tizen/20170310.035738 submit/tizen_unified/20170310.103405
Hwankyu Jhun [Fri, 10 Mar 2017 03:35:14 +0000 (12:35 +0900)]
Release version 0.4.3

Changes:
 - Modify screen connector

Change-Id: Ic1efd5bf332f70cca9d011b9c80f399145f231ef
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoModify screen connector 66/114866/27
Hwankyu Jhun [Wed, 15 Feb 2017 10:09:21 +0000 (19:09 +0900)]
Modify screen connector

If the application registers the private screen viewer,
it can only get own sub-app screen information.
This concept is for the widget viewer.
And, the screen viewer can get the instance-id in the callback.

Change-Id: I33462b110f5f0207f1ce65cc0b833f1a66a22aa6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.4.2 06/117906/1 accepted/tizen/common/20170309.175057 accepted/tizen/ivi/20170308.121140 accepted/tizen/mobile/20170308.120952 accepted/tizen/tv/20170308.121046 accepted/tizen/unified/20170310.075652 accepted/tizen/wearable/20170308.121104 submit/tizen/20170308.044817 submit/tizen_unified/20170310.011401
Hwankyu Jhun [Wed, 8 Mar 2017 04:23:49 +0000 (13:23 +0900)]
Release version 0.4.2

Changes:
 - Improve the query performance
 - Send large app_pkt_t properly
 - Add test command for aul_app_status_listen internal API
 - Freeing the memory returned by strdup() after adding to bundle
 - Fix bug about resolving appid

Change-Id: Ib203c4e8d97454f23990cbeafdd04e7f99efe1f6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoImprove the query performance 55/117555/1
Junghoon Park [Mon, 6 Mar 2017 02:14:21 +0000 (11:14 +0900)]
Improve the query performance

- Because of multi-user concept, user db file is added
- Attaching db file caused bad performance

Change-Id: I76acda5c3eba13cbcdfc4c6a47d44c502f1bbf82
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
(cherry picked from commit 38d4f9780b3d254464f4bfe81208646c4d2bf3d2)

7 years agoSend large app_pkt_t properly 28/117328/1
Semun Lee [Sat, 4 Mar 2017 05:40:58 +0000 (14:40 +0900)]
Send large app_pkt_t properly

move buffer for send() call properly

Change-Id: I45c3a6012cb204ecb052ed8d4f2239e21034f44a
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
(cherry picked from commit 77323935b69e5a95c466258015db450ad1671b7d)

7 years agoAdd test command for aul_app_status_listen internal API 22/117122/1
Semun Lee [Fri, 3 Mar 2017 02:00:36 +0000 (11:00 +0900)]
Add test command for aul_app_status_listen internal API

Change-Id: Iedd4e31bf595c11c6c1cbe0cf9113732028d9890
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
7 years agoFreeing the memory returned by strdup() after adding to bundle 33/116733/1
darpan.ka [Tue, 28 Feb 2017 04:22:36 +0000 (09:52 +0530)]
Freeing the memory returned by strdup() after adding to bundle

Change-Id: Ib2860bfc73dd1d225f31deed8b3a62a0388c0f97
Signed-off-by: darpan.ka <darpan.ka@samsung.com>
(cherry picked from commit a2daf54942526a1b77b6d4dd8be34826a427c145)

7 years agoFix bug about resolving appid 95/116195/1
Junghoon Park [Thu, 23 Feb 2017 07:48:49 +0000 (16:48 +0900)]
Fix bug about resolving appid

- uris having the same scheme wasn't be saved as scheme type in appsvc db when
  setting default apps

Change-Id: If8b97be4b0a72039a38c19bb4690f7ba4cc9353e
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
(cherry picked from commit 412e2ecac2b3356c632e3e3d5afae3078e6c890f)

7 years agoRelease version 0.4.1 61/115961/1 accepted/tizen/common/20170222.124612 accepted/tizen/ivi/20170222.222237 accepted/tizen/mobile/20170222.222103 accepted/tizen/tv/20170222.222203 accepted/tizen/unified/20170309.032022 accepted/tizen/wearable/20170222.222217 submit/tizen/20170222.090515 submit/tizen_unified/20170308.100405
Hwankyu Jhun [Wed, 22 Feb 2017 07:16:51 +0000 (16:16 +0900)]
Release version 0.4.1

Changes:
 - Add api to get focused pid
 - Fix static analysis issue
 - Fix bug about getting app root path
 - Modify request cmd dlog level and message
 - Re-adjust resource manager logs
 - Make sensitive logs as secure

Change-Id: I17793fbb9fddd5d5b44c5668799117fe64e59c66
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd api to get focused pid 38/115938/1
Junghoon Park [Wed, 22 Feb 2017 05:16:19 +0000 (14:16 +0900)]
Add api to get focused pid

Change-Id: I49a818686b6011b0969726c7a5c44bc5e4d10813
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
(cherry picked from commit 3fcfd80f9447ce9fc3845d1e1f3c6515390d1fd2)

7 years agoFix static analysis issue 05/115705/3
Hwankyu Jhun [Tue, 21 Feb 2017 05:49:26 +0000 (14:49 +0900)]
Fix static analysis issue

Change-Id: Idacbe2ace4fc13a9ba27086889ca0b99c024110b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix bug about getting app root path 55/115755/2
Hwankyu Jhun [Tue, 21 Feb 2017 07:56:52 +0000 (16:56 +0900)]
Fix bug about getting app root path

Change-Id: I258623afed30d3da08c7dea3c7dec1a4823a529a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoModify request cmd dlog level and message 12/115812/2
Jaeho Lee [Tue, 21 Feb 2017 04:41:48 +0000 (13:41 +0900)]
Modify request cmd dlog level and message

Change-Id: I104800d2225cf51711bf6ba59c1577b1ef807d32
(cherry picked from commit ab1b6aeeed95afda0c44657328404b33826010e1)

7 years agoRe-adjust resource manager logs 14/115814/1
Venkatesha Sarpangala [Mon, 20 Feb 2017 06:53:24 +0000 (12:23 +0530)]
Re-adjust resource manager logs

Modify resource manager cache error log level and error message

Change-Id: Ibdd8bb1b6eaa98aa82c8e1e57b74b55a89e31535
Signed-off-by: Venkatesha Sarpangala <sarpangala.v@samsung.com>