blob: 02287de76761b7167b63e99326698fdfd5442dfb [file] [log] [blame]
Alex Vakulenko2bddadd2014-03-27 13:23:46 -07001<?xml version="1.0" encoding="utf-8" ?>
Timothy Jennison08d49312015-03-04 13:46:40 -05002<node name="/org/chromium/UpdateEngine">
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -07003 <interface name="org.chromium.UpdateEngineInterface">
4 <annotation name="org.freedesktop.DBus.GLib.CSymbol"
Alex Deymo455eb532014-09-25 22:54:56 -07005 value="update_engine_service" />
Alex Deymo36dc2f32013-08-29 15:45:06 -07006 <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol"
Alex Deymo455eb532014-09-25 22:54:56 -07007 value="update_engine_client" />
Darin Petkov296889c2010-07-23 16:20:54 -07008 <method name="AttemptUpdate">
Alex Deymo455eb532014-09-25 22:54:56 -07009 <arg type="s" name="app_version" direction="in" />
10 <arg type="s" name="omaha_url" direction="in" />
Darin Petkov296889c2010-07-23 16:20:54 -070011 </method>
David Zeuthen75a4c3e2013-09-06 11:36:59 -070012 <!-- TODO(zeuthen,chromium:286399): Rename to AttemptUpdate and
13 update Chrome and other users of the AttemptUpdate() method
14 in lockstep.
15 -->
16 <method name="AttemptUpdateWithFlags">
Alex Deymo455eb532014-09-25 22:54:56 -070017 <arg type="s" name="app_version" direction="in" />
18 <arg type="s" name="omaha_url" direction="in" />
Alex Deymod6deb1d2015-08-28 15:54:37 -070019 <!-- See AttemptUpdateFlags enum in update_engine/dbus-constants.h. -->
Alex Deymo455eb532014-09-25 22:54:56 -070020 <arg type="i" name="flags" direction="in" />
David Zeuthen75a4c3e2013-09-06 11:36:59 -070021 </method>
Chris Sosad317e402013-06-12 13:47:09 -070022 <method name="AttemptRollback">
Alex Deymo455eb532014-09-25 22:54:56 -070023 <arg type="b" name="powerwash" direction="in" />
Chris Sosad317e402013-06-12 13:47:09 -070024 </method>
Alex Vakulenko59e253e2014-02-24 10:40:21 -080025 <method name="CanRollback">
26 <arg type="b" name="can_rollback" direction="out" />
27 </method>
Jay Srinivasanc1ba09a2012-08-14 14:15:57 -070028 <method name="ResetStatus">
29 </method>
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -070030 <method name="GetStatus">
31 <arg type="x" name="last_checked_time" direction="out" />
32 <arg type="d" name="progress" direction="out" />
33 <arg type="s" name="current_operation" direction="out" />
34 <arg type="s" name="new_version" direction="out" />
35 <arg type="x" name="new_size" direction="out" />
36 </method>
Jay Srinivasanae4697c2013-03-18 17:08:08 -070037 <method name="RebootIfNeeded">
38 </method>
Jay Srinivasanae4697c2013-03-18 17:08:08 -070039 <method name="SetChannel">
Alex Deymo455eb532014-09-25 22:54:56 -070040 <arg type="s" name="target_channel" direction="in" />
41 <arg type="b" name="is_powerwash_allowed" direction="in" />
Jay Srinivasanae4697c2013-03-18 17:08:08 -070042 </method>
43 <method name="GetChannel">
Alex Deymo455eb532014-09-25 22:54:56 -070044 <arg type="b" name="get_current_channel" direction="in" />
Jay Srinivasanae4697c2013-03-18 17:08:08 -070045 <arg type="s" name="channel" direction="out" />
46 </method>
Alex Deymo5fdf7762013-07-17 20:01:40 -070047 <method name="SetP2PUpdatePermission">
48 <annotation name="org.freedesktop.DBus.GLib.CSymbol"
Alex Deymo455eb532014-09-25 22:54:56 -070049 value="update_engine_service_set_p2p_update_permission" />
Alex Deymo36dc2f32013-08-29 15:45:06 -070050 <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol"
Alex Deymo455eb532014-09-25 22:54:56 -070051 value="update_engine_client_set_p2p_update_permission" />
52 <arg type="b" name="enabled" direction="in" />
Alex Deymo5fdf7762013-07-17 20:01:40 -070053 </method>
54 <method name="GetP2PUpdatePermission">
55 <annotation name="org.freedesktop.DBus.GLib.CSymbol"
Alex Deymo455eb532014-09-25 22:54:56 -070056 value="update_engine_service_get_p2p_update_permission" />
Alex Deymo36dc2f32013-08-29 15:45:06 -070057 <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol"
Alex Deymo455eb532014-09-25 22:54:56 -070058 value="update_engine_client_get_p2p_update_permission" />
Alex Deymo5fdf7762013-07-17 20:01:40 -070059 <arg type="b" name="enabled" direction="out" />
60 </method>
Alex Deymof4867c42013-06-28 14:41:39 -070061 <method name="SetUpdateOverCellularPermission">
Alex Deymo455eb532014-09-25 22:54:56 -070062 <arg type="b" name="allowed" direction="in" />
Alex Deymof4867c42013-06-28 14:41:39 -070063 </method>
64 <method name="GetUpdateOverCellularPermission">
65 <arg type="b" name="allowed" direction="out" />
66 </method>
David Zeuthen3c55abd2013-10-14 12:48:03 -070067 <method name="GetDurationSinceUpdate">
68 <arg type="x" name="usec_wallclock" direction="out" />
69 </method>
Andrew de los Reyes63b96d72010-05-10 13:08:54 -070070 <signal name="StatusUpdate">
71 <arg type="x" name="last_checked_time" />
72 <arg type="d" name="progress" />
73 <arg type="s" name="current_operation" />
74 <arg type="s" name="new_version" />
75 <arg type="x" name="new_size" />
76 </signal>
Alex Vakulenkodea2eac2014-03-14 15:56:59 -070077 <method name="GetPrevVersion">
78 <arg type="s" name="prev_version" direction="out" />
79 </method>
Alex Vakulenko2bddadd2014-03-27 13:23:46 -070080 <method name="GetRollbackPartition">
81 <arg type="s" name="rollback_partition_name" direction="out" />
82 </method>
Shuqian Zhao29971732016-02-05 11:29:32 -080083 <method name="GetLastAttemptError">
84 <arg type="i" name="last_attempt_error" direction="out" />
85 </method>
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -070086 </interface>
87</node>