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): `new android.net.EthernetNetworkSpecifier`" 7 errorLine1=" .setNetworkSpecifier(new EthernetNetworkSpecifier(ifaceName))" 8 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 9 <location 10 file="packages/modules/Connectivity/service-t/src/com/android/server/ethernet/EthernetNetworkFactory.java" 11 line="156" 12 column="38"/> 13 </issue> 14 15 <issue 16 id="NewApi" 17 message="Cast from `EthernetNetworkSpecifier` to `NetworkSpecifier` requires API level 31 (current min is 30)" 18 errorLine1=" .setNetworkSpecifier(new EthernetNetworkSpecifier(ifaceName))" 19 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 20 <location 21 file="packages/modules/Connectivity/service-t/src/com/android/server/ethernet/EthernetNetworkFactory.java" 22 line="156" 23 column="38"/> 24 </issue> 25 26 <issue 27 id="NewApi" 28 message="Call requires API level 31 (current min is 30): `new android.net.EthernetNetworkSpecifier`" 29 errorLine1=" nc.setNetworkSpecifier(new EthernetNetworkSpecifier(iface));" 30 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 31 <location 32 file="packages/modules/Connectivity/service-t/src/com/android/server/ethernet/EthernetServiceImpl.java" 33 line="218" 34 column="36"/> 35 </issue> 36 37 <issue 38 id="NewApi" 39 message="Cast from `EthernetNetworkSpecifier` to `NetworkSpecifier` requires API level 31 (current min is 30)" 40 errorLine1=" nc.setNetworkSpecifier(new EthernetNetworkSpecifier(iface));" 41 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 42 <location 43 file="packages/modules/Connectivity/service-t/src/com/android/server/ethernet/EthernetServiceImpl.java" 44 line="218" 45 column="36"/> 46 </issue> 47 48 <issue 49 id="NewApi" 50 message="Class requires API level 31 (current min is 30): `android.net.EthernetNetworkSpecifier`" 51 errorLine1=" if (!(spec instanceof EthernetNetworkSpecifier)) {" 52 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 53 <location 54 file="packages/modules/Connectivity/service-t/src/com/android/server/ethernet/EthernetServiceImpl.java" 55 line="221" 56 column="31"/> 57 </issue> 58 59 <issue 60 id="NewApi" 61 message="Call requires API level 31 (current min is 30): `android.net.EthernetNetworkSpecifier#getInterfaceName`" 62 errorLine1=" if (!((EthernetNetworkSpecifier) spec).getInterfaceName().matches(iface)) {" 63 errorLine2=" ~~~~~~~~~~~~~~~~"> 64 <location 65 file="packages/modules/Connectivity/service-t/src/com/android/server/ethernet/EthernetServiceImpl.java" 66 line="224" 67 column="48"/> 68 </issue> 69 70 <issue 71 id="NewApi" 72 message="Class requires API level 31 (current min is 30): `android.net.EthernetNetworkSpecifier`" 73 errorLine1=" if (!((EthernetNetworkSpecifier) spec).getInterfaceName().matches(iface)) {" 74 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 75 <location 76 file="packages/modules/Connectivity/service-t/src/com/android/server/ethernet/EthernetServiceImpl.java" 77 line="224" 78 column="16"/> 79 </issue> 80 81 <issue 82 id="NewApi" 83 message="Call requires API level 31 (current min is 30): `java.net.InetAddress#parseNumericAddress`" 84 errorLine1=" staticIpConfigBuilder.setGateway(InetAddress.parseNumericAddress(value));" 85 errorLine2=" ~~~~~~~~~~~~~~~~~~~"> 86 <location 87 file="packages/modules/Connectivity/service-t/src/com/android/server/ethernet/EthernetTracker.java" 88 line="885" 89 column="66"/> 90 </issue> 91 92 <issue 93 id="NewApi" 94 message="Call requires API level 31 (current min is 30): `java.net.InetAddress#parseNumericAddress`" 95 errorLine1=" dnsAddresses.add(InetAddress.parseNumericAddress(address));" 96 errorLine2=" ~~~~~~~~~~~~~~~~~~~"> 97 <location 98 file="packages/modules/Connectivity/service-t/src/com/android/server/ethernet/EthernetTracker.java" 99 line="890" 100 column="54"/> 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(mSocket);" 107 errorLine2=" ~~~~~~~~~~~~"> 108 <location 109 file="packages/modules/Connectivity/service-t/src/com/android/server/IpSecService.java" 110 line="1042" 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(sockFd);" 118 errorLine2=" ~~~~~~~~~~~~"> 119 <location 120 file="packages/modules/Connectivity/service-t/src/com/android/server/IpSecService.java" 121 line="1318" 122 column="25"/> 123 </issue> 124 125 <issue 126 id="NewApi" 127 message="Field requires API level 31 (current min is 30): `android.system.OsConstants#UDP_ENCAP`" 128 errorLine1=" OsConstants.UDP_ENCAP," 129 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 130 <location 131 file="packages/modules/Connectivity/service-t/src/com/android/server/IpSecService.java" 132 line="1326" 133 column="21"/> 134 </issue> 135 136 <issue 137 id="NewApi" 138 message="Field requires API level 31 (current min is 30): `android.system.OsConstants#UDP_ENCAP_ESPINUDP`" 139 errorLine1=" OsConstants.UDP_ENCAP_ESPINUDP);" 140 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 141 <location 142 file="packages/modules/Connectivity/service-t/src/com/android/server/IpSecService.java" 143 line="1327" 144 column="21"/> 145 </issue> 146 147 <issue 148 id="NewApi" 149 message="Call requires API level 33 (current min is 30): `BpfNetMaps`" 150 errorLine1=" return new BpfNetMaps(ctx);" 151 errorLine2=" ~~~~~~~~~~~~~~"> 152 <location 153 file="packages/modules/Connectivity/service-t/src/com/android/server/net/NetworkStatsFactory.java" 154 line="111" 155 column="20"/> 156 </issue> 157 158 <issue 159 id="NewApi" 160 message="Call requires API level 33 (current min is 30): `swapActiveStatsMap`" 161 errorLine1=" mBpfNetMaps.swapActiveStatsMap();" 162 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 163 <location 164 file="packages/modules/Connectivity/service-t/src/com/android/server/net/NetworkStatsFactory.java" 165 line="185" 166 column="25"/> 167 </issue> 168 169 <issue 170 id="NewApi" 171 message="Call requires API level 31 (current min is 30): `android.net.UnderlyingNetworkInfo#getInterface`" 172 errorLine1=" delta.migrateTun(info.getOwnerUid(), info.getInterface()," 173 errorLine2=" ~~~~~~~~~~~~"> 174 <location 175 file="packages/modules/Connectivity/service-t/src/com/android/server/net/NetworkStatsFactory.java" 176 line="240" 177 column="55"/> 178 </issue> 179 180 <issue 181 id="NewApi" 182 message="Call requires API level 31 (current min is 30): `android.net.UnderlyingNetworkInfo#getOwnerUid`" 183 errorLine1=" delta.migrateTun(info.getOwnerUid(), info.getInterface()," 184 errorLine2=" ~~~~~~~~~~~"> 185 <location 186 file="packages/modules/Connectivity/service-t/src/com/android/server/net/NetworkStatsFactory.java" 187 line="240" 188 column="35"/> 189 </issue> 190 191 <issue 192 id="NewApi" 193 message="Call requires API level 31 (current min is 30): `android.net.UnderlyingNetworkInfo#getUnderlyingInterfaces`" 194 errorLine1=" info.getUnderlyingInterfaces());" 195 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 196 <location 197 file="packages/modules/Connectivity/service-t/src/com/android/server/net/NetworkStatsFactory.java" 198 line="241" 199 column="26"/> 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=" IoUtils.closeQuietly(os);" 206 errorLine2=" ~~~~~~~~~~~~"> 207 <location 208 file="packages/modules/Connectivity/service-t/src/com/android/server/net/NetworkStatsRecorder.java" 209 line="580" 210 column="25"/> 211 </issue> 212 213 <issue 214 id="NewApi" 215 message="Call requires API level 35 (current min is 34): `newInstance`" 216 errorLine1=" opts = BroadcastOptionsShimImpl.newInstance(" 217 errorLine2=" ~~~~~~~~~~~"> 218 <location 219 file="packages/modules/Connectivity/service-t/src/com/android/server/net/NetworkStatsService.java" 220 line="562" 221 column="61"/> 222 </issue> 223 224 <issue 225 id="NewApi" 226 message="Call requires API level 31 (current min is 30): `new android.util.AtomicFile`" 227 errorLine1=" mFile = new AtomicFile(new File(path), logger);" 228 errorLine2=" ~~~~~~~~~~~~~~"> 229 <location 230 file="packages/modules/Connectivity/service-t/src/com/android/server/net/PersistentInt.java" 231 line="53" 232 column="17"/> 233 </issue> 234 235 <issue 236 id="NewApi" 237 message="Call requires API level 33 (current min is 30): `addOrUpdateInterfaceAddress`" 238 errorLine1=" mCb.addOrUpdateInterfaceAddress(ifaddrMsg.index, la);" 239 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 240 <location 241 file="packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/internal/SocketNetlinkMonitor.java" 242 line="69" 243 column="25"/> 244 </issue> 245 246 <issue 247 id="NewApi" 248 message="Call requires API level 33 (current min is 30): `deleteInterfaceAddress`" 249 errorLine1=" mCb.deleteInterfaceAddress(ifaddrMsg.index, la);" 250 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 251 <location 252 file="packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/internal/SocketNetlinkMonitor.java" 253 line="73" 254 column="21"/> 255 </issue> 256 257</issues>