common : change path and interface of dbus for power off 73/117273/1
authorlokilee73 <changjoo.lee@samsung.com>
Fri, 3 Mar 2017 12:55:10 +0000 (21:55 +0900)
committerlokilee73 <changjoo.lee@samsung.com>
Fri, 3 Mar 2017 12:55:15 +0000 (21:55 +0900)
Change-Id: Iae23187b256a53a9034b196f809f3dd61ef5a5a2
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
src/battery/battery-mobile.c
src/battery/battery-wearable.c
src/cooldown/cooldown-wearable.c
src/org.tizen.system-syspopup.xml
src/overheat/org.tizen.overheat-syspopup.xml
src/overheat/overheat.c
src/powerkey/org.tizen.powerkey-syspopup.xml
src/powerkey/powerkey-mobile.c
src/powerkey/powerkey-tv.c
src/powerkey/powerkey-wearable.c

index 2797423..3db6bb8 100755 (executable)
@@ -24,8 +24,8 @@
 
 #define SYSTEMD_STOP_POWER_OFF 4
 #define DEVICED_BUS_NAME        "org.tizen.system.deviced"
-#define POWER_OBJECT_PATH     "/Org/Tizen/System/DeviceD/Power"
-#define POWER_INTERFACE_NAME  DEVICED_BUS_NAME".power"
+#define POWER_OBJECT_PATH     "/Org/Tizen/System/DeviceD/Reboot"
+#define POWER_INTERFACE_NAME  DEVICED_BUS_NAME".reboot"
 #define POWER_METHOD            "reboot"
 #define POWER_OPERATION_OFF     "poweroff"
 
index d0d68f7..5bb6c85 100755 (executable)
@@ -29,8 +29,8 @@ static const struct popup_ops charge_error_high_ops;
 static const struct popup_ops battery_disconnected_ops;
 
 #define DEVICED_BUS_NAME        "org.tizen.system.deviced"
-#define POWER_OBJECT_PATH     "/Org/Tizen/System/DeviceD/Power"
-#define POWER_INTERFACE_NAME  DEVICED_BUS_NAME".power"
+#define POWER_OBJECT_PATH     "/Org/Tizen/System/DeviceD/Reboot"
+#define POWER_INTERFACE_NAME  DEVICED_BUS_NAME".reboot"
 
 #define POWER_METHOD            "reboot"
 #define POWER_OPERATION_OFF     "poweroff"
index 0d5b3e6..942ab2c 100755 (executable)
@@ -28,8 +28,8 @@
 #define COOL_DOWN_RELEASE         "Release"
 
 #define POWER_BUS_NAME        "org.tizen.system.deviced"
-#define POWER_OBJECT_PATH     "/Org/Tizen/System/DeviceD/Power"
-#define POWER_INTERFACE_NAME  POWER_BUS_NAME".power"
+#define POWER_OBJECT_PATH     "/Org/Tizen/System/DeviceD/Reboot"
+#define POWER_INTERFACE_NAME  POWER_BUS_NAME".reboot"
 
 #define POWER_METHOD            "reboot"
 #define POWER_OPERATION_OFF     "poweroff"
index caccf91..a1aa245 100755 (executable)
@@ -8,6 +8,7 @@
        </ui-application>
        <privileges>
                <privilege>http://tizen.org/privilege/power</privilege>
+               <privilege>http://tizen.org/privilege/reboot</privilege>
                <privilege>http://tizen.org/privilege/display</privilege>
                <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
                <privilege>http://tizen.org/privilege/window.priority.set</privilege>
index d6418c5..a4fadda 100755 (executable)
@@ -8,6 +8,7 @@
        </ui-application>
        <privileges>
                <privilege>http://tizen.org/privilege/power</privilege>
+               <privilege>http://tizen.org/privilege/reboot</privilege>
                <privilege>http://tizen.org/privilege/window.priority.set</privilege>
        </privileges>
 </manifest>
index f7e5043..e83fb55 100755 (executable)
@@ -23,8 +23,8 @@
 #define SYSTEMD_STOP_POWER_OFF 4
 
 #define POWER_BUS_NAME        "org.tizen.system.deviced"
-#define POWER_OBJECT_PATH     "/Org/Tizen/System/DeviceD/Power"
-#define POWER_INTERFACE_NAME  POWER_BUS_NAME".power"
+#define POWER_OBJECT_PATH     "/Org/Tizen/System/DeviceD/Reboot"
+#define POWER_INTERFACE_NAME  POWER_BUS_NAME".reboot"
 
 #define POWER_METHOD            "reboot"
 #define POWER_OPERATION_OFF     "poweroff"
index 40a2de0..6a51cda 100755 (executable)
@@ -8,6 +8,7 @@
        </ui-application>
        <privileges>
                <privilege>http://tizen.org/privilege/power</privilege>
+               <privilege>http://tizen.org/privilege/reboot</privilege>
                <privilege>http://tizen.org/privilege/window.priority.set</privilege>
                <privilege>http://tizen.org/privilege/haptic</privilege>
                <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
index 5ff7bc0..7ee45df 100755 (executable)
@@ -22,8 +22,8 @@
 #define SYSTEMD_STOP_POWER_OFF 4
 
 #define DEVICED_BUS_NAME        "org.tizen.system.deviced"
-#define POWER_OBJECT_PATH     "/Org/Tizen/System/DeviceD/Power"
-#define POWER_INTERFACE_NAME  DEVICED_BUS_NAME".power"
+#define POWER_OBJECT_PATH     "/Org/Tizen/System/DeviceD/Reboot"
+#define POWER_INTERFACE_NAME  DEVICED_BUS_NAME".reboot"
 
 #define POWER_METHOD            "reboot"
 #define POWER_OPERATION_OFF     "poweroff"
index e9ecaab..868243e 100755 (executable)
@@ -22,8 +22,8 @@
 #define SYSTEMD_STOP_POWER_OFF 4
 
 #define DEVICED_BUS_NAME        "org.tizen.system.deviced"
-#define POWER_OBJECT_PATH     "/Org/Tizen/System/DeviceD/Power"
-#define POWER_INTERFACE_NAME  DEVICED_BUS_NAME".power"
+#define POWER_OBJECT_PATH     "/Org/Tizen/System/DeviceD/Reboot"
+#define POWER_INTERFACE_NAME  DEVICED_BUS_NAME".reboot"
 
 #define POWER_METHOD            "reboot"
 #define POWER_OPERATION_OFF     "poweroff"
index a9857eb..fbfcfab 100755 (executable)
@@ -24,8 +24,8 @@
 #define SYSTEMD_STOP_POWER_OFF 4
 
 #define DEVICED_BUS_NAME        "org.tizen.system.deviced"
-#define POWER_OBJECT_PATH     "/Org/Tizen/System/DeviceD/Power"
-#define POWER_INTERFACE_NAME  DEVICED_BUS_NAME".power"
+#define POWER_OBJECT_PATH     "/Org/Tizen/System/DeviceD/Reboot"
+#define POWER_INTERFACE_NAME  DEVICED_BUS_NAME".reboot"
 
 #define POWER_METHOD            "reboot"
 #define POWER_OPERATION_OFF     "poweroff"