• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8" ?>
2<node name="/org/chromium/UpdateEngine">
3  <interface name="org.chromium.UpdateEngineInterface">
4    <annotation name="org.freedesktop.DBus.GLib.CSymbol"
5                value="update_engine_service" />
6    <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol"
7                value="update_engine_client" />
8    <method name="AttemptUpdate">
9      <arg type="s" name="app_version" direction="in" />
10      <arg type="s" name="omaha_url" direction="in" />
11    </method>
12    <!-- 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">
17      <arg type="s" name="app_version" direction="in" />
18      <arg type="s" name="omaha_url" direction="in" />
19      <!-- See AttemptUpdateFlags enum in update_engine/dbus-constants.h. -->
20      <arg type="i" name="flags" direction="in" />
21    </method>
22    <method name="AttemptRollback">
23      <arg type="b" name="powerwash" direction="in" />
24    </method>
25    <method name="CanRollback">
26      <arg type="b" name="can_rollback" direction="out" />
27    </method>
28    <method name="ResetStatus">
29    </method>
30    <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>
37    <method name="RebootIfNeeded">
38    </method>
39    <method name="SetChannel">
40      <arg type="s" name="target_channel" direction="in" />
41      <arg type="b" name="is_powerwash_allowed" direction="in" />
42    </method>
43    <method name="GetChannel">
44      <arg type="b" name="get_current_channel" direction="in" />
45      <arg type="s" name="channel" direction="out" />
46    </method>
47    <method name="SetP2PUpdatePermission">
48      <annotation name="org.freedesktop.DBus.GLib.CSymbol"
49        value="update_engine_service_set_p2p_update_permission" />
50      <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol"
51        value="update_engine_client_set_p2p_update_permission" />
52      <arg type="b" name="enabled" direction="in" />
53    </method>
54    <method name="GetP2PUpdatePermission">
55      <annotation name="org.freedesktop.DBus.GLib.CSymbol"
56        value="update_engine_service_get_p2p_update_permission" />
57      <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol"
58        value="update_engine_client_get_p2p_update_permission" />
59      <arg type="b" name="enabled" direction="out" />
60    </method>
61    <method name="SetUpdateOverCellularPermission">
62      <arg type="b" name="allowed" direction="in" />
63    </method>
64    <method name="GetUpdateOverCellularPermission">
65      <arg type="b" name="allowed" direction="out" />
66    </method>
67    <method name="GetDurationSinceUpdate">
68      <arg type="x" name="usec_wallclock" direction="out" />
69    </method>
70    <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>
77    <method name="GetPrevVersion">
78      <arg type="s" name="prev_version" direction="out" />
79    </method>
80    <method name="GetRollbackPartition">
81      <arg type="s" name="rollback_partition_name" direction="out" />
82    </method>
83    <method name="GetLastAttemptError">
84      <arg type="i" name="last_attempt_error" direction="out" />
85    </method>
86  </interface>
87</node>
88