1<?xml version="1.0" encoding="UTF-8"?>
2<issues format="5" by="lint 4.1.0" client="cli" variant="all" version="4.1.0">
3
4    <issue
5        id="NewApi"
6        message="Call requires API level R (current min is 21): `android.net.NetworkRequest.Builder#clearCapabilities`"
7        errorLine1="            .clearCapabilities().addTransportType(TRANSPORT_WIFI).build();"
8        errorLine2="             ~~~~~~~~~~~~~~~~~">
9        <location
10            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/BaseWifiTracker.java"
11            line="148"
12            column="14"/>
13    </issue>
14
15    <issue
16        id="NewApi"
17        message="Call requires API level 29 (current min is 21): `android.net.NetworkCapabilities#getTransportInfo`"
18        errorLine1="        final TransportInfo transportInfo = networkCapabilities.getTransportInfo();"
19        errorLine2="                                                                ~~~~~~~~~~~~~~~~">
20        <location
21            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/BaseWifiTracker.java"
22            line="220"
23            column="65"/>
24    </issue>
25
26    <issue
27        id="NewApi"
28        message="Cast from `TransportInfo` to `WifiInfo` requires API level 29 (current min is 21)"
29        errorLine1="        return ((WifiInfo) transportInfo).isPrimary();"
30        errorLine2="                ~~~~~~~~~~~~~~~~~~~~~~~~">
31        <location
32            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/BaseWifiTracker.java"
33            line="224"
34            column="17"/>
35    </issue>
36
37    <issue
38        id="NewApi"
39        message="Call requires API level 26 (current min is 21): `android.net.ConnectivityManager#registerNetworkCallback`"
40        errorLine1="        mConnectivityManager.registerNetworkCallback(mNetworkRequest, mNetworkCallback,"
41        errorLine2="                             ~~~~~~~~~~~~~~~~~~~~~~~">
42        <location
43            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/BaseWifiTracker.java"
44            line="291"
45            column="30"/>
46    </issue>
47
48    <issue
49        id="NewApi"
50        message="Call requires API level 26 (current min is 21): `android.net.ConnectivityManager#registerDefaultNetworkCallback`"
51        errorLine1="        mConnectivityManager.registerDefaultNetworkCallback(mDefaultNetworkCallback,"
52        errorLine2="                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
53        <location
54            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/BaseWifiTracker.java"
55            line="293"
56            column="30"/>
57    </issue>
58
59    <issue
60        id="NewApi"
61        message="Call requires API level 23 (current min is 21): `android.net.ConnectivityManager#getActiveNetwork`"
62        errorLine1="                .getNetworkCapabilities(mConnectivityManager.getActiveNetwork());"
63        errorLine2="                                                             ~~~~~~~~~~~~~~~~">
64        <location
65            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/BaseWifiTracker.java"
66            line="296"
67            column="62"/>
68    </issue>
69
70    <issue
71        id="NewApi"
72        message="Call requires API level 31 (current min is 21): `android.net.wifi.WifiInfo#getSubscriptionId`"
73        errorLine1="        return wifiInfo.isCarrierMerged() &amp;&amp; mSubscriptionId == wifiInfo.getSubscriptionId();"
74        errorLine2="                                                                         ~~~~~~~~~~~~~~~~~">
75        <location
76            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/MergedCarrierEntry.java"
77            line="132"
78            column="74"/>
79    </issue>
80
81    <issue
82        id="NewApi"
83        message="Call requires API level 28 (current min is 21): `android.content.Context#getMainExecutor`"
84        errorLine1="        mWifiManager.startSubscriptionProvisioning(mOsuProvider, mContext.getMainExecutor(),"
85        errorLine2="                                                                          ~~~~~~~~~~~~~~~">
86        <location
87            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/OsuWifiEntry.java"
88            line="141"
89            column="75"/>
90    </issue>
91
92    <issue
93        id="NewApi"
94        message="Call requires API level R (current min is 21): `android.net.wifi.WifiManager#calculateSignalLevel`"
95        errorLine1="                mLevel = mWifiManager.calculateSignalLevel(bestScanResult.level);"
96        errorLine2="                                      ~~~~~~~~~~~~~~~~~~~~">
97        <location
98            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/OsuWifiEntry.java"
99            line="159"
100            column="39"/>
101    </issue>
102
103    <issue
104        id="NewApi"
105        message="Call requires API level 29 (current min is 21): `android.net.wifi.WifiInfo#getPasspointProviderFriendlyName`"
106        errorLine1="                wifiInfo.getPasspointProviderFriendlyName(), mOsuProvider.getFriendlyName());"
107        errorLine2="                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
108        <location
109            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/OsuWifiEntry.java"
110            line="179"
111            column="26"/>
112    </issue>
113
114    <issue
115        id="NewApi"
116        message="Call requires API level R (current min is 21): `android.net.wifi.hotspot2.PasspointConfiguration#getUniqueId`"
117        errorLine1="            String uniqueId = passpointConfig.getUniqueId();"
118        errorLine2="                                              ~~~~~~~~~~~">
119        <location
120            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/OsuWifiEntry.java"
121            line="261"
122            column="47"/>
123    </issue>
124
125    <issue
126        id="NewApi"
127        message="Call requires API level R (current min is 21): `android.net.wifi.WifiConfiguration#getKey`"
128        errorLine1="                if (TextUtils.equals(config.getKey(), uniqueId)) {"
129        errorLine2="                                            ~~~~~~">
130        <location
131            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/OsuWifiEntry.java"
132            line="265"
133            column="45"/>
134    </issue>
135
136    <issue
137        id="NewApi"
138        message="Call requires API level 26 (current min is 21): `android.net.wifi.WifiManager#getPasspointConfigurations`"
139        errorLine1="                mWifiManager.getPasspointConfigurations()"
140        errorLine2="                             ~~~~~~~~~~~~~~~~~~~~~~~~~~">
141        <location
142            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointNetworkDetailsTracker.java"
143            line="76"
144            column="30"/>
145    </issue>
146
147    <issue
148        id="NewApi"
149        message="Call requires API level R (current min is 21): `android.net.wifi.hotspot2.PasspointConfiguration#getUniqueId`"
150        errorLine1="                                uniqueIdToPasspointWifiEntryKey(passpointConfig.getUniqueId())))"
151        errorLine2="                                                                                ~~~~~~~~~~~">
152        <location
153            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointNetworkDetailsTracker.java"
154            line="79"
155            column="81"/>
156    </issue>
157
158    <issue
159        id="NewApi"
160        message="Call requires API level 23 (current min is 21): `android.net.wifi.WifiConfiguration#isPasspoint`"
161        errorLine1="                            .filter(wifiConfig -> wifiConfig.isPasspoint()"
162        errorLine2="                                                             ~~~~~~~~~~~">
163        <location
164            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointNetworkDetailsTracker.java"
165            line="89"
166            column="62"/>
167    </issue>
168
169    <issue
170        id="NewApi"
171        message="Call requires API level R (current min is 21): `android.net.wifi.WifiConfiguration#getKey`"
172        errorLine1="                                            uniqueIdToPasspointWifiEntryKey(wifiConfig.getKey())))"
173        errorLine2="                                                                                       ~~~~~~">
174        <location
175            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointNetworkDetailsTracker.java"
176            line="91"
177            column="88"/>
178    </issue>
179
180    <issue
181        id="NewApi"
182        message="Call requires API level R (current min is 21): `android.net.wifi.WifiConfiguration#getKey`"
183        errorLine1="            final String key = uniqueIdToPasspointWifiEntryKey(wifiConfig.getKey());"
184        errorLine2="                                                                          ~~~~~~">
185        <location
186            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointNetworkDetailsTracker.java"
187            line="156"
188            column="75"/>
189    </issue>
190
191    <issue
192        id="NewApi"
193        message="Call requires API level R (current min is 21): `android.net.wifi.hotspot2.PasspointConfiguration#getUniqueId`"
194        errorLine1="                        uniqueIdToPasspointWifiEntryKey(provisionedConfig.getUniqueId()))) {"
195        errorLine2="                                                                          ~~~~~~~~~~~">
196        <location
197            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointNetworkDetailsTracker.java"
198            line="192"
199            column="75"/>
200    </issue>
201
202    <issue
203        id="NewApi"
204        message="Call requires API level 26 (current min is 21): `android.net.wifi.WifiManager#getPasspointConfigurations`"
205        errorLine1="        mWifiManager.getPasspointConfigurations().stream()"
206        errorLine2="                     ~~~~~~~~~~~~~~~~~~~~~~~~~~">
207        <location
208            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointNetworkDetailsTracker.java"
209            line="240"
210            column="22"/>
211    </issue>
212
213    <issue
214        id="NewApi"
215        message="Call requires API level R (current min is 21): `android.net.wifi.hotspot2.PasspointConfiguration#getUniqueId`"
216        errorLine1="                        uniqueIdToPasspointWifiEntryKey(config.getUniqueId()),"
217        errorLine2="                                                               ~~~~~~~~~~~">
218        <location
219            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointNetworkDetailsTracker.java"
220            line="242"
221            column="64"/>
222    </issue>
223
224    <issue
225        id="NewApi"
226        message="Call requires API level R (current min is 21): `android.net.wifi.hotspot2.PasspointConfiguration#getUniqueId`"
227        errorLine1="        mKey = uniqueIdToPasspointWifiEntryKey(passpointConfig.getUniqueId());"
228        errorLine2="                                                               ~~~~~~~~~~~">
229        <location
230            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
231            line="113"
232            column="64"/>
233    </issue>
234
235    <issue
236        id="NewApi"
237        message="Call requires API level 26 (current min is 21): `android.net.wifi.hotspot2.PasspointConfiguration#getHomeSp`"
238        errorLine1="        mFqdn = passpointConfig.getHomeSp().getFqdn();"
239        errorLine2="                                ~~~~~~~~~">
240        <location
241            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
242            line="114"
243            column="33"/>
244    </issue>
245
246    <issue
247        id="NewApi"
248        message="Call requires API level 26 (current min is 21): `android.net.wifi.hotspot2.pps.HomeSp#getFqdn`"
249        errorLine1="        mFqdn = passpointConfig.getHomeSp().getFqdn();"
250        errorLine2="                                            ~~~~~~~">
251        <location
252            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
253            line="114"
254            column="45"/>
255    </issue>
256
257    <issue
258        id="NewApi"
259        message="Call requires API level 26 (current min is 21): `android.net.wifi.hotspot2.PasspointConfiguration#getHomeSp`"
260        errorLine1="        mFriendlyName = passpointConfig.getHomeSp().getFriendlyName();"
261        errorLine2="                                        ~~~~~~~~~">
262        <location
263            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
264            line="115"
265            column="41"/>
266    </issue>
267
268    <issue
269        id="NewApi"
270        message="Call requires API level 26 (current min is 21): `android.net.wifi.hotspot2.pps.HomeSp#getFriendlyName`"
271        errorLine1="        mFriendlyName = passpointConfig.getHomeSp().getFriendlyName();"
272        errorLine2="                                                    ~~~~~~~~~~~~~~~">
273        <location
274            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
275            line="115"
276            column="53"/>
277    </issue>
278
279    <issue
280        id="NewApi"
281        message="Call requires API level R (current min is 21): `android.net.wifi.hotspot2.PasspointConfiguration#getSubscriptionExpirationTimeMillis`"
282        errorLine1="                passpointConfig.getSubscriptionExpirationTimeMillis();"
283        errorLine2="                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
284        <location
285            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
286            line="117"
287            column="33"/>
288    </issue>
289
290    <issue
291        id="NewApi"
292        message="Call requires API level 23 (current min is 21): `android.net.wifi.WifiConfiguration#isPasspoint`"
293        errorLine1="        if (!wifiConfig.isPasspoint()) {"
294        errorLine2="                        ~~~~~~~~~~~">
295        <location
296            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
297            line="134"
298            column="25"/>
299    </issue>
300
301    <issue
302        id="NewApi"
303        message="Call requires API level R (current min is 21): `android.net.wifi.WifiConfiguration#getKey`"
304        errorLine1="        mKey = uniqueIdToPasspointWifiEntryKey(wifiConfig.getKey());"
305        errorLine2="                                                          ~~~~~~">
306        <location
307            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
308            line="140"
309            column="59"/>
310    </issue>
311
312    <issue
313        id="NewApi"
314        message="Field requires API level 23 (current min is 21): `android.net.wifi.WifiConfiguration#providerFriendlyName`"
315        errorLine1="        mFriendlyName = mWifiConfig.providerFriendlyName;"
316        errorLine2="                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
317        <location
318            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
319            line="142"
320            column="25"/>
321    </issue>
322
323    <issue
324        id="NewApi"
325        message="Call requires API level 29 (current min is 21): `android.net.wifi.WifiConfiguration#getRandomizedMacAddress`"
326        errorLine1="        return mWifiConfig.getRandomizedMacAddress().toString();"
327        errorLine2="                           ~~~~~~~~~~~~~~~~~~~~~~~">
328        <location
329            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
330            line="302"
331            column="28"/>
332    </issue>
333
334    <issue
335        id="NewApi"
336        message="Call requires API level 26 (current min is 21): `android.net.wifi.WifiManager#removePasspointConfiguration`"
337        errorLine1="        mWifiManager.removePasspointConfiguration(mPasspointConfig.getHomeSp().getFqdn());"
338        errorLine2="                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
339        <location
340            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
341            line="385"
342            column="22"/>
343    </issue>
344
345    <issue
346        id="NewApi"
347        message="Call requires API level 26 (current min is 21): `android.net.wifi.hotspot2.PasspointConfiguration#getHomeSp`"
348        errorLine1="        mWifiManager.removePasspointConfiguration(mPasspointConfig.getHomeSp().getFqdn());"
349        errorLine2="                                                                   ~~~~~~~~~">
350        <location
351            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
352            line="385"
353            column="68"/>
354    </issue>
355
356    <issue
357        id="NewApi"
358        message="Call requires API level 26 (current min is 21): `android.net.wifi.hotspot2.pps.HomeSp#getFqdn`"
359        errorLine1="        mWifiManager.removePasspointConfiguration(mPasspointConfig.getHomeSp().getFqdn());"
360        errorLine2="                                                                               ~~~~~~~">
361        <location
362            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
363            line="385"
364            column="80"/>
365    </issue>
366
367    <issue
368        id="NewApi"
369        message="Call requires API level 26 (current min is 21): `android.net.wifi.hotspot2.PasspointConfiguration#getHomeSp`"
370        errorLine1="        mWifiManager.setPasspointMeteredOverride(mPasspointConfig.getHomeSp().getFqdn(),"
371        errorLine2="                                                                  ~~~~~~~~~">
372        <location
373            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
374            line="425"
375            column="67"/>
376    </issue>
377
378    <issue
379        id="NewApi"
380        message="Call requires API level 26 (current min is 21): `android.net.wifi.hotspot2.pps.HomeSp#getFqdn`"
381        errorLine1="        mWifiManager.setPasspointMeteredOverride(mPasspointConfig.getHomeSp().getFqdn(),"
382        errorLine2="                                                                              ~~~~~~~">
383        <location
384            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
385            line="425"
386            column="79"/>
387    </issue>
388
389    <issue
390        id="NewApi"
391        message="Call requires API level 26 (current min is 21): `android.net.wifi.hotspot2.PasspointConfiguration#getHomeSp`"
392        errorLine1="                mPasspointConfig.getHomeSp().getFqdn(),"
393        errorLine2="                                 ~~~~~~~~~">
394        <location
395            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
396            line="452"
397            column="34"/>
398    </issue>
399
400    <issue
401        id="NewApi"
402        message="Call requires API level 26 (current min is 21): `android.net.wifi.hotspot2.pps.HomeSp#getFqdn`"
403        errorLine1="                mPasspointConfig.getHomeSp().getFqdn(),"
404        errorLine2="                                             ~~~~~~~">
405        <location
406            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
407            line="452"
408            column="46"/>
409    </issue>
410
411    <issue
412        id="NewApi"
413        message="Call requires API level 26 (current min is 21): `android.net.wifi.hotspot2.PasspointConfiguration#getHomeSp`"
414        errorLine1="            mWifiManager.allowAutojoinPasspoint(mPasspointConfig.getHomeSp().getFqdn(), enabled);"
415        errorLine2="                                                                 ~~~~~~~~~">
416        <location
417            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
418            line="476"
419            column="66"/>
420    </issue>
421
422    <issue
423        id="NewApi"
424        message="Call requires API level 26 (current min is 21): `android.net.wifi.hotspot2.pps.HomeSp#getFqdn`"
425        errorLine1="            mWifiManager.allowAutojoinPasspoint(mPasspointConfig.getHomeSp().getFqdn(), enabled);"
426        errorLine2="                                                                             ~~~~~~~">
427        <location
428            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
429            line="476"
430            column="78"/>
431    </issue>
432
433    <issue
434        id="NewApi"
435        message="Call requires API level 26 (current min is 21): `android.net.wifi.hotspot2.PasspointConfiguration#getHomeSp`"
436        errorLine1="            mFriendlyName = passpointConfig.getHomeSp().getFriendlyName();"
437        errorLine2="                                            ~~~~~~~~~">
438        <location
439            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
440            line="502"
441            column="45"/>
442    </issue>
443
444    <issue
445        id="NewApi"
446        message="Call requires API level 26 (current min is 21): `android.net.wifi.hotspot2.pps.HomeSp#getFriendlyName`"
447        errorLine1="            mFriendlyName = passpointConfig.getHomeSp().getFriendlyName();"
448        errorLine2="                                                        ~~~~~~~~~~~~~~~">
449        <location
450            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
451            line="502"
452            column="57"/>
453    </issue>
454
455    <issue
456        id="NewApi"
457        message="Call requires API level R (current min is 21): `android.net.wifi.hotspot2.PasspointConfiguration#getSubscriptionExpirationTimeMillis`"
458        errorLine1="                    passpointConfig.getSubscriptionExpirationTimeMillis();"
459        errorLine2="                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
460        <location
461            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
462            line="504"
463            column="37"/>
464    </issue>
465
466    <issue
467        id="NewApi"
468        message="Call requires API level R (current min is 21): `android.net.wifi.WifiManager#calculateSignalLevel`"
469        errorLine1="                        ? mWifiManager.calculateSignalLevel(bestScanResult.level)"
470        errorLine2="                                       ~~~~~~~~~~~~~~~~~~~~">
471        <location
472            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
473            line="543"
474            column="40"/>
475    </issue>
476
477    <issue
478        id="NewApi"
479        message="Call requires API level 29 (current min is 21): `android.net.wifi.WifiInfo#getPasspointFqdn`"
480        errorLine1="        return TextUtils.equals(wifiInfo.getPasspointFqdn(), mFqdn);"
481        errorLine2="                                         ~~~~~~~~~~~~~~~~">
482        <location
483            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java"
484            line="581"
485            column="42"/>
486    </issue>
487
488    <issue
489        id="NewApi"
490        message="Call requires API level 26 (current min is 21): `android.net.wifi.WifiManager#getPasspointConfigurations`"
491        errorLine1="        updatePasspointWifiEntryConfigs(mWifiManager.getPasspointConfigurations());"
492        errorLine2="                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~">
493        <location
494            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/SavedNetworkTracker.java"
495            line="128"
496            column="54"/>
497    </issue>
498
499    <issue
500        id="NewApi"
501        message="Call requires API level 26 (current min is 21): `android.net.wifi.WifiManager#getPasspointConfigurations`"
502        errorLine1="        updatePasspointWifiEntryConfigs(mWifiManager.getPasspointConfigurations());"
503        errorLine2="                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~">
504        <location
505            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/SavedNetworkTracker.java"
506            line="157"
507            column="54"/>
508    </issue>
509
510    <issue
511        id="NewApi"
512        message="Call requires API level 29 (current min is 21): `android.net.wifi.WifiManager#isWpa3SaeSupported`"
513        errorLine1="                mWifiManager.isWpa3SaeSupported(),"
514        errorLine2="                             ~~~~~~~~~~~~~~~~~~">
515        <location
516            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/SavedNetworkTracker.java"
517            line="207"
518            column="30"/>
519    </issue>
520
521    <issue
522        id="NewApi"
523        message="Call requires API level 29 (current min is 21): `android.net.wifi.WifiManager#isWpa3SuiteBSupported`"
524        errorLine1="                mWifiManager.isWpa3SuiteBSupported(),"
525        errorLine2="                             ~~~~~~~~~~~~~~~~~~~~~">
526        <location
527            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/SavedNetworkTracker.java"
528            line="208"
529            column="30"/>
530    </issue>
531
532    <issue
533        id="NewApi"
534        message="Call requires API level 29 (current min is 21): `android.net.wifi.WifiManager#isEnhancedOpenSupported`"
535        errorLine1="                mWifiManager.isEnhancedOpenSupported());"
536        errorLine2="                             ~~~~~~~~~~~~~~~~~~~~~~~">
537        <location
538            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/SavedNetworkTracker.java"
539            line="209"
540            column="30"/>
541    </issue>
542
543    <issue
544        id="NewApi"
545        message="Call requires API level 24 (current min is 21): `java.lang.Iterable#forEach`"
546        errorLine1="        mStandardWifiEntryCache.entrySet().forEach(entry -> {"
547        errorLine2="                                           ~~~~~~~">
548        <location
549            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/SavedNetworkTracker.java"
550            line="212"
551            column="44"/>
552    </issue>
553
554    <issue
555        id="NewApi"
556        message="Call requires API level R (current min is 21): `android.net.wifi.WifiConfiguration#getKey`"
557        errorLine1="            final String key = uniqueIdToPasspointWifiEntryKey(wifiConfig.getKey());"
558        errorLine2="                                                                          ~~~~~~">
559        <location
560            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/SavedNetworkTracker.java"
561            line="228"
562            column="75"/>
563    </issue>
564
565    <issue
566        id="NewApi"
567        message="Call requires API level R (current min is 21): `android.net.wifi.hotspot2.PasspointConfiguration#getUniqueId`"
568        errorLine1="                        (config) -> uniqueIdToPasspointWifiEntryKey(config.getUniqueId()),"
569        errorLine2="                                                                           ~~~~~~~~~~~">
570        <location
571            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/SavedNetworkTracker.java"
572            line="308"
573            column="76"/>
574    </issue>
575
576    <issue
577        id="NewApi"
578        message="Call requires API level 23 (current min is 21): `android.net.wifi.WifiConfiguration#isPasspoint`"
579        errorLine1="        if (config.isPasspoint()) {"
580        errorLine2="                   ~~~~~~~~~~~">
581        <location
582            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardNetworkDetailsTracker.java"
583            line="176"
584            column="20"/>
585    </issue>
586
587    <issue
588        id="NewApi"
589        message="Call requires API level 29 (current min is 21): `android.net.wifi.WifiConfiguration#getRandomizedMacAddress`"
590        errorLine1="        return mWifiConfig.getRandomizedMacAddress().toString();"
591        errorLine2="                           ~~~~~~~~~~~~~~~~~~~~~~~">
592        <location
593            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java"
594            line="337"
595            column="28"/>
596    </issue>
597
598    <issue
599        id="NewApi"
600        message="Call requires API level R (current min is 21): `android.net.wifi.WifiEnterpriseConfig#isAuthenticationSimBased`"
601        errorLine1="            if (!mWifiConfig.enterpriseConfig.isAuthenticationSimBased()) {"
602        errorLine2="                                              ~~~~~~~~~~~~~~~~~~~~~~~~">
603        <location
604            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java"
605            line="379"
606            column="47"/>
607    </issue>
608
609    <issue
610        id="NewApi"
611        message="Class requires API level 22 (current min is 21): `android.telephony.SubscriptionManager`"
612        errorLine1="            List&lt;SubscriptionInfo> activeSubscriptionInfos = ((SubscriptionManager) mContext"
613        errorLine2="                                                               ~~~~~~~~~~~~~~~~~~~">
614        <location
615            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java"
616            line="382"
617            column="64"/>
618    </issue>
619
620    <issue
621        id="NewApi"
622        message="Call requires API level 22 (current min is 21): `android.telephony.SubscriptionManager#getActiveSubscriptionInfoList`"
623        errorLine1="                    .getActiveSubscriptionInfoList();"
624        errorLine2="                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
625        <location
626            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java"
627            line="384"
628            column="22"/>
629    </issue>
630
631    <issue
632        id="NewApi"
633        message="Call requires API level 29 (current min is 21): `android.telephony.SubscriptionInfo#getCarrierId`"
634        errorLine1="                if (subscriptionInfo.getCarrierId() == mWifiConfig.carrierId) {"
635        errorLine2="                                     ~~~~~~~~~~~~">
636        <location
637            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java"
638            line="393"
639            column="38"/>
640    </issue>
641
642    <issue
643        id="NewApi"
644        message="Call requires API level 29 (current min is 21): `android.net.wifi.WifiManager#isEasyConnectSupported`"
645        errorLine1="        if (!mWifiManager.isEasyConnectSupported()) {"
646        errorLine2="                          ~~~~~~~~~~~~~~~~~~~~~~">
647        <location
648            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java"
649            line="531"
650            column="27"/>
651    </issue>
652
653    <issue
654        id="NewApi"
655        message="Call requires API level R (current min is 21): `android.net.wifi.WifiManager#calculateSignalLevel`"
656        errorLine1="                    ? mWifiManager.calculateSignalLevel(bestScanResult.level)"
657        errorLine2="                                   ~~~~~~~~~~~~~~~~~~~~">
658        <location
659            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java"
660            line="737"
661            column="36"/>
662    </issue>
663
664    <issue
665        id="NewApi"
666        message="Call requires API level 24 (current min is 21): `java.lang.Iterable#forEach`"
667        errorLine1="        scanResults.forEach(scanResult ->"
668        errorLine2="                    ~~~~~~~">
669        <location
670            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java"
671            line="920"
672            column="21"/>
673    </issue>
674
675    <issue
676        id="NewApi"
677        message="Call requires API level 23 (current min is 21): `android.content.Context#getSystemService`"
678        errorLine1="            sNetworkScoreManager = context.getSystemService(NetworkScoreManager.class);"
679        errorLine2="                                           ~~~~~~~~~~~~~~~~">
680        <location
681            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/Utils.java"
682            line="92"
683            column="44"/>
684    </issue>
685
686    <issue
687        id="NewApi"
688        message="Class requires API level 22 (current min is 21): `android.telephony.SubscriptionManager`"
689        errorLine1="                (SubscriptionManager) context.getSystemService("
690        errorLine2="                 ~~~~~~~~~~~~~~~~~~~">
691        <location
692            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/Utils.java"
693            line="628"
694            column="18"/>
695    </issue>
696
697    <issue
698        id="NewApi"
699        message="Call requires API level 22 (current min is 21): `android.telephony.SubscriptionManager#getActiveSubscriptionInfoList`"
700        errorLine1="        List&lt;SubscriptionInfo> subInfoList = subscriptionManager.getActiveSubscriptionInfoList();"
701        errorLine2="                                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
702        <location
703            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/Utils.java"
704            line="631"
705            column="66"/>
706    </issue>
707
708    <issue
709        id="NewApi"
710        message="Call requires API level 29 (current min is 21): `android.telephony.SubscriptionInfo#getCarrierId`"
711        errorLine1="                .anyMatch(info -> info.getCarrierId() == carrierId);"
712        errorLine2="                                       ~~~~~~~~~~~~">
713        <location
714            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/Utils.java"
715            line="636"
716            column="40"/>
717    </issue>
718
719    <issue
720        id="NewApi"
721        message="Call requires API level 24 (current min is 21): `android.telephony.TelephonyManager#createForSubscriptionId`"
722        errorLine1="        TelephonyManager specifiedTm = telephonyManager.createForSubscriptionId(subId);"
723        errorLine2="                                                        ~~~~~~~~~~~~~~~~~~~~~~~">
724        <location
725            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/Utils.java"
726            line="649"
727            column="57"/>
728    </issue>
729
730    <issue
731        id="NewApi"
732        message="Call requires API level 28 (current min is 21): `android.telephony.TelephonyManager#getSimCarrierIdName`"
733        errorLine1="        CharSequence name = specifiedTm.getSimCarrierIdName();"
734        errorLine2="                                        ~~~~~~~~~~~~~~~~~~~">
735        <location
736            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/Utils.java"
737            line="653"
738            column="41"/>
739    </issue>
740
741    <issue
742        id="NewApi"
743        message="Call requires API level R (current min is 21): `android.net.wifi.WifiEnterpriseConfig#isAuthenticationSimBased`"
744        errorLine1="                &amp;&amp; config.enterpriseConfig.isAuthenticationSimBased();"
745        errorLine2="                                           ~~~~~~~~~~~~~~~~~~~~~~~~">
746        <location
747            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/Utils.java"
748            line="662"
749            column="44"/>
750    </issue>
751
752    <issue
753        id="NewApi"
754        message="Class requires API level 22 (current min is 21): `android.telephony.SubscriptionManager`"
755        errorLine1="                (SubscriptionManager) context.getSystemService("
756        errorLine2="                 ~~~~~~~~~~~~~~~~~~~">
757        <location
758            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/Utils.java"
759            line="673"
760            column="18"/>
761    </issue>
762
763    <issue
764        id="NewApi"
765        message="Call requires API level 22 (current min is 21): `android.telephony.SubscriptionManager#getActiveSubscriptionInfoList`"
766        errorLine1="        List&lt;SubscriptionInfo> subInfoList = subscriptionManager.getActiveSubscriptionInfoList();"
767        errorLine2="                                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
768        <location
769            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/Utils.java"
770            line="678"
771            column="66"/>
772    </issue>
773
774    <issue
775        id="NewApi"
776        message="Call requires API level 24 (current min is 21): `android.telephony.SubscriptionManager#getDefaultDataSubscriptionId`"
777        errorLine1="        int dataSubId = SubscriptionManager.getDefaultDataSubscriptionId();"
778        errorLine2="                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
779        <location
780            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/Utils.java"
781            line="684"
782            column="45"/>
783    </issue>
784
785    <issue
786        id="NewApi"
787        message="Call requires API level 29 (current min is 21): `android.telephony.SubscriptionInfo#getCarrierId`"
788        errorLine1="            if (subInfo.getCarrierId() == config.carrierId) {"
789        errorLine2="                        ~~~~~~~~~~~~">
790        <location
791            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/Utils.java"
792            line="686"
793            column="25"/>
794    </issue>
795
796    <issue
797        id="NewApi"
798        message="Call requires API level 22 (current min is 21): `android.telephony.SubscriptionInfo#getSubscriptionId`"
799        errorLine1="                matchSubId = subInfo.getSubscriptionId();"
800        errorLine2="                                     ~~~~~~~~~~~~~~~~~">
801        <location
802            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/Utils.java"
803            line="687"
804            column="38"/>
805    </issue>
806
807    <issue
808        id="NewApi"
809        message="Class requires API level 23 (current min is 21): `android.telephony.CarrierConfigManager`"
810        errorLine1="                (CarrierConfigManager) context.getSystemService(Context.CARRIER_CONFIG_SERVICE);"
811        errorLine2="                 ~~~~~~~~~~~~~~~~~~~~">
812        <location
813            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/Utils.java"
814            line="702"
815            column="18"/>
816    </issue>
817
818    <issue
819        id="NewApi"
820        message="Call requires API level 23 (current min is 21): `android.telephony.CarrierConfigManager#getConfigForSubId`"
821        errorLine1="        PersistableBundle bundle = carrierConfigManager.getConfigForSubId(subId);"
822        errorLine2="                                                        ~~~~~~~~~~~~~~~~~">
823        <location
824            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/Utils.java"
825            line="706"
826            column="57"/>
827    </issue>
828
829    <issue
830        id="NewApi"
831        message="Call requires API level 24 (current min is 21): `android.telephony.SubscriptionManager#getDefaultSubscriptionId`"
832        errorLine1="            subId = SubscriptionManager.getDefaultSubscriptionId();"
833        errorLine2="                                        ~~~~~~~~~~~~~~~~~~~~~~~~">
834        <location
835            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/Utils.java"
836            line="722"
837            column="41"/>
838    </issue>
839
840    <issue
841        id="NewApi"
842        message="Call requires API level R (current min is 21): `android.net.wifi.WifiManager#calculateSignalLevel`"
843        errorLine1="                mLevel = mWifiManager.calculateSignalLevel(wifiInfoRssi);"
844        errorLine2="                                      ~~~~~~~~~~~~~~~~~~~~">
845        <location
846            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiEntry.java"
847            line="760"
848            column="39"/>
849    </issue>
850
851    <issue
852        id="NewApi"
853        message="Call requires API level R (current min is 21): `android.net.wifi.WifiInfo#getWifiStandard`"
854        errorLine1="                mConnectedInfo.wifiStandard = wifiInfo.getWifiStandard();"
855        errorLine2="                                                       ~~~~~~~~~~~~~~~">
856        <location
857            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiEntry.java"
858            line="779"
859            column="56"/>
860    </issue>
861
862    <issue
863        id="NewApi"
864        message="Call requires API level 29 (current min is 21): `android.net.RouteInfo#hasGateway`"
865        errorLine1="                    instanceof Inet4Address &amp;&amp; routeInfo.hasGateway()) {"
866        errorLine2="                                                         ~~~~~~~~~~">
867        <location
868            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiEntry.java"
869            line="835"
870            column="58"/>
871    </issue>
872
873    <issue
874        id="NewApi"
875        message="Call requires API level R (current min is 21): `android.net.wifi.WifiInfo#getWifiStandard`"
876        errorLine1="            sj.add(&quot;standard = &quot; + mWifiInfo.getWifiStandard());"
877        errorLine2="                                             ~~~~~~~~~~~~~~~">
878        <location
879            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiEntry.java"
880            line="879"
881            column="46"/>
882    </issue>
883
884    <issue
885        id="NewApi"
886        message="Call requires API level 26 (current min is 21): `android.net.wifi.WifiManager#getPasspointConfigurations`"
887        errorLine1="        updatePasspointConfigurations(mWifiManager.getPasspointConfigurations());"
888        errorLine2="                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~">
889        <location
890            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java"
891            line="212"
892            column="52"/>
893    </issue>
894
895    <issue
896        id="NewApi"
897        message="Call requires API level 31 (current min is 21): `android.telephony.TelephonyManager#registerTelephonyCallback`"
898        errorLine1="        mTelephonyManager.registerTelephonyCallback("
899        errorLine2="                          ~~~~~~~~~~~~~~~~~~~~~~~~~">
900        <location
901            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java"
902            line="222"
903            column="27"/>
904    </issue>
905
906    <issue
907        id="NewApi"
908        message="Call requires API level R (current min is 21): `android.telephony.SubscriptionManager#getActiveDataSubscriptionId`"
909        errorLine1="        updateMergedCarrierEntry(SubscriptionManager.getActiveDataSubscriptionId());"
910        errorLine2="                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
911        <location
912            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java"
913            line="224"
914            column="54"/>
915    </issue>
916
917    <issue
918        id="NewApi"
919        message="Call requires API level 31 (current min is 21): `android.telephony.TelephonyManager#unregisterTelephonyCallback`"
920        errorLine1="            mTelephonyManager.unregisterTelephonyCallback(mActiveDataSubIdListener);"
921        errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
922        <location
923            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java"
924            line="238"
925            column="31"/>
926    </issue>
927
928    <issue
929        id="NewApi"
930        message="Call requires API level 26 (current min is 21): `android.net.wifi.WifiManager#getPasspointConfigurations`"
931        errorLine1="        updatePasspointConfigurations(mWifiManager.getPasspointConfigurations());"
932        errorLine2="                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~">
933        <location
934            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java"
935            line="270"
936            column="52"/>
937    </issue>
938
939    <issue
940        id="NewApi"
941        message="Call requires API level 29 (current min is 21): `android.net.wifi.WifiManager#isWpa3SaeSupported`"
942        errorLine1="                mWifiManager.isWpa3SaeSupported(),"
943        errorLine2="                             ~~~~~~~~~~~~~~~~~~">
944        <location
945            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java"
946            line="470"
947            column="30"/>
948    </issue>
949
950    <issue
951        id="NewApi"
952        message="Call requires API level 29 (current min is 21): `android.net.wifi.WifiManager#isWpa3SuiteBSupported`"
953        errorLine1="                mWifiManager.isWpa3SuiteBSupported(),"
954        errorLine2="                             ~~~~~~~~~~~~~~~~~~~~~">
955        <location
956            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java"
957            line="471"
958            column="30"/>
959    </issue>
960
961    <issue
962        id="NewApi"
963        message="Call requires API level 29 (current min is 21): `android.net.wifi.WifiManager#isEnhancedOpenSupported`"
964        errorLine1="                mWifiManager.isEnhancedOpenSupported());"
965        errorLine2="                             ~~~~~~~~~~~~~~~~~~~~~~~">
966        <location
967            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java"
968            line="472"
969            column="30"/>
970    </issue>
971
972    <issue
973        id="NewApi"
974        message="Call requires API level 29 (current min is 21): `android.net.wifi.WifiManager#isWpa3SaeSupported`"
975        errorLine1="                mWifiManager.isWpa3SaeSupported(),"
976        errorLine2="                             ~~~~~~~~~~~~~~~~~~">
977        <location
978            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java"
979            line="511"
980            column="30"/>
981    </issue>
982
983    <issue
984        id="NewApi"
985        message="Call requires API level 29 (current min is 21): `android.net.wifi.WifiManager#isWpa3SuiteBSupported`"
986        errorLine1="                mWifiManager.isWpa3SuiteBSupported(),"
987        errorLine2="                             ~~~~~~~~~~~~~~~~~~~~~">
988        <location
989            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java"
990            line="512"
991            column="30"/>
992    </issue>
993
994    <issue
995        id="NewApi"
996        message="Call requires API level 29 (current min is 21): `android.net.wifi.WifiManager#isEnhancedOpenSupported`"
997        errorLine1="                mWifiManager.isEnhancedOpenSupported());"
998        errorLine2="                             ~~~~~~~~~~~~~~~~~~~~~~~">
999        <location
1000            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java"
1001            line="513"
1002            column="30"/>
1003    </issue>
1004
1005    <issue
1006        id="NewApi"
1007        message="Call requires API level R (current min is 21): `android.net.wifi.WifiConfiguration#getKey`"
1008        errorLine1="            final String key = uniqueIdToPasspointWifiEntryKey(wifiConfig.getKey());"
1009        errorLine2="                                                                          ~~~~~~">
1010        <location
1011            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java"
1012            line="562"
1013            column="75"/>
1014    </issue>
1015
1016    <issue
1017        id="NewApi"
1018        message="Call requires API level 24 (current min is 21): `java.lang.Iterable#forEach`"
1019        errorLine1="        mOsuWifiEntryCache.values().forEach(osuEntry -> {"
1020        errorLine2="                                    ~~~~~~~">
1021        <location
1022            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java"
1023            line="615"
1024            column="37"/>
1025    </issue>
1026
1027    <issue
1028        id="NewApi"
1029        message="Call requires API level R (current min is 21): `android.net.wifi.hotspot2.PasspointConfiguration#getUniqueId`"
1030        errorLine1="                    uniqueIdToPasspointWifiEntryKey(provisionedConfig.getUniqueId()));"
1031        errorLine2="                                                                      ~~~~~~~~~~~">
1032        <location
1033            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java"
1034            line="624"
1035            column="71"/>
1036    </issue>
1037
1038    <issue
1039        id="NewApi"
1040        message="Call requires API level 23 (current min is 21): `android.net.wifi.WifiConfiguration#isPasspoint`"
1041        errorLine1="            if (config.isPasspoint()) {"
1042        errorLine2="                       ~~~~~~~~~~~">
1043        <location
1044            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java"
1045            line="704"
1046            column="24"/>
1047    </issue>
1048
1049    <issue
1050        id="NewApi"
1051        message="Call requires API level 24 (current min is 21): `java.lang.Iterable#forEach`"
1052        errorLine1="        mStandardWifiEntryCache.entrySet().forEach((entry) -> {"
1053        errorLine2="                                           ~~~~~~~">
1054        <location
1055            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java"
1056            line="722"
1057            column="44"/>
1058    </issue>
1059
1060    <issue
1061        id="NewApi"
1062        message="Call requires API level 23 (current min is 21): `android.net.wifi.WifiConfiguration#isPasspoint`"
1063        errorLine1="            if (config != null &amp;&amp; config.isPasspoint()) {"
1064        errorLine2="                                         ~~~~~~~~~~~">
1065        <location
1066            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java"
1067            line="726"
1068            column="42"/>
1069    </issue>
1070
1071    <issue
1072        id="NewApi"
1073        message="Call requires API level R (current min is 21): `android.net.wifi.hotspot2.PasspointConfiguration#getUniqueId`"
1074        errorLine1="                        config.getUniqueId()), Function.identity())));"
1075        errorLine2="                               ~~~~~~~~~~~">
1076        <location
1077            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java"
1078            line="768"
1079            column="32"/>
1080    </issue>
1081
1082    <issue
1083        id="NewApi"
1084        message="Call requires API level R (current min is 21): `android.net.wifi.WifiConfiguration#getKey`"
1085        errorLine1="                uniqueIdToPasspointWifiEntryKey(cachedWifiConfig.getKey()));"
1086        errorLine2="                                                                 ~~~~~~">
1087        <location
1088            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java"
1089            line="888"
1090            column="66"/>
1091    </issue>
1092
1093    <issue
1094        id="NewApi"
1095        message="Class requires API level 31 (current min is 21): `android.telephony.TelephonyCallback`"
1096        errorLine1="            /* package */ class ActiveDataSubIdListener extends TelephonyCallback implements"
1097        errorLine2="                                                                ~~~~~~~~~~~~~~~~~">
1098        <location
1099            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java"
1100            line="969"
1101            column="65"/>
1102    </issue>
1103
1104    <issue
1105        id="NewApi"
1106        message="Class requires API level 31 (current min is 21): `android.telephony.TelephonyCallback.ActiveDataSubscriptionIdListener`"
1107        errorLine1="            TelephonyCallback.ActiveDataSubscriptionIdListener {"
1108        errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1109        <location
1110            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java"
1111            line="970"
1112            column="13"/>
1113    </issue>
1114
1115    <issue
1116        id="NewApi"
1117        message="Call requires API level 31 (current min is 21): `new android.telephony.TelephonyCallback`"
1118        errorLine1="            super();"
1119        errorLine2="            ~~~~~">
1120        <location
1121            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java"
1122            line="972"
1123            column="13"/>
1124    </issue>
1125
1126    <issue
1127        id="NewApi"
1128        message="Call requires API level 24 (current min is 21): android.telephony.SubscriptionManager#getDefaultDataSubscriptionId [NewApi]"
1129        errorLine1="    handleDefaultSubscriptionChanged(SubscriptionManager.getDefaultDataSubscriptionId());"
1130        errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1131        <location
1132            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java"
1133            line="212"
1134            column="62"/>
1135    </issue>
1136
1137    <issue
1138        id="NewApi"
1139        message="Call requires API level 31 (current min is 21): android.net.wifi.WifiManager#isCarrierNetworkOffloadEnabled [NewApi]"
1140        errorLine1="        return mWifiManager.isCarrierNetworkOffloadEnabled(mSubscriptionId, true);"
1141        errorLine2="                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1142        <location
1143            file="frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/MergedCarrierEntry.java"
1144            line="142"
1145            column="29"/>
1146    </issue>
1147
1148</issues>
1149