blob: 38d3ab0ce9917375e43940c1924e8f4d96fe5f5a [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.0.0-dev" type="baseline" dependencies="true" variant="all" version="8.0.0-dev">
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.net.EthernetNetworkSpecifier#getInterfaceName`"
errorLine1=" if (!((EthernetNetworkSpecifier) spec).getInterfaceName().matches(iface)) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service-t/src/com/android/server/ethernet/EthernetServiceImpl.java"
line="224"
column="48"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.net.UnderlyingNetworkInfo#getInterface`"
errorLine1=" delta.migrateTun(info.getOwnerUid(), info.getInterface(),"
errorLine2=" ~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service-t/src/com/android/server/net/NetworkStatsFactory.java"
line="276"
column="55"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.net.UnderlyingNetworkInfo#getOwnerUid`"
errorLine1=" delta.migrateTun(info.getOwnerUid(), info.getInterface(),"
errorLine2=" ~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service-t/src/com/android/server/net/NetworkStatsFactory.java"
line="276"
column="35"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.net.UnderlyingNetworkInfo#getUnderlyingInterfaces`"
errorLine1=" info.getUnderlyingInterfaces());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service-t/src/com/android/server/net/NetworkStatsFactory.java"
line="277"
column="26"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `java.net.InetAddress#parseNumericAddress`"
errorLine1=" dnsAddresses.add(InetAddress.parseNumericAddress(address));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service-t/src/com/android/server/ethernet/EthernetTracker.java"
line="875"
column="54"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `java.net.InetAddress#parseNumericAddress`"
errorLine1=" staticIpConfigBuilder.setGateway(InetAddress.parseNumericAddress(value));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service-t/src/com/android/server/ethernet/EthernetTracker.java"
line="870"
column="66"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `libcore.io.IoUtils#closeQuietly`"
errorLine1=" IoUtils.closeQuietly(os);"
errorLine2=" ~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service-t/src/com/android/server/net/NetworkStatsRecorder.java"
line="556"
column="25"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `libcore.io.IoUtils#closeQuietly`"
errorLine1=" IoUtils.closeQuietly(sockFd);"
errorLine2=" ~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service-t/src/com/android/server/IpSecService.java"
line="1309"
column="25"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `libcore.io.IoUtils#closeQuietly`"
errorLine1=" IoUtils.closeQuietly(mSocket);"
errorLine2=" ~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service-t/src/com/android/server/IpSecService.java"
line="1034"
column="21"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `new android.net.EthernetNetworkSpecifier`"
errorLine1=" .setNetworkSpecifier(new EthernetNetworkSpecifier(ifaceName))"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service-t/src/com/android/server/ethernet/EthernetNetworkFactory.java"
line="156"
column="38"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `new android.net.EthernetNetworkSpecifier`"
errorLine1=" nc.setNetworkSpecifier(new EthernetNetworkSpecifier(iface));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service-t/src/com/android/server/ethernet/EthernetServiceImpl.java"
line="218"
column="36"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `new android.util.AtomicFile`"
errorLine1=" mFile = new AtomicFile(new File(path), logger);"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service-t/src/com/android/server/net/PersistentInt.java"
line="53"
column="17"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `new java.net.InetSocketAddress`"
errorLine1=" super(handler, new RecvBuffer(buffer, new InetSocketAddress()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/MulticastPacketReader.java"
line="66"
column="47"/>
</issue>
<issue
id="NewApi"
message="Cast from `EthernetNetworkSpecifier` to `NetworkSpecifier` requires API level 31 (current min is 30)"
errorLine1=" .setNetworkSpecifier(new EthernetNetworkSpecifier(ifaceName))"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service-t/src/com/android/server/ethernet/EthernetNetworkFactory.java"
line="156"
column="38"/>
</issue>
<issue
id="NewApi"
message="Cast from `EthernetNetworkSpecifier` to `NetworkSpecifier` requires API level 31 (current min is 30)"
errorLine1=" nc.setNetworkSpecifier(new EthernetNetworkSpecifier(iface));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service-t/src/com/android/server/ethernet/EthernetServiceImpl.java"
line="218"
column="36"/>
</issue>
<issue
id="NewApi"
message="Class requires API level 31 (current min is 30): `android.net.EthernetNetworkSpecifier`"
errorLine1=" if (!((EthernetNetworkSpecifier) spec).getInterfaceName().matches(iface)) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service-t/src/com/android/server/ethernet/EthernetServiceImpl.java"
line="224"
column="16"/>
</issue>
<issue
id="NewApi"
message="Class requires API level 31 (current min is 30): `android.net.EthernetNetworkSpecifier`"
errorLine1=" if (!(spec instanceof EthernetNetworkSpecifier)) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service-t/src/com/android/server/ethernet/EthernetServiceImpl.java"
line="221"
column="31"/>
</issue>
</issues>