1<?xml version="1.0" encoding="UTF-8"?>
2<issues format="6" by="lint 8.4.0-alpha01" type="baseline" client="" dependencies="true" name="" variant="all" version="8.4.0-alpha01">
3
4    <issue
5        id="NewApi"
6        message="Call requires API level 31 (current min is 30): `android.net.IpSecManager.UdpEncapsulationSocket#getResourceId`"
7        errorLine1="        return new NattSocketKeepalive(mService, network, dup, socket.getResourceId(), source,"
8        errorLine2="                                                                      ~~~~~~~~~~~~~">
9        <location
10            file="packages/modules/Connectivity/framework/src/android/net/ConnectivityManager.java"
11            line="2490"
12            column="71"/>
13    </issue>
14
15    <issue
16        id="NewApi"
17        message="Call requires API level 31 (current min is 30): `android.provider.Settings#checkAndNoteWriteSettingsOperation`"
18        errorLine1="        return Settings.checkAndNoteWriteSettingsOperation(context, uid, callingPackage,"
19        errorLine2="                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
20        <location
21            file="packages/modules/Connectivity/framework/src/android/net/ConnectivityManager.java"
22            line="2853"
23            column="25"/>
24    </issue>
25
26    <issue
27        id="NewApi"
28        message="Call requires API level 31 (current min is 30): `android.net.Proxy#setHttpProxyConfiguration`"
29        errorLine1="                Proxy.setHttpProxyConfiguration(getInstance().getDefaultProxy());"
30        errorLine2="                      ~~~~~~~~~~~~~~~~~~~~~~~~~">
31        <location
32            file="packages/modules/Connectivity/framework/src/android/net/ConnectivityManager.java"
33            line="5422"
34            column="23"/>
35    </issue>
36
37    <issue
38        id="NewApi"
39        message="Call requires API level 31 (current min is 30): `java.net.InetAddress#clearDnsCache`"
40        errorLine1="            InetAddress.clearDnsCache();"
41        errorLine2="                        ~~~~~~~~~~~~~">
42        <location
43            file="packages/modules/Connectivity/framework/src/android/net/ConnectivityManager.java"
44            line="5428"
45            column="25"/>
46    </issue>
47
48    <issue
49        id="NewApi"
50        message="Call requires API level 31 (current min is 30): `libcore.net.event.NetworkEventDispatcher#dispatchNetworkConfigurationChange`"
51        errorLine1="            NetworkEventDispatcher.getInstance().dispatchNetworkConfigurationChange();"
52        errorLine2="                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
53        <location
54            file="packages/modules/Connectivity/framework/src/android/net/ConnectivityManager.java"
55            line="5431"
56            column="50"/>
57    </issue>
58
59    <issue
60        id="NewApi"
61        message="Call requires API level 31 (current min is 30): `libcore.net.event.NetworkEventDispatcher#getInstance`"
62        errorLine1="            NetworkEventDispatcher.getInstance().dispatchNetworkConfigurationChange();"
63        errorLine2="                                   ~~~~~~~~~~~">
64        <location
65            file="packages/modules/Connectivity/framework/src/android/net/ConnectivityManager.java"
66            line="5431"
67            column="36"/>
68    </issue>
69
70    <issue
71        id="NewApi"
72        message="Call requires API level 31 (current min is 30): `android.os.Build#isDebuggable`"
73        errorLine1="            if (!Build.isDebuggable()) {"
74        errorLine2="                       ~~~~~~~~~~~~">
75        <location
76            file="packages/modules/Connectivity/framework/src/android/net/ConnectivitySettingsManager.java"
77            line="1095"
78            column="24"/>
79    </issue>
80
81    <issue
82        id="NewApi"
83        message="Field requires API level 31 (current min is 30): `android.system.OsConstants#ENONET`"
84        errorLine1='                    new DnsException(ERROR_SYSTEM, new ErrnoException("resNetworkQuery", ENONET))));'
85        errorLine2="                                                                                         ~~~~~~">
86        <location
87            file="packages/modules/Connectivity/framework/src/android/net/DnsResolver.java"
88            line="367"
89            column="90"/>
90    </issue>
91
92    <issue
93        id="NewApi"
94        message="Call requires API level 31 (current min is 30): `libcore.io.IoUtils#closeQuietly`"
95        errorLine1="            IoUtils.closeQuietly(socket);"
96        errorLine2="                    ~~~~~~~~~~~~">
97        <location
98            file="packages/modules/Connectivity/framework/src/android/net/util/DnsUtils.java"
99            line="181"
100            column="21"/>
101    </issue>
102
103    <issue
104        id="NewApi"
105        message="Call requires API level 31 (current min is 30): `libcore.io.IoUtils#closeQuietly`"
106        errorLine1="            IoUtils.closeQuietly(socket);"
107        errorLine2="                    ~~~~~~~~~~~~">
108        <location
109            file="packages/modules/Connectivity/framework/src/android/net/util/DnsUtils.java"
110            line="373"
111            column="21"/>
112    </issue>
113
114    <issue
115        id="NewApi"
116        message="Call requires API level 31 (current min is 30): `libcore.io.IoUtils#closeQuietly`"
117        errorLine1="                        IoUtils.closeQuietly(is);"
118        errorLine2="                                ~~~~~~~~~~~~">
119        <location
120            file="frameworks/base/core/java/com/android/internal/util/FileRotator.java"
121            line="171"
122            column="33"/>
123    </issue>
124
125    <issue
126        id="NewApi"
127        message="Call requires API level 31 (current min is 30): `libcore.io.IoUtils#closeQuietly`"
128        errorLine1="            IoUtils.closeQuietly(zos);"
129        errorLine2="                    ~~~~~~~~~~~~">
130        <location
131            file="frameworks/base/core/java/com/android/internal/util/FileRotator.java"
132            line="178"
133            column="21"/>
134    </issue>
135
136    <issue
137        id="NewApi"
138        message="Call requires API level 31 (current min is 30): `libcore.io.IoUtils#closeQuietly`"
139        errorLine1="            IoUtils.closeQuietly(bis);"
140        errorLine2="                    ~~~~~~~~~~~~">
141        <location
142            file="frameworks/base/core/java/com/android/internal/util/FileRotator.java"
143            line="401"
144            column="21"/>
145    </issue>
146
147    <issue
148        id="NewApi"
149        message="Call requires API level 31 (current min is 30): `libcore.io.IoUtils#closeQuietly`"
150        errorLine1="            IoUtils.closeQuietly(bos);"
151        errorLine2="                    ~~~~~~~~~~~~">
152        <location
153            file="frameworks/base/core/java/com/android/internal/util/FileRotator.java"
154            line="416"
155            column="21"/>
156    </issue>
157
158    <issue
159        id="NewApi"
160        message="Call requires API level 31 (current min is 30): `libcore.net.InetAddressUtils#isNumericAddress`"
161        errorLine1="        return InetAddressUtils.isNumericAddress(address);"
162        errorLine2="                                ~~~~~~~~~~~~~~~~">
163        <location
164            file="packages/modules/Connectivity/framework/src/android/net/InetAddresses.java"
165            line="46"
166            column="33"/>
167    </issue>
168
169    <issue
170        id="NewApi"
171        message="Call requires API level 31 (current min is 30): `libcore.net.InetAddressUtils#parseNumericAddress`"
172        errorLine1="        return InetAddressUtils.parseNumericAddress(address);"
173        errorLine2="                                ~~~~~~~~~~~~~~~~~~~">
174        <location
175            file="packages/modules/Connectivity/framework/src/android/net/InetAddresses.java"
176            line="63"
177            column="33"/>
178    </issue>
179
180    <issue
181        id="NewApi"
182        message="Call requires API level 31 (current min is 30): `java.net.InetAddress#getAllByNameOnNet`"
183        errorLine1="        return InetAddress.getAllByNameOnNet(host, getNetIdForResolv());"
184        errorLine2="                           ~~~~~~~~~~~~~~~~~">
185        <location
186            file="packages/modules/Connectivity/framework/src/android/net/Network.java"
187            line="145"
188            column="28"/>
189    </issue>
190
191    <issue
192        id="NewApi"
193        message="Call requires API level 31 (current min is 30): `java.net.InetAddress#getByNameOnNet`"
194        errorLine1="        return InetAddress.getByNameOnNet(host, getNetIdForResolv());"
195        errorLine2="                           ~~~~~~~~~~~~~~">
196        <location
197            file="packages/modules/Connectivity/framework/src/android/net/Network.java"
198            line="158"
199            column="28"/>
200    </issue>
201
202    <issue
203        id="NewApi"
204        message="Call requires API level 31 (current min is 30): `libcore.io.IoUtils#closeQuietly`"
205        errorLine1="                        if (failed) IoUtils.closeQuietly(socket);"
206        errorLine2="                                            ~~~~~~~~~~~~">
207        <location
208            file="packages/modules/Connectivity/framework/src/android/net/Network.java"
209            line="216"
210            column="45"/>
211    </issue>
212
213    <issue
214        id="NewApi"
215        message="Call requires API level 31 (current min is 30): `libcore.io.IoUtils#closeQuietly`"
216        errorLine1="                if (failed) IoUtils.closeQuietly(socket);"
217        errorLine2="                                    ~~~~~~~~~~~~">
218        <location
219            file="packages/modules/Connectivity/framework/src/android/net/Network.java"
220            line="241"
221            column="37"/>
222    </issue>
223
224    <issue
225        id="NewApi"
226        message="Call requires API level 31 (current min is 30): `libcore.io.IoUtils#closeQuietly`"
227        errorLine1="                if (failed) IoUtils.closeQuietly(socket);"
228        errorLine2="                                    ~~~~~~~~~~~~">
229        <location
230            file="packages/modules/Connectivity/framework/src/android/net/Network.java"
231            line="254"
232            column="37"/>
233    </issue>
234
235    <issue
236        id="NewApi"
237        message="Call requires API level 31 (current min is 30): `libcore.io.IoUtils#closeQuietly`"
238        errorLine1="                if (failed) IoUtils.closeQuietly(socket);"
239        errorLine2="                                    ~~~~~~~~~~~~">
240        <location
241            file="packages/modules/Connectivity/framework/src/android/net/Network.java"
242            line="272"
243            column="37"/>
244    </issue>
245
246    <issue
247        id="NewApi"
248        message="Call requires API level 31 (current min is 30): `libcore.net.http.HttpURLConnectionFactory#createInstance`"
249        errorLine1="        HttpURLConnectionFactory urlConnectionFactory = HttpURLConnectionFactory.createInstance();"
250        errorLine2="                                                                                 ~~~~~~~~~~~~~~">
251        <location
252            file="packages/modules/Connectivity/framework/src/android/net/Network.java"
253            line="302"
254            column="82"/>
255    </issue>
256
257    <issue
258        id="NewApi"
259        message="Call requires API level 31 (current min is 30): `libcore.net.http.HttpURLConnectionFactory#setDns`"
260        errorLine1="        urlConnectionFactory.setDns(dnsLookup); // Let traffic go via dnsLookup"
261        errorLine2="                             ~~~~~~">
262        <location
263            file="packages/modules/Connectivity/framework/src/android/net/Network.java"
264            line="303"
265            column="30"/>
266    </issue>
267
268    <issue
269        id="NewApi"
270        message="Call requires API level 31 (current min is 30): `libcore.net.http.HttpURLConnectionFactory#setNewConnectionPool`"
271        errorLine1="        urlConnectionFactory.setNewConnectionPool(httpMaxConnections,"
272        errorLine2="                             ~~~~~~~~~~~~~~~~~~~~">
273        <location
274            file="packages/modules/Connectivity/framework/src/android/net/Network.java"
275            line="305"
276            column="30"/>
277    </issue>
278
279    <issue
280        id="NewApi"
281        message="Call requires API level 31 (current min is 30): `libcore.net.http.HttpURLConnectionFactory#openConnection`"
282        errorLine1="        return urlConnectionFactory.openConnection(url, socketFactory, proxy);"
283        errorLine2="                                    ~~~~~~~~~~~~~~">
284        <location
285            file="packages/modules/Connectivity/framework/src/android/net/Network.java"
286            line="372"
287            column="37"/>
288    </issue>
289
290    <issue
291        id="NewApi"
292        message="Class requires API level 31 (current min is 30): `android.telephony.data.EpsBearerQosSessionAttributes`"
293        errorLine1="        if (attributes instanceof EpsBearerQosSessionAttributes) {"
294        errorLine2="                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
295        <location
296            file="packages/modules/Connectivity/framework/src/android/net/NetworkAgent.java"
297            line="1462"
298            column="35"/>
299    </issue>
300
301    <issue
302        id="NewApi"
303        message="Class requires API level 31 (current min is 30): `android.telephony.data.EpsBearerQosSessionAttributes`"
304        errorLine1="                    (EpsBearerQosSessionAttributes)attributes));"
305        errorLine2="                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
306        <location
307            file="packages/modules/Connectivity/framework/src/android/net/NetworkAgent.java"
308            line="1465"
309            column="22"/>
310    </issue>
311
312    <issue
313        id="NewApi"
314        message="Class requires API level 31 (current min is 30): `android.telephony.data.NrQosSessionAttributes`"
315        errorLine1="        } else if (attributes instanceof NrQosSessionAttributes) {"
316        errorLine2="                                         ~~~~~~~~~~~~~~~~~~~~~~">
317        <location
318            file="packages/modules/Connectivity/framework/src/android/net/NetworkAgent.java"
319            line="1466"
320            column="42"/>
321    </issue>
322
323    <issue
324        id="NewApi"
325        message="Class requires API level 31 (current min is 30): `android.telephony.data.NrQosSessionAttributes`"
326        errorLine1="                    (NrQosSessionAttributes)attributes));"
327        errorLine2="                     ~~~~~~~~~~~~~~~~~~~~~~">
328        <location
329            file="packages/modules/Connectivity/framework/src/android/net/NetworkAgent.java"
330            line="1469"
331            column="22"/>
332    </issue>
333
334    <issue
335        id="NewApi"
336        message="Call requires API level 31 (current min is 30): `new android.net.EthernetNetworkSpecifier`"
337        errorLine1="                    return setNetworkSpecifier(new EthernetNetworkSpecifier(networkSpecifier));"
338        errorLine2="                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
339        <location
340            file="packages/modules/Connectivity/framework/src/android/net/NetworkRequest.java"
341            line="553"
342            column="48"/>
343    </issue>
344
345    <issue
346        id="NewApi"
347        message="Cast from `EthernetNetworkSpecifier` to `NetworkSpecifier` requires API level 31 (current min is 30)"
348        errorLine1="                    return setNetworkSpecifier(new EthernetNetworkSpecifier(networkSpecifier));"
349        errorLine2="                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
350        <location
351            file="packages/modules/Connectivity/framework/src/android/net/NetworkRequest.java"
352            line="553"
353            column="48"/>
354    </issue>
355
356    <issue
357        id="NewApi"
358        message="Call requires API level 31 (current min is 30): `android.os.UserHandle#getUid`"
359        errorLine1="        final int start = user.getUid(0 /* appId */);"
360        errorLine2="                               ~~~~~~">
361        <location
362            file="packages/modules/Connectivity/framework/src/android/net/UidRange.java"
363            line="49"
364            column="32"/>
365    </issue>
366
367    <issue
368        id="NewApi"
369        message="Call requires API level 31 (current min is 30): `android.os.UserHandle#getUid`"
370        errorLine1="        final int end = nextUser.getUid(0 /* appId */) - 1;"
371        errorLine2="                                 ~~~~~~">
372        <location
373            file="packages/modules/Connectivity/framework/src/android/net/UidRange.java"
374            line="50"
375            column="34"/>
376    </issue>
377
378</issues>