* Dbus interface info for power off wait timer handling
*/
#define DEVICED_BUS_NAME "org.tizen.system.deviced"
-#define DEVICED_OBJECT_PATH "/Org/Tizen/System/DeviceD"
-#define DEVICED_INTERFACE_NAME DEVICED_BUS_NAME
+#define DEVICED_OBJECT_PATH "/Org/Tizen/System/DeviceD"
+#define DEVICED_INTERFACE_NAME DEVICED_BUS_NAME
-#define DEVICED_PATH_REBOOT DEVICED_OBJECT_PATH"/Reboot"
-#define DEVICED_PATH_POWEROFF DEVICED_OBJECT_PATH"/PowerOff"
+#define DEVICED_PATH_POWEROFF DEVICED_OBJECT_PATH"/PowerOff"
+#define DEVICED_INTERFACE_POWEROFF DEVICED_INTERFACE_NAME".PowerOff"
-#define DEVICED_INTERFACE_REBOOT DEVICED_INTERFACE_NAME".reboot"
-#define DEVICED_INTERFACE_POWEROFF DEVICED_INTERFACE_NAME".PowerOff"
-
-#define DBUS_METHOD_ADD_POWEROFF_WAIT "AddPoweroffWait"
-#define DBUS_METHOD_REMOVE_POWEROFF_WAIT "RemovePoweroffWait"
+#define DBUS_METHOD_ADD_POWEROFF_WAIT "AddPowerOffWait"
+#define DBUS_METHOD_REMOVE_POWEROFF_WAIT "RemovePowerOffWait"
#define DBUS_SIGNAL_POWEROFF_STATE "ChangeState"
static void __manager_modem_add_poweroff_wait(ModemPrivateInfo *modem_info);
err("Failed: %s", error->message);
g_error_free(error);
} else {
- dbg("PoweroffWait Added Successufully");
+ dbg("PowerOffWait Added Successufully");
modem_info->sys_power.set_poweroff_wait = TRUE;
}
if (modem_info->sys_power.conn) {
g_dbus_connection_call(modem_info->sys_power.conn, DEVICED_BUS_NAME,
- DEVICED_PATH_REBOOT, DEVICED_INTERFACE_REBOOT, DBUS_METHOD_ADD_POWEROFF_WAIT,
+ DEVICED_PATH_POWEROFF, DEVICED_INTERFACE_POWEROFF, DBUS_METHOD_ADD_POWEROFF_WAIT,
NULL, NULL, G_DBUS_CALL_FLAGS_NONE,
MANAGER_DEFAULT_TIMEOUT, modem_info->sys_power.ca,
__manager_modem_add_poweroff_wait_cb, modem_info);
err("Failed: %s", error->message);
g_error_free(error);
} else {
- dbg("PoweroffWait Removed Successufully");
+ dbg("PowerOffWait Removed Successufully");
modem_info->sys_power.set_poweroff_wait = FALSE;
}
if (modem_info->sys_power.conn) {
g_dbus_connection_call(modem_info->sys_power.conn, DEVICED_BUS_NAME,
- DEVICED_PATH_REBOOT, DEVICED_INTERFACE_REBOOT, DBUS_METHOD_REMOVE_POWEROFF_WAIT,
+ DEVICED_PATH_POWEROFF, DEVICED_INTERFACE_POWEROFF, DBUS_METHOD_REMOVE_POWEROFF_WAIT,
NULL, NULL, G_DBUS_CALL_FLAGS_NONE,
MANAGER_DEFAULT_TIMEOUT, modem_info->sys_power.ca,
__manager_modem_remove_poweroff_wait_cb, NULL);