platform/core/appfw/alarm-manager.git
7 years agofix alarm-server segmentation fault 42/88442/1 accepted/tizen/common/20160919.154752 accepted/tizen/ivi/20160920.051924 accepted/tizen/mobile/20160920.051830 accepted/tizen/tv/20160920.051845 accepted/tizen/wearable/20160920.051905 submit/tizen/20160919.100356
Jiwoong Im [Mon, 19 Sep 2016 06:26:37 +0000 (15:26 +0900)]
fix alarm-server segmentation fault

- Creating a GDBusObjectManagerServer object step is missing.

Change-Id: Ia9369aa43f96719417f5d26c89c021875143f772
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoFix dbus conf file 79/87479/3 accepted/tizen/common/20160909.115107 accepted/tizen/ivi/20160909.122433 accepted/tizen/mobile/20160909.122339 accepted/tizen/tv/20160909.122356 accepted/tizen/wearable/20160909.122416 submit/tizen/20160909.060412
Hwankyu Jhun [Thu, 8 Sep 2016 07:37:08 +0000 (16:37 +0900)]
Fix dbus conf file

- Remove send_interface

Change-Id: Id08e18677d06b5e0de0f6d84d2b4472744b425b3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd a script to upgrade alarmmgr db 75/87475/1
Hwankyu Jhun [Thu, 8 Sep 2016 07:29:35 +0000 (16:29 +0900)]
Add a script to upgrade alarmmgr db

Change-Id: Ib729f0af1409361d05f28cc695a0d79714947f99
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoremove nonexistent service file in alarm-server.service 71/84671/1 accepted/tizen/common/20160823.132649 accepted/tizen/ivi/20160824.021627 accepted/tizen/mobile/20160824.021515 accepted/tizen/tv/20160824.021546 accepted/tizen/wearable/20160824.021651 submit/tizen/20160822.060113
Jiwoong Im [Mon, 22 Aug 2016 02:36:03 +0000 (11:36 +0900)]
remove nonexistent service file in alarm-server.service

Change-Id: I4273506108c6b562d25392cae626c3b8b5abc67f
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoSet the SMACK security label to run given executable file in systemd services 25/80825/1 accepted/tizen/common/20160721.180002 accepted/tizen/ivi/20160721.090823 accepted/tizen/mobile/20160721.090558 accepted/tizen/tv/20160721.091353 accepted/tizen/wearable/20160721.091129 submit/tizen/20160721.003054
jooseong lee [Wed, 20 Jul 2016 08:49:30 +0000 (17:49 +0900)]
Set the SMACK security label to run given executable file in systemd services

Change-Id: I6d6e47103a92919a1e76a6ce6336abf38d51dd15
Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
7 years agoFix handling expired alarm 11/80511/1 accepted/tizen/common/20160719.172235 accepted/tizen/ivi/20160719.020106 accepted/tizen/mobile/20160719.020201 accepted/tizen/tv/20160719.020128 accepted/tizen/wearable/20160719.020148 submit/tizen/20160718.115318
Jiwoong Im [Mon, 18 Jul 2016 10:53:04 +0000 (19:53 +0900)]
Fix handling expired alarm

- alarm-server can't check destination app service name by
"NameHasOwner" method call because application owns name in session bus.
Use aul_app_is_running to check that app is running.
- add uid in expired alarm.

Change-Id: I5d44af4e686306467a6b5c28082a0d01199938ef
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agomodify alarm-server dbus initializing step 82/78982/2 accepted/tizen/common/20160708.140755 accepted/tizen/ivi/20160708.092004 accepted/tizen/mobile/20160708.091826 accepted/tizen/tv/20160708.091920 accepted/tizen/wearable/20160708.091808 submit/tizen/20160708.042127
Jiwoong Im [Thu, 7 Jul 2016 13:44:25 +0000 (22:44 +0900)]
modify alarm-server dbus initializing step

- replace step to get connection by g_bus_get_sync
  modify some incorrectly used function

Change-Id: Ibcae5a1a341a25d9e2b5541834189baad4ac689d
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoreassign PATH env in shell script 13/77013/1 accepted/tizen/common/20160703.130014 accepted/tizen/ivi/20160629.070844 accepted/tizen/mobile/20160629.071007 accepted/tizen/tv/20160629.070738 accepted/tizen/wearable/20160629.070824 submit/tizen/20160629.021322 submit/tizen_common/20160701.180000
Jiwoong Im [Tue, 28 Jun 2016 08:44:09 +0000 (17:44 +0900)]
reassign PATH env in shell script

Change-Id: Ie14cf215b65f8b8094a9f364e90fe66c32688ceb
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agofix tainted int 89/76289/1 accepted/tizen/common/20160629.222150 accepted/tizen/ivi/20160624.064115 accepted/tizen/mobile/20160624.063713 accepted/tizen/tv/20160624.063734 accepted/tizen/wearable/20160624.064000 submit/tizen/20160623.110452
Jiwoong Im [Thu, 23 Jun 2016 09:09:30 +0000 (18:09 +0900)]
fix tainted int

Change-Id: Ib1220dfb64cb4d4030f98542791e11ef33eac3f2
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agofix memory leak 82/74682/2 accepted/tizen/common/20160616.151747 accepted/tizen/ivi/20160616.105031 accepted/tizen/mobile/20160616.104948 accepted/tizen/tv/20160616.104958 accepted/tizen/wearable/20160616.105018 submit/tizen/20160616.003540
Jiwoong Im [Wed, 15 Jun 2016 07:44:22 +0000 (16:44 +0900)]
fix memory leak

Change-Id: I8e11dbe0b607debebf43169e12d2c5bfd8b2324f
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoapply ASLR to alarm_session_agent 03/74203/1 accepted/tizen/common/20160614.143653 accepted/tizen/ivi/20160614.041206 accepted/tizen/mobile/20160614.041114 accepted/tizen/tv/20160614.041151 accepted/tizen/wearable/20160614.041136 submit/tizen/20160613.062107
Jiwoong Im [Mon, 13 Jun 2016 07:33:30 +0000 (16:33 +0900)]
apply ASLR to alarm_session_agent

Change-Id: I0ce3ed71052cfff3fedd26dc440698b75e88ea1d
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoset /dev/rtc0 smack label in udev rule file 97/73697/1 accepted/tizen/common/20160610.182122 accepted/tizen/ivi/20160610.114859 accepted/tizen/mobile/20160610.114758 accepted/tizen/tv/20160610.114818 accepted/tizen/wearable/20160610.114837 submit/tizen/20160609.223734
Jiwoong Im [Thu, 9 Jun 2016 07:55:21 +0000 (16:55 +0900)]
set /dev/rtc0 smack label in udev rule file

Change-Id: Ic1c79bd452d040953abb378a56ee94162fe86675
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoadd alarm session agent 72/69972/8
Jiwoong Im [Tue, 17 May 2016 11:51:53 +0000 (20:51 +0900)]
add alarm session agent

- To send alarm expired dbus signal to session bus, add alarm-session-agent.
  alarm-server send request to alarm-session-agent.
  alarm-session-agent started by socket activation and send alarm
  expired signal to session bus.
  After sending dbus signal, alarm-session-agent exited.

Change-Id: Ieec687154db5f156cbe52d65a39282e49ad69d11
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agofix incorrect implementation in alarm_set_global 44/72344/1 accepted/tizen/common/20160606.141608 accepted/tizen/ivi/20160602.230749 accepted/tizen/mobile/20160602.230730 accepted/tizen/tv/20160602.230712 accepted/tizen/wearable/20160602.230648 submit/tizen/20160602.040935
Jiwoong Im [Tue, 31 May 2016 12:50:12 +0000 (21:50 +0900)]
fix incorrect implementation in alarm_set_global

Change-Id: I02d4bba348f733665ddce4ec58682abad94b1985
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoFix rtc_time_set to set utc time 65/71765/2 accepted/tizen/common/20160602.140103 accepted/tizen/ivi/20160602.022910 accepted/tizen/mobile/20160602.023042 accepted/tizen/tv/20160602.022622 accepted/tizen/wearable/20160602.022757 submit/tizen/20160531.024853
Jiwoong Im [Fri, 27 May 2016 04:54:14 +0000 (13:54 +0900)]
Fix rtc_time_set to set utc time

Change-Id: I1c8dbb111d896341416870d8ec029a35858ce943
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoremove root user in dbus servcie file 50/71150/1
Jiwoong Im [Tue, 24 May 2016 08:45:04 +0000 (17:45 +0900)]
remove root user in dbus servcie file

Change-Id: I1771ad484f75278d0a7720c66be23bd82a4d74b6
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoadd exception handling in using gdbus api 09/71109/2 accepted/tizen/common/20160525.155802 accepted/tizen/ivi/20160525.234931 accepted/tizen/mobile/20160525.234859 accepted/tizen/tv/20160525.234914 accepted/tizen/wearable/20160525.234919 submit/tizen/20160524.073932 submit/tizen/20160524.100942
Jiwoong Im [Tue, 24 May 2016 06:51:14 +0000 (15:51 +0900)]
add exception handling in using gdbus api

Change-Id: Iefebee50b14ff1e368012850d33a76e8fdbede9f
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoFix some returns in alarm set/get api 75/69575/1 accepted/tizen/common/20160517.173921 accepted/tizen/ivi/20160517.032508 accepted/tizen/mobile/20160517.032550 accepted/tizen/tv/20160517.032525 accepted/tizen/wearable/20160517.032536 submit/tizen/20160516.093613
Jiwoong Im [Mon, 16 May 2016 02:49:00 +0000 (11:49 +0900)]
Fix some returns in alarm set/get api

Change-Id: I40101a3bdd1071765290172d916cd55abb7152d5
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agochange alarm-server to non-root user 14/68714/4
Jiwoong Im [Mon, 9 May 2016 11:15:30 +0000 (20:15 +0900)]
change alarm-server to non-root user

- change alarm-server uid from 'root' to 'app_fw'
- change permission and group of /dev/rtc0 by udev rule

Change-Id: I11dd2a14daff5c9b6b67c4f37708cc2a17f358e1
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agomerge async api from tizen 2.4 22/67622/2 accepted/tizen/common/20160428.144908 accepted/tizen/ivi/20160429.011352 accepted/tizen/mobile/20160429.011326 accepted/tizen/tv/20160429.011345 accepted/tizen/wearable/20160429.011334 submit/tizen/20160428.065355
Jiwoong Im [Wed, 27 Apr 2016 12:32:07 +0000 (21:32 +0900)]
merge async api from tizen 2.4

- alarmmgr_set_systime_async
- alarmmgr_set_systime_with_propagation_delay_async

Change-Id: I37ecfcbb4207478df698497a0cd80090db664973
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoown name in alarmmgr_init to get alarm expired signal 83/67183/2 accepted/tizen/common/20160427.053821 accepted/tizen/ivi/20160426.234154 accepted/tizen/mobile/20160426.234117 accepted/tizen/tv/20160426.234128 accepted/tizen/wearable/20160426.234133 submit/tizen/20160426.062602
Jiwoong Im [Mon, 25 Apr 2016 12:46:17 +0000 (21:46 +0900)]
own name in alarmmgr_init to get alarm expired signal

Change-Id: I7b1263ad893c3bedcf7e6e4915070f5b7aff3b5d
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoset destination in alarm_expired signal 59/66459/4 accepted/tizen/common/20160425.144813 accepted/tizen/ivi/20160423.060634 accepted/tizen/mobile/20160423.055725 accepted/tizen/tv/20160423.060120 accepted/tizen/wearable/20160423.060401 submit/tizen/20160422.142435
Jiwoong Im [Tue, 19 Apr 2016 04:54:25 +0000 (13:54 +0900)]
set destination in alarm_expired signal

Change-Id: I12f2bc4681dd7093ed229cdc149aaebc0703e091
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoUse strerror_r for thread-safe 40/63140/1 accepted/tizen/common/20160325.133756 accepted/tizen/ivi/20160323.013555 accepted/tizen/mobile/20160323.013503 accepted/tizen/tv/20160323.013518 accepted/tizen/wearable/20160323.013538 submit/tizen/20160322.121104
Myungki Lee [Tue, 22 Mar 2016 08:00:56 +0000 (17:00 +0900)]
Use strerror_r for thread-safe

Change-Id: I8463b9904102c9b400a87d80c8044d15a11aaa8e
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoUse thread-safe function 28/62228/5 accepted/tizen/common/20160321.145925 accepted/tizen/ivi/20160321.004620 accepted/tizen/ivi/20160322.023147 accepted/tizen/mobile/20160321.004523 accepted/tizen/tv/20160321.004542 accepted/tizen/wearable/20160321.004601 submit/tizen/20160317.022200 submit/tizen/20160318.074817 submit/tizen_ivi/20160322.020156
Myungki Lee [Wed, 16 Mar 2016 01:41:24 +0000 (10:41 +0900)]
Use thread-safe function

Change-Id: I05268be167ed04d3201a4180f6101961d969d6b6
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoadd missing priviliege check in alarm_delete_all 08/61908/1 accepted/tizen/common/20160315.220732 accepted/tizen/ivi/20160313.114511 accepted/tizen/mobile/20160313.113402 accepted/tizen/tv/20160313.113727 accepted/tizen/wearable/20160313.114136 submit/tizen/20160311.064153
Jiwoong Im [Fri, 11 Mar 2016 06:01:24 +0000 (15:01 +0900)]
add missing priviliege check in alarm_delete_all

Change-Id: I1c932045eadb3e649d3d560b0270b56cd8322b43
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoRemove compile warning messages and apply coding rule 77/61877/1 accepted/tizen/ivi/20160311.145938 accepted/tizen/mobile/20160311.142903 accepted/tizen/tv/20160311.144529 accepted/tizen/wearable/20160311.145324 submit/tizen/20160311.052741
Hwankyu Jhun [Fri, 11 Mar 2016 05:05:57 +0000 (14:05 +0900)]
Remove compile warning messages and apply coding rule

Change-Id: I0e7b57ab00711b5c7abc5cf7f2d664b0cbc4f1d2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoRemove compile warning 57/61657/1
Myungki Lee [Wed, 9 Mar 2016 10:48:52 +0000 (19:48 +0900)]
Remove compile warning

Change-Id: Idaf122349cd8be44e741f22d36f5b2bd9caa7810
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoApply to sending system-event in alarm-manager 46/53946/2 accepted/tizen/ivi/20160218.023400 accepted/tizen/mobile/20151212.071318 accepted/tizen/tv/20151212.072753 accepted/tizen/wearable/20151212.073414 submit/tizen/20151211.090312 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002
Jiwoong Im [Thu, 10 Dec 2015 09:33:26 +0000 (18:33 +0900)]
Apply to sending system-event in alarm-manager

Change-Id: I843e91913d5f3877ca00a7a89cd77d712cab4561
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoUpdate alarm-manager source from tizen_2.4 19/53619/1 accepted/tizen/mobile/20151210.082842 accepted/tizen/tv/20151210.082858 accepted/tizen/wearable/20151210.082908 submit/tizen/20151210.025005
Hwankyu Jhun [Mon, 7 Dec 2015 08:34:45 +0000 (17:34 +0900)]
Update alarm-manager source from tizen_2.4

- Add dbus activation feature
- Revert settime api ti do not user compensating latency
- Expire alarms forcibly when real duetime is same to current time
- Fix prevent issue

Change-Id: I09c51cb395cbe340c646ea24bd75882761b080ab
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoAdd new apis to support global alarm 04/52704/9
inkyun.kil [Thu, 26 Nov 2015 05:07:20 +0000 (14:07 +0900)]
Add new apis to support global alarm

- add api 'alarmmgr_set_global()' and 'alarmmgr_get_global()'
- add privilege check for added method call in alarm-server
- find login user in launching global alarm

Change-Id: I43d22b28d1c36f8817233d4e985027791cb4d1f7

8 years agoRemove compile warning messages and fix log level 77/53477/2
Hwankyu Jhun [Mon, 7 Dec 2015 03:10:13 +0000 (12:10 +0900)]
Remove compile warning messages and fix log level

Change-Id: I8531c192a49df51210652a2835b90d34438df0c8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoallow method call in standard properties interface for alarm-server. 29/53029/3 accepted/tizen/mobile/20151201.085738 accepted/tizen/tv/20151201.085752 accepted/tizen/wearable/20151201.085812 submit/tizen/20151201.044438
Jiwoong Im [Tue, 1 Dec 2015 03:13:39 +0000 (12:13 +0900)]
allow method call in standard properties interface for alarm-server.

Change-Id: Ic01bfb602ed770a8b20c1bf68c324a3f2a0cceb2
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoChange standard point of start time for periodic alarm 37/52637/1
Inkyun Kil [Tue, 4 Aug 2015 04:56:41 +0000 (13:56 +0900)]
Change standard point of start time for periodic alarm

Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Conflicts:
alarm-manager-schedule.c
alarm-manager.c
include/alarm-internal.h

Change-Id: I39199e101d56eb89ac818e871e83af112942e3da

8 years agoremove permission check in alarmmgr_add_alarm_withcb 08/52608/1
Jiwoong Im [Wed, 25 Nov 2015 04:45:40 +0000 (13:45 +0900)]
remove permission check in alarmmgr_add_alarm_withcb

Change-Id: Ia5ec6d56aed338deb643df63dbbd27e396ce7f10
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoFix bug about background category management 78/52478/2 accepted/tizen/mobile/20151124.234111 accepted/tizen/tv/20151124.234122 accepted/tizen/wearable/20151124.234135 submit/tizen/20151124.090814
Hwankyu Jhun [Mon, 23 Nov 2015 13:38:12 +0000 (22:38 +0900)]
Fix bug about background category management

- Add an exception at alarmmgr_add_alarm_appsvc_with_localtime()

Change-Id: I2e54ab00267f561c2510844cda7d3b679980317f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoadd ERR_ALARM_NOT_PERMITTED_APP error code 83/51983/9 accepted/tizen/mobile/20151124.084645 accepted/tizen/tv/20151124.084702 accepted/tizen/wearable/20151124.084721 submit/tizen/20151123.053026
Jiwoong Im [Tue, 17 Nov 2015 09:19:31 +0000 (18:19 +0900)]
add ERR_ALARM_NOT_PERMITTED_APP error code

Change-Id: I4eb7b1ead0d56e5aa93a9eb8a31e33c8452cbb94
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoRemove command for vconftool in spec file 66/50366/1
inkyun.kil [Wed, 28 Oct 2015 07:10:21 +0000 (16:10 +0900)]
Remove command for vconftool in spec file

Change-Id: I67c51820190500854c681cc7cad24eacdb70dfad
Signed-off-by: inkyun.kil <inkyun.kil@samsung.com>
8 years agoLaunch application with uid 10/49610/2 accepted/tizen/mobile/20151016.102604 accepted/tizen/tv/20151016.102616 accepted/tizen/wearable/20151016.102634 submit/tizen/20151016.043816 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
inkyun.kil [Thu, 15 Oct 2015 11:42:50 +0000 (20:42 +0900)]
Launch application with uid

- To launch application of user session, modify codes

Change-Id: If75db402ac1e57b2f3da95d9eb90aba190b143ba
Signed-off-by: inkyun.kil <inkyun.kil@samsung.com>
8 years agoReturn ERR_ALARM_NO_PERMISSION when access denied 14/48014/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150911.091728 accepted/tizen/tv/20150911.091741 accepted/tizen/wearable/20150911.091758 submit/tizen/20150911.072727 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
Sangyoon Jang [Fri, 11 Sep 2015 05:21:12 +0000 (14:21 +0900)]
Return ERR_ALARM_NO_PERMISSION when access denied

Change-Id: I5240e4bf2de8498a87ef64c0f7424be6d4624095
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix prevent issues 81/47981/1
Sangyoon Jang [Thu, 10 Sep 2015 13:06:38 +0000 (22:06 +0900)]
Fix prevent issues

Change-Id: I927ab01c62d103d44b89189f9f0524723d3568fb
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoChange rtc device (/dev/alarm -> /dev/rtc) 97/47597/4 accepted/tizen/mobile/20150908.073724 accepted/tizen/tv/20150908.073746 accepted/tizen/wearable/20150908.073735 submit/tizen/20150908.023008
Inkyun Kil [Mon, 7 Sep 2015 02:01:18 +0000 (11:01 +0900)]
Change rtc device (/dev/alarm -> /dev/rtc)

Change-Id: Ic13233579006d0e1c6ef49fe4b031868167dbced
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
8 years agoFix to check return value of pkgmgr-info api 47/47247/2 accepted/tizen/mobile/20150902.004401 accepted/tizen/tv/20150902.004416 accepted/tizen/wearable/20150902.004425 submit/tizen/20150901.101407
Sangyoon Jang [Tue, 1 Sep 2015 10:08:10 +0000 (19:08 +0900)]
Fix to check return value of pkgmgr-info api

check return value of pkgmgr-info api instead of checking handle value
use user specific pkgmgr-info api
fix indentation

Change-Id: I5b201484ef35ae1dcf9396f945abe68922fb54d6
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoUse dbus signal for sending expired noti to client 84/45284/1 accepted/tizen/mobile/20150812.110325 accepted/tizen/tv/20150812.110339 accepted/tizen/wearable/20150812.110352 submit/tizen/20150812.024336
Sangyoon Jang [Tue, 4 Aug 2015 10:23:43 +0000 (19:23 +0900)]
Use dbus signal for sending expired noti to client

In current implementation, each client register own dbus object to
receive alarm expired signal from alarm-server.
When an alarm expired, alarm-server finds service name(app or daemon) and
calls directly using dbus method call.
But using dbus signal is more reasonable, alarm-server can just emit
dbus signal to notify alarm expired.

Furthermore, in Tizen 3.0, if a service who doesn't have busconfig
cannot own name and send method call on system bus.

Change-Id: Ic6a3ea44046cc963ca3fc1b94c2433ff64e3e33a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoAdd missing guard macro 53/45153/1
Sangyoon Jang [Mon, 3 Aug 2015 05:35:08 +0000 (14:35 +0900)]
Add missing guard macro

Change-Id: I6985e630e97fe2c3d4e3c7030e99e997a0ae4d51
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix crash of alarm-server 82/43782/1 accepted/tizen/mobile/20150714.074905 accepted/tizen/tv/20150714.074911 accepted/tizen/wearable/20150714.074922 submit/tizen/20150714.022707
Sangyoon Jang [Tue, 14 Jul 2015 02:24:48 +0000 (11:24 +0900)]
Fix crash of alarm-server

add missing parameter

Change-Id: I2250bc988c0fb79060d46ae7a50f7e9cf711156f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoSupport multi-user feature 68/43568/3 accepted/tizen/mobile/20150713.110917 accepted/tizen/tv/20150713.110925 accepted/tizen/wearable/20150713.110934 submit/tizen/20150713.065427
Sangyoon Jang [Fri, 10 Jul 2015 07:04:28 +0000 (16:04 +0900)]
Support multi-user feature

each user can access own alarm only
add uid column to alarmmgr db

Change-Id: Ifaf117d56b2d93429001866c681610676dc828a4
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoalarm-manager : To fix bundle_decode error in _send_alarm_get_appsvc_info func. 50/43350/3 accepted/tizen/mobile/20150709.001758 accepted/tizen/tv/20150709.001818 accepted/tizen/wearable/20150709.001824 submit/tizen/20150708.125442
Myungki Lee [Wed, 8 Jul 2015 10:46:03 +0000 (19:46 +0900)]
alarm-manager : To fix bundle_decode error in _send_alarm_get_appsvc_info func.

Change-Id: I1132a8f3ddce9827501aa99f6691162fffd94be1
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoFix crash 07/43007/1 accepted/tizen/mobile/20150708.065807 accepted/tizen/tv/20150708.065814 accepted/tizen/wearable/20150708.065823 submit/tizen/20150707.063401
Sangyoon Jang [Tue, 7 Jul 2015 01:26:39 +0000 (10:26 +0900)]
Fix crash

Change-Id: Ic48a2147d00abbcd74fb0a65a44c21c6a07dc234
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoget caller unique name when caller is not application. 35/42335/2 accepted/tizen/mobile/20150702.104951 accepted/tizen/tv/20150702.105006 accepted/tizen/wearable/20150702.105020 submit/tizen/20150702.004900
Jiwoong Im [Fri, 26 Jun 2015 04:25:28 +0000 (13:25 +0900)]
get caller unique name when caller is not application.

Change-Id: I840fd79801d32fbeb7ae4ab582d6f274eae71761
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoRemoving wrong SmackProcessLabel 92/42292/1 accepted/tizen_3.0.2015.q2_common tizen_3.0.2015.q2_common accepted/tizen/3.0.2015.q2/common/20150625.094108 accepted/tizen/mobile/20150702.045118 accepted/tizen/tv/20150702.040021 accepted/tizen/wearable/20150702.040045 submit/tizen/20150701.232904 submit/tizen_3.0.2015.q2_common/20150625.094010
José Bollo [Thu, 25 Jun 2015 09:35:25 +0000 (11:35 +0200)]
Removing wrong SmackProcessLabel

Change-Id: I3762b0245fd4e0fcc02c36f18cc3b96a18e7c2e1
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
8 years agoGet caller pid from gdbus connection 24/40924/3 accepted/tizen/3.0.2015.q2/common/20150615.091850 accepted/tizen/common/20150612.065955 accepted/tizen/mobile/20150613.021328 accepted/tizen/tv/20150613.021343 accepted/tizen/wearable/20150613.021354 submit/tizen/20150611.102919 submit/tizen_3.0.2015.q2_common/20150615.075539
Sangyoon Jang [Wed, 10 Jun 2015 08:51:52 +0000 (17:51 +0900)]
Get caller pid from gdbus connection

caller doesn't need to send pid, alarm-manager gets caller's pid from
gdbus connection.

Change-Id: I70b88c6f4ae7e8428e9919a4f4c5a77324518bdf
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix alarm-manager.service 90/41090/1
Sangyoon Jang [Thu, 11 Jun 2015 07:35:07 +0000 (16:35 +0900)]
Fix alarm-manager.service

Change-Id: Ia83568686cc1459f145500a3b7892ed8113edf04
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix service file install dir for 64bit environment 80/41080/1
Sangyoon Jang [Thu, 11 Jun 2015 07:05:18 +0000 (16:05 +0900)]
Fix service file install dir for 64bit environment

use rpm systemd macro

Change-Id: I339bd9b03f18a0b0861817a654ccea95194b4013
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix alarm-service.pc file 64/41064/1
Sangyoon Jang [Thu, 11 Jun 2015 05:44:29 +0000 (14:44 +0900)]
Fix alarm-service.pc file

Change-Id: I198c15f56ba23ddc936cca7a48b2dbf3f0443519
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix build break on aarch64, clean up CMakeLists.txt 02/40402/2 submit/tizen/20150604.015042
Sangyoon Jang [Wed, 3 Jun 2015 10:18:29 +0000 (19:18 +0900)]
Fix build break on aarch64, clean up CMakeLists.txt

use macro instead of hardcoded path
set so version using package version
remove unused cmake variables
add visibility attribute on libalarm apis

Change-Id: Ic0b334d689909033bb700866f4a63e414bb413ff
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoUpdate source from Tizen 2.4 50/40050/2 submit/tizen/20150602.003342
Sangyoon Jang [Thu, 28 May 2015 08:15:46 +0000 (17:15 +0900)]
Update source from Tizen 2.4

TODO:
support multi-user

Change-Id: I5a4a3a46eb07df602131ffb5aee6126b7a9377ea
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoApply tizen 3.0 security infrastructure. 34/37634/6 accepted/tizen/common/20150414.100143 accepted/tizen/mobile/20150415.015122 accepted/tizen/tv/20150415.012644 accepted/tizen/wearable/20150415.013854 submit/tizen/20150414.040541
Jiwoong Im [Wed, 1 Apr 2015 11:47:06 +0000 (20:47 +0900)]
Apply tizen 3.0 security infrastructure.

- Remove security-server dependency.
- Modify dbus service configuration file to check privilege in D-bus daemon.
- Add missing privilege checks.

Change-Id: I9d08cc2a7233b2215fc273c320521ef288bc9a9c
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoMerge "modify alarm-service.conf" into tizen accepted/tizen/mobile/20150313.083949 accepted/tizen/tv/20150302.010509 accepted/tizen/tv/20150313.083824 accepted/tizen/wearable/20150313.083901 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
Suchang Woo [Wed, 25 Feb 2015 02:54:43 +0000 (18:54 -0800)]
Merge "modify alarm-service.conf" into tizen

9 years agomodify alarm-service.conf 35/35735/1
Jiwoong Im [Tue, 24 Feb 2015 06:16:36 +0000 (15:16 +0900)]
modify alarm-service.conf

modify alarm-service.conf in order that application send d-bus message
to alamr server.

Change-Id: Icc1d146d5d9e15538e250c4c47223b1a78a5bdf9
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoFix build break 56/33756/1
Sangyoon Jang [Wed, 14 Jan 2015 10:41:55 +0000 (19:41 +0900)]
Fix build break

Change-Id: I9e1c5b80f9556fb0229e564a6781966cb292a349
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix App svc API Call 22/33422/1
Baptiste DURAND [Fri, 9 Jan 2015 09:01:53 +0000 (10:01 +0100)]
Fix App svc API Call

Retreive the uid from the owner of PID proc file.
This permits to get the user that launched the app
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Change-Id: I6863537bdb105618bcd7b9c648f2cad7e333f6c4

9 years agoRemove macro %autogen for yocto compatibility 13/24113/3 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.m14.3_ivi tizen_3.0_ivi accepted/tizen/common/20140915.091257 submit/tizen_common/20140912.150039 submit/tizen_common/20140912.150451 submit/tizen_ivi/20140916.000000 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release tizen_3.0_ivi_release
Ronan Le Martret [Tue, 8 Jul 2014 13:54:43 +0000 (15:54 +0200)]
Remove macro %autogen for yocto compatibility

Also:
* Use macros
* Remove useless license related stuffs

Change-Id: I3bd3812dd3f8478989a6417010ef83f1f33ed3dc
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
10 years agoMerge "Remove executable bit from files that don't need it" into tizen tizen_3.0.m14.2_ivi submit/tizen_common/20140521.163740 submit/tizen_common/20140522.130648 submit/tizen_common/20140522.135644 submit/tizen_ivi/20140618.000000 submit/tizen_ivi/20140618.000001 submit/tizen_ivi/20140619.000000 submit/tizen_ivi/20140622.000000 submit/tizen_ivi/20140623.000000 submit/tizen_ivi/20140624.064036 submit/tizen_ivi/20140626.125712 submit/tizen_ivi/20140626.130032 submit/tizen_ivi/20140626.144348 tizen_3.0.m14.2_ivi_release
Semun Lee [Sat, 5 Apr 2014 02:55:15 +0000 (19:55 -0700)]
Merge "Remove executable bit from files that don't need it" into tizen

10 years agoChange license in spec file 86/17786/1 accepted/tizen_ivi_panda tizen_ivi_panda accepted/tizen/ivi/panda/20140403.015129 submit/tizen_ivi_panda/20140403.011835
Juhyeon Yun [Mon, 27 Jan 2014 06:02:54 +0000 (15:02 +0900)]
Change license in spec file

Signed-off-by: Juhyeon Yun <juhyeon.yun@samsung.com>
Change-Id: I6181eb91974097f9d1315ca5bf3d7554e38ad460

10 years agoChange license in spec file 85/17785/1
Juhyeon Yun [Wed, 15 Jan 2014 08:13:21 +0000 (17:13 +0900)]
Change license in spec file

Signed-off-by: Juhyeon Yun <juhyeon.yun@samsung.com>
Change-Id: I150f8358ab5990270e774dbf7db9af23b023059b

10 years agoAdd license file 84/17784/1
Jaeho Lee [Thu, 26 Sep 2013 06:11:18 +0000 (15:11 +0900)]
Add license file

Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>
Change-Id: I13bb0ddbd85563c09c56804685af12cb2905b693

10 years agoChange API from time to clock_gettime 83/17783/1
Jaeho Lee [Wed, 25 Sep 2013 04:51:11 +0000 (13:51 +0900)]
Change API from time to clock_gettime

Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>
Change-Id: Icd6cf363a8176bd970dfc7f7b6b96e28e654c09a

10 years agofix prevent issue 82/17782/1
Hyungdeuk Kim [Mon, 19 Aug 2013 08:24:05 +0000 (17:24 +0900)]
fix prevent issue

Change-Id: I2e00b1f3157eaf9341dd3b3bb60534a9b5c83acb

10 years agoPatch for multi-user architecture compliance. 67/15967/2
Amit Dharmapurikar [Mon, 3 Feb 2014 06:53:29 +0000 (12:23 +0530)]
Patch for multi-user architecture compliance.

The code has been chaged as per guidelines for Tizen-3.0 multi-user architecture.

Bug-Tizen: PTREL-314

Change-Id: Ib4462b2a85715f997b8754f32f9bc0eb9c4500d6
Signed-off-by: Amit Dharmapurikar <amit.vd@samsung.com>
10 years agoimprove packaging 46/10246/2 accepted/tizen/ivi/stable accepted/tizen_generic accepted/tizen/20131001.115935 accepted/tizen/20131001.164816 accepted/tizen/20131001.171632 accepted/tizen_ivi_stable/20131116.100800 submit/tizen/20131001.040329 submit/tizen_ivi_stable/20131116.100238
Anas Nashif [Wed, 25 Sep 2013 04:16:03 +0000 (00:16 -0400)]
improve packaging

- remove debian/
- reset manifest
- call /sbin/ldconfig
- cleanup dependencies
- install license using %license
- fixed rpm group
- do not install sysvinit scripts

Change-Id: I0ec30fa08a2fcc580f4d7de11239fa43ce5ae75a
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
10 years agoMerge branch 'tizen_2.2' into tizen
Anas Nashif [Wed, 25 Sep 2013 04:06:55 +0000 (00:06 -0400)]
Merge branch 'tizen_2.2' into tizen

Change-Id: I745d702d4a083a733deafe8a91aef219da9fcf8e
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
10 years agoRemove executable bit from files that don't need it 75/7875/1
Michael Leibowitz [Fri, 9 Aug 2013 10:13:23 +0000 (03:13 -0700)]
Remove executable bit from files that don't need it

Signed-off-by: Michael Leibowitz <michael.leibowitz@intel.com>
10 years agoadd code to check func ret for fixing prevent issue tizen_2.2
Hyungdeuk Kim [Thu, 1 Aug 2013 06:01:38 +0000 (15:01 +0900)]
add code to check func ret for fixing prevent issue

10 years agoMerge "packaging: append symlink to udev's rtc list" into tizen accepted/tizen/ivi/genivi tizen_ivi_genivi accepted/tizen/20130731.144214 accepted/tizen/20130912.081938 accepted/tizen/20130912.083203 accepted/tizen/20130912.093829 accepted/tizen/ivi/genivi/20140131.060002 ivi_oct_m2 submit/tizen/20130731.075225 submit/tizen/20130912.075532 submit/tizen_ivi_genivi/20140131.060218
Anas Nashif [Tue, 30 Jul 2013 20:17:12 +0000 (13:17 -0700)]
Merge "packaging: append symlink to udev's rtc list" into tizen

10 years agopackaging: append symlink to udev's rtc list 41/6041/2
Philippe Coval [Mon, 22 Jul 2013 11:50:28 +0000 (13:50 +0200)]
packaging: append symlink to udev's rtc list

Bug-Tizen: TZPC-3515 (Date&Time is restored to default after reboot)
Change-Id: I1f7104f7ea5d307f3074f913635435e726e32f61
Signed-off-by: Philippe Coval <philippe.coval@eurogiciel.fr>
10 years agopackaging: happend symlink to udev's rtc list 32/5932/1
Philippe Coval [Mon, 22 Jul 2013 11:50:28 +0000 (13:50 +0200)]
packaging: happend symlink to udev's rtc list

Bug-Tizen: TZPC-3515 (Date&Time is restored to default after reboot)
Signed-off-by: Philippe Coval <philippe.coval@eurogiciel.fr>
10 years agofixed get next duetime bug
Jaeho Lee [Thu, 4 Jul 2013 05:04:08 +0000 (14:04 +0900)]
fixed get next duetime bug

Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>
10 years agoadded caller appid
Jaeho Lee [Wed, 3 Jul 2013 09:34:32 +0000 (18:34 +0900)]
added caller appid

Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>
10 years agoAdd alarm-service dbus config 01/5301/2 accepted/tizen/20130701.225707 submit/tizen/20130701.230928
Rusty Lynch [Mon, 1 Jul 2013 21:30:03 +0000 (14:30 -0700)]
Add alarm-service dbus config

Without a dbus system config file, the alarm service is not allowed
to own the org.tizen.alarm.manager name on the system bus

Change-Id: Ic59829e064907f729bad8c61efcc42a5ae35c316

10 years agoChanges : Adding Gthread dependency in .pc file 84/3784/1 accepted/tizen/20130603.120957 submit/tizen/20130603.085756
Xavier Roche [Mon, 3 Jun 2013 08:52:38 +0000 (10:52 +0200)]
Changes : Adding Gthread dependency in .pc file

10 years agoAdding Gthread dependency in .pc file 83/3783/1
Xavier Roche [Mon, 3 Jun 2013 08:49:54 +0000 (10:49 +0200)]
Adding Gthread dependency in .pc file

  - adding gthread-2.0 dependency in alarm-service.pc.in

10 years agoChanges: Fix x86_64 build-install compliance 65/3765/1
Xavier Roche [Thu, 30 May 2013 10:10:17 +0000 (12:10 +0200)]
Changes: Fix x86_64 build-install compliance

10 years agoFix x86_64 build-install compliance 90/3690/1
Xavier Roche [Tue, 28 May 2013 13:42:36 +0000 (15:42 +0200)]
Fix x86_64 build-install compliance

  - Use unitdir macro to set default systemd path

10 years agoFix destination name
SeungYeup Kim [Tue, 28 May 2013 13:26:05 +0000 (22:26 +0900)]
Fix destination name

10 years agoFix an 1-sec delay issue
Sunwook Bae [Tue, 28 May 2013 07:23:32 +0000 (16:23 +0900)]
Fix an 1-sec delay issue

Change-Id: I9561ec13dc4f08a1ae77f630409f88af1718115a
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
10 years agoCheck privilege by smack (disabled)
SeungYeup Kim [Mon, 27 May 2013 08:50:14 +0000 (17:50 +0900)]
Check privilege by smack (disabled)

10 years agoallow delayed expire up to 10 seconds
SeungYeup Kim [Mon, 27 May 2013 08:17:42 +0000 (17:17 +0900)]
allow delayed expire up to 10 seconds
Fix start and end time setting

10 years agoFix a dbus name issue
Sunwook Bae [Mon, 27 May 2013 08:20:08 +0000 (17:20 +0900)]
Fix a dbus name issue

Change-Id: I8ed757a0aa39fc2b92b109823621a18e694c1d27
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
11 years agolink error fix
SeungYeup Kim [Wed, 22 May 2013 08:22:23 +0000 (17:22 +0900)]
link error fix

11 years agoadd alarmmgr_get_next_duetime api
SeungYeup Kim [Wed, 22 May 2013 01:16:00 +0000 (10:16 +0900)]
add alarmmgr_get_next_duetime api

11 years agodo not call deprecated functions accepted/tizen/20130520.103543 submit/tizen/20130517.195558
Anas Nashif [Fri, 17 May 2013 19:55:23 +0000 (15:55 -0400)]
do not call deprecated functions

11 years agoadd AM_PROG_AR and AM_PROG_AR to satisfy new automake accepted/tizen/20130520.103556 submit/tizen/20130517.180248
Anas Nashif [Fri, 17 May 2013 18:02:30 +0000 (14:02 -0400)]
add AM_PROG_AR and AM_PROG_AR to satisfy new automake

11 years agoMerge branch 'master' into tizen_2.1 tizen_2.1 accepted/tizen/20130520.100857 submit/tizen/20130517.044749 submit/tizen_2.1/20130514.050845
Jaeho Lee [Mon, 6 May 2013 07:09:27 +0000 (16:09 +0900)]
Merge branch 'master' into tizen_2.1

Conflicts:
packaging/alarm-manager.spec

added new API

Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>
11 years agoSet rtc seconds value
SeungYeup Kim [Mon, 6 May 2013 01:40:32 +0000 (10:40 +0900)]
Set rtc seconds value

11 years agoset rtc time when time is changed externally 2.1b_release accepted/tizen_2.1/20130425.035508 submit/tizen_2.1/20130424.230734
SeungYeup Kim [Thu, 18 Apr 2013 00:38:12 +0000 (09:38 +0900)]
set rtc time when time is changed externally

11 years agoSupport external time change
SeungYeup Kim [Wed, 17 Apr 2013 09:43:19 +0000 (18:43 +0900)]
Support external time change

11 years agoadded new API
Jaeho Lee [Sat, 6 Apr 2013 02:44:43 +0000 (11:44 +0900)]
added new API

Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>
Change-Id: I6976af716e759424066beb9098ae6f47366bfa20

11 years agoAdding rtc1->rtc0 symlink, so alarm-manager will work on PR3,
Brad Peters [Wed, 20 Mar 2013 21:40:48 +0000 (14:40 -0700)]
Adding rtc1->rtc0 symlink, so alarm-manager will work on PR3,
which has only one rtc

Change-Id: I3b9a1e892700d59e2a9f840558c1606f708f3f52

11 years agoMerge branch 'master' into tizen_2.1
Jaeho Lee [Fri, 29 Mar 2013 02:14:51 +0000 (11:14 +0900)]
Merge branch 'master' into tizen_2.1

added a type

Conflicts:
packaging/alarm-manager.spec

Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>
11 years agoMerge branch 'master' into tizen_2.1
Jaeho Lee [Wed, 20 Mar 2013 07:57:52 +0000 (16:57 +0900)]
Merge branch 'master' into tizen_2.1

added a type

Conflicts:
alarm-server.manifest
packaging/alarm-manager.spec

Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>