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="SetCohortHint"> 48 <arg type="s" name="cohort_hint" direction="in" /> 49 </method> 50 <method name="GetCohortHint"> 51 <arg type="s" name="cohort_hint" direction="out" /> 52 </method> 53 <method name="SetP2PUpdatePermission"> 54 <annotation name="org.freedesktop.DBus.GLib.CSymbol" 55 value="update_engine_service_set_p2p_update_permission" /> 56 <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol" 57 value="update_engine_client_set_p2p_update_permission" /> 58 <arg type="b" name="enabled" direction="in" /> 59 </method> 60 <method name="GetP2PUpdatePermission"> 61 <annotation name="org.freedesktop.DBus.GLib.CSymbol" 62 value="update_engine_service_get_p2p_update_permission" /> 63 <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol" 64 value="update_engine_client_get_p2p_update_permission" /> 65 <arg type="b" name="enabled" direction="out" /> 66 </method> 67 <method name="SetUpdateOverCellularPermission"> 68 <arg type="b" name="allowed" direction="in" /> 69 </method> 70 <method name="GetUpdateOverCellularPermission"> 71 <arg type="b" name="allowed" direction="out" /> 72 </method> 73 <method name="GetDurationSinceUpdate"> 74 <arg type="x" name="usec_wallclock" direction="out" /> 75 </method> 76 <signal name="StatusUpdate"> 77 <arg type="x" name="last_checked_time" /> 78 <arg type="d" name="progress" /> 79 <arg type="s" name="current_operation" /> 80 <arg type="s" name="new_version" /> 81 <arg type="x" name="new_size" /> 82 </signal> 83 <method name="GetPrevVersion"> 84 <arg type="s" name="prev_version" direction="out" /> 85 </method> 86 <method name="GetRollbackPartition"> 87 <arg type="s" name="rollback_partition_name" direction="out" /> 88 </method> 89 <method name="GetLastAttemptError"> 90 <arg type="i" name="last_attempt_error" direction="out" /> 91 </method> 92 <method name="GetEolStatus"> 93 <arg type="i" name="eol_status" direction="out" /> 94 </method> 95 </interface> 96</node> 97