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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Change-Id: Ic2026eceb291736b0bb4c3601de2743805b7cfc1
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoAdd api to launch application with uid 96/48096/13 accepted/tizen/mobile/20151016.102607 accepted/tizen/tv/20151016.102618 accepted/tizen/wearable/20151016.102636 submit/tizen/20151016.043816
Jiwoong Im [Mon, 14 Sep 2015 08:09:54 +0000 (17:09 +0900)]
Add api to launch application with uid

- aul_launch_app_for_uid
  aul_launch_app_with_result_for_uid

- amd gets TARGET_UID if launch request comes from root.
  If TARGET_UID's state is online, send launch request to amd_session_agent.

- remove checking root uid in amd_session_agent.

Change-Id: I1aaa599ef7d7717e73e579811b2fff7211b350f8
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agomigrate appsvc to aul 88/48888/9 submit/tizen/20151012.020819
Jiwoong Im [Thu, 1 Oct 2015 06:57:18 +0000 (15:57 +0900)]
migrate appsvc to aul

- sync with tizen 2.4
- add _with_uid api for multiuser architecture
- attach global db and create temp view in app_info db operation
- remove global .appsvc.db

TODO:
- implement aul_svc_request_transient_app

Change-Id: I697fb96278a583447c1b647453759fcaf93ce907
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoMove amd to user session 30/48530/4
Sangyoon Jang [Tue, 22 Sep 2015 11:38:32 +0000 (20:38 +0900)]
Move amd to user session

- make amd socket at /run/user/<uid>/-2 (this should be revised)
- make apps' aul socket at /run/user/<uid>/<pid>
- don't check caller's credential at aul_sock_handler
  (it is protected by smack)
- each aul request connects with caller's amd socket
- send app dead signal using dbus signal only
- don't create amd_ready file

TODO:
- amd gets caller's appid (by caller's process label)

Change-Id: Ife225f543a937159f52f84ef75e1cc3b9e0d4030
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd new api for resource manager. 08/48808/1
Myungki Lee [Wed, 30 Sep 2015 05:54:33 +0000 (14:54 +0900)]
Add new api for resource manager.

Change-Id: I36765c37dd5c2c8abefa4beca19e674ee6854892
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
9 years agoFix different size warnings 21/48321/2
Sangyoon Jang [Fri, 18 Sep 2015 05:38:32 +0000 (14:38 +0900)]
Fix different size warnings

in 64bit environment, "int"(4byte) and "void *"(8byte) have different size.
so we pass "int" type variable to "intptr_t".
intptr_t size depends on architecture.

Change-Id: I5eceda7fb80e2c0196cf1ebd6c271c9c9fa52aa3
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd terminate command at app_launcher 64/48164/1
Sangyoon Jang [Tue, 15 Sep 2015 09:50:50 +0000 (18:50 +0900)]
Add terminate command at app_launcher

Change-Id: I6728b5a53c57c11676082bcac548db917e34dbe7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoCheck permission for launch and terminate requests 14/47714/5 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150909.055055 accepted/tizen/mobile/20150909.140938 accepted/tizen/tv/20150909.055108 accepted/tizen/tv/20150909.140304 accepted/tizen/wearable/20150909.055121 submit/tizen/20150908.235449 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 submit/tizen_mobile/20150909.021024 submit/tizen_tv/20150909.021039 submit/tizen_tv/20150909.042240 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
Hwankyu Jhun [Tue, 8 Sep 2015 06:47:25 +0000 (15:47 +0900)]
Check permission for launch and terminate requests

Change-Id: I9b4f3ce2b8ad41c2a5c9af7a340a530a4e420d19
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
9 years agoInclude stdlib.h at src/status.c 92/47592/1 accepted/tizen/mobile/20150907.045900 accepted/tizen/tv/20150907.045931 accepted/tizen/wearable/20150907.045923 submit/tizen/20150907.015823
Sangyoon Jang [Mon, 7 Sep 2015 01:55:08 +0000 (10:55 +0900)]
Include stdlib.h at src/status.c

Change-Id: I6c19e0c1234b09c4cda7954926a5ad094a3890ee
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd missing api declaration 91/47591/1
Sangyoon Jang [Mon, 7 Sep 2015 01:50:44 +0000 (10:50 +0900)]
Add missing api declaration

add aul_app_get_pkgid_bypid at aul.h
add _status_get_pkgid_bypid at amd_status.h

Change-Id: Id8f5fb936e28cc558ddf72493e8ccafb47e5b0ed
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoadd aul_app_get_pkgid_bypid() api. 65/47465/1 accepted/tizen/mobile/20150904.140102 accepted/tizen/tv/20150904.140321 accepted/tizen/wearable/20150904.140423 submit/tizen/20150904.085212
Jiwoong Im [Thu, 3 Sep 2015 12:36:56 +0000 (21:36 +0900)]
add aul_app_get_pkgid_bypid() api.

merge aul_app_get_pkgid_bypid() api from tizen_2.4

Change-Id: I463ae4f777e32bcc961c0bae9929dff9e0a05f19
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoremove uid check in __app_dbus_signal_filter 43/47143/2 accepted/tizen/mobile/20150903.233623 accepted/tizen/tv/20150903.233643 accepted/tizen/wearable/20150903.233651 submit/tizen/20150903.141204
Jiwoong Im [Mon, 31 Aug 2015 07:56:05 +0000 (16:56 +0900)]
remove uid check in __app_dbus_signal_filter

Change-Id: If03046f2cef8ab61905a9d1f3069d9bb93938c85
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoSend result of APP_TERM_REQ_PID to caller 41/47041/1
Sangyoon Jang [Fri, 28 Aug 2015 10:25:13 +0000 (19:25 +0900)]
Send result of APP_TERM_REQ_PID to caller

Change-Id: Ib93418aa223301964c5bd1afbaff4440f8eb1e19
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix crash in aul_get_app_root_path 06/46906/3 accepted/tizen/mobile/20150828.011622 accepted/tizen/tv/20150828.011634 accepted/tizen/wearable/20150828.011646 submit/tizen/20150827.074312
Jiwoong Im [Thu, 27 Aug 2015 06:00:02 +0000 (15:00 +0900)]
Fix crash in aul_get_app_root_path

Change-Id: I04710c0c0334881c72b1c19117d6a8865a0cacf7
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoterminate app in terminate requset if app is not subapp. 82/46782/2
Jiwoong Im [Wed, 26 Aug 2015 06:20:40 +0000 (15:20 +0900)]
terminate app in terminate requset if app is not subapp.

fix bug in app_terminate app_control_send_terminate_request() in
capi-appfw-application.

Change-Id: I4feb745833d60ebb1d073ca79d26a3f50fa44eac
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agomodify aul path getter api. 99/46799/3 accepted/tizen/mobile/20150826.222552 accepted/tizen/tv/20150826.222607 accepted/tizen/wearable/20150826.222615 submit/tizen/20150826.075554
Jiwoong Im [Wed, 26 Aug 2015 07:42:08 +0000 (16:42 +0900)]
modify aul path getter api.

- fix bug in aul_get_app_XXX_path_by_appid.

Change-Id: Ib6a92f6713753f242e6a59edae699f321321987a
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoUse tmpfiles to create and label data-control directory. 65/46665/7 accepted/tizen/mobile/20150826.065958 accepted/tizen/tv/20150826.070059 accepted/tizen/wearable/20150826.070332 submit/tizen/20150826.040557
Jiwoong Im [Mon, 24 Aug 2015 14:03:52 +0000 (23:03 +0900)]
Use tmpfiles to create and label data-control directory.

Change-Id: Ia9c3a69b02de06d5a31a371e75814a4cc326a5a2
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoadd status api from tizen_2.4 08/46608/7
Jiwoong Im [Mon, 24 Aug 2015 05:36:49 +0000 (14:36 +0900)]
add status api from tizen_2.4

- int aul_app_get_status_bypid(int pid);
- int aul_add_status_local_cb(int (*func) (int, void *), void *data);
- int aul_remove_status_local_cb(int (*func) (int, void *), void *data);
- int aul_invoke_status_local_cb(int status);

Change-Id: If680ab9228fdebd28c5a5cbd2487a6b37b702e34
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agomodify aul_get_app_XXX_path to return readonly path 83/46683/2
Jiwoong Im [Tue, 25 Aug 2015 03:12:50 +0000 (12:12 +0900)]
modify aul_get_app_XXX_path to return readonly path

Change-Id: Ibdce8ea92b4c8bb5751b5f7ef46389c4a622709e
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agochange return path in aul_get_app_XXX_path 01/46601/4
Jiwoong Im [Mon, 24 Aug 2015 03:01:25 +0000 (12:01 +0900)]
change return path in aul_get_app_XXX_path

- aul_get_app_XXX_path api is changed to return per user path.
- improve performance.

Change-Id: Ia3f1e6bcb4534abcc42b823e16fff336a1a0655e
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoTreat as global user when receive request from root 14/46214/2 accepted/tizen/mobile/20150818.220031 accepted/tizen/tv/20150818.220041 accepted/tizen/wearable/20150818.220046 submit/tizen/20150818.093923
Sangyoon Jang [Tue, 18 Aug 2015 05:48:48 +0000 (14:48 +0900)]
Treat as global user when receive request from root

Change-Id: If0ce1ece84de1640dde15b026f2b94d52a283c85
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoUse signalfd to handle SIGCHLD 13/46113/3 accepted/tizen/mobile/20150817.134136 accepted/tizen/tv/20150817.134530 accepted/tizen/wearable/20150817.134811 submit/tizen/20150817.084057
Sangyoon Jang [Mon, 17 Aug 2015 05:12:01 +0000 (14:12 +0900)]
Use signalfd to handle SIGCHLD

Change-Id: I5b70a40908d2c6b7c68ccc7424a624b5f391b45b
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoReturn AUL_R_ENOAPP when cannot find requested app 83/45983/1
Sangyoon Jang [Thu, 13 Aug 2015 02:29:56 +0000 (11:29 +0900)]
Return AUL_R_ENOAPP when cannot find requested app

Change-Id: Ibc0ecf59433ae333415f5966e046e411bcf9b920
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoRemove sqlite3 add vconf, dlog requires to pc file 45/45845/1 submit/tizen_mobile/20150812.025625
Sangyoon Jang [Wed, 12 Aug 2015 02:25:43 +0000 (11:25 +0900)]
Remove sqlite3 add vconf, dlog requires to pc file

remove mida.h

Change-Id: I20017c5e3b0d4a27eb1efc4c77f0a01d41d88253
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix aul.pc.in 06/45806/1 submit/tizen/20150811.103743
Sangyoon Jang [Tue, 11 Aug 2015 11:06:19 +0000 (20:06 +0900)]
Fix aul.pc.in

remove ail

Change-Id: Ibac8e0cdb5565231e2983650f8d8a910b3d36dd7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoClean up repository 23/45223/10
Sangyoon Jang [Mon, 3 Aug 2015 23:33:44 +0000 (08:33 +0900)]
Clean up repository

remove dependency: ail, app-checker, privacy-manager
revise CMakeLists.txt
set so version using package version
remove unused codes
remove unnecessary files

Change-Id: I1f91c0d295cb726a18852590f565de4bf48a860e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix typo 44/45744/3
Jiwoong Im [Tue, 11 Aug 2015 05:08:34 +0000 (14:08 +0900)]
Fix typo

Change-Id: I3267a90876299a21edc69d350bf412882f126b94
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoFix some prevent issues 75/45475/9
Sangyoon Jang [Thu, 6 Aug 2015 10:22:06 +0000 (19:22 +0900)]
Fix some prevent issues

fix out-of-bounds write
fix resource leak
fix wrong sizeof argument
fix uninitialized pointer read
fix dereference null return value

Change-Id: I061cdb14334726014aaa54d6223cdba547f170d5
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agosupport async launch result callback 72/45172/8
Jiwoong Im [Mon, 3 Aug 2015 08:42:10 +0000 (17:42 +0900)]
support async launch result callback

Change-Id: If0503961eaaae35871234f3024992f8264ab9a30
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoFix memory leak 80/45380/2 accepted/tizen/mobile/20150806.001424 accepted/tizen/tv/20150806.001428 accepted/tizen/wearable/20150806.001438 submit/tizen/20150805.104426
Sangyoon Jang [Wed, 5 Aug 2015 10:23:49 +0000 (19:23 +0900)]
Fix memory leak

remove unused variable

Change-Id: I2e8c648fd8daec52026d506db1b3de5e3ee8ea9e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoDon't stop when fail to get label during listing apps 66/45366/1
Sangyoon Jang [Wed, 5 Aug 2015 08:20:17 +0000 (17:20 +0900)]
Don't stop when fail to get label during listing apps

Change-Id: Id8dfa2ebe555e356d00357ac90bcac3c95265e3f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoRemove warnings, remove unused test code 02/44402/5
Sangyoon Jang [Tue, 21 Jul 2015 11:43:43 +0000 (20:43 +0900)]
Remove warnings, remove unused test code

fix mismatching types
remove unused variables, functions
remove unnecessary initializing of local variables
include missing headers
fix some spaces, indents
change return type of "_term_sub_app" (void -> int)
remove unused test codes

Change-Id: I34ed5df39cb7a78f5f0fbcf17d3144ae2c3409d8
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoadd aul_get_app_tep_resource_path api. 47/45147/2 accepted/tizen/mobile/20150803.094055 accepted/tizen/tv/20150803.094110 accepted/tizen/wearable/20150803.094120 submit/tizen/20150803.051904
Jiwoong Im [Mon, 3 Aug 2015 05:09:52 +0000 (14:09 +0900)]
add aul_get_app_tep_resource_path api.

Change-Id: Icefba6613467f8b8e0a6146c8e999f298bac52b3
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoDon't clear rua history 49/45149/1
Sangyoon Jang [Mon, 3 Aug 2015 05:09:55 +0000 (14:09 +0900)]
Don't clear rua history

Change-Id: I1480adf2b87908f784514e1f8042a56d35f9cfdb
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoSet exec_label="User" on app_launcher 58/44758/1 accepted/tizen/mobile/20150728.070343 accepted/tizen/tv/20150728.070315 accepted/tizen/wearable/20150728.070326 submit/tizen/20150728.042812
Sangyoon Jang [Mon, 27 Jul 2015 11:09:31 +0000 (20:09 +0900)]
Set exec_label="User" on app_launcher

Change-Id: I503f3f23096377542ff4b64d6061e0c926a2b5f5
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agousing tizen-extension wayland protocol instead of including *protocol.c directly 30/44430/1 accepted/tizen/mobile/20150723.121253 accepted/tizen/tv/20150723.121331 accepted/tizen/wearable/20150723.121355 submit/tizen/20150722.053256 submit/tizen/20150723.044444
Boram Park [Mon, 20 Jul 2015 10:59:33 +0000 (19:59 +0900)]
using tizen-extension wayland protocol instead of including *protocol.c directly

Change-Id: I66bba71559bf9d7d94d00a5c124c66c1acf8d37f

9 years agoAdd some exception handling 75/43875/2 accepted/tizen/mobile/20150717.060236 accepted/tizen/tv/20150717.060248 accepted/tizen/wearable/20150717.060259 submit/tizen/20150717.020519
Sangyoon Jang [Wed, 15 Jul 2015 01:52:31 +0000 (10:52 +0900)]
Add some exception handling

Change-Id: I7b79a203344a164a89f0e5f72807c2e71bbf8216
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoMerge "Use tmpfiles to create volatile directory, cleanup" into tizen
Semun Lee [Wed, 15 Jul 2015 00:52:16 +0000 (17:52 -0700)]
Merge "Use tmpfiles to create volatile directory, cleanup" into tizen

9 years agoGet appinfo status of caller's app only 60/42560/2 accepted/tizen/mobile/20150702.045226 accepted/tizen/tv/20150702.040116 accepted/tizen/wearable/20150702.040145 submit/tizen/20150702.000829
Sangyoon Jang [Tue, 30 Jun 2015 05:32:30 +0000 (14:32 +0900)]
Get appinfo status of caller's app only

get appinfo status of caller's app only
rename app_status_info's member user to uid

Change-Id: Ie321b9d305f172236cf41b84c4cf1e8c578dfa67
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoUse tmpfiles to create volatile directory, cleanup 03/42803/1
Maciej Wereski [Wed, 1 Jul 2015 13:34:06 +0000 (15:34 +0200)]
Use tmpfiles to create volatile directory, cleanup

Since v218 of systemd tmpfiles have ability to set extended attributes.
It can be used to set SMACK labels.

Cleanup: remove obsolete SysV init script.

Change-Id: Ie4e20ee383380fa08d33d3c9a05d47d919b9de8b
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
9 years agoMake __app_process_by_pid handle only app 59/42559/2
Sangyoon Jang [Tue, 30 Jun 2015 05:26:31 +0000 (14:26 +0900)]
Make __app_process_by_pid handle only app

Change-Id: I3a66aff61e8e81ba91771467ba0392f44ffd1c1b
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix getting launch argument on app_launcher 50/42550/1
Sangyoon Jang [Tue, 30 Jun 2015 02:19:25 +0000 (11:19 +0900)]
Fix getting launch argument on app_launcher

Change-Id: I7b55f5e2b355054a5f6760c3ce86374fc5077b7c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoSend result to client when calling KILL_BY_PID 44/42544/2
Sangyoon Jang [Mon, 29 Jun 2015 23:34:05 +0000 (08:34 +0900)]
Send result to client when calling KILL_BY_PID

Change-Id: Ia77be62c48f0f2a9bff769c6d9f7d6a45822fda5
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoRevise app_launcher 44/42444/3 accepted/tizen/mobile/20150630.002105 accepted/tizen/tv/20150630.002120 accepted/tizen/wearable/20150630.002131 submit/tizen/20150629.101030
Sangyoon Jang [Mon, 29 Jun 2015 08:10:14 +0000 (17:10 +0900)]
Revise app_launcher

use pkgmgr-info instead of ail
add getting launch argument

Change-Id: I1911ff60969f7cbc9469b032ad0819312a6999b9
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix coding style of app_launcher 10/42410/3
Sangyoon Jang [Mon, 29 Jun 2015 02:23:26 +0000 (11:23 +0900)]
Fix coding style of app_launcher

Change-Id: I3916e74bbec7c8f012d43a09144740ebd81b99ef
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoimplementation of app group 71/41071/4 accepted/tizen/mobile/20150616.010930 accepted/tizen/tv/20150616.010944 accepted/tizen/wearable/20150616.010958 submit/tizen/20150615.091318
Jiwoong Im [Thu, 11 Jun 2015 05:44:50 +0000 (14:44 +0900)]
implementation of app group

- provides API to support app group
- amd manages grouped application using hash table

Change-Id: Ia507be21d1eaff8edf82d52fc215c952d0ed2a58
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoAdd missing declaration in header 01/40601/2 accepted/tizen_3.0.2015.q2_common tizen_3.0.2015.q2_common accepted/tizen/3.0.2015.q2/common/20150609.181932 accepted/tizen/3.0.2015.q2/common/20150615.091808 accepted/tizen/common/20150609.084315 accepted/tizen/common/20150609.084424 accepted/tizen/common/20150610.144508 accepted/tizen/common/20150612.065901 accepted/tizen/mobile/20150609.085834 accepted/tizen/mobile/20150612.003426 accepted/tizen/tv/20150612.003515 accepted/tizen/tv/20150612.003539 accepted/tizen/wearable/20150609.085855 accepted/tizen/wearable/20150611.085701 submit/tizen/20150604.065932 submit/tizen/20150605.114228 submit/tizen/20150605.131835 submit/tizen/20150608.113003 submit/tizen/20150609.020831 submit/tizen/20150609.065415 submit/tizen/20150609.074149 submit/tizen/20150611.063059 submit/tizen_3.0.2015.q2_common/20150609.170642 submit/tizen_3.0.2015.q2_common/20150615.075539 submit/tizen_common/20150608.135929 submit/tizen_common/20150610.013111 submit/tizen_common/20150610.072250 submit/tizen_mobile/20150611.000000 submit/tizen_tv/20150611.000000 submit/tizen_tv/20150611.000001 submit/tizen_tv/20150611.010347 submit/tizen_wearable/20150611.000000
Sangyoon Jang [Fri, 5 Jun 2015 10:27:21 +0000 (19:27 +0900)]
Add missing declaration in header

Change-Id: I9a7715aa61aa2a6deef78e20bc83f5d951064870
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd some api from Tizen 2.4 44/40244/2 submit/tizen/20150604.015241
Sangyoon Jang [Mon, 1 Jun 2015 12:16:32 +0000 (21:16 +0900)]
Add some api from Tizen 2.4

added:
aul_terminate_bgapp_pid
aul_terminate_pid_without_restart
aul_pause_app
aul_pause_pid

Change-Id: I9ebae51e8c55a4678064debc310e563585cf63d3
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoUse _status_app_is_running_v2 on _start_app 18/40118/3 submit/tizen/20150602.003342
Sangyoon Jang [Fri, 29 May 2015 08:44:57 +0000 (17:44 +0900)]
Use _status_app_is_running_v2 on _start_app

fix order of parameter of _status_app_is_running_v2
use _status_app_is_running_v2 instead of _status_app_is_running

Change-Id: I7419a3d3b750ecb8e967eef2188452a5d138ec3c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoImprove code readability 23/39923/3 accepted/tizen/common/20150601.092754 submit/tizen_common/20150601.092502
Sangyoon Jang [Tue, 26 May 2015 11:54:11 +0000 (20:54 +0900)]
Improve code readability

do not load appinfo for attached global apps

Change-Id: Ie2c641ed5565b14537b8f5ae97f3f23c1996ee79
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd special cmd: AMD_RELOAD_APPINFO 21/39921/1
Sangyoon Jang [Tue, 26 May 2015 11:50:18 +0000 (20:50 +0900)]
Add special cmd: AMD_RELOAD_APPINFO

this cmd is for special purpose

Change-Id: Ib16415583f0de4592b8eef8e52807eaca2ea8b6b
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoMerge "change parameter in __get_path function and return error in invalid parameter... submit/tizen/20150526.104937
Semun Lee [Tue, 26 May 2015 10:46:49 +0000 (03:46 -0700)]
Merge "change parameter in __get_path function and return error in invalid parameter." into tizen

9 years agochange parameter in __get_path function and return error in invalid parameter. 77/39877/3
Jiwoong Im [Tue, 3 Mar 2015 07:06:57 +0000 (16:06 +0900)]
change parameter in __get_path function and return error in invalid parameter.

In __get_path function, it finds pkginfo in tizenglobaluser and regular user's db.
GLOBAL_USER should be replaced to getuid() in order to be performed correctly.

JIRA ticket : TC-2314

Change-Id: I71c93090c5756f612cfa383ef7402be502932044
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoamd: check appinfo_init() retcode to exit gracefully 95/39795/1
Stephane Desneux [Fri, 22 May 2015 10:49:10 +0000 (12:49 +0200)]
amd: check appinfo_init() retcode to exit gracefully

Change-Id: Ife80ee7857a4d6eaeb37fb4e877aa539a9fe6492
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
9 years agoMerge "Launch service app on amd_session_agent, handle on-boot" into tizen accepted/tizen/common/20150521.125634 accepted/tizen/common/20150601.070531 accepted/tizen/mobile/20150522.005728 accepted/tizen/mobile/20150601.044249 accepted/tizen/tv/20150522.004813 accepted/tizen/tv/20150601.044238 accepted/tizen/wearable/20150522.005554 accepted/tizen/wearable/20150601.044302 submit/tizen/20150521.024852 submit/tizen/20150528.055123
Semun Lee [Thu, 21 May 2015 02:32:23 +0000 (19:32 -0700)]
Merge "Launch service app on amd_session_agent, handle on-boot" into tizen

9 years agoMerge "Fix _status_app_is_running_v2" into tizen
Semun Lee [Thu, 21 May 2015 02:32:19 +0000 (19:32 -0700)]
Merge "Fix _status_app_is_running_v2" into tizen

9 years agoLaunch service app on amd_session_agent, handle on-boot 87/39587/3
Sangyoon Jang [Tue, 19 May 2015 07:35:13 +0000 (16:35 +0900)]
Launch service app on amd_session_agent, handle on-boot

launch service app on amd_session_agent, not amd.
all applications should be launched by proper session agent.
when user appinfo initialized, amd sends launch request
for applications which have on-boot attributes.

handle on-boot when package installed.

Change-Id: Iaf8fb1c69ff2006d3e835e9e4a981ef9847c4764
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix _status_app_is_running_v2 88/39588/2
Sangyoon Jang [Tue, 19 May 2015 07:38:14 +0000 (16:38 +0900)]
Fix _status_app_is_running_v2

fix __proc_iter_cmdline

Change-Id: I1c65f6ea67bde6a652e859cd53fc0a1418bfa0a2
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoUpdate appinfo when package event occured 33/39533/3
Sangyoon Jang [Tue, 19 May 2015 06:37:10 +0000 (15:37 +0900)]
Update appinfo when package event occured

Change-Id: Ia3c33e69c2118b4ebada6c4e63c65500a699c486
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoManage user's appinfo table 16/39516/5
Sangyoon Jang [Mon, 18 May 2015 04:29:55 +0000 (13:29 +0900)]
Manage user's appinfo table

Change-Id: I637d84995526461eff6120b33ae1df6c81d50688
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoCode refactoring 89/39389/1
Sangyoon Jang [Thu, 14 May 2015 07:38:02 +0000 (16:38 +0900)]
Code refactoring

struct amdmgr, struct appinfomgr are not needed.
appinfo table should managed at amd_appinfo.c.
remove some unused functions.

Change-Id: If8f991afb89bcef3dbf300fe5ae0cde3fa478a02
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd missing api: aul_terminate_pid_async 84/39184/1 accepted/tizen/common/20150520.133244 accepted/tizen/mobile/20150521.005931 accepted/tizen/tv/20150521.005315 accepted/tizen/wearable/20150521.005616 submit/tizen/20150512.054616
Sangyoon Jang [Mon, 11 May 2015 10:29:35 +0000 (19:29 +0900)]
Add missing api: aul_terminate_pid_async

Change-Id: Ia2b6c7247aaf939e0d45cc84b81a6d1c4d597a64
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix socket fd leak 80/39180/2
Sangyoon Jang [Mon, 11 May 2015 09:33:26 +0000 (18:33 +0900)]
Fix socket fd leak

TC-2508

when send asynchronously, it needs to close caller's socket after
receiving reply

Change-Id: I0fa9a8c1a401d77a50cbc0c450adfd70a1edfb0d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoRemove "Type=notify" at amd_session_agent.service 98/38898/1 accepted/tizen/common/20150504.070719 accepted/tizen/mobile/20150501.022031 accepted/tizen/tv/20150501.020906 accepted/tizen/wearable/20150501.021403 submit/tizen/20150430.055149
Sangyoon Jang [Thu, 30 Apr 2015 05:44:54 +0000 (14:44 +0900)]
Remove "Type=notify" at amd_session_agent.service

amd_session_agent doesn't need to be notify type

Change-Id: I6367e5f3746e2d31751bafe32d65aa974d5cec71
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoMerge "Integration with security-manager" into tizen
Sangyoon Jang [Wed, 29 Apr 2015 08:49:20 +0000 (01:49 -0700)]
Merge "Integration with security-manager" into tizen

9 years agoMake amd_session_agent run as sokcet activation only 54/38754/2 accepted/tizen/common/20150428.154006 accepted/tizen/mobile/20150429.003741 accepted/tizen/tv/20150429.003711 accepted/tizen/wearable/20150429.003724 submit/tizen/20150428.102946
Sangyoon Jang [Tue, 28 Apr 2015 05:19:50 +0000 (14:19 +0900)]
Make amd_session_agent run as sokcet activation only

Change-Id: Ic8085f66a37f977b42efa226e732bd919ccfbde1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix _get_app_info_from_db_by_apppath_user 65/38165/1 accepted/tizen/common/20150416.090615 accepted/tizen/mobile/20150415.132907 accepted/tizen/tv/20150415.131749 accepted/tizen/wearable/20150415.132254 submit/tizen/20150415.072638
Sangyoon Jang [Tue, 14 Apr 2015 02:04:41 +0000 (11:04 +0900)]
Fix _get_app_info_from_db_by_apppath_user

use uid took over instead of getuid

Change-Id: I27ce3a6a0206d08ce76fb8a247909cc792d6378f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoIntegration with security-manager 94/29994/11
Zbigniew Jasinski [Thu, 6 Nov 2014 16:57:36 +0000 (17:57 +0100)]
Integration with security-manager

* Removed dependency on libprivilege-control: perm_app_set_privilege()
  switched to security_manager_prepare_app()
* amd_session_agent gets CAP_MAC_ADMIN, CAP_MAC_OVERRIDE and CAP_SETGID for
  Smack label management
* Fix semantics - launching apps by appId

Change-Id: I408a07f2cc249b76a8c6c9928c632863358ed3ae
Signed-off-by: Zbigniew Jasinski <z.jasinski@samsung.com>
9 years agoFix bug in removing app_info list when get agent dead signal. 81/35981/2 accepted/tizen/mobile/20150313.083937 accepted/tizen/tv/20150302.010500 accepted/tizen/tv/20150313.083819 accepted/tizen/wearable/20150313.083850 submit/tizen/20150304.022845 submit/tizen_mobile/20150313.022842 submit/tizen_tv/20150227.073215 submit/tizen_tv/20150228.021455 submit/tizen_tv/20150313.022842 submit/tizen_wearable/20150313.022842
Jiwoong Im [Fri, 27 Feb 2015 05:14:20 +0000 (14:14 +0900)]
Fix bug in removing app_info list when get agent dead signal.

JIRA ticket : TC-2419

Change-Id: Id795cd024a1076ad87f48dd55a4c777aeb0a5809
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoFix bug: killing apps abnormally when launching app 76/35876/2 accepted/tizen/tv/20150226.011428 accepted/tizen/wearable/20150226.065656 submit/tizen_common/20150226.010729 submit/tizen_mobile/20150225.124301 submit/tizen_tv/20150225.124301 submit/tizen_wearable/20150225.124301
Sangyoon Jang [Wed, 25 Feb 2015 12:20:39 +0000 (21:20 +0900)]
Fix bug: killing apps abnormally when launching app

some local variable is not initialized
set default value when failed to get vconf value

Change-Id: I8e4fa3414f950418899d3bb70c9431341c48a470
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoapply socket activation to amd and amd_session_agent 70/35770/5 accepted/tizen/mobile/20150225.053512 accepted/tizen/tv/20150225.100213 accepted/tizen/wearable/20150225.053943 submit/tizen_mobile/20150225.030152 submit/tizen_tv/20150225.030125 submit/tizen_wearable/20150225.030214
Jiwoong Im [Tue, 24 Feb 2015 11:45:00 +0000 (20:45 +0900)]
apply socket activation to amd and amd_session_agent

- add socket unit and install unit file by making link in .target.wants
folder.
- Before create server socket in daemon, check if there is socket stream.
- amd and amd_session_agent can receive its preinitailized sockets from
systemd.

Change-Id: I0c58245e734796f2a89c751004703082445033af

9 years agoReplace ail api to pkgmgr-info api 68/35668/4
Jiwoong Im [Mon, 23 Feb 2015 08:00:54 +0000 (17:00 +0900)]
Replace ail api to pkgmgr-info api

JIRA ticket : TC-2464

- ail api can be replaced to pkgmgr_info api.
- Because pkgmgr_info api create db if not exists, use pkgmgr_info api.
- At first, remove ail api in amd_main.c and menu_db_util.h

Change-Id: I658deab441e5af1dde361f6b82cc2b1a66d5c6ba
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoMerge "session agent changed to send dead signal to amd." into tizen accepted/tizen/tv/20150213.052913 submit/tizen_tv/20150212.054854
Suchang Woo [Thu, 12 Feb 2015 05:45:38 +0000 (21:45 -0800)]
Merge "session agent changed to send dead signal to amd." into tizen

9 years agosession agent changed to send dead signal to amd. 78/35178/5
Jiwoong Im [Tue, 10 Feb 2015 05:12:46 +0000 (14:12 +0900)]
session agent changed to send dead signal to amd.

JIRA ticket : TC-2419

When amd session agent gets SIGTERM, exits loop and sends agent_dead_siganl to amd.
amd gets uid of amd sessiong agent which is died, and updates running app list
and app status list.

Change-Id: I2f4d9e60803d71c8c04f6f4732fff6f7a132fbd9
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoMerge "Fix path getter API." into tizen
Suchang Woo [Wed, 11 Feb 2015 05:56:14 +0000 (21:56 -0800)]
Merge "Fix path getter API." into tizen

9 years agoFix path getter API. 52/34952/6
Jiwoong Im [Thu, 5 Feb 2015 01:32:11 +0000 (10:32 +0900)]
Fix path getter API.

JIRA ticket : TC-2314

To get application's path, use pkgmgrinfo_pkginfo_get_root_path api.
aul_get_app_xxx_path api search GLOBAL_USER and regular user DB altogether.

Change-Id: I82389591b570cf1998a64e67ce4f3981dfdf3048
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoFix implicit declaration warnings 06/34906/3
Sangyoon Jang [Wed, 4 Feb 2015 09:04:12 +0000 (18:04 +0900)]
Fix implicit declaration warnings

add missing declarations

Change-Id: I47ba874e922b578b2ab6b0095e62db5740f13025
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd rua history at am_session_agent 65/34865/1
Sangyoon Jang [Wed, 4 Feb 2015 01:44:29 +0000 (10:44 +0900)]
Add rua history at am_session_agent

rua should be handled at each user daemon
remove rua from amd

Change-Id: Idf3419867630d8040add819b1f598f1c11768aeb
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoMerge "Fix calling result callback" into tizen
Suchang Woo [Wed, 21 Jan 2015 02:29:59 +0000 (18:29 -0800)]
Merge "Fix calling result callback" into tizen

9 years agoMerge "Initialize the default args structure to be sure that debug option is disabled... accepted/tizen/ivi/20150121.052814 submit/tizen_ivi/20150120.093852
Baptiste DURAND [Tue, 20 Jan 2015 08:48:08 +0000 (00:48 -0800)]
Merge "Initialize the default args structure to be sure that debug option is disabled by default" into tizen

9 years agoInitialize the default args structure to be sure that debug option is disabled by... 26/34026/2 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common accepted/tizen/common/20150122.094105 submit/tizen_common/20150120.084957 submit/tizen_mobile/20150223.000000
Baptiste DURAND [Tue, 20 Jan 2015 08:34:13 +0000 (09:34 +0100)]
Initialize the default args structure to be sure that debug option is disabled by default

Change-Id: I362baf3ccf32cc70092f74b18347fed2194cf62a
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoFix calling result callback 15/34015/1
Sangyoon Jang [Tue, 20 Jan 2015 01:38:22 +0000 (10:38 +0900)]
Fix calling result callback

when adding callback, it prepends the list
but when finding callback, the first matching callback is called (LIFO)
it should be FIFO

Change-Id: Ied1d71b13be6e572c259eea08d29e59200ddf7bd
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoMerge "add a support for data-control provider" into tizen accepted/tizen/mobile/20150121.045017 accepted/tizen/tv/20150121.044517 accepted/tizen/wearable/20150121.044750 submit/tizen/20150120.043506 submit/tizen_mobile/20150121.020049 submit/tizen_tv/20150121.020041 submit/tizen_wearable/20150121.020025
Semun Lee [Tue, 20 Jan 2015 00:08:51 +0000 (16:08 -0800)]
Merge "add a support for data-control provider" into tizen

9 years agoAdd path getter API from tizen_2.3 74/32974/5
Seungmin Yu [Wed, 28 May 2014 07:33:15 +0000 (16:33 +0900)]
Add path getter API from tizen_2.3

To support path getter API in capi-appfw-application and capi-appfw-app-manager,
add path getter API in aul-1.
JIRA ticket : TC-2314

- Get path of appliation's own. (There is no need to introduce user id)
aul_get_app_external_root_path
aul_get_app_root_path
aul_get_app_data_path
aul_get_app_cache_path
aul_get_app_resource_path
aul_get_app_shared_data_path
aul_get_app_shared_resource_path
aul_get_app_shared_trusted_path
aul_get_app_external_data_path
aul_get_app_external_cache_path
aul_get_app_external_shared_data_path
aul_get_app_specific_path
aul_get_app_external_specific_path

- Get path of application which is installed by global user.
aul_get_app_shared_data_path_by_appid
aul_get_app_shared_resource_path_by_appid
aul_get_app_shared_trusted_path_by_appid
aul_get_app_external_shared_data_path_by_appid

- Introduce user id to get other user's application path.
aul_get_app_usr_shared_data_path_by_appid
aul_get_app_usr_shared_resource_path_by_appid
aul_get_app_usr_shared_trusted_path_by_appid
aul_get_app_usr_external_shared_data_path_by_appid

Change-Id: I1e4bbee8948a9e6be13d2c02b02cba0ea4d930ba
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoadd a support for data-control provider 81/33481/3
Jiwoong Im [Mon, 12 Jan 2015 06:43:20 +0000 (15:43 +0900)]
add a support for data-control provider

- set/unset data-control provider callback
- handle data-control request

Change-Id: Id39d47a9a6c5ffd8d656aac330859d74b6aa28e1
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoRemove unnecessary execution bits from files 95/31495/1 accepted/tizen/common/20141209.182553 accepted/tizen/ivi/20150104.010551 submit/tizen_common/20141208.164856 submit/tizen_common/20141209.181617 submit/tizen_ivi/20141212.121212 submit/tizen_ivi/20141215.444555 submit/tizen_ivi/20141229.291214 submit/tizen_ivi/20141231.424242
Radoslaw Bartosiak [Fri, 5 Dec 2014 10:23:45 +0000 (11:23 +0100)]
Remove unnecessary execution bits from files

Source files (*.c, *.h) and doxygen.conf should not have execution bit set.

Change-Id: I8c49b37159c55014b3d71db184f837a1e6c5baf3
Signed-off-by: Radoslaw Bartosiak <r.bartosiak@samsung.com>