Alex Vakulenko | 2bddadd | 2014-03-27 13:23:46 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8" ?> |
Timothy Jennison | 08d4931 | 2015-03-04 13:46:40 -0500 | [diff] [blame] | 2 | <node name="/org/chromium/UpdateEngine"> |
Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 3 | <interface name="org.chromium.UpdateEngineInterface"> |
| 4 | <annotation name="org.freedesktop.DBus.GLib.CSymbol" |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 5 | value="update_engine_service" /> |
Alex Deymo | 36dc2f3 | 2013-08-29 15:45:06 -0700 | [diff] [blame] | 6 | <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol" |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 7 | value="update_engine_client" /> |
Darin Petkov | 296889c | 2010-07-23 16:20:54 -0700 | [diff] [blame] | 8 | <method name="AttemptUpdate"> |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 9 | <arg type="s" name="app_version" direction="in" /> |
| 10 | <arg type="s" name="omaha_url" direction="in" /> |
Darin Petkov | 296889c | 2010-07-23 16:20:54 -0700 | [diff] [blame] | 11 | </method> |
David Zeuthen | 75a4c3e | 2013-09-06 11:36:59 -0700 | [diff] [blame] | 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"> |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 17 | <arg type="s" name="app_version" direction="in" /> |
| 18 | <arg type="s" name="omaha_url" direction="in" /> |
Alex Deymo | d6deb1d | 2015-08-28 15:54:37 -0700 | [diff] [blame] | 19 | <!-- See AttemptUpdateFlags enum in update_engine/dbus-constants.h. --> |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 20 | <arg type="i" name="flags" direction="in" /> |
David Zeuthen | 75a4c3e | 2013-09-06 11:36:59 -0700 | [diff] [blame] | 21 | </method> |
Xiaochu Liu | 88d9038 | 2018-08-29 16:09:11 -0700 | [diff] [blame^] | 22 | <method name="AttemptInstall"> |
| 23 | <arg type="s" name="dlc_request" direction="in" /> |
| 24 | </method> |
Chris Sosa | d317e40 | 2013-06-12 13:47:09 -0700 | [diff] [blame] | 25 | <method name="AttemptRollback"> |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 26 | <arg type="b" name="powerwash" direction="in" /> |
Chris Sosa | d317e40 | 2013-06-12 13:47:09 -0700 | [diff] [blame] | 27 | </method> |
Alex Vakulenko | 59e253e | 2014-02-24 10:40:21 -0800 | [diff] [blame] | 28 | <method name="CanRollback"> |
| 29 | <arg type="b" name="can_rollback" direction="out" /> |
| 30 | </method> |
Jay Srinivasan | c1ba09a | 2012-08-14 14:15:57 -0700 | [diff] [blame] | 31 | <method name="ResetStatus"> |
| 32 | </method> |
Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 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> |
Jay Srinivasan | ae4697c | 2013-03-18 17:08:08 -0700 | [diff] [blame] | 40 | <method name="RebootIfNeeded"> |
| 41 | </method> |
Jay Srinivasan | ae4697c | 2013-03-18 17:08:08 -0700 | [diff] [blame] | 42 | <method name="SetChannel"> |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 43 | <arg type="s" name="target_channel" direction="in" /> |
| 44 | <arg type="b" name="is_powerwash_allowed" direction="in" /> |
Jay Srinivasan | ae4697c | 2013-03-18 17:08:08 -0700 | [diff] [blame] | 45 | </method> |
| 46 | <method name="GetChannel"> |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 47 | <arg type="b" name="get_current_channel" direction="in" /> |
Jay Srinivasan | ae4697c | 2013-03-18 17:08:08 -0700 | [diff] [blame] | 48 | <arg type="s" name="channel" direction="out" /> |
| 49 | </method> |
Alex Deymo | 5b5fa8b | 2016-10-06 15:40:49 -0700 | [diff] [blame] | 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> |
Alex Deymo | 5fdf776 | 2013-07-17 20:01:40 -0700 | [diff] [blame] | 56 | <method name="SetP2PUpdatePermission"> |
| 57 | <annotation name="org.freedesktop.DBus.GLib.CSymbol" |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 58 | value="update_engine_service_set_p2p_update_permission" /> |
Alex Deymo | 36dc2f3 | 2013-08-29 15:45:06 -0700 | [diff] [blame] | 59 | <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol" |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 60 | value="update_engine_client_set_p2p_update_permission" /> |
| 61 | <arg type="b" name="enabled" direction="in" /> |
Alex Deymo | 5fdf776 | 2013-07-17 20:01:40 -0700 | [diff] [blame] | 62 | </method> |
| 63 | <method name="GetP2PUpdatePermission"> |
| 64 | <annotation name="org.freedesktop.DBus.GLib.CSymbol" |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 65 | value="update_engine_service_get_p2p_update_permission" /> |
Alex Deymo | 36dc2f3 | 2013-08-29 15:45:06 -0700 | [diff] [blame] | 66 | <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol" |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 67 | value="update_engine_client_get_p2p_update_permission" /> |
Alex Deymo | 5fdf776 | 2013-07-17 20:01:40 -0700 | [diff] [blame] | 68 | <arg type="b" name="enabled" direction="out" /> |
| 69 | </method> |
Alex Deymo | f4867c4 | 2013-06-28 14:41:39 -0700 | [diff] [blame] | 70 | <method name="SetUpdateOverCellularPermission"> |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 71 | <arg type="b" name="allowed" direction="in" /> |
Alex Deymo | f4867c4 | 2013-06-28 14:41:39 -0700 | [diff] [blame] | 72 | </method> |
Weidong Guo | 421ff33 | 2017-04-17 10:08:38 -0700 | [diff] [blame] | 73 | <method name="SetUpdateOverCellularTarget"> |
| 74 | <arg type="s" name="target_version" direction="in" /> |
| 75 | <arg type="x" name="target_size" direction="in" /> |
| 76 | </method> |
Alex Deymo | f4867c4 | 2013-06-28 14:41:39 -0700 | [diff] [blame] | 77 | <method name="GetUpdateOverCellularPermission"> |
| 78 | <arg type="b" name="allowed" direction="out" /> |
| 79 | </method> |
David Zeuthen | 3c55abd | 2013-10-14 12:48:03 -0700 | [diff] [blame] | 80 | <method name="GetDurationSinceUpdate"> |
| 81 | <arg type="x" name="usec_wallclock" direction="out" /> |
| 82 | </method> |
Andrew de los Reyes | 63b96d7 | 2010-05-10 13:08:54 -0700 | [diff] [blame] | 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> |
Alex Vakulenko | dea2eac | 2014-03-14 15:56:59 -0700 | [diff] [blame] | 90 | <method name="GetPrevVersion"> |
| 91 | <arg type="s" name="prev_version" direction="out" /> |
| 92 | </method> |
Alex Vakulenko | 2bddadd | 2014-03-27 13:23:46 -0700 | [diff] [blame] | 93 | <method name="GetRollbackPartition"> |
| 94 | <arg type="s" name="rollback_partition_name" direction="out" /> |
| 95 | </method> |
Shuqian Zhao | 2997173 | 2016-02-05 11:29:32 -0800 | [diff] [blame] | 96 | <method name="GetLastAttemptError"> |
| 97 | <arg type="i" name="last_attempt_error" direction="out" /> |
| 98 | </method> |
Alex Deymo | b3fa53b | 2016-04-18 19:57:58 -0700 | [diff] [blame] | 99 | <method name="GetEolStatus"> |
| 100 | <arg type="i" name="eol_status" direction="out" /> |
| 101 | </method> |
Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 102 | </interface> |
| 103 | </node> |