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