platform/core/appfw/alarm-manager.git
4 years agoRelease version 0.11.2 87/231787/1 accepted/tizen/unified/20200426.224121 submit/tizen/20200424.065013
Inkyun Kil [Fri, 24 Apr 2020 06:44:24 +0000 (15:44 +0900)]
Release version 0.11.2

Changes:
-  Call tzset() before localtime_r()

Change-Id: Ie1cd72a1fd25e9c817309deb2eb213447692fbe9
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoCall tzset() before localtime_r() 75/231775/1
Inkyun Kil [Fri, 24 Apr 2020 06:10:08 +0000 (15:10 +0900)]
Call tzset() before localtime_r()

Change-Id: Ie84caf99f43b4d5dc0da5b40c03320cb83fbe7c1
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoRelease version 0.11.1 03/231403/1 accepted/tizen/unified/20200423.054518 submit/tizen/20200422.030817
Inkyun Kil [Wed, 22 Apr 2020 00:30:23 +0000 (09:30 +0900)]
Release version 0.11.1

Changes:
- Fix build break for unittest
- Fix build gcov issue

Change-Id: Ib634426d5af99db1ab6eb476bb64b7b6e8e89d64
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoFix build gcov issue 99/231399/1
Inkyun Kil [Tue, 21 Apr 2020 23:57:53 +0000 (08:57 +0900)]
Fix build gcov issue

Change-Id: I11909c10c63ab1b2f948d2e4b1f8e3aff230ec84
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoFix build break for unittest 84/223484/4
Inkyun Kil [Thu, 30 Jan 2020 07:34:56 +0000 (16:34 +0900)]
Fix build break for unittest

Change-Id: I6d88d45dd1d374e8b465f4ab3340fca8f9c532cf
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoRelease version 0.11.0 23/226123/1 accepted/tizen/unified/20200302.125755 submit/tizen/20200227.043212 submit/tizen/20200301.234443
Inkyun Kil [Thu, 27 Feb 2020 04:30:17 +0000 (13:30 +0900)]
Release version 0.11.0

Changes:
- Change Inexact interval to 15minutes

Change-Id: I095c629228bd15f175b48eb8ee46114b03324432
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoChange Inexact interval to 15minutes. 63/221663/4
Inkyun Kil [Mon, 6 Jan 2020 08:16:48 +0000 (17:16 +0900)]
Change Inexact interval to 15minutes.

Change-Id: I0f4cc40da7a5ef7d96d2d217bc792229c9505147
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoRelease version 0.10.7 67/225667/1 accepted/tizen/unified/20200225.224256 submit/tizen/20200224.004835
Jusung Son [Mon, 24 Feb 2020 00:51:25 +0000 (09:51 +0900)]
Release version 0.10.7

changes:
  - Fix side effect for 604058d2539209cf9d75dcdba6ea32a965bded90
  - To prevent the absence of RTC at some profile

Change-Id: I85a2d9a67d5bc64c18e583cf9c47dc0aa36d8fd9
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
4 years agoFix side effect for 604058d2539209cf9d75dcdba6ea32a965bded90 12/225412/1
Inkyun Kil [Wed, 19 Feb 2020 23:57:17 +0000 (08:57 +0900)]
Fix side effect for 604058d2539209cf9d75dcdba6ea32a965bded90

Change-Id: I380c5211da2bf202429c2d21f6ee2895a57ce228
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoTo prevent the absence of RTC at some profile 71/223971/2
Inkyun Kil [Wed, 5 Feb 2020 08:04:23 +0000 (17:04 +0900)]
To prevent the absence of RTC at some profile

Change-Id: Iaaeb5b9b4c316da5ba5bec9f3d03a2400f5a8faf
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoRelease version 0.10.6 75/224475/1 submit/tizen/20200211.014002
Inkyun Kil [Tue, 11 Feb 2020 01:21:32 +0000 (10:21 +0900)]
Release version 0.10.6

changes:
- Fix static analysis

Change-Id: I3db8fcaece1650250784e09c57a848356e8a547d
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoFix static analysis 65/224365/2
Inkyun Kil [Mon, 10 Feb 2020 06:25:13 +0000 (15:25 +0900)]
Fix static analysis

Change-Id: I810a27eaf80ad5478f098f0f241232f8ba97c3f3
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoRelease version 0.10.5 35/223435/3 accepted/tizen/unified/20200204.125920 submit/tizen/20200130.035504
Inkyun Kil [Thu, 30 Jan 2020 00:26:51 +0000 (09:26 +0900)]
Release version 0.10.5

Changes:
- Add plugin for alarm-server
- Change some logs
- Change default RTC
- Improve readability of alarm info structure

Change-Id: I3129b178ba5da10971204c67fdbb5dbfebe84c74
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoImprove readability of alarm info structure 25/223325/4
Jusung Son [Tue, 28 Jan 2020 23:30:29 +0000 (08:30 +0900)]
Improve readability of alarm info structure

Change-Id: I013e309765bbf8823157e8a2a770cc12be16c8c5
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
4 years agoChange default RTC 05/223005/4
Inkyun Kil [Wed, 22 Jan 2020 05:40:08 +0000 (14:40 +0900)]
Change default RTC

Change-Id: I8a5ac3adeaf2fcbd39fda776642f35af4e1150ef
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoChange some logs 99/223099/4
Inkyun Kil [Thu, 23 Jan 2020 01:04:40 +0000 (10:04 +0900)]
Change some logs

Change-Id: I0e691bdae6e50a2c420af77321acd94c1ab04e1c
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoAdd plugin for alarm-server 14/220014/27
mk5004.lee [Thu, 12 Dec 2019 09:31:57 +0000 (18:31 +0900)]
Add plugin for alarm-server

- To sync with tizen_wearable branch
  server/plugin/platform

Change-Id: If8cadd532bd7735d99b4c515cf4a22d02edbb36e
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoRelease version 0.10.4 57/222857/1 accepted/tizen/unified/20200123.005023 submit/tizen/20200121.020948
Inkyun Kil [Tue, 21 Jan 2020 01:50:50 +0000 (10:50 +0900)]
Release version 0.10.4

Changes:
- Fix static analysis
- Remove WITH_CB alarm when process was killed

Change-Id: I2b69d0dc850379356cd5f7b6afac00f672b13ce0
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoFix static analysis 21/222621/1
Inkyun Kil [Fri, 17 Jan 2020 00:32:44 +0000 (09:32 +0900)]
Fix static analysis

Change-Id: I0641ee2149fdfb995197a74d7440fb402ae1564c
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoRemove WITH_CB alarm when process was killed 56/222156/6
Inkyun Kil [Fri, 10 Jan 2020 04:30:21 +0000 (13:30 +0900)]
Remove WITH_CB alarm when process was killed

Change-Id: Ic3c60f049ab409bcfe4cb7e2454a12f02c55721d
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoMerge "FIx side effect for 'Dispensables'" into tizen
Inkyun Kil [Mon, 13 Jan 2020 23:50:34 +0000 (23:50 +0000)]
Merge "FIx side effect for 'Dispensables'" into tizen

4 years agoRelease version 0.10.3 53/222053/1 accepted/tizen/unified/20200110.123526 submit/tizen/20200109.090149
Jusung Son [Thu, 9 Jan 2020 08:52:09 +0000 (17:52 +0900)]
Release version 0.10.3

Changes:
  - Fix build warning based on GCC-9
  - Add alarm-manager database version control
  - Move 'mock' directory
  - Add unittests
  - Change gettimeofday to clock_gettime

Change-Id: I16d1933c97e16f38a5b61771484167a161f9c192
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
4 years agoFIx side effect for 'Dispensables' 09/221909/1
Inkyun Kil [Wed, 8 Jan 2020 07:42:02 +0000 (16:42 +0900)]
FIx side effect for 'Dispensables'

Although period is zero, INEXACT alarm should be repeated alarm.

Change-Id: I60c42c71f5a5a0a9fca04c67e0b9c1cf9ab7b3cd
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoFix build warning based on GCC-9 10/221410/2
Inkyun Kil [Thu, 2 Jan 2020 06:44:10 +0000 (15:44 +0900)]
Fix build warning based on GCC-9

Change-Id: I19670cfd2e7a26f2d2ec68910d2005acc5e6369d
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoAdd alarm-manager database version control 34/216434/6
Inkyun Kil [Wed, 28 Aug 2019 08:20:17 +0000 (17:20 +0900)]
Add alarm-manager database version control

Change-Id: I0ebbb8bb013e13e0e847c9910fb2f4ef5e4ae19a
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
4 years agoMove 'mock' directory 87/218787/1
Inkyun Kil [Thu, 28 Nov 2019 06:31:16 +0000 (15:31 +0900)]
Move 'mock' directory

Change-Id: I91505e4474fe7ac530b868fc759854a3e726ef2f

4 years agoAdd unittests 42/217042/5
Inkyun Kil [Wed, 6 Nov 2019 00:36:42 +0000 (09:36 +0900)]
Add unittests

Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Change-Id: I817be7d100eb5007b044fa1263a3ea5e1c488aac

4 years agoChange gettimeofday to clock_gettime 80/216580/2
Inkyun Kil [Tue, 29 Oct 2019 06:28:17 +0000 (15:28 +0900)]
Change gettimeofday to clock_gettime

Change-Id: Iafa02a659985ca406de4f96f26aa3a981182ed3b
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoRelease version 0.10.2 56/216656/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix tizen_5.5_tv accepted/tizen/5.5/unified/20191113.123249 accepted/tizen/5.5/unified/mobile/hotfix/20201027.065619 accepted/tizen/unified/20191031.000055 submit/tizen/20191030.062730 submit/tizen_5.5/20191112.005332 submit/tizen_5.5_mobile_hotfix/20201026.185102
Inkyun Kil [Wed, 30 Oct 2019 06:24:24 +0000 (15:24 +0900)]
Release version 0.10.2

Changes:
- Fix memory leak
- This is for reverting "tizen: Add additional unit for "unified" user session"

Change-Id: Iaba35b7d678f8118148858063c5d76b69ae7700b
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoFix memory leak 53/216653/1
Jusung Son [Wed, 30 Oct 2019 06:09:41 +0000 (15:09 +0900)]
Fix memory leak

Change-Id: I616a8ae3b5d382ade36acb6afd7bcbf053180aea
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
5 years agoThis is for reverting "tizen: Add additional unit for "unified" user 31/216631/1
Inkyun Kil [Wed, 30 Oct 2019 00:54:26 +0000 (09:54 +0900)]
This is for reverting "tizen: Add additional unit for "unified" user
session"

There was code duplication in the process of merging code

Change-Id: I67c2d5f746e41a7a67bfc137302b40dd6da0e2f4
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoRelease version 0.10.1 41/216341/1 accepted/tizen/5.5/unified/20191031.031107 accepted/tizen/unified/20191023.142627 submit/tizen/20191023.131405 submit/tizen_5.5/20191031.000002 tizen_5.5.m2_release
Sangyoon Jang [Wed, 23 Oct 2019 13:11:54 +0000 (22:11 +0900)]
Release version 0.10.1

Changes:
 - Fix to return error code properly when dbus call failed

Change-Id: I1c6b86b1e1b5773584c983319b18fbf28031f820
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoFix to return error code properly when dbus call failed 38/216338/3
Sangyoon Jang [Wed, 23 Oct 2019 11:48:56 +0000 (20:48 +0900)]
Fix to return error code properly when dbus call failed

Change-Id: I87e2185e992705013149ba9b42224fad7da05098
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoRelease version 0.10.0 40/216140/2 accepted/tizen/unified/20191021.220226 submit/tizen/20191021.091508
Inkyun Kil [Mon, 21 Oct 2019 08:54:19 +0000 (17:54 +0900)]
Release version 0.10.0

Changes:
- Fix static analysis
- Merge branch 'feature/refactor_v1' into tizen
|- Call device display lock before attempting to set time
|- Splits long function
|- Remove duplicated codes
|- Fix localtime issue for adjusting milliseconds
|- Fix bug for checking flag of appid
|- Add logs for invalid parameters
|- Fix bug for adding alarm
|- Handle zombie alarm
|- Change return values
|- Adjusting millisecond
|- Remove outdated alarms
|- Improve logs
|- Fix wrong return value
|- To handle RTC reset
|- Fix bug for time_t overflow
|- Simplify logs
|- Move codes
|- Check return codes
|- Tidy source code up slightly
|- Refactoring dbus codes
|- Separate util codes from alarm-manager.c
|- Arrange db codes
|- Dispensables
|- Adds unittest for alarm-manager daemon
|- Fix warning and add codes for GCOV
|- refactoring build script for Gtest

Change-Id: I65c458c85951f3162b99a36b9d1ddcf655bd73cf
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoFix static analysis 58/215958/2
Inkyun Kil [Fri, 18 Oct 2019 02:39:42 +0000 (11:39 +0900)]
Fix static analysis

Change-Id: I43835504bdcd932365c54ba92fe602673d4b4258
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoMerge branch 'feature/refactor_v1' into tizen 54/215954/1
Inkyun Kil [Fri, 18 Oct 2019 01:56:19 +0000 (10:56 +0900)]
Merge branch 'feature/refactor_v1' into tizen

Change-Id: Iaa9e5255cd8ba5163cd7a28e85284dc041bbdb84

5 years agoCall device display lock before attempting to set time 46/215946/1 feature/refactor_v1
Inkyun Kil [Fri, 18 Oct 2019 01:34:02 +0000 (10:34 +0900)]
Call device display lock before attempting to set time

Change-Id: I7f218d3068452715dcd90e3b439ddf74ac9f2991
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoSplits long function 39/214839/4
Inkyun Kil [Fri, 27 Sep 2019 04:18:31 +0000 (13:18 +0900)]
Splits long function

Change-Id: I9993f1d900d8b3f3875dc73c4dffcaedbf1637a0
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoRemove duplicated codes 31/214731/5
Inkyun Kil [Thu, 26 Sep 2019 01:38:26 +0000 (10:38 +0900)]
Remove duplicated codes

Change-Id: I4440cdef749a1fc1caa01b6e247c5392ef4a8e9f
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
5 years agoFix localtime issue for adjusting milliseconds 70/214470/2
Inkyun Kil [Mon, 23 Sep 2019 06:53:31 +0000 (15:53 +0900)]
Fix localtime issue for adjusting milliseconds

Change-Id: I49de2b22e4701e6c99893bb016176b8b91a5512c
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoFix bug for checking flag of appid 25/214325/2
Inkyun Kil [Fri, 20 Sep 2019 07:46:04 +0000 (16:46 +0900)]
Fix bug for checking flag of appid

Change-Id: I2ce4c4b1c047f04a65d17e3681a049af2f6e0c03
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoAdd logs for invalid parameters 24/214324/1
Inkyun Kil [Fri, 20 Sep 2019 07:32:51 +0000 (16:32 +0900)]
Add logs for invalid parameters

Change-Id: I1a4819fd6ac2ce57b0c7f05f19a4bb37377b49d0
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoFix bug for adding alarm 24/214224/1
Inkyun Kil [Thu, 19 Sep 2019 04:51:25 +0000 (13:51 +0900)]
Fix bug for adding alarm

Change-Id: Ic8e0f9f23af25838a4f3ea7abd7bb6a7dc815c75
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoHandle zombie alarm 32/214132/3
Inkyun Kil [Wed, 18 Sep 2019 08:31:31 +0000 (17:31 +0900)]
Handle zombie alarm

 - If G_DBUS_ERROR_SERVICE_UNKNOWN error occurs, exclude it from alarm
 schedule list.

Change-Id: I6d68207282e3d6f9e44c11c44c3f9ef3bc101d81
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoChange return values 31/214131/3
Inkyun Kil [Wed, 18 Sep 2019 04:16:33 +0000 (13:16 +0900)]
Change return values

- When registering once alarm with wrong time, return false.

Change-Id: I016fc294f40a6825e228c4d9193e9e2596233092
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoAdjusting millisecond 30/214130/3
Inkyun Kil [Mon, 9 Sep 2019 07:38:56 +0000 (16:38 +0900)]
Adjusting millisecond

- When the millisecond part of the current_time is bigger than 500ms,
  adds extra 1sec

Change-Id: Ibf30d91c5361db0a2a732d05b014628d59d27ada
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoRemove outdated alarms 29/214129/4
Inkyun Kil [Wed, 18 Sep 2019 01:34:01 +0000 (10:34 +0900)]
Remove outdated alarms

- When system time is changed or alarm is outdated unintentionally,
      some alarms should be removed

Change-Id: I14a67fe86f08c636df65b073569f517e9300f1e9
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoImprove logs 28/214128/4
Inkyun Kil [Fri, 30 Aug 2019 01:58:57 +0000 (10:58 +0900)]
Improve logs

Change-Id: I17bc94488338ce9dfa8c45b284a477ce007c112f
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
5 years agoRelease version 0.8.4 08/213708/1 accepted/tizen/unified/20190911.111646 submit/tizen/20190910.091610
Jusung Son [Tue, 10 Sep 2019 09:09:49 +0000 (18:09 +0900)]
Release version 0.8.4

Changes:
 - Fix dbus policy to allow signal send by default
 - Use SocketMode= insted of chmod

Change-Id: I29d0eb687b04a7607613dc43f7e18dbed30e83a2
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
5 years agoFix dbus policy to allow signal send by default 05/213705/2
Hyotaek Shim [Tue, 10 Sep 2019 09:00:44 +0000 (18:00 +0900)]
Fix dbus policy to allow signal send by default

to avoid unexpected denial on ALARM prefix users

Jan 01 21:46:26 localhost dbus[2521]: [system] Rejected send message, 2 matched rules;
type="signal", sender=":1.5" (uid=0 pid=2494 comm="/usr/sbin/actd ") interface="org.tizen.system.Booting"
member="BootingDone" error name="(unset)" requested_reply="0" destination="dpm.analytics" privilege="(n/a)"
(bus) rule(<deny send_path="/org/tizen/system" send_interface="org.tizen.system.Booting"
send_member="BootingDone" send_type="error" />)

Change-Id: I38aaf83bce28a3152522cec491fd2f89cdbfc984
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
5 years agoFix wrong return value 41/213241/2
Jusung Son [Tue, 3 Sep 2019 07:13:48 +0000 (16:13 +0900)]
Fix wrong return value

Change-Id: I2ab2345f1a1e096f45ad2c8f33c11630b1a10a60
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
5 years agoTo handle RTC reset 05/213005/3
Jusung Son [Thu, 29 Aug 2019 07:25:14 +0000 (16:25 +0900)]
To handle RTC reset

Change-Id: I1df2d762b1e6ec50f1aa4be3cb415153b5f3881e
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
5 years agoFix bug for time_t overflow 65/212965/2
Jusung Son [Thu, 29 Aug 2019 01:54:25 +0000 (10:54 +0900)]
Fix bug for time_t overflow

- time_t is long type but dbus arg is integer type

Change-Id: Ied5c2cd5b5aa4cd2a64ed2afdc707ec488c5f87f
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
5 years agoUse SocketMode= insted of chmod 00/212800/2
INSUN PYO [Tue, 27 Aug 2019 03:08:02 +0000 (12:08 +0900)]
Use SocketMode= insted of chmod

Change-Id: Ie6310d027621e1b665838c18ed12814b9b9e75a9

5 years agoRelease version 0.8.3 89/212689/1 accepted/tizen/unified/20190905.112939 submit/tizen/20190903.013210 submit/tizen/20190904.231314
Inkyun Kil [Mon, 26 Aug 2019 06:00:46 +0000 (15:00 +0900)]
Release version 0.8.3

Changes:
- Revert "tizen: Add additional unit for "unified" user session"
- Fix relative alarm calibration bug when changing system time

Change-Id: I1274d12e9d1761761cf71086361b57ccf1074a25
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoRevert "tizen: Add additional unit for "unified" user session" 01/212301/2
Yunmi Ha [Tue, 20 Aug 2019 07:18:36 +0000 (07:18 +0000)]
Revert "tizen: Add additional unit for "unified" user session"

This reverts commit cc2ed40cbc75ac348b7145e93cdbee7d79663f50.

We've optimized systemd-user without unified system/session.
So, we revert the patch for unified system/session.

Change-Id: I57a556f59b197f91d5443247109ae2efd43e7c61

5 years agoSimplify logs 60/212460/1
Inkyun Kil [Wed, 21 Aug 2019 08:34:36 +0000 (17:34 +0900)]
Simplify logs

Change-Id: I711418b2e270dfddd842373805f0f8b2700a809b
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoMove codes 02/210602/2
Inkyun Kil [Tue, 23 Jul 2019 01:57:20 +0000 (10:57 +0900)]
Move codes

- Move codes related to timer from alarm-manager.c to
alarm-manager-timer.c

Change-Id: I9ce2bcc3de74391f45e2bd47ac41626f994bd9eb
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoCheck return codes 91/210591/9
Inkyun Kil [Tue, 23 Jul 2019 00:50:33 +0000 (09:50 +0900)]
Check return codes

- Remove meaningless return codes
- Check return value

Change-Id: Ifff8038f5b70acc3ba11ec0ea5b8f05e80339ddf
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoFix relative alarm calibration bug when changing system time 96/211896/1
Jusung Son [Mon, 12 Aug 2019 01:33:00 +0000 (10:33 +0900)]
Fix relative alarm calibration bug when changing system time

Change-Id: Ic4bac088492d85dc0f583097b6e5a07c3d9bd604
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
5 years agoRelease version 0.8.2 93/211293/1 accepted/tizen/unified/20190802.111401 submit/tizen/20190801.072128
Inkyun Kil [Thu, 1 Aug 2019 07:18:21 +0000 (16:18 +0900)]
Release version 0.8.2

Changes:
- Fix bugs for getting null notification data

Change-Id: Id3a46bd9ef3d187884da06dd3a1323273cb992d5
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoFix bugs for getting null notification data 88/211288/1
Inkyun Kil [Thu, 1 Aug 2019 06:51:08 +0000 (15:51 +0900)]
Fix bugs for getting null notification data

Change-Id: I7c35684ddd98c0e364cd76f352768cd7ba55bfea
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoTidy source code up slightly 60/210360/7
Inkyun Kil [Thu, 18 Jul 2019 08:25:33 +0000 (17:25 +0900)]
Tidy source code up slightly

- Remove needless code
- Tidy a function up
- Remove codes related to pid
- Change value of max appid length

Change-Id: If73cf2ad02e79cb3932757c98744b55a8a5e65c3
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoRefactoring dbus codes 47/208747/9
Inkyun Kil [Fri, 28 Jun 2019 01:54:31 +0000 (10:54 +0900)]
Refactoring dbus codes

- Separate dbus codes from alarm-manager.c
- Remove gdbus codegen

Change-Id: Id2fc8e4c9048e01c00566d6f1d9ef9dd2d8a5dcc
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoSeparate util codes from alarm-manager.c 56/209156/5
Inkyun Kil [Wed, 3 Jul 2019 04:54:55 +0000 (13:54 +0900)]
Separate util codes from alarm-manager.c

Change-Id: I0f5ef6d8db2a84b71ea1fb2d5c18f6514ceccc39
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoArrange db codes 68/206868/3
Inkyun Kil [Tue, 28 May 2019 09:21:16 +0000 (18:21 +0900)]
Arrange db codes

Change-Id: I16f965adfcc13aeb1a59d083e4124fadee1f43b1
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoDispensables 04/203504/6
Inkyun Kil [Mon, 15 Apr 2019 07:10:51 +0000 (16:10 +0900)]
Dispensables

- Remove needless comments
- Remove dead codes
- Remove duplicated codes

Change-Id: I6c7400e58551bf73d99e5c3b4fe64e476b097c92
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoAdds unittest for alarm-manager daemon 26/206526/9
Inkyun Kil [Tue, 21 May 2019 02:51:06 +0000 (11:51 +0900)]
Adds unittest for alarm-manager daemon

Change-Id: Ie1c6a63b14223f5424602f1dc9efa09965c66c0a
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoFix warning and add codes for GCOV 25/206525/4
Inkyun Kil [Tue, 21 May 2019 02:48:15 +0000 (11:48 +0900)]
Fix warning and add codes for GCOV

Change-Id: I9be01e028dbfdb794990216f2d3c6fa3a73a77a3
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agorefactoring build script for Gtest 81/190181/11
Youngjae Shin [Wed, 18 Oct 2017 07:16:35 +0000 (16:16 +0900)]
refactoring build script for Gtest

Change-Id: Ie14bf7e0d0dfcf4f9f96ded51a183692d336b612
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Signed-off-by: jusung son <jusung07.son@samsung.com>
5 years agoRelease version 0.8.1 82/205282/1 accepted/tizen/unified/20190503.075032 submit/tizen/20190502.044046
Junghoon Park [Thu, 2 May 2019 04:16:54 +0000 (13:16 +0900)]
Release version 0.8.1

Changes:
 - Add an exception handling about getting system info
 - tizen: Add additional unit for "unified" user session

Change-Id: Ib9e8937eb137c604097a7b3004dbcdc56df9b5c6
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agotizen: Add additional unit for "unified" user session 26/204126/2
Mateusz Moscicki [Fri, 19 Apr 2019 08:28:46 +0000 (10:28 +0200)]
tizen: Add additional unit for "unified" user session

The unified user session is about moving user session units, managed by
systemd --user, to main systemd, where it's managed as part of newly
created user@.target.

user@.target will contain same units as previously available in user/,
with same UID and environment setup.  systemd instance is used for unit
to be able to specify UID (inherited from user@.target).

The rationale behind this work is following:

* TV profile would benefit from remove user session support
* boot time optimization requirements, due to:

   + 'systemd --user' taking 1s its own startup that could be used for
     unit startup
   + ability to better rearrange units if these managed by one systemd
     instance

Unit installed by this commit will not be used till user login mechanism
will be changed in systemd package (via changing pam_systemd to start
user@.target, rather than user@.service).

Change-Id: Ie65e0d078f4e4ce09c753f9ea1983b08d397bfa7

5 years agoAdd an exception handling about getting system info 03/199203/2
Hwankyu Jhun [Thu, 7 Feb 2019 06:52:55 +0000 (15:52 +0900)]
Add an exception handling about getting system info

Change-Id: I355c00af16481c4dc5f96d705bf2a39373e638de
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.8.0 36/198036/1 accepted/tizen/unified/20190128.061236 submit/tizen/20190118.020813
Inkyun Kil [Fri, 18 Jan 2019 01:56:44 +0000 (10:56 +0900)]
Release version 0.8.0

Changes:
- Modify dbus-policy to specify send_destination_prefix

Change-Id: I2e00b81fc48eabf66bc99f8c1bb53ccde09a1bcf
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoModify dbus-policy to specify send_destination_prefix 65/197065/6
Inkyun Kil [Wed, 9 Jan 2019 07:06:56 +0000 (16:06 +0900)]
Modify dbus-policy to specify send_destination_prefix

Change-Id: I961f57bf47fd618ea3f2f004e0f4f92dfb8ca762
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoRelease version 0.7.12 45/197645/1 accepted/tizen/unified/20190115.173212 submit/tizen/20190115.015252
Inkyun Kil [Tue, 15 Jan 2019 01:49:58 +0000 (10:49 +0900)]
Release version 0.7.12

Changes:
 - Remove unnecessary calling method function
 - Fix bug for fixing the api dbus initialized issue
 - Fix bug for updating alarm with Date

Change-Id: I6214e328253551fb03c2887c2ad967693594797e
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoRemove unnecessary calling method function 40/197640/2
Inkyun Kil [Tue, 15 Jan 2019 01:32:27 +0000 (10:32 +0900)]
Remove unnecessary calling method function

Change-Id: Id8fa10439a93524378ec26760e7220d16c24d8cc
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoFix bug for fixing the api dbus initialized issue 66/196266/2
Inkyun Kil [Thu, 27 Dec 2018 01:50:01 +0000 (10:50 +0900)]
Fix bug for fixing the api dbus initialized issue

Change-Id: Ie3fc08edbb868a3da2cc266aeb2d9cc8f5fef741
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoFix bug for updating alarm with Date 11/195411/2
Inkyun Kil [Thu, 13 Dec 2018 08:34:52 +0000 (17:34 +0900)]
Fix bug for updating alarm with Date

Change-Id: I73a52604577709ff7e1bfa9755dca7525b8a85e6
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRelease version 0.7.11 40/190440/1 accepted/tizen/5.0/unified/20181102.014253 accepted/tizen/unified/20181005.012552 submit/tizen/20181002.051033 submit/tizen_5.0/20181101.000002
Inkyun Kil [Tue, 2 Oct 2018 05:03:26 +0000 (14:03 +0900)]
Release version 0.7.11

- Fix static analysis issue

Change-Id: I843eaef340284318656b530a77d1bd3478566f11
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoFix static analysis issue 27/190427/1
Inkyun Kil [Tue, 2 Oct 2018 00:56:20 +0000 (09:56 +0900)]
Fix static analysis issue

- Return value

Change-Id: I5b27cf0649db241273ed6176871265b302bec66f
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRelease version 0.7.10 40/190140/1 accepted/tizen/unified/20180928.080605 submit/tizen/20180927.090839 submit/tizen/20180927.231628
Hwankyu Jhun [Thu, 27 Sep 2018 08:58:59 +0000 (17:58 +0900)]
Release version 0.7.10

Changes:
 - Modified dbus policy

Change-Id: I3e65a1919dc055e34b2e85e4e74e74e073643d4b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoModified dbus policy 35/190135/1
Hwankyu Jhun [Thu, 27 Sep 2018 08:32:10 +0000 (17:32 +0900)]
Modified dbus policy

Change-Id: I88312154fb5bc3bda7097d720d54056b28c64dd7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.7.9 96/189896/1 accepted/tizen/unified/20180924.092028 submit/tizen/20180921.104929
Hwankyu Jhun [Fri, 21 Sep 2018 10:47:56 +0000 (19:47 +0900)]
Release version 0.7.9

Changes:
 - Add a new dbus policy

Change-Id: I47f0df0499f53bb7c161082a92c1934bd5451769
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdd a new dbus policy 93/189893/1
Hwankyu Jhun [Fri, 21 Sep 2018 10:43:53 +0000 (19:43 +0900)]
Add a new dbus policy

- Adds a dbus policy about alarm_create_periodic method call

Change-Id: I23d5a330b1e41da6b0d90557b51017d9b9f0a281
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.7.8 90/189890/1 submit/tizen/20180921.101059
Hwankyu Jhun [Fri, 21 Sep 2018 10:08:21 +0000 (19:08 +0900)]
Release version 0.7.8

Changes:
 - Adjust dbus policy

Change-Id: Ibd62585bab959f912cec07b5ca5425879356f8e4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdjust dbus policy 88/189888/1
Hwankyu Jhun [Fri, 21 Sep 2018 09:57:36 +0000 (18:57 +0900)]
Adjust dbus policy

- Allows send_destination="org.tizen.alarm.client"

Change-Id: I4d1513dde87761cba981f24e7354821de668e428
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.7.7 39/187639/1 submit/tizen/20180827.060900
Inkyun Kil [Mon, 27 Aug 2018 06:00:33 +0000 (15:00 +0900)]
Release version 0.7.7

Changes:
- Remove needless dbus-policy

Change-Id: I49e5ebf19bb697dedfa0ffde4cfc211a2b284fef
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRemove needless dbuspolicy 32/187532/1
Inkyun Kil [Mon, 20 Aug 2018 07:50:30 +0000 (16:50 +0900)]
Remove needless dbuspolicy

Change-Id: I7d9a6685757cca599b06be8ca8f1feb77d8daeac
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRelease version 0.7.6 09/186609/1 accepted/tizen/unified/20180813.061516 submit/tizen/20180813.005107
Inkyun Kil [Mon, 13 Aug 2018 00:39:32 +0000 (09:39 +0900)]
Release version 0.7.6

Changes:
- Revert "Change return values"

Change-Id: Ic35d640caf2929f5c8ebd324d7149513bd964c66
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRevert "Change return values" 08/186608/1
Inkyun Kil [Mon, 13 Aug 2018 00:11:53 +0000 (09:11 +0900)]
Revert "Change return values"

This reverts commit ad90ebd48ffca109e96f9945d38786784c10033a.

Change-Id: If48e5bbb5da44fc78affb671c4bb783d010f788c
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRelease version 0.7.5 08/186208/1 accepted/tizen/unified/20180808.141347 submit/tizen/20180808.055048
Inkyun Kil [Wed, 8 Aug 2018 05:44:48 +0000 (14:44 +0900)]
Release version 0.7.5

Changes:
- Change return values

Change-Id: I9d6e64adb6bcc605bf6cb58a81b43f286e97e83f
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoChange return values 97/186197/2
Inkyun Kil [Wed, 8 Aug 2018 04:47:54 +0000 (13:47 +0900)]
Change return values

- When registering once alarm with wrong time, return false.

Change-Id: I0335d59059a00572f006cbb41a543100d66fc3c3
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRelease version 0.7.4 70/184470/1 accepted/tizen/unified/20180719.063024 submit/tizen/20180718.065507
Inkyun Kil [Wed, 18 Jul 2018 06:50:47 +0000 (15:50 +0900)]
Release version 0.7.4

Changes:
- Check if an interval causes StackOverflow

Change-Id: I321728aafcfcc1063b3b218b0535ed9dd7339ffd
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoCheck if an interval causes StackOverflow 20/184320/1
Inkyun Kil [Tue, 17 Jul 2018 07:52:30 +0000 (16:52 +0900)]
Check if an interval causes StackOverflow

Change-Id: Ia375181cb38e1716109db24321d9e1c853ad899a
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRelease version 0.7.3 27/184027/1
Inkyun Kil [Fri, 13 Jul 2018 05:55:14 +0000 (14:55 +0900)]
Release version 0.7.3

- Fix bug for side-effect

Change-Id: Ie8d9fa2246ff95df2185fa022ce687a7b65e6946
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoFix bug for side-effect 02/184002/2
Inkyun Kil [Fri, 13 Jul 2018 02:46:28 +0000 (11:46 +0900)]
Fix bug for side-effect

- Fix side effect about the patch 'Move some codes from library to
alarm-manager'. The period is not INEXACT in versions prior to 2.4

Change-Id: Ifa47a0c42f8526f5cc25ca03b755576eebdad4e6
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRelease version 0.7.2 51/182051/1
Inkyun Kil [Wed, 20 Jun 2018 05:55:07 +0000 (14:55 +0900)]
Release version 0.7.2

Changes:
- Add codes for checking caller

Change-Id: Idb4216edb90a092b5a6ae4c779fa025eea99e055
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoAdd codes for checking caller 63/181963/5
Inkyun Kil [Tue, 19 Jun 2018 07:42:04 +0000 (16:42 +0900)]
Add codes for checking caller

- When an application requests to delete or update an alarm, should be
verified that the application is correct

Change-Id: Ic947e58a88d4e37fa3ebf61ca9c9f5d4e320f055
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRelease version 0.7.1 70/180970/2 accepted/tizen/unified/20180611.015504 submit/tizen/20180607.022853
Inkyun Kil [Thu, 7 Jun 2018 02:30:30 +0000 (11:30 +0900)]
Release version 0.7.1

Changes:
- Fix Wformat build error

Change-Id: I6d04dc8407a605edd6ac3869278d975e25fcdc28
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>