1<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
2  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
3<!--
4  Copyright (C) 2019 The Android Open Source Project
5
6  Licensed under the Apache License, Version 2.0 (the "License");
7  you may not use this file except in compliance with the License.
8  You may obtain a copy of the License at
9
10       http://www.apache.org/licenses/LICENSE-2.0
11
12  Unless required by applicable law or agreed to in writing, software
13  distributed under the License is distributed on an "AS IS" BASIS,
14  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  See the License for the specific language governing permissions and
16  limitations under the License.
17!-->
18<busconfig>
19  <policy user="root">
20    <allow own="org.chromium.UpdateEngine" />
21    <allow send_destination="org.chromium.UpdateEngine" />
22  </policy>
23  <policy user="chronos">
24    <allow send_destination="org.chromium.UpdateEngine"
25           send_interface="org.chromium.UpdateEngineInterface"
26           send_member="AttemptUpdate"/>
27    <allow send_destination="org.chromium.UpdateEngine"
28           send_interface="org.chromium.UpdateEngineInterface"
29           send_member="AttemptUpdateWithFlags"/>
30    <allow send_destination="org.chromium.UpdateEngine"
31           send_interface="org.chromium.UpdateEngineInterface"
32           send_member="AttemptRollback"/>
33    <allow send_destination="org.chromium.UpdateEngine"
34           send_interface="org.chromium.UpdateEngineInterface"
35           send_member="CanRollback"/>
36    <allow send_destination="org.chromium.UpdateEngine"
37           send_interface="org.chromium.UpdateEngineInterface"
38           send_member="GetRollbackPartition"/>
39    <allow send_destination="org.chromium.UpdateEngine"
40           send_interface="org.chromium.UpdateEngineInterface"
41           send_member="ResetStatus"/>
42    <allow send_destination="org.chromium.UpdateEngine"
43           send_interface="org.chromium.UpdateEngineInterface"
44           send_member="GetStatusAdvanced"/>
45    <allow send_destination="org.chromium.UpdateEngine"
46           send_interface="org.chromium.UpdateEngineInterface"
47           send_member="RebootIfNeeded"/>
48    <allow send_destination="org.chromium.UpdateEngine"
49           send_interface="org.chromium.UpdateEngineInterface"
50           send_member="SetChannel"/>
51    <allow send_destination="org.chromium.UpdateEngine"
52           send_interface="org.chromium.UpdateEngineInterface"
53           send_member="GetChannel"/>
54    <allow send_destination="org.chromium.UpdateEngine"
55           send_interface="org.chromium.UpdateEngineInterface"
56           send_member="SetCohortHint"/>
57    <allow send_destination="org.chromium.UpdateEngine"
58           send_interface="org.chromium.UpdateEngineInterface"
59           send_member="GetCohortHint"/>
60    <allow send_destination="org.chromium.UpdateEngine"
61           send_interface="org.chromium.UpdateEngineInterface"
62           send_member="SetP2PUpdatePermission"/>
63    <allow send_destination="org.chromium.UpdateEngine"
64           send_interface="org.chromium.UpdateEngineInterface"
65           send_member="GetP2PUpdatePermission"/>
66    <allow send_destination="org.chromium.UpdateEngine"
67           send_interface="org.chromium.UpdateEngineInterface"
68           send_member="SetUpdateOverCellularPermission"/>
69    <allow send_destination="org.chromium.UpdateEngine"
70           send_interface="org.chromium.UpdateEngineInterface"
71           send_member="SetUpdateOverCellularTarget"/>
72    <allow send_destination="org.chromium.UpdateEngine"
73           send_interface="org.chromium.UpdateEngineInterface"
74           send_member="GetUpdateOverCellularPermission"/>
75    <allow send_destination="org.chromium.UpdateEngine"
76           send_interface="org.chromium.UpdateEngineInterface"
77           send_member="GetDurationSinceUpdate"/>
78    <allow send_destination="org.chromium.UpdateEngine"
79           send_interface="org.chromium.UpdateEngineInterface"
80           send_member="GetPrevVersion"/>
81    <allow send_destination="org.chromium.UpdateEngine"
82           send_interface="org.chromium.UpdateEngineInterface"
83           send_member="GetLastAttemptError"/>
84    <allow send_interface="org.chromium.UpdateEngineLibcrosProxyResolvedInterface" />
85  </policy>
86  <policy user="power">
87    <allow send_destination="org.chromium.UpdateEngine"
88           send_interface="org.chromium.UpdateEngineInterface"
89           send_member="GetStatusAdvanced"/>
90  </policy>
91  <policy user="dlcservice">
92    <allow send_destination="org.chromium.UpdateEngine"
93           send_interface="org.chromium.UpdateEngineInterface"
94           send_member="GetStatus"/>
95    <allow send_destination="org.chromium.UpdateEngine"
96           send_interface="org.chromium.UpdateEngineInterface"
97           send_member="GetStatusAdvanced"/>
98    <allow send_destination="org.chromium.UpdateEngine"
99           send_interface="org.chromium.UpdateEngineInterface"
100           send_member="AttemptInstall"/>
101    <allow send_destination="org.chromium.UpdateEngine"
102           send_interface="org.chromium.UpdateEngineInterface"
103           send_member="SetDlcActiveValue"/>
104  </policy>
105</busconfig>
106