• 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="AttemptInstall">
23      <arg type="s" name="dlc_request" direction="in" />
24    </method>
25    <method name="AttemptRollback">
26      <arg type="b" name="powerwash" direction="in" />
27    </method>
28    <method name="CanRollback">
29      <arg type="b" name="can_rollback" direction="out" />
30    </method>
31    <method name="ResetStatus">
32    </method>
33    <method name="GetStatus">
34      <arg type="x" name="last_checked_time" direction="out" />
35      <arg type="d" name="progress" direction="out" />
36      <arg type="s" name="current_operation" direction="out" />
37      <arg type="s" name="new_version" direction="out" />
38      <arg type="x" name="new_size" direction="out" />
39    </method>
40    <method name="RebootIfNeeded">
41    </method>
42    <method name="SetChannel">
43      <arg type="s" name="target_channel" direction="in" />
44      <arg type="b" name="is_powerwash_allowed" direction="in" />
45    </method>
46    <method name="GetChannel">
47      <arg type="b" name="get_current_channel" direction="in" />
48      <arg type="s" name="channel" direction="out" />
49    </method>
50    <method name="SetCohortHint">
51      <arg type="s" name="cohort_hint" direction="in" />
52    </method>
53    <method name="GetCohortHint">
54      <arg type="s" name="cohort_hint" direction="out" />
55    </method>
56    <method name="SetP2PUpdatePermission">
57      <annotation name="org.freedesktop.DBus.GLib.CSymbol"
58        value="update_engine_service_set_p2p_update_permission" />
59      <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol"
60        value="update_engine_client_set_p2p_update_permission" />
61      <arg type="b" name="enabled" direction="in" />
62    </method>
63    <method name="GetP2PUpdatePermission">
64      <annotation name="org.freedesktop.DBus.GLib.CSymbol"
65        value="update_engine_service_get_p2p_update_permission" />
66      <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol"
67        value="update_engine_client_get_p2p_update_permission" />
68      <arg type="b" name="enabled" direction="out" />
69    </method>
70    <method name="SetUpdateOverCellularPermission">
71      <arg type="b" name="allowed" direction="in" />
72    </method>
73    <method name="SetUpdateOverCellularTarget">
74      <arg type="s" name="target_version" direction="in" />
75      <arg type="x" name="target_size" direction="in" />
76    </method>
77    <method name="GetUpdateOverCellularPermission">
78      <arg type="b" name="allowed" direction="out" />
79    </method>
80    <method name="GetDurationSinceUpdate">
81      <arg type="x" name="usec_wallclock" direction="out" />
82    </method>
83    <signal name="StatusUpdate">
84      <arg type="x" name="last_checked_time" />
85      <arg type="d" name="progress" />
86      <arg type="s" name="current_operation" />
87      <arg type="s" name="new_version" />
88      <arg type="x" name="new_size" />
89    </signal>
90    <method name="GetPrevVersion">
91      <arg type="s" name="prev_version" direction="out" />
92    </method>
93    <method name="GetRollbackPartition">
94      <arg type="s" name="rollback_partition_name" direction="out" />
95    </method>
96    <method name="GetLastAttemptError">
97      <arg type="i" name="last_attempt_error" direction="out" />
98    </method>
99    <method name="GetEolStatus">
100      <arg type="i" name="eol_status" direction="out" />
101    </method>
102  </interface>
103</node>
104