4 * Copyright (c) 2019 Samsung Electronics Co., Ltd.
6 * Licensed under the Apache License, Version 2.0 (the License);
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
20 #include "test_dbus_interface.h"
30 // /Org/Tizen/System/DeviceD
32 // /Org/Tizen/System/DeviceD/Tzip
33 // org.tizen.system.deviced.Tzip
35 // IsMounted : in s, out i
37 gint test_deviced_Tzip_IsMounted(const gchar *param1)
43 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
44 "/Org/Tizen/System/DeviceD/Tzip",
45 "org.tizen.system.deviced.Tzip",
47 g_variant_new("(s)", param1),
50 _E("failed IsMounted");
54 g_variant_get(reply, "(i)", &val1);
55 g_variant_unref(reply);
60 // UnmountSync : in s, out i
62 gint test_deviced_Tzip_UnmountSync(const gchar *param1)
68 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
69 "/Org/Tizen/System/DeviceD/Tzip",
70 "org.tizen.system.deviced.Tzip",
72 g_variant_new("(s)", param1),
75 _E("failed UnmountSync");
79 g_variant_get(reply, "(i)", &val1);
80 g_variant_unref(reply);
85 // MountSync : in sss, out i
87 gint test_deviced_Tzip_MountSync(const gchar *param1, const gchar *param2, const gchar *param3)
93 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
94 "/Org/Tizen/System/DeviceD/Tzip",
95 "org.tizen.system.deviced.Tzip",
97 g_variant_new("(sss)", param1, param2, param3),
100 _E("failed MountSync");
104 g_variant_get(reply, "(i)", &val1);
105 g_variant_unref(reply);
110 // Unmount : in s, out i
112 gint test_deviced_Tzip_Unmount(const gchar *param1)
118 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
119 "/Org/Tizen/System/DeviceD/Tzip",
120 "org.tizen.system.deviced.Tzip",
122 g_variant_new("(s)", param1),
125 _E("failed Unmount");
129 g_variant_get(reply, "(i)", &val1);
130 g_variant_unref(reply);
135 // Mount : in sss, out i
137 gint test_deviced_Tzip_Mount(const gchar *param1, const gchar *param2, const gchar *param3)
143 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
144 "/Org/Tizen/System/DeviceD/Tzip",
145 "org.tizen.system.deviced.Tzip",
147 g_variant_new("(sss)", param1, param2, param3),
154 g_variant_get(reply, "(i)", &val1);
155 g_variant_unref(reply);
160 // /Org/Tizen/System/DeviceD/ExtCon
161 // org.tizen.system.deviced.ExtCon
163 // disable : in s, out i
165 gint test_deviced_ExtCon_disable(const gchar *param1)
171 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
172 "/Org/Tizen/System/DeviceD/ExtCon",
173 "org.tizen.system.deviced.ExtCon",
175 g_variant_new("(s)", param1),
178 _E("failed disable");
182 g_variant_get(reply, "(i)", &val1);
183 g_variant_unref(reply);
188 // enable : in s, out i
190 gint test_deviced_ExtCon_enable(const gchar *param1)
196 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
197 "/Org/Tizen/System/DeviceD/ExtCon",
198 "org.tizen.system.deviced.ExtCon",
200 g_variant_new("(s)", param1),
207 g_variant_get(reply, "(i)", &val1);
208 g_variant_unref(reply);
213 // GetStatus : in s, out i
215 gint test_deviced_ExtCon_GetStatus(const gchar *param1)
221 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
222 "/Org/Tizen/System/DeviceD/ExtCon",
223 "org.tizen.system.deviced.ExtCon",
225 g_variant_new("(s)", param1),
228 _E("failed GetStatus");
232 g_variant_get(reply, "(i)", &val1);
233 g_variant_unref(reply);
238 // /Org/Tizen/System/DeviceD/UsbHostTest
239 // org.tizen.system.deviced.UsbHostTest
243 void test_deviced_UsbHostTest_stop(void)
247 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
248 "/Org/Tizen/System/DeviceD/UsbHostTest",
249 "org.tizen.system.deviced.UsbHostTest",
256 g_variant_unref(reply);
262 void test_deviced_UsbHostTest_start(void)
266 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
267 "/Org/Tizen/System/DeviceD/UsbHostTest",
268 "org.tizen.system.deviced.UsbHostTest",
275 g_variant_unref(reply);
279 // /Org/Tizen/System/DeviceD/LowPower
280 // org.tizen.system.deviced.lowpower
282 // GetState : in , out i
284 gint test_deviced_lowpower_GetState(void)
290 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
291 "/Org/Tizen/System/DeviceD/LowPower",
292 "org.tizen.system.deviced.lowpower",
297 _E("failed GetState");
301 g_variant_get(reply, "(i)", &val1);
302 g_variant_unref(reply);
309 gint test_deviced_lowpower_Stop(void)
315 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
316 "/Org/Tizen/System/DeviceD/LowPower",
317 "org.tizen.system.deviced.lowpower",
326 g_variant_get(reply, "(i)", &val1);
327 g_variant_unref(reply);
332 // Start : in , out i
334 gint test_deviced_lowpower_Start(void)
340 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
341 "/Org/Tizen/System/DeviceD/LowPower",
342 "org.tizen.system.deviced.lowpower",
351 g_variant_get(reply, "(i)", &val1);
352 g_variant_unref(reply);
357 // /Org/Tizen/System/DeviceD/Ir
358 // org.tizen.system.deviced.ir
360 // TransmitIR : in ai, out i
362 gint test_deviced_ir_TransmitIR(gint param2)
368 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
369 "/Org/Tizen/System/DeviceD/Ir",
370 "org.tizen.system.deviced.ir",
372 g_variant_new("(ai)", param2),
375 _E("failed TransmitIR");
379 g_variant_get(reply, "(i)", &val1);
380 g_variant_unref(reply);
385 // IRIsAvailable : in , out i
387 gint test_deviced_ir_IRIsAvailable(void)
393 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
394 "/Org/Tizen/System/DeviceD/Ir",
395 "org.tizen.system.deviced.ir",
400 _E("failed IRIsAvailable");
404 g_variant_get(reply, "(i)", &val1);
405 g_variant_unref(reply);
410 // /Org/Tizen/System/DeviceD/PowerOff
411 // org.tizen.system.deviced.PowerOff
413 // RemovePowerOffWait : in , out i
415 gint test_deviced_PowerOff_RemovePowerOffWait(void)
421 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
422 "/Org/Tizen/System/DeviceD/PowerOff",
423 "org.tizen.system.deviced.PowerOff",
424 "RemovePowerOffWait",
428 _E("failed RemovePowerOffWait");
432 g_variant_get(reply, "(i)", &val1);
433 g_variant_unref(reply);
438 // AddPowerOffWait : in , out i
440 gint test_deviced_PowerOff_AddPowerOffWait(void)
446 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
447 "/Org/Tizen/System/DeviceD/PowerOff",
448 "org.tizen.system.deviced.PowerOff",
453 _E("failed AddPowerOffWait");
457 g_variant_get(reply, "(i)", &val1);
458 g_variant_unref(reply);
463 // PowerOffWithOption : in ss, out i
465 gint test_deviced_PowerOff_PowerOffWithOption(const gchar *param1, const gchar *param2)
471 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
472 "/Org/Tizen/System/DeviceD/PowerOff",
473 "org.tizen.system.deviced.PowerOff",
474 "PowerOffWithOption",
475 g_variant_new("(ss)", param1, param2),
478 _E("failed PowerOffWithOption");
482 g_variant_get(reply, "(i)", &val1);
483 g_variant_unref(reply);
488 // PowerOff : in s, out i
490 gint test_deviced_PowerOff_PowerOff(const gchar *param1)
496 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
497 "/Org/Tizen/System/DeviceD/PowerOff",
498 "org.tizen.system.deviced.PowerOff",
500 g_variant_new("(s)", param1),
503 _E("failed PowerOff");
507 g_variant_get(reply, "(i)", &val1);
508 g_variant_unref(reply);
513 // /Org/Tizen/System/DeviceD/Battery
514 // org.tizen.system.deviced.Battery
516 // MiscEvent : in , out i
518 gint test_deviced_Battery_MiscEvent(void)
524 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
525 "/Org/Tizen/System/DeviceD/Battery",
526 "org.tizen.system.deviced.Battery",
531 _E("failed MiscEvent");
535 g_variant_get(reply, "(i)", &val1);
536 g_variant_unref(reply);
541 // BatteryProperties : in , out iiiiii
543 GVariant * test_deviced_Battery_BatteryProperties(void)
547 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
548 "/Org/Tizen/System/DeviceD/Battery",
549 "org.tizen.system.deviced.Battery",
557 // ChargerCharging : in i, out i
559 gint test_deviced_Battery_ChargerCharging(gint param1)
565 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
566 "/Org/Tizen/System/DeviceD/Battery",
567 "org.tizen.system.deviced.Battery",
569 g_variant_new("(i)", param1),
572 _E("failed ChargerCharging");
576 g_variant_get(reply, "(i)", &val1);
577 g_variant_unref(reply);
582 // ChargerType : in , out i
584 gint test_deviced_Battery_ChargerType(void)
590 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
591 "/Org/Tizen/System/DeviceD/Battery",
592 "org.tizen.system.deviced.Battery",
597 _E("failed ChargerType");
601 g_variant_get(reply, "(i)", &val1);
602 g_variant_unref(reply);
607 // GetBatteryInfo : in , out isssiiiiiiii
609 GVariant * test_deviced_Battery_GetBatteryInfo(void)
614 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
615 "/Org/Tizen/System/DeviceD/Battery",
616 "org.tizen.system.deviced.Battery",
625 // power_supply : in sissssss, out i
627 gint test_deviced_Battery_power_supply(const gchar *param1, gint param2, const gchar *param3, const gchar *param4, const gchar *param5, const gchar *param6, const gchar *param7, const gchar *param8)
633 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
634 "/Org/Tizen/System/DeviceD/Battery",
635 "org.tizen.system.deviced.Battery",
637 g_variant_new("(sissssss)", param1, param2, param3, param4, param5, param6, param7, param8),
640 _E("failed power_supply");
644 g_variant_get(reply, "(i)", &val1);
645 g_variant_unref(reply);
650 // GetHealth : in , out s
652 gchar * test_deviced_Battery_GetHealth(void)
658 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
659 "/Org/Tizen/System/DeviceD/Battery",
660 "org.tizen.system.deviced.Battery",
665 _E("failed GetHealth");
669 g_variant_get(reply, "(s)", &val1);
670 g_variant_unref(reply);
675 // IsFull : in , out i
677 gint test_deviced_Battery_IsFull(void)
683 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
684 "/Org/Tizen/System/DeviceD/Battery",
685 "org.tizen.system.deviced.Battery",
694 g_variant_get(reply, "(i)", &val1);
695 g_variant_unref(reply);
700 // GetPercentRaw : in , out i
702 gint test_deviced_Battery_GetPercentRaw(void)
708 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
709 "/Org/Tizen/System/DeviceD/Battery",
710 "org.tizen.system.deviced.Battery",
715 _E("failed GetPercentRaw");
719 g_variant_get(reply, "(i)", &val1);
720 g_variant_unref(reply);
725 // GetPercent : in , out i
727 gint test_deviced_Battery_GetPercent(void)
733 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
734 "/Org/Tizen/System/DeviceD/Battery",
735 "org.tizen.system.deviced.Battery",
740 _E("failed GetPercent");
744 g_variant_get(reply, "(i)", &val1);
745 g_variant_unref(reply);
750 // BatteryStatusLow : in , out i
752 gint test_deviced_Battery_BatteryStatusLow(void)
758 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
759 "/Org/Tizen/System/DeviceD/Battery",
760 "org.tizen.system.deviced.Battery",
765 _E("failed BatteryStatusLow");
769 g_variant_get(reply, "(i)", &val1);
770 g_variant_unref(reply);
775 // ChargeNow : in , out i
777 gint test_deviced_Battery_ChargeNow(void)
783 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
784 "/Org/Tizen/System/DeviceD/Battery",
785 "org.tizen.system.deviced.Battery",
790 _E("failed ChargeNow");
794 g_variant_get(reply, "(i)", &val1);
795 g_variant_unref(reply);
800 // ChargerStatus : in , out i
802 gint test_deviced_Battery_ChargerStatus(void)
808 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
809 "/Org/Tizen/System/DeviceD/Battery",
810 "org.tizen.system.deviced.Battery",
815 _E("failed ChargerStatus");
819 g_variant_get(reply, "(i)", &val1);
820 g_variant_unref(reply);
825 // GetLowbatLevel : in , out i
827 gint test_deviced_Battery_GetLowbatLevel(void)
833 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
834 "/Org/Tizen/System/DeviceD/Battery",
835 "org.tizen.system.deviced.Battery",
840 _E("failed GetLowbatLevel");
844 g_variant_get(reply, "(i)", &val1);
845 g_variant_unref(reply);
850 // SetLowbatLevel : in i, out i
852 gint test_deviced_Battery_SetLowbatLevel(gint param1)
858 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
859 "/Org/Tizen/System/DeviceD/Battery",
860 "org.tizen.system.deviced.Battery",
862 g_variant_new("(i)", param1),
865 _E("failed SetLowbatLevel");
869 g_variant_get(reply, "(i)", &val1);
870 g_variant_unref(reply);
875 // TimeToEmpty : in , out i
877 gint test_deviced_Battery_TimeToEmpty(void)
883 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
884 "/Org/Tizen/System/DeviceD/Battery",
885 "org.tizen.system.deviced.Battery",
890 _E("failed TimeToEmpty");
894 g_variant_get(reply, "(i)", &val1);
895 g_variant_unref(reply);
900 // TimeToFull : in , out i
902 gint test_deviced_Battery_TimeToFull(void)
908 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
909 "/Org/Tizen/System/DeviceD/Battery",
910 "org.tizen.system.deviced.Battery",
915 _E("failed TimeToFull");
919 g_variant_get(reply, "(i)", &val1);
920 g_variant_unref(reply);
925 // /Org/Tizen/System/DeviceD/Temperature
926 // org.tizen.system.deviced.temperature
928 // GetTemperature : in i, out i
930 gint test_deviced_temperature_GetTemperature(gint param1)
936 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
937 "/Org/Tizen/System/DeviceD/Temperature",
938 "org.tizen.system.deviced.temperature",
940 g_variant_new("(i)", param1),
943 _E("failed GetTemperature");
947 g_variant_get(reply, "(i)", &val1);
948 g_variant_unref(reply);
953 // /Org/Tizen/System/DeviceD/BatteryMonitor
954 // org.tizen.system.deviced.BatteryMonitor
956 // GetBMData : in , out a(uuuxxa(su))
958 GVariant * test_deviced_BatteryMonitor_GetBMData(void)
963 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
964 "/Org/Tizen/System/DeviceD/BatteryMonitor",
965 "org.tizen.system.deviced.BatteryMonitor",
974 // /Org/Tizen/System/DeviceD/Core
975 // org.tizen.system.deviced.core
977 // DeviceList : in , out
979 void test_deviced_core_DeviceList(void)
984 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
985 "/Org/Tizen/System/DeviceD/Core",
986 "org.tizen.system.deviced.core",
993 g_variant_unref(reply);
996 // /Org/Tizen/System/DeviceD/Usbhost
997 // org.tizen.system.deviced.Usbhost
999 // OpenDevice : in s, out ih
1001 GVariant * test_deviced_Usbhost_OpenDevice(const gchar *param1)
1006 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1007 "/Org/Tizen/System/DeviceD/Usbhost",
1008 "org.tizen.system.deviced.Usbhost",
1010 g_variant_new("(s)", param1),
1017 // GetDeviceListCount : in i, out i
1019 gint test_deviced_Usbhost_GetDeviceListCount(gint param1)
1025 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1026 "/Org/Tizen/System/DeviceD/Usbhost",
1027 "org.tizen.system.deviced.Usbhost",
1028 "GetDeviceListCount",
1029 g_variant_new("(i)", param1),
1032 _E("failed GetDeviceListCount");
1036 g_variant_get(reply, "(i)", &val1);
1037 g_variant_unref(reply);
1042 // GetDeviceList : in i, out a(siiiiisss)
1044 GVariant * test_deviced_Usbhost_GetDeviceList(gint param1)
1049 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1050 "/Org/Tizen/System/DeviceD/Usbhost",
1051 "org.tizen.system.deviced.Usbhost",
1053 g_variant_new("(i)", param1),
1060 // PrintPolicy : in , out
1062 void test_deviced_Usbhost_PrintPolicy(void)
1067 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1068 "/Org/Tizen/System/DeviceD/Usbhost",
1069 "org.tizen.system.deviced.Usbhost",
1076 g_variant_unref(reply);
1080 // PrintDeviceList : in , out
1082 void test_deviced_Usbhost_PrintDeviceList(void)
1087 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1088 "/Org/Tizen/System/DeviceD/Usbhost",
1089 "org.tizen.system.deviced.Usbhost",
1096 g_variant_unref(reply);
1100 // /Org/Tizen/System/DeviceD/Usb
1101 // org.tizen.system.deviced.Usb
1103 // GetMode : in , out u
1105 guint test_deviced_Usb_GetMode(void)
1111 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1112 "/Org/Tizen/System/DeviceD/Usb",
1113 "org.tizen.system.deviced.Usb",
1118 _E("failed GetMode");
1122 g_variant_get(reply, "(u)", &val1);
1123 g_variant_unref(reply);
1128 // GetState : in , out u
1130 guint test_deviced_Usb_GetState(void)
1136 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1137 "/Org/Tizen/System/DeviceD/Usb",
1138 "org.tizen.system.deviced.Usb",
1143 _E("failed GetState");
1147 g_variant_get(reply, "(u)", &val1);
1148 g_variant_unref(reply);
1153 // /Org/Tizen/System/DeviceD/SysNoti
1154 // org.tizen.system.deviced.SysNoti
1156 // GetHDMI : in , out i
1158 gint test_deviced_SysNoti_GetHDMI(void)
1164 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1165 "/Org/Tizen/System/DeviceD/SysNoti",
1166 "org.tizen.system.deviced.SysNoti",
1171 _E("failed GetHDMI");
1175 g_variant_get(reply, "(i)", &val1);
1176 g_variant_unref(reply);
1181 // GetCradle : in , out i
1183 gint test_deviced_SysNoti_GetCradle(void)
1189 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1190 "/Org/Tizen/System/DeviceD/SysNoti",
1191 "org.tizen.system.deviced.SysNoti",
1196 _E("failed GetCradle");
1200 g_variant_get(reply, "(i)", &val1);
1201 g_variant_unref(reply);
1206 // set_timezone : in sis, out i
1208 gint test_deviced_SysNoti_set_timezone(const gchar *param1, gint param2, const gchar *param3)
1214 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1215 "/Org/Tizen/System/DeviceD/SysNoti",
1216 "org.tizen.system.deviced.SysNoti",
1218 g_variant_new("(sis)", param1, param2, param3),
1221 _E("failed set_timezone");
1225 g_variant_get(reply, "(i)", &val1);
1226 g_variant_unref(reply);
1231 // set_datetime : in sis, out i
1233 gint test_deviced_SysNoti_set_datetime(const gchar *param1, gint param2, const gchar *param3)
1239 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1240 "/Org/Tizen/System/DeviceD/SysNoti",
1241 "org.tizen.system.deviced.SysNoti",
1243 g_variant_new("(sis)", param1, param2, param3),
1246 _E("failed set_datetime");
1250 g_variant_get(reply, "(i)", &val1);
1251 g_variant_unref(reply);
1256 // GetRevision : in , out i
1258 gint test_deviced_SysNoti_GetRevision(void)
1264 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1265 "/Org/Tizen/System/DeviceD/SysNoti",
1266 "org.tizen.system.deviced.SysNoti",
1271 _E("failed GetRevision");
1275 g_variant_get(reply, "(i)", &val1);
1276 g_variant_unref(reply);
1281 // udev : in sis, out i
1283 gint test_deviced_SysNoti_udev(const gchar *param1, gint param2, const gchar *param3)
1289 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1290 "/Org/Tizen/System/DeviceD/SysNoti",
1291 "org.tizen.system.deviced.SysNoti",
1293 g_variant_new("(sis)", param1, param2, param3),
1300 g_variant_get(reply, "(i)", &val1);
1301 g_variant_unref(reply);
1306 // EventStop : in , out i
1308 gint test_deviced_SysNoti_EventStop(void)
1314 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1315 "/Org/Tizen/System/DeviceD/SysNoti",
1316 "org.tizen.system.deviced.SysNoti",
1321 _E("failed EventStop");
1325 g_variant_get(reply, "(i)", &val1);
1326 g_variant_unref(reply);
1331 // EventStart : in , out i
1333 gint test_deviced_SysNoti_EventStart(void)
1339 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1340 "/Org/Tizen/System/DeviceD/SysNoti",
1341 "org.tizen.system.deviced.SysNoti",
1346 _E("failed EventStart");
1350 g_variant_get(reply, "(i)", &val1);
1351 g_variant_unref(reply);
1356 // getcontrol : in siss, out i
1358 gint test_deviced_SysNoti_getcontrol(const gchar *param1, gint param2, const gchar *param3, const gchar *param4)
1364 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1365 "/Org/Tizen/System/DeviceD/SysNoti",
1366 "org.tizen.system.deviced.SysNoti",
1368 g_variant_new("(siss)", param1, param2, param3, param4),
1371 _E("failed getcontrol");
1375 g_variant_get(reply, "(i)", &val1);
1376 g_variant_unref(reply);
1381 // control : in sisss, out i
1383 gint test_deviced_SysNoti_control(const gchar *param1, gint param2, const gchar *param3, const gchar *param4, const gchar *param5)
1389 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1390 "/Org/Tizen/System/DeviceD/SysNoti",
1391 "org.tizen.system.deviced.SysNoti",
1393 g_variant_new("(sisss)", param1, param2, param3, param4, param5),
1396 _E("failed control");
1400 g_variant_get(reply, "(i)", &val1);
1401 g_variant_unref(reply);
1406 // /Org/Tizen/System/DeviceD/Led
1407 // org.tizen.system.deviced.Led
1409 // SetIrCommand : in s, out i
1411 gint test_deviced_Led_SetIrCommand(const gchar *param1)
1417 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1418 "/Org/Tizen/System/DeviceD/Led",
1419 "org.tizen.system.deviced.Led",
1421 g_variant_new("(s)", param1),
1424 _E("failed SetIrCommand");
1428 g_variant_get(reply, "(i)", &val1);
1429 g_variant_unref(reply);
1434 // SetBrightness : in ii, out i
1436 gint test_deviced_Led_SetBrightness(gint param1, gint param2)
1442 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1443 "/Org/Tizen/System/DeviceD/Led",
1444 "org.tizen.system.deviced.Led",
1446 g_variant_new("(ii)", param1, param2),
1449 _E("failed SetBrightness");
1453 g_variant_get(reply, "(i)", &val1);
1454 g_variant_unref(reply);
1459 // GetMaxBrightness : in , out i
1461 gint test_deviced_Led_GetMaxBrightness(void)
1467 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1468 "/Org/Tizen/System/DeviceD/Led",
1469 "org.tizen.system.deviced.Led",
1474 _E("failed GetMaxBrightness");
1478 g_variant_get(reply, "(i)", &val1);
1479 g_variant_unref(reply);
1484 // GetBrightness : in , out i
1486 gint test_deviced_Led_GetBrightness(void)
1492 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1493 "/Org/Tizen/System/DeviceD/Led",
1494 "org.tizen.system.deviced.Led",
1499 _E("failed GetBrightness");
1503 g_variant_get(reply, "(i)", &val1);
1504 g_variant_unref(reply);
1509 // GetBrightnessForCamera : in , out i
1511 gint test_deviced_Led_GetBrightnessForCamera(void)
1517 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1518 "/Org/Tizen/System/DeviceD/Led",
1519 "org.tizen.system.deviced.Led",
1520 "GetBrightnessForCamera",
1524 _E("failed GetBrightnessForCamera");
1528 g_variant_get(reply, "(i)", &val1);
1529 g_variant_unref(reply);
1534 // /Org/Tizen/System/DeviceD/Display
1535 // org.tizen.system.deviced.display
1537 // LockTimeoutInput : in si, out i
1539 gint test_deviced_display_LockTimeoutInput(const gchar *param1, gint param2)
1545 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1546 "/Org/Tizen/System/DeviceD/Display",
1547 "org.tizen.system.deviced.display",
1549 g_variant_new("(si)", param1, param2),
1552 _E("failed LockTimeoutInput");
1556 g_variant_get(reply, "(i)", &val1);
1557 g_variant_unref(reply);
1562 // LockTimeoutExpired : in s, out i
1564 gint test_deviced_display_LockTimeoutExpired(const gchar *param1)
1570 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1571 "/Org/Tizen/System/DeviceD/Display",
1572 "org.tizen.system.deviced.display",
1573 "LockTimeoutExpired",
1574 g_variant_new("(s)", param1),
1577 _E("failed LockTimeoutExpired");
1581 g_variant_get(reply, "(i)", &val1);
1582 g_variant_unref(reply);
1587 // CurrentBrightness : in i, out i
1589 gint test_deviced_display_CurrentBrightness(gint param1)
1595 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1596 "/Org/Tizen/System/DeviceD/Display",
1597 "org.tizen.system.deviced.display",
1598 "CurrentBrightness",
1599 g_variant_new("(i)", param1),
1602 _E("failed CurrentBrightness");
1606 g_variant_get(reply, "(i)", &val1);
1607 g_variant_unref(reply);
1612 // CustomBrightness : in , out i
1614 gint test_deviced_display_CustomBrightness(void)
1620 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1621 "/Org/Tizen/System/DeviceD/Display",
1622 "org.tizen.system.deviced.display",
1627 _E("failed CustomBrightness");
1631 g_variant_get(reply, "(i)", &val1);
1632 g_variant_unref(reply);
1637 // ActorControl : in sii, out i
1639 gint test_deviced_display_ActorControl(const gchar *param1, gint param2, gint param3)
1645 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1646 "/Org/Tizen/System/DeviceD/Display",
1647 "org.tizen.system.deviced.display",
1649 g_variant_new("(sii)", param1, param2, param3),
1652 _E("failed ActorControl");
1656 g_variant_get(reply, "(i)", &val1);
1657 g_variant_unref(reply);
1662 // LCDPanelOffMode : in i, out i
1664 gint test_deviced_display_LCDPanelOffMode(gint param1)
1670 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1671 "/Org/Tizen/System/DeviceD/Display",
1672 "org.tizen.system.deviced.display",
1674 g_variant_new("(i)", param1),
1677 _E("failed LCDPanelOffMode");
1681 g_variant_get(reply, "(i)", &val1);
1682 g_variant_unref(reply);
1687 // StayTouchScreenOff : in i, out i
1689 gint test_deviced_display_StayTouchScreenOff(gint param1)
1695 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1696 "/Org/Tizen/System/DeviceD/Display",
1697 "org.tizen.system.deviced.display",
1698 "StayTouchScreenOff",
1699 g_variant_new("(i)", param1),
1702 _E("failed StayTouchScreenOff");
1706 g_variant_get(reply, "(i)", &val1);
1707 g_variant_unref(reply);
1712 // PlatformLCDControl : in isi, out i
1714 gint test_deviced_display_PlatformLCDControl(gint param1, const gchar *param2, gint param3)
1720 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1721 "/Org/Tizen/System/DeviceD/Display",
1722 "org.tizen.system.deviced.display",
1723 "PlatformLCDControl",
1724 g_variant_new("(isi)", param1, param2, param3),
1727 _E("failed PlatformLCDControl");
1731 g_variant_get(reply, "(i)", &val1);
1732 g_variant_unref(reply);
1737 // CustomLCDOff : in s, out i
1739 gint test_deviced_display_CustomLCDOff(const gchar *param1)
1745 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1746 "/Org/Tizen/System/DeviceD/Display",
1747 "org.tizen.system.deviced.display",
1749 g_variant_new("(s)", param1),
1752 _E("failed CustomLCDOff");
1756 g_variant_get(reply, "(i)", &val1);
1757 g_variant_unref(reply);
1762 // CustomLCDOn : in i, out i
1764 gint test_deviced_display_CustomLCDOn(gint param1)
1770 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1771 "/Org/Tizen/System/DeviceD/Display",
1772 "org.tizen.system.deviced.display",
1774 g_variant_new("(i)", param1),
1777 _E("failed CustomLCDOn");
1781 g_variant_get(reply, "(i)", &val1);
1782 g_variant_unref(reply);
1787 // PowerKeyLCDOff : in , out i
1789 gint test_deviced_display_PowerKeyLCDOff(void)
1795 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1796 "/Org/Tizen/System/DeviceD/Display",
1797 "org.tizen.system.deviced.display",
1802 _E("failed PowerKeyLCDOff");
1806 g_variant_get(reply, "(i)", &val1);
1807 g_variant_unref(reply);
1812 // PowerKeyIgnore : in i, out i
1814 gint test_deviced_display_PowerKeyIgnore(gint param1)
1820 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1821 "/Org/Tizen/System/DeviceD/Display",
1822 "org.tizen.system.deviced.display",
1824 g_variant_new("(i)", param1),
1827 _E("failed PowerKeyIgnore");
1831 g_variant_get(reply, "(i)", &val1);
1832 g_variant_unref(reply);
1837 // SaveLog : in , out
1839 void test_deviced_display_SaveLog(void)
1844 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1845 "/Org/Tizen/System/DeviceD/Display",
1846 "org.tizen.system.deviced.display",
1853 g_variant_unref(reply);
1857 // Dumpmode : in s, out i
1859 gint test_deviced_display_Dumpmode(const gchar *param1)
1865 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1866 "/Org/Tizen/System/DeviceD/Display",
1867 "org.tizen.system.deviced.display",
1869 g_variant_new("(s)", param1),
1872 _E("failed Dumpmode");
1876 g_variant_get(reply, "(i)", &val1);
1877 g_variant_unref(reply);
1882 // SetRefreshRate : in ii, out i
1884 gint test_deviced_display_SetRefreshRate(gint param1, gint param2)
1890 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1891 "/Org/Tizen/System/DeviceD/Display",
1892 "org.tizen.system.deviced.display",
1894 g_variant_new("(ii)", param1, param2),
1897 _E("failed SetRefreshRate");
1901 g_variant_get(reply, "(i)", &val1);
1902 g_variant_unref(reply);
1907 // ReleaseBrightness : in , out i
1909 gint test_deviced_display_ReleaseBrightness(void)
1915 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1916 "/Org/Tizen/System/DeviceD/Display",
1917 "org.tizen.system.deviced.display",
1918 "ReleaseBrightness",
1922 _E("failed ReleaseBrightness");
1926 g_variant_get(reply, "(i)", &val1);
1927 g_variant_unref(reply);
1932 // HoldBrightness : in i, out i
1934 gint test_deviced_display_HoldBrightness(gint param1)
1940 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1941 "/Org/Tizen/System/DeviceD/Display",
1942 "org.tizen.system.deviced.display",
1944 g_variant_new("(i)", param1),
1947 _E("failed HoldBrightness");
1951 g_variant_get(reply, "(i)", &val1);
1952 g_variant_unref(reply);
1957 // SetBrightness : in ii, out i
1959 gint test_deviced_display_SetBrightness(gint param1, gint param2)
1965 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1966 "/Org/Tizen/System/DeviceD/Display",
1967 "org.tizen.system.deviced.display",
1969 g_variant_new("(ii)", param1, param2),
1972 _E("failed SetBrightness");
1976 g_variant_get(reply, "(i)", &val1);
1977 g_variant_unref(reply);
1982 // GetBrightness : in i, out i
1984 gint test_deviced_display_GetBrightness(gint param1)
1990 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
1991 "/Org/Tizen/System/DeviceD/Display",
1992 "org.tizen.system.deviced.display",
1994 g_variant_new("(i)", param1),
1997 _E("failed GetBrightness");
2001 g_variant_get(reply, "(i)", &val1);
2002 g_variant_unref(reply);
2007 // SetMaxBrightness : in i, out i
2009 gint test_deviced_display_SetMaxBrightness(gint param1)
2015 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2016 "/Org/Tizen/System/DeviceD/Display",
2017 "org.tizen.system.deviced.display",
2019 g_variant_new("(i)", param1),
2022 _E("failed SetMaxBrightness");
2026 g_variant_get(reply, "(i)", &val1);
2027 g_variant_unref(reply);
2032 // GetMaxBrightness : in i, out i
2034 gint test_deviced_display_GetMaxBrightness(gint param1)
2040 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2041 "/Org/Tizen/System/DeviceD/Display",
2042 "org.tizen.system.deviced.display",
2044 g_variant_new("(i)", param1),
2047 _E("failed GetMaxBrightness");
2051 g_variant_get(reply, "(i)", &val1);
2052 g_variant_unref(reply);
2057 // GetDisplayCount : in , out i
2059 gint test_deviced_display_GetDisplayCount(void)
2065 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2066 "/Org/Tizen/System/DeviceD/Display",
2067 "org.tizen.system.deviced.display",
2072 _E("failed GetDisplayCount");
2076 g_variant_get(reply, "(i)", &val1);
2077 g_variant_unref(reply);
2082 // LockScreenBgOn : in s, out i
2084 gint test_deviced_display_LockScreenBgOn(const gchar *param1)
2090 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2091 "/Org/Tizen/System/DeviceD/Display",
2092 "org.tizen.system.deviced.display",
2094 g_variant_new("(s)", param1),
2097 _E("failed LockScreenBgOn");
2101 g_variant_get(reply, "(i)", &val1);
2102 g_variant_unref(reply);
2107 // setlcdtimeout : in iii, out i
2109 gint test_deviced_display_setlcdtimeout(gint param1, gint param2, gint param3)
2115 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2116 "/Org/Tizen/System/DeviceD/Display",
2117 "org.tizen.system.deviced.display",
2119 g_variant_new("(iii)", param1, param2, param3),
2122 _E("failed setlcdtimeout");
2126 g_variant_get(reply, "(i)", &val1);
2127 g_variant_unref(reply);
2132 // setautobrightnessmin : in i, out i
2134 gint test_deviced_display_setautobrightnessmin(gint param1)
2140 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2141 "/Org/Tizen/System/DeviceD/Display",
2142 "org.tizen.system.deviced.display",
2143 "setautobrightnessmin",
2144 g_variant_new("(i)", param1),
2147 _E("failed setautobrightnessmin");
2151 g_variant_get(reply, "(i)", &val1);
2152 g_variant_unref(reply);
2157 // setframerate : in ii, out i
2159 gint test_deviced_display_setframerate(gint param1, gint param2)
2165 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2166 "/Org/Tizen/System/DeviceD/Display",
2167 "org.tizen.system.deviced.display",
2169 g_variant_new("(ii)", param1, param2),
2172 _E("failed setframerate");
2176 g_variant_get(reply, "(i)", &val1);
2177 g_variant_unref(reply);
2182 // setbrightness : in ii, out i
2184 gint test_deviced_display_setbrightness(gint param1, gint param2)
2190 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2191 "/Org/Tizen/System/DeviceD/Display",
2192 "org.tizen.system.deviced.display",
2194 g_variant_new("(ii)", param1, param2),
2197 _E("failed setbrightness");
2201 g_variant_get(reply, "(i)", &val1);
2202 g_variant_unref(reply);
2207 // getbrightness : in i, out i
2209 gint test_deviced_display_getbrightness(gint param1)
2215 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2216 "/Org/Tizen/System/DeviceD/Display",
2217 "org.tizen.system.deviced.display",
2219 g_variant_new("(i)", param1),
2222 _E("failed getbrightness");
2226 g_variant_get(reply, "(i)", &val1);
2227 g_variant_unref(reply);
2232 // ChangeState : in s, out i
2234 gint test_deviced_display_ChangeState(const gchar *param1)
2240 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2241 "/Org/Tizen/System/DeviceD/Display",
2242 "org.tizen.system.deviced.display",
2244 g_variant_new("(s)", param1),
2247 _E("failed ChangeState");
2251 g_variant_get(reply, "(i)", &val1);
2252 g_variant_unref(reply);
2257 // changestate : in s, out i
2259 gint test_deviced_display_changestate(const gchar *param1)
2265 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2266 "/Org/Tizen/System/DeviceD/Display",
2267 "org.tizen.system.deviced.display",
2269 g_variant_new("(s)", param1),
2272 _E("failed changestate");
2276 g_variant_get(reply, "(i)", &val1);
2277 g_variant_unref(reply);
2282 // unlockstate : in ss, out i
2284 gint test_deviced_display_unlockstate(const gchar *param1, const gchar *param2)
2290 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2291 "/Org/Tizen/System/DeviceD/Display",
2292 "org.tizen.system.deviced.display",
2294 g_variant_new("(ss)", param1, param2),
2297 _E("failed unlockstate");
2301 g_variant_get(reply, "(i)", &val1);
2302 g_variant_unref(reply);
2307 // lockstate : in sssi, out i
2309 gint test_deviced_display_lockstate(const gchar *param1, const gchar *param2, const gchar *param3, gint param4)
2315 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2316 "/Org/Tizen/System/DeviceD/Display",
2317 "org.tizen.system.deviced.display",
2319 g_variant_new("(sssi)", param1, param2, param3, param4),
2322 _E("failed lockstate");
2326 g_variant_get(reply, "(i)", &val1);
2327 g_variant_unref(reply);
2334 void test_deviced_display_stop(void)
2339 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2340 "/Org/Tizen/System/DeviceD/Display",
2341 "org.tizen.system.deviced.display",
2348 g_variant_unref(reply);
2354 void test_deviced_display_start(void)
2359 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2360 "/Org/Tizen/System/DeviceD/Display",
2361 "org.tizen.system.deviced.display",
2368 g_variant_unref(reply);
2372 // /Org/Tizen/System/DeviceD/Board
2373 // org.tizen.system.deviced.Board
2375 // GetNum : in , out si
2377 GVariant * test_deviced_Board_GetNum(void)
2381 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2382 "/Org/Tizen/System/DeviceD/Board",
2383 "org.tizen.system.deviced.Board",
2392 // GetHWRev : in , out i
2394 gint test_deviced_Board_GetHWRev(void)
2400 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2401 "/Org/Tizen/System/DeviceD/Board",
2402 "org.tizen.system.deviced.Board",
2407 _E("failed GetHWRev");
2411 g_variant_get(reply, "(i)", &val1);
2412 g_variant_unref(reply);
2417 // GetSerial : in , out si
2419 GVariant * test_deviced_Board_GetSerial(void)
2423 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2424 "/Org/Tizen/System/DeviceD/Board",
2425 "org.tizen.system.deviced.Board",
2434 // /Org/Tizen/System/DeviceD/PmQos
2435 // org.tizen.system.deviced.PmQos
2437 // MyfilesScroll : in i, out i
2439 gint test_deviced_PmQos_MyfilesScroll(gint param1)
2445 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2446 "/Org/Tizen/System/DeviceD/PmQos",
2447 "org.tizen.system.deviced.PmQos",
2449 g_variant_new("(i)", param1),
2452 _E("failed MyfilesScroll");
2456 g_variant_get(reply, "(i)", &val1);
2457 g_variant_unref(reply);
2462 // CallLogScroll : in i, out i
2464 gint test_deviced_PmQos_CallLogScroll(gint param1)
2470 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2471 "/Org/Tizen/System/DeviceD/PmQos",
2472 "org.tizen.system.deviced.PmQos",
2474 g_variant_new("(i)", param1),
2477 _E("failed CallLogScroll");
2481 g_variant_get(reply, "(i)", &val1);
2482 g_variant_unref(reply);
2487 // TizenStoreScroll : in i, out i
2489 gint test_deviced_PmQos_TizenStoreScroll(gint param1)
2495 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2496 "/Org/Tizen/System/DeviceD/PmQos",
2497 "org.tizen.system.deviced.PmQos",
2499 g_variant_new("(i)", param1),
2502 _E("failed TizenStoreScroll");
2506 g_variant_get(reply, "(i)", &val1);
2507 g_variant_unref(reply);
2512 // ContactScroll : in i, out i
2514 gint test_deviced_PmQos_ContactScroll(gint param1)
2520 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2521 "/Org/Tizen/System/DeviceD/PmQos",
2522 "org.tizen.system.deviced.PmQos",
2524 g_variant_new("(i)", param1),
2527 _E("failed ContactScroll");
2531 g_variant_get(reply, "(i)", &val1);
2532 g_variant_unref(reply);
2537 // EmailScroll : in i, out i
2539 gint test_deviced_PmQos_EmailScroll(gint param1)
2545 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2546 "/Org/Tizen/System/DeviceD/PmQos",
2547 "org.tizen.system.deviced.PmQos",
2549 g_variant_new("(i)", param1),
2552 _E("failed EmailScroll");
2556 g_variant_get(reply, "(i)", &val1);
2557 g_variant_unref(reply);
2562 // VideoScroll : in i, out i
2564 gint test_deviced_PmQos_VideoScroll(gint param1)
2570 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2571 "/Org/Tizen/System/DeviceD/PmQos",
2572 "org.tizen.system.deviced.PmQos",
2574 g_variant_new("(i)", param1),
2577 _E("failed VideoScroll");
2581 g_variant_get(reply, "(i)", &val1);
2582 g_variant_unref(reply);
2587 // FileScroll : in i, out i
2589 gint test_deviced_PmQos_FileScroll(gint param1)
2595 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2596 "/Org/Tizen/System/DeviceD/PmQos",
2597 "org.tizen.system.deviced.PmQos",
2599 g_variant_new("(i)", param1),
2602 _E("failed FileScroll");
2606 g_variant_get(reply, "(i)", &val1);
2607 g_variant_unref(reply);
2612 // MusicScroll : in i, out i
2614 gint test_deviced_PmQos_MusicScroll(gint param1)
2620 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2621 "/Org/Tizen/System/DeviceD/PmQos",
2622 "org.tizen.system.deviced.PmQos",
2624 g_variant_new("(i)", param1),
2627 _E("failed MusicScroll");
2631 g_variant_get(reply, "(i)", &val1);
2632 g_variant_unref(reply);
2637 // UgLaunch : in i, out i
2639 gint test_deviced_PmQos_UgLaunch(gint param1)
2645 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2646 "/Org/Tizen/System/DeviceD/PmQos",
2647 "org.tizen.system.deviced.PmQos",
2649 g_variant_new("(i)", param1),
2652 _E("failed UgLaunch");
2656 g_variant_get(reply, "(i)", &val1);
2657 g_variant_unref(reply);
2662 // SensorWakeup : in i, out i
2664 gint test_deviced_PmQos_SensorWakeup(gint param1)
2670 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2671 "/Org/Tizen/System/DeviceD/PmQos",
2672 "org.tizen.system.deviced.PmQos",
2674 g_variant_new("(i)", param1),
2677 _E("failed SensorWakeup");
2681 g_variant_get(reply, "(i)", &val1);
2682 g_variant_unref(reply);
2687 // WebAppFlick : in i, out i
2689 gint test_deviced_PmQos_WebAppFlick(gint param1)
2695 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2696 "/Org/Tizen/System/DeviceD/PmQos",
2697 "org.tizen.system.deviced.PmQos",
2699 g_variant_new("(i)", param1),
2702 _E("failed WebAppFlick");
2706 g_variant_get(reply, "(i)", &val1);
2707 g_variant_unref(reply);
2712 // WebAppDrag : in i, out i
2714 gint test_deviced_PmQos_WebAppDrag(gint param1)
2720 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2721 "/Org/Tizen/System/DeviceD/PmQos",
2722 "org.tizen.system.deviced.PmQos",
2724 g_variant_new("(i)", param1),
2727 _E("failed WebAppDrag");
2731 g_variant_get(reply, "(i)", &val1);
2732 g_variant_unref(reply);
2737 // PowerOff : in i, out i
2739 gint test_deviced_PmQos_PowerOff(gint param1)
2745 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2746 "/Org/Tizen/System/DeviceD/PmQos",
2747 "org.tizen.system.deviced.PmQos",
2749 g_variant_new("(i)", param1),
2752 _E("failed PowerOff");
2756 g_variant_get(reply, "(i)", &val1);
2757 g_variant_unref(reply);
2762 // WifiThroughput : in ii, out i
2764 gint test_deviced_PmQos_WifiThroughput(gint param1, gint param2)
2770 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2771 "/Org/Tizen/System/DeviceD/PmQos",
2772 "org.tizen.system.deviced.PmQos",
2774 g_variant_new("(ii)", param1, param2),
2777 _E("failed WifiThroughput");
2781 g_variant_get(reply, "(i)", &val1);
2782 g_variant_unref(reply);
2787 // WebappLaunch : in i, out i
2789 gint test_deviced_PmQos_WebappLaunch(gint param1)
2795 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2796 "/Org/Tizen/System/DeviceD/PmQos",
2797 "org.tizen.system.deviced.PmQos",
2799 g_variant_new("(i)", param1),
2802 _E("failed WebappLaunch");
2806 g_variant_get(reply, "(i)", &val1);
2807 g_variant_unref(reply);
2812 // SVoice : in i, out i
2814 gint test_deviced_PmQos_SVoice(gint param1)
2820 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2821 "/Org/Tizen/System/DeviceD/PmQos",
2822 "org.tizen.system.deviced.PmQos",
2824 g_variant_new("(i)", param1),
2827 _E("failed SVoice");
2831 g_variant_get(reply, "(i)", &val1);
2832 g_variant_unref(reply);
2837 // SmemoZoom : in i, out i
2839 gint test_deviced_PmQos_SmemoZoom(gint param1)
2845 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2846 "/Org/Tizen/System/DeviceD/PmQos",
2847 "org.tizen.system.deviced.PmQos",
2849 g_variant_new("(i)", param1),
2852 _E("failed SmemoZoom");
2856 g_variant_get(reply, "(i)", &val1);
2857 g_variant_unref(reply);
2862 // ScreenMirroring : in i, out i
2864 gint test_deviced_PmQos_ScreenMirroring(gint param1)
2870 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2871 "/Org/Tizen/System/DeviceD/PmQos",
2872 "org.tizen.system.deviced.PmQos",
2874 g_variant_new("(i)", param1),
2877 _E("failed ScreenMirroring");
2881 g_variant_get(reply, "(i)", &val1);
2882 g_variant_unref(reply);
2887 // ReservedMode : in i, out i
2889 gint test_deviced_PmQos_ReservedMode(gint param1)
2895 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2896 "/Org/Tizen/System/DeviceD/PmQos",
2897 "org.tizen.system.deviced.PmQos",
2899 g_variant_new("(i)", param1),
2902 _E("failed ReservedMode");
2906 g_variant_get(reply, "(i)", &val1);
2907 g_variant_unref(reply);
2912 // ProcessCrashed : in i, out i
2914 gint test_deviced_PmQos_ProcessCrashed(gint param1)
2920 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2921 "/Org/Tizen/System/DeviceD/PmQos",
2922 "org.tizen.system.deviced.PmQos",
2924 g_variant_new("(i)", param1),
2927 _E("failed ProcessCrashed");
2931 g_variant_get(reply, "(i)", &val1);
2932 g_variant_unref(reply);
2937 // PowerSaving : in i, out i
2939 gint test_deviced_PmQos_PowerSaving(gint param1)
2945 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2946 "/Org/Tizen/System/DeviceD/PmQos",
2947 "org.tizen.system.deviced.PmQos",
2949 g_variant_new("(i)", param1),
2952 _E("failed PowerSaving");
2956 g_variant_get(reply, "(i)", &val1);
2957 g_variant_unref(reply);
2962 // MusicPlayLcdOn : in i, out i
2964 gint test_deviced_PmQos_MusicPlayLcdOn(gint param1)
2970 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2971 "/Org/Tizen/System/DeviceD/PmQos",
2972 "org.tizen.system.deviced.PmQos",
2974 g_variant_new("(i)", param1),
2977 _E("failed MusicPlayLcdOn");
2981 g_variant_get(reply, "(i)", &val1);
2982 g_variant_unref(reply);
2987 // MtpSendFile : in i, out i
2989 gint test_deviced_PmQos_MtpSendFile(gint param1)
2995 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
2996 "/Org/Tizen/System/DeviceD/PmQos",
2997 "org.tizen.system.deviced.PmQos",
2999 g_variant_new("(i)", param1),
3002 _E("failed MtpSendFile");
3006 g_variant_get(reply, "(i)", &val1);
3007 g_variant_unref(reply);
3012 // LowBattery : in i, out i
3014 gint test_deviced_PmQos_LowBattery(gint param1)
3020 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3021 "/Org/Tizen/System/DeviceD/PmQos",
3022 "org.tizen.system.deviced.PmQos",
3024 g_variant_new("(i)", param1),
3027 _E("failed LowBattery");
3031 g_variant_get(reply, "(i)", &val1);
3032 g_variant_unref(reply);
3037 // LockScreen : in i, out i
3039 gint test_deviced_PmQos_LockScreen(gint param1)
3045 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3046 "/Org/Tizen/System/DeviceD/PmQos",
3047 "org.tizen.system.deviced.PmQos",
3049 g_variant_new("(i)", param1),
3052 _E("failed LockScreen");
3056 g_variant_get(reply, "(i)", &val1);
3057 g_variant_unref(reply);
3062 // IMEInput : in i, out i
3064 gint test_deviced_PmQos_IMEInput(gint param1)
3070 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3071 "/Org/Tizen/System/DeviceD/PmQos",
3072 "org.tizen.system.deviced.PmQos",
3074 g_variant_new("(i)", param1),
3077 _E("failed IMEInput");
3081 g_variant_get(reply, "(i)", &val1);
3082 g_variant_unref(reply);
3087 // ImageViewer : in i, out i
3089 gint test_deviced_PmQos_ImageViewer(gint param1)
3095 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3096 "/Org/Tizen/System/DeviceD/PmQos",
3097 "org.tizen.system.deviced.PmQos",
3099 g_variant_new("(i)", param1),
3102 _E("failed ImageViewer");
3106 g_variant_get(reply, "(i)", &val1);
3107 g_variant_unref(reply);
3112 // HomeScreen : in i, out i
3114 gint test_deviced_PmQos_HomeScreen(gint param1)
3120 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3121 "/Org/Tizen/System/DeviceD/PmQos",
3122 "org.tizen.system.deviced.PmQos",
3124 g_variant_new("(i)", param1),
3127 _E("failed HomeScreen");
3131 g_variant_get(reply, "(i)", &val1);
3132 g_variant_unref(reply);
3137 // GpuWakeup : in i, out i
3139 gint test_deviced_PmQos_GpuWakeup(gint param1)
3145 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3146 "/Org/Tizen/System/DeviceD/PmQos",
3147 "org.tizen.system.deviced.PmQos",
3149 g_variant_new("(i)", param1),
3152 _E("failed GpuWakeup");
3156 g_variant_get(reply, "(i)", &val1);
3157 g_variant_unref(reply);
3162 // GpuBoost : in i, out i
3164 gint test_deviced_PmQos_GpuBoost(gint param1)
3170 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3171 "/Org/Tizen/System/DeviceD/PmQos",
3172 "org.tizen.system.deviced.PmQos",
3174 g_variant_new("(i)", param1),
3177 _E("failed GpuBoost");
3181 g_variant_get(reply, "(i)", &val1);
3182 g_variant_unref(reply);
3187 // GpsSerialCno : in i, out i
3189 gint test_deviced_PmQos_GpsSerialCno(gint param1)
3195 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3196 "/Org/Tizen/System/DeviceD/PmQos",
3197 "org.tizen.system.deviced.PmQos",
3199 g_variant_new("(i)", param1),
3202 _E("failed GpsSerialCno");
3206 g_variant_get(reply, "(i)", &val1);
3207 g_variant_unref(reply);
3212 // GetDefaultLockTime : in , out i
3214 gint test_deviced_PmQos_GetDefaultLockTime(void)
3220 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3221 "/Org/Tizen/System/DeviceD/PmQos",
3222 "org.tizen.system.deviced.PmQos",
3223 "GetDefaultLockTime",
3227 _E("failed GetDefaultLockTime");
3231 g_variant_get(reply, "(i)", &val1);
3232 g_variant_unref(reply);
3237 // GalleryRotation : in i, out i
3239 gint test_deviced_PmQos_GalleryRotation(gint param1)
3245 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3246 "/Org/Tizen/System/DeviceD/PmQos",
3247 "org.tizen.system.deviced.PmQos",
3249 g_variant_new("(i)", param1),
3252 _E("failed GalleryRotation");
3256 g_variant_get(reply, "(i)", &val1);
3257 g_variant_unref(reply);
3262 // GalleryScroll : in i, out i
3264 gint test_deviced_PmQos_GalleryScroll(gint param1)
3270 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3271 "/Org/Tizen/System/DeviceD/PmQos",
3272 "org.tizen.system.deviced.PmQos",
3274 g_variant_new("(i)", param1),
3277 _E("failed GalleryScroll");
3281 g_variant_get(reply, "(i)", &val1);
3282 g_variant_unref(reply);
3287 // Emergency : in i, out i
3289 gint test_deviced_PmQos_Emergency(gint param1)
3295 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3296 "/Org/Tizen/System/DeviceD/PmQos",
3297 "org.tizen.system.deviced.PmQos",
3299 g_variant_new("(i)", param1),
3302 _E("failed Emergency");
3306 g_variant_get(reply, "(i)", &val1);
3307 g_variant_unref(reply);
3312 // ContactSearch : in i, out i
3314 gint test_deviced_PmQos_ContactSearch(gint param1)
3320 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3321 "/Org/Tizen/System/DeviceD/PmQos",
3322 "org.tizen.system.deviced.PmQos",
3324 g_variant_new("(i)", param1),
3327 _E("failed ContactSearch");
3331 g_variant_get(reply, "(i)", &val1);
3332 g_variant_unref(reply);
3337 // CameraSoundAndShot : in i, out i
3339 gint test_deviced_PmQos_CameraSoundAndShot(gint param1)
3345 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3346 "/Org/Tizen/System/DeviceD/PmQos",
3347 "org.tizen.system.deviced.PmQos",
3348 "CameraSoundAndShot",
3349 g_variant_new("(i)", param1),
3352 _E("failed CameraSoundAndShot");
3356 g_variant_get(reply, "(i)", &val1);
3357 g_variant_unref(reply);
3362 // CameraRecording : in i, out i
3364 gint test_deviced_PmQos_CameraRecording(gint param1)
3370 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3371 "/Org/Tizen/System/DeviceD/PmQos",
3372 "org.tizen.system.deviced.PmQos",
3374 g_variant_new("(i)", param1),
3377 _E("failed CameraRecording");
3381 g_variant_get(reply, "(i)", &val1);
3382 g_variant_unref(reply);
3387 // CameraPreview : in i, out i
3389 gint test_deviced_PmQos_CameraPreview(gint param1)
3395 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3396 "/Org/Tizen/System/DeviceD/PmQos",
3397 "org.tizen.system.deviced.PmQos",
3399 g_variant_new("(i)", param1),
3402 _E("failed CameraPreview");
3406 g_variant_get(reply, "(i)", &val1);
3407 g_variant_unref(reply);
3412 // CameraCaptureAtRec : in i, out i
3414 gint test_deviced_PmQos_CameraCaptureAtRec(gint param1)
3420 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3421 "/Org/Tizen/System/DeviceD/PmQos",
3422 "org.tizen.system.deviced.PmQos",
3423 "CameraCaptureAtRec",
3424 g_variant_new("(i)", param1),
3427 _E("failed CameraCaptureAtRec");
3431 g_variant_get(reply, "(i)", &val1);
3432 g_variant_unref(reply);
3437 // CameraBurstShot : in i, out i
3439 gint test_deviced_PmQos_CameraBurstShot(gint param1)
3445 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3446 "/Org/Tizen/System/DeviceD/PmQos",
3447 "org.tizen.system.deviced.PmQos",
3449 g_variant_new("(i)", param1),
3452 _E("failed CameraBurstShot");
3456 g_variant_get(reply, "(i)", &val1);
3457 g_variant_unref(reply);
3462 // CallSound : in i, out i
3464 gint test_deviced_PmQos_CallSound(gint param1)
3470 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3471 "/Org/Tizen/System/DeviceD/PmQos",
3472 "org.tizen.system.deviced.PmQos",
3474 g_variant_new("(i)", param1),
3477 _E("failed CallSound");
3481 g_variant_get(reply, "(i)", &val1);
3482 g_variant_unref(reply);
3487 // BrowserScroll : in i, out i
3489 gint test_deviced_PmQos_BrowserScroll(gint param1)
3495 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3496 "/Org/Tizen/System/DeviceD/PmQos",
3497 "org.tizen.system.deviced.PmQos",
3499 g_variant_new("(i)", param1),
3502 _E("failed BrowserScroll");
3506 g_variant_get(reply, "(i)", &val1);
3507 g_variant_unref(reply);
3512 // BrowserLoading : in i, out i
3514 gint test_deviced_PmQos_BrowserLoading(gint param1)
3520 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3521 "/Org/Tizen/System/DeviceD/PmQos",
3522 "org.tizen.system.deviced.PmQos",
3524 g_variant_new("(i)", param1),
3527 _E("failed BrowserLoading");
3531 g_variant_get(reply, "(i)", &val1);
3532 g_variant_unref(reply);
3537 // BrowserJavaScript : in i, out i
3539 gint test_deviced_PmQos_BrowserJavaScript(gint param1)
3545 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3546 "/Org/Tizen/System/DeviceD/PmQos",
3547 "org.tizen.system.deviced.PmQos",
3548 "BrowserJavaScript",
3549 g_variant_new("(i)", param1),
3552 _E("failed BrowserJavaScript");
3556 g_variant_get(reply, "(i)", &val1);
3557 g_variant_unref(reply);
3562 // BrowserDash : in i, out i
3564 gint test_deviced_PmQos_BrowserDash(gint param1)
3570 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3571 "/Org/Tizen/System/DeviceD/PmQos",
3572 "org.tizen.system.deviced.PmQos",
3574 g_variant_new("(i)", param1),
3577 _E("failed BrowserDash");
3581 g_variant_get(reply, "(i)", &val1);
3582 g_variant_unref(reply);
3587 // Browser : in i, out i
3589 gint test_deviced_PmQos_Browser(gint param1)
3595 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3596 "/Org/Tizen/System/DeviceD/PmQos",
3597 "org.tizen.system.deviced.PmQos",
3599 g_variant_new("(i)", param1),
3602 _E("failed Browser");
3606 g_variant_get(reply, "(i)", &val1);
3607 g_variant_unref(reply);
3612 // BeautyShot : in i, out i
3614 gint test_deviced_PmQos_BeautyShot(gint param1)
3620 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3621 "/Org/Tizen/System/DeviceD/PmQos",
3622 "org.tizen.system.deviced.PmQos",
3624 g_variant_new("(i)", param1),
3627 _E("failed BeautyShot");
3631 g_variant_get(reply, "(i)", &val1);
3632 g_variant_unref(reply);
3637 // AppLaunchHome : in i, out i
3639 gint test_deviced_PmQos_AppLaunchHome(gint param1)
3645 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3646 "/Org/Tizen/System/DeviceD/PmQos",
3647 "org.tizen.system.deviced.PmQos",
3649 g_variant_new("(i)", param1),
3652 _E("failed AppLaunchHome");
3656 g_variant_get(reply, "(i)", &val1);
3657 g_variant_unref(reply);
3662 // AppLaunch : in i, out i
3664 gint test_deviced_PmQos_AppLaunch(gint param1)
3670 ret_dbus = dbus_handle_method_sync_with_reply_var("org.tizen.system.deviced",
3671 "/Org/Tizen/System/DeviceD/PmQos",
3672 "org.tizen.system.deviced.PmQos",
3674 g_variant_new("(i)", param1),
3677 _E("failed AppLaunch");
3681 g_variant_get(reply, "(i)", &val1);
3682 g_variant_unref(reply);