Alex Vakulenko | 2bddadd | 2014-03-27 13:23:46 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8" ?> |
Amin Hassani | eb463ee | 2019-06-20 19:23:03 -0700 | [diff] [blame] | 2 | <!-- |
| 3 | Copyright (C) 2019 The Android Open Source Project |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | !--> |
Timothy Jennison | 08d4931 | 2015-03-04 13:46:40 -0500 | [diff] [blame] | 17 | <node name="/org/chromium/UpdateEngine"> |
Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 18 | <interface name="org.chromium.UpdateEngineInterface"> |
| 19 | <annotation name="org.freedesktop.DBus.GLib.CSymbol" |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 20 | value="update_engine_service" /> |
Alex Deymo | 36dc2f3 | 2013-08-29 15:45:06 -0700 | [diff] [blame] | 21 | <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol" |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 22 | value="update_engine_client" /> |
Darin Petkov | 296889c | 2010-07-23 16:20:54 -0700 | [diff] [blame] | 23 | <method name="AttemptUpdate"> |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 24 | <arg type="s" name="app_version" direction="in" /> |
| 25 | <arg type="s" name="omaha_url" direction="in" /> |
Darin Petkov | 296889c | 2010-07-23 16:20:54 -0700 | [diff] [blame] | 26 | </method> |
David Zeuthen | 75a4c3e | 2013-09-06 11:36:59 -0700 | [diff] [blame] | 27 | <!-- TODO(zeuthen,chromium:286399): Rename to AttemptUpdate and |
| 28 | update Chrome and other users of the AttemptUpdate() method |
| 29 | in lockstep. |
| 30 | --> |
| 31 | <method name="AttemptUpdateWithFlags"> |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 32 | <arg type="s" name="app_version" direction="in" /> |
| 33 | <arg type="s" name="omaha_url" direction="in" /> |
Alex Deymo | d6deb1d | 2015-08-28 15:54:37 -0700 | [diff] [blame] | 34 | <!-- See AttemptUpdateFlags enum in update_engine/dbus-constants.h. --> |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 35 | <arg type="i" name="flags" direction="in" /> |
David Zeuthen | 75a4c3e | 2013-09-06 11:36:59 -0700 | [diff] [blame] | 36 | </method> |
Xiaochu Liu | 88d9038 | 2018-08-29 16:09:11 -0700 | [diff] [blame] | 37 | <method name="AttemptInstall"> |
Amin Hassani | 3bab177 | 2019-06-21 14:58:25 -0700 | [diff] [blame] | 38 | <arg type="ay" name="request" direction="in"> |
| 39 | <tp:docstring> |
| 40 | The information about DLC modules that needs to be installed. |
| 41 | </tp:docstring> |
| 42 | <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| 43 | value="dlcservice::DlcModuleList"/> |
| 44 | </arg> |
Xiaochu Liu | 88d9038 | 2018-08-29 16:09:11 -0700 | [diff] [blame] | 45 | </method> |
Chris Sosa | d317e40 | 2013-06-12 13:47:09 -0700 | [diff] [blame] | 46 | <method name="AttemptRollback"> |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 47 | <arg type="b" name="powerwash" direction="in" /> |
Chris Sosa | d317e40 | 2013-06-12 13:47:09 -0700 | [diff] [blame] | 48 | </method> |
Alex Vakulenko | 59e253e | 2014-02-24 10:40:21 -0800 | [diff] [blame] | 49 | <method name="CanRollback"> |
| 50 | <arg type="b" name="can_rollback" direction="out" /> |
| 51 | </method> |
Jay Srinivasan | c1ba09a | 2012-08-14 14:15:57 -0700 | [diff] [blame] | 52 | <method name="ResetStatus"> |
| 53 | </method> |
Andrew | a8d7df3 | 2020-03-15 20:10:01 -0700 | [diff] [blame^] | 54 | <method name="SetDlcActiveValue"> |
| 55 | <arg type="b" name="is_active" direction="in"> |
| 56 | <tp:docstring> |
| 57 | If the DLC is being set to active or inactive. |
| 58 | </tp:docstring> |
| 59 | </arg> |
| 60 | <arg type="s" name="dlc_id" direction="in"> |
| 61 | <tp:docstring> |
| 62 | The ID of the DLC module that will be set to active/inactive. |
| 63 | </tp:docstring> |
| 64 | </arg> |
| 65 | </method> |
Amin Hassani | eb463ee | 2019-06-20 19:23:03 -0700 | [diff] [blame] | 66 | <method name="GetStatusAdvanced"> |
| 67 | <arg type="ay" name="status" direction="out"> |
| 68 | <tp:docstring> |
| 69 | The current status serialized in a protobuf. |
| 70 | </tp:docstring> |
| 71 | <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| 72 | value="update_engine::StatusResult"/> |
| 73 | </arg> |
| 74 | </method> |
Jay Srinivasan | ae4697c | 2013-03-18 17:08:08 -0700 | [diff] [blame] | 75 | <method name="RebootIfNeeded"> |
| 76 | </method> |
Jay Srinivasan | ae4697c | 2013-03-18 17:08:08 -0700 | [diff] [blame] | 77 | <method name="SetChannel"> |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 78 | <arg type="s" name="target_channel" direction="in" /> |
| 79 | <arg type="b" name="is_powerwash_allowed" direction="in" /> |
Jay Srinivasan | ae4697c | 2013-03-18 17:08:08 -0700 | [diff] [blame] | 80 | </method> |
| 81 | <method name="GetChannel"> |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 82 | <arg type="b" name="get_current_channel" direction="in" /> |
Jay Srinivasan | ae4697c | 2013-03-18 17:08:08 -0700 | [diff] [blame] | 83 | <arg type="s" name="channel" direction="out" /> |
| 84 | </method> |
Alex Deymo | 5b5fa8b | 2016-10-06 15:40:49 -0700 | [diff] [blame] | 85 | <method name="SetCohortHint"> |
| 86 | <arg type="s" name="cohort_hint" direction="in" /> |
| 87 | </method> |
| 88 | <method name="GetCohortHint"> |
| 89 | <arg type="s" name="cohort_hint" direction="out" /> |
| 90 | </method> |
Alex Deymo | 5fdf776 | 2013-07-17 20:01:40 -0700 | [diff] [blame] | 91 | <method name="SetP2PUpdatePermission"> |
| 92 | <annotation name="org.freedesktop.DBus.GLib.CSymbol" |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 93 | value="update_engine_service_set_p2p_update_permission" /> |
Alex Deymo | 36dc2f3 | 2013-08-29 15:45:06 -0700 | [diff] [blame] | 94 | <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol" |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 95 | value="update_engine_client_set_p2p_update_permission" /> |
| 96 | <arg type="b" name="enabled" direction="in" /> |
Alex Deymo | 5fdf776 | 2013-07-17 20:01:40 -0700 | [diff] [blame] | 97 | </method> |
| 98 | <method name="GetP2PUpdatePermission"> |
| 99 | <annotation name="org.freedesktop.DBus.GLib.CSymbol" |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 100 | value="update_engine_service_get_p2p_update_permission" /> |
Alex Deymo | 36dc2f3 | 2013-08-29 15:45:06 -0700 | [diff] [blame] | 101 | <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol" |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 102 | value="update_engine_client_get_p2p_update_permission" /> |
Alex Deymo | 5fdf776 | 2013-07-17 20:01:40 -0700 | [diff] [blame] | 103 | <arg type="b" name="enabled" direction="out" /> |
| 104 | </method> |
Alex Deymo | f4867c4 | 2013-06-28 14:41:39 -0700 | [diff] [blame] | 105 | <method name="SetUpdateOverCellularPermission"> |
Alex Deymo | 455eb53 | 2014-09-25 22:54:56 -0700 | [diff] [blame] | 106 | <arg type="b" name="allowed" direction="in" /> |
Alex Deymo | f4867c4 | 2013-06-28 14:41:39 -0700 | [diff] [blame] | 107 | </method> |
Weidong Guo | 421ff33 | 2017-04-17 10:08:38 -0700 | [diff] [blame] | 108 | <method name="SetUpdateOverCellularTarget"> |
| 109 | <arg type="s" name="target_version" direction="in" /> |
| 110 | <arg type="x" name="target_size" direction="in" /> |
| 111 | </method> |
Alex Deymo | f4867c4 | 2013-06-28 14:41:39 -0700 | [diff] [blame] | 112 | <method name="GetUpdateOverCellularPermission"> |
| 113 | <arg type="b" name="allowed" direction="out" /> |
| 114 | </method> |
David Zeuthen | 3c55abd | 2013-10-14 12:48:03 -0700 | [diff] [blame] | 115 | <method name="GetDurationSinceUpdate"> |
| 116 | <arg type="x" name="usec_wallclock" direction="out" /> |
| 117 | </method> |
Amin Hassani | eb463ee | 2019-06-20 19:23:03 -0700 | [diff] [blame] | 118 | <signal name="StatusUpdateAdvanced"> |
| 119 | <arg type="ay" name="status" direction="out"> |
| 120 | <tp:docstring> |
| 121 | The current status serialized in a protobuf. |
| 122 | </tp:docstring> |
| 123 | <annotation name="org.chromium.DBus.Argument.ProtobufClass" |
| 124 | value="update_engine::StatusResult"/> |
| 125 | </arg> |
| 126 | </signal> |
Alex Vakulenko | dea2eac | 2014-03-14 15:56:59 -0700 | [diff] [blame] | 127 | <method name="GetPrevVersion"> |
| 128 | <arg type="s" name="prev_version" direction="out" /> |
| 129 | </method> |
Alex Vakulenko | 2bddadd | 2014-03-27 13:23:46 -0700 | [diff] [blame] | 130 | <method name="GetRollbackPartition"> |
| 131 | <arg type="s" name="rollback_partition_name" direction="out" /> |
| 132 | </method> |
Shuqian Zhao | 2997173 | 2016-02-05 11:29:32 -0800 | [diff] [blame] | 133 | <method name="GetLastAttemptError"> |
| 134 | <arg type="i" name="last_attempt_error" direction="out" /> |
| 135 | </method> |
Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 136 | </interface> |
| 137 | </node> |