summaryrefslogtreecommitdiff
path: root/src/clock.c
AgeCommit message (Collapse)AuthorFilesLines
2022-10-31DA: Add exception check for time logicJaehyun Kim1-0/+26
1. Ignore next time server if current time server string is empty. 2. Check time_updates_config before set time. Change-Id: Ifd617686b9eb25d75350d0af3a0f592c7d85ffed Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2022-02-23Merge tag 'upstream/1.40' into tizen.submit/tizen/20220224.061208Niraj Kumar Goit1-0/+15
Change-Id: I4ed89827d776db6eeec11878bc1cd0cd6c5e1e80 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com> Signed-off-by: Anjali Nijhara <a.nijhara@samsung.com>
2022-02-15Imported Upstream version 1.40upstream/1.40Niraj Kumar Goit1-0/+15
Change-Id: Id3e405d088ee3fb19fd0ca049e1cb7f812b40fca Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2021-07-19Added a dbus property 'TimeUpdated'submit/tizen/20210723.060030accepted/tizen/unified/20210726.135508Jaehyun Kim1-0/+19
A property has been added to indicate whether the time has been updated by NTP. Change-Id: I86b8a0c2df377168f98656618efd82bb7da91800 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2016-06-10[SPIN] Enable the ntp by connman if device does not use the cellular.Niraj Kumar Goit1-0/+6
desc : enable the ntp if the device is not using the cellualr(telephony). This ntp is controlled by net-config. After getting the timeinfo, connman call the alarm-manager's dbus method. Change-Id: I83272206654b6b64c968d5dbb69354e19e971f34 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2015-08-07Base Code merged to SPIN 2.4submit/tizen/20150810.034432hyunuktak1-0/+0
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com> Change-Id: I84a42375b5c59739e4caca1f726699ea7647ef17
2014-07-17Imported Upstream version 1.24upstream/1.24Zhang zhengguang1-24/+24
2013-05-20clock: Implement load and save for Clock API propertiesPatrik Flykt1-0/+62
Load and save TimeUpdates and TimezoneUpdates Clock API properties. Clock API Timeservers property is already handled by the timeserver code. Fixes BMC#25988
2013-05-20clock: Export information about time update methodPatrik Flykt1-6/+5
2012-05-18Do not set signature and reply in GDBus tablesHenrique Dante de Almeida1-3/+3
Use GDBUS_* macros, so signature and reply fields are not set in each method/signal.
2012-05-18Convert GDBus methods and signals to use macro helpersHenrique Dante de Almeida1-3/+8
With these macro helpers we can separate in/out arguments and use their own vector.
2012-05-18Constify GDBus signal tablesHenrique Dante de Almeida1-1/+1
2012-05-18Constify GDBus method tablesHenrique Dante de Almeida1-1/+1
2012-05-01clock: Use helper function to add timeservers only oncePatrik Flykt1-2/+6
2012-04-29core: Update copyright informationMarcel Holtmann1-1/+1
2012-04-05Replace older system timeserver values with new ones instead of appendingAlok Barsode1-4/+22
Fixes BMC#24997.
2012-03-04core: Add extra checks for set property methodsMarcel Holtmann1-0/+7
2012-03-04clock: Revert change to accept variant of variantMarcel Holtmann1-25/+0
2012-03-01clock: Accept variant types in SetPropertyTim Sander1-0/+25
According the D-Bus API, the Clock interface accepts variant types.
2012-02-04timeserver: Add functions to store/restore timeservers via the clock APIAlok Barsode1-24/+10
2012-01-09clock: Emit property changed signal when time property is channged.Alok Barsode1-0/+4
Fixes BMC#23740.
2011-04-19clock: Add skeleton for timezone change functionMarcel Holtmann1-0/+13
2011-04-19clock: Add support for timezone change notificationsMarcel Holtmann1-0/+19
2011-04-18clock: Add support for handling setting of timeMarcel Holtmann1-1/+18
2011-04-18clock: Add support for retrieving time and timezone propertiesMarcel Holtmann1-0/+18
2011-04-18clock: Add support for time and timezone update propertiesMarcel Holtmann1-1/+117
2011-04-18clock: Add support for timeserver modificationsMarcel Holtmann1-1/+61
2011-04-18clock: Add D-Bus interface skeletonMarcel Holtmann1-0/+74
2011-04-18core: Add skeleton for clock interfacesMarcel Holtmann1-0/+38