clock_dbus.h File Reference

Time services - D-Bus definitions. More...


Defines

#define CLOCKD_SET_TIME   "set_time"
#define CLOCKD_GET_TIME   "get_time"
#define CLOCKD_GET_TZ   "get_tz"
#define CLOCKD_SET_TZ   "set_tz"
#define CLOCKD_GET_TIMEFMT   "get_timefmt"
#define CLOCKD_GET_DEFAULT_TZ   "get_default_tz"
#define CLOCKD_SET_TIMEFMT   "set_timefmt"
#define CLOCKD_SET_AUTOSYNC   "set_autosync"
#define CLOCKD_GET_AUTOSYNC   "get_autosync"
#define CLOCKD_HAVE_OPERTIME   "have_opertime"
#define CLOCKD_ACTIVATE_NET_TIME   "activate_net_time"
#define CLOCKD_NET_TIME_CHANGED   "net_time_changed"
#define CSD_SERVICE   "com.nokia.phone.net"
#define CSD_PATH   "/com/nokia/phone/net"
#define CSD_INTERFACE   "Phone.Net"
#define CSD_NETWORK_TIMEINFO_CHANGE   "network_time_info_change"
#define CSD_REGISTRATION_STATUS_CHANGE   "registration_status_change"
#define CSD_GET_REGISTRATION_STATUS   "get_registration_status"
#define CSD_GET_NETWORK_TIMEINFO   "get_network_time_info"
#define CSD_TIMEINFO_CHANGE_MATCH_RULE   "type='signal',interface='Phone.Net',member='network_time_info_change'"
#define CSD_REGISTRATION_CHANGE_MATCH_RULE   "type='signal',interface='Phone.Net',member='registration_status_change'"
#define MCE_SERVICE   "com.nokia.mce"
#define MCE_PATH   "/com/nokia/mce/signal"
#define MCE_INTERFACE   "com.nokia.mce.signal"
#define MCE_MODE_CHANGE   "sig_device_mode_ind"
#define MCE_MATCH_RULE   "type='signal',interface='com.nokia.mce.signal',member='sig_device_mode_ind'"
#define CLOCKD_GET_TIMEFMT_SIZE   32
#define CLOCKD_TZ_SIZE   256


Detailed Description

Defines D-Bus service and method names to communicate with clockd.

Copyright (C) 2008 Nokia. All rights reserved.

Author:
Simo Piiroinen <simo.piiroinen@nokia.com>

Raimo Vuonnala <raimo.vuonnala@nokia.com>


Define Documentation

#define CLOCKD_SET_TIME   "set_time"

CLOCKD_SET_TIME:

  • I: int32 time
  • O: bool success

Method to set time.

Referenced by server_filter().

#define CLOCKD_GET_TIME   "get_time"

CLOCKD_GET_TIME:

  • I: n/a
  • O: int32 time

Method to set time.

Referenced by server_filter().

#define CLOCKD_GET_TZ   "get_tz"

CLOCKD_GET_TZ:

  • I: n/a
  • O: string tz

Method to get timezone.

Referenced by server_filter().

#define CLOCKD_SET_TZ   "set_tz"

CLOCKD_SET_TZ:

  • I: string tz
  • O: bool success

Method to set timezone.

Referenced by server_filter().

#define CLOCKD_GET_TIMEFMT   "get_timefmt"

CLOCKD_GET_TIMEFMT:

  • I: n/a
  • O: string fmt

Method to get time formatter.

Referenced by server_filter().

#define CLOCKD_GET_DEFAULT_TZ   "get_default_tz"

CLOCKD_GET_DEFAULT_TZ:

  • I: n/a
  • O: string fmt

Method to get time formatter.

Referenced by server_filter().

#define CLOCKD_SET_TIMEFMT   "set_timefmt"

CLOCKD_SET_TIMEFMT:

  • I: string fmt
  • O: bool success

Method to set time formatter.

Referenced by server_filter().

#define CLOCKD_SET_AUTOSYNC   "set_autosync"

CLOCKD_SET_AUTOSYNC:

  • I: boolean enabled
  • O: boolean success

Method to set automatic (cell) network time sync mode

Referenced by server_filter().

#define CLOCKD_GET_AUTOSYNC   "get_autosync"

CLOCKD_GET_AUTOSYNC:

  • I: n/a
  • O: boolean enabled

Method to get automatic (cell) network time sync mode

Referenced by server_filter().

#define CLOCKD_HAVE_OPERTIME   "have_opertime"

CLOCKD_HAVE_OPERTIME:

  • I: n/a
  • O: boolean accessible

Method to ask whether operator network time is configured (hardware)

Referenced by server_filter().

#define CLOCKD_ACTIVATE_NET_TIME   "activate_net_time"

CLOCKD_ACTIVATE_NET_TIME:

  • I: n/a
  • O: boolean success

Method to activate network time change.

Referenced by server_filter().

#define CLOCKD_NET_TIME_CHANGED   "net_time_changed"

CLOCKD_NET_TIME_CHANGED:

  • I: n/a
  • O: int32 time (0 if no change)
  • O: string tz

Method to get info whether network time has been changed.

Referenced by server_filter().

#define CSD_SERVICE   "com.nokia.phone.net"

CSD_SERVICE: The name of the csd service.

Referenced by mcc_tz_check_if_network_timeinfo_available(), and mcc_tz_setup_timezone_from_mcc_if_required().

#define CSD_PATH   "/com/nokia/phone/net"

CSD_PATH: The object path for the csd daemon.

Referenced by mcc_tz_check_if_network_timeinfo_available(), mcc_tz_setup_timezone_from_mcc_if_required(), and server_filter().

#define CSD_INTERFACE   "Phone.Net"

CSD_INTERFACE: The interface the commands use.

Referenced by mcc_tz_check_if_network_timeinfo_available(), mcc_tz_setup_timezone_from_mcc_if_required(), and server_filter().

#define CSD_NETWORK_TIMEINFO_CHANGE   "network_time_info_change"

CSD_NETWORK_TIMEINFO_CHANGE: Signal from CSD when automatic time has been changed.

See https://svni1.isource-nokia.nokia.com/isource/svnroot/ngsp-swd/ngsp-alpha/trunk/casw/telephony-adaptation/libcsnet/src/net_dbus_interface.txt

Referenced by server_filter().

#define CSD_REGISTRATION_STATUS_CHANGE   "registration_status_change"

CSD_REGISTRATION_STATUS_CHANGE: Signal from CSD when registration status has been changed.

See https://svni1.isource-nokia.nokia.com/isource/svnroot/ngsp-swd/ngsp-alpha/trunk/casw/telephony-adaptation/libcsnet/src/net_dbus_interface.txt

Referenced by server_filter().

#define CSD_GET_REGISTRATION_STATUS   "get_registration_status"

#define CSD_GET_NETWORK_TIMEINFO   "get_network_time_info"

#define CSD_TIMEINFO_CHANGE_MATCH_RULE   "type='signal',interface='Phone.Net',member='network_time_info_change'"

CSD_MATCH_RULE: Rule to catch the network time signal.

Referenced by server_init(), and server_quit().

#define CSD_REGISTRATION_CHANGE_MATCH_RULE   "type='signal',interface='Phone.Net',member='registration_status_change'"

CSD_MATCH_RULE: Rule to catch the registration status signal.

Referenced by mcc_tz_add_registration_change_match(), and mcc_tz_remove_registration_change_match().

#define MCE_SERVICE   "com.nokia.mce"

MCE_SERVICE: The name of the MCE service.

#define MCE_PATH   "/com/nokia/mce/signal"

MCE_PATH: The object path for the csd daemon.

Referenced by server_filter().

#define MCE_INTERFACE   "com.nokia.mce.signal"

MCE_INTERFACE: The interface the commands use.

Referenced by server_filter().

#define MCE_MODE_CHANGE   "sig_device_mode_ind"

MCE_MODE_CHANGE: Signal from MCE when normal/flight mode has been changed.

Referenced by server_filter().

#define MCE_MATCH_RULE   "type='signal',interface='com.nokia.mce.signal',member='sig_device_mode_ind'"

MCE_MATCH_RULE: Rule to catch the network time signal.

Referenced by server_init(), and server_quit().

#define CLOCKD_GET_TIMEFMT_SIZE   32

CLOCKD_GET_TIMEFMT_SIZE: Max time formatter size.

#define CLOCKD_TZ_SIZE   256

CLOCKD_TZ_SIZE: Max timezone size.

Referenced by internal_setenv_tz().


Generated on Mon Jun 21 15:45:53 2010 for clockd by  doxygen 1.5.6