blob: 5149e6d5d739cf9509afed6eae85ae965745ec06 [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.app.PendingIntent#intentFilterEquals`"
errorLine1=" return a.intentFilterEquals(b);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="1358"
column="22"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.app.usage.NetworkStatsManager#notifyNetworkStatus`"
errorLine1=" mStatsManager.notifyNetworkStatus(getDefaultNetworks(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="9938"
column="27"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.content.pm.ApplicationInfo#isOem`"
errorLine1=" return appInfo.isVendor() || appInfo.isOem() || appInfo.isProduct();"
errorLine2=" ~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/connectivity/PermissionMonitor.java"
line="481"
column="46"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.content.pm.ApplicationInfo#isProduct`"
errorLine1=" return appInfo.isVendor() || appInfo.isOem() || appInfo.isProduct();"
errorLine2=" ~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/connectivity/PermissionMonitor.java"
line="481"
column="65"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.content.pm.ApplicationInfo#isVendor`"
errorLine1=" return appInfo.isVendor() || appInfo.isOem() || appInfo.isProduct();"
errorLine2=" ~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/connectivity/PermissionMonitor.java"
line="481"
column="24"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.net.NetworkPolicyManager#getMultipathPreference`"
errorLine1=" networkPreference = netPolicyManager.getMultipathPreference(network);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="5498"
column="50"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.net.NetworkPolicyManager#getRestrictBackgroundStatus`"
errorLine1=" return mPolicyManager.getRestrictBackgroundStatus(callerUid);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="2565"
column="35"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.net.NetworkPolicyManager#isUidNetworkingBlocked`"
errorLine1=" return mPolicyManager.isUidNetworkingBlocked(uid, metered);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="1914"
column="35"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.net.NetworkPolicyManager#isUidRestrictedOnMeteredNetworks`"
errorLine1=" if (mPolicyManager.isUidRestrictedOnMeteredNetworks(uid)) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="7094"
column="32"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.net.NetworkPolicyManager#registerNetworkPolicyCallback`"
errorLine1=" mPolicyManager.registerNetworkPolicyCallback(null, mPolicyCallback);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="1567"
column="24"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.net.NetworkStateSnapshot#getLinkProperties`"
errorLine1=" snapshot.getLinkProperties(), snapshot.getNetworkCapabilities(),"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="2584"
column="34"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.net.NetworkStateSnapshot#getNetworkCapabilities`"
errorLine1=" snapshot.getLinkProperties(), snapshot.getNetworkCapabilities(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="2584"
column="64"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.net.NetworkStateSnapshot#getNetwork`"
errorLine1=" snapshot.getNetwork(), snapshot.getSubscriberId()));"
errorLine2=" ~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="2585"
column="34"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.net.NetworkStateSnapshot#getNetwork`"
errorLine1=" final NetworkAgentInfo nai = getNetworkAgentInfoForNetwork(snapshot.getNetwork());"
errorLine2=" ~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="2581"
column="81"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.net.NetworkStateSnapshot#getSubscriberId`"
errorLine1=" snapshot.getNetwork(), snapshot.getSubscriberId()));"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="2585"
column="57"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.net.NetworkWatchlistManager#getWatchlistConfigHash`"
errorLine1=" return nwm.getWatchlistConfigHash();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="10060"
column="20"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.net.PacProxyManager#addPacProxyInstalledListener`"
errorLine1=" mPacProxyManager.addPacProxyInstalledListener("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/connectivity/ProxyTracker.java"
line="111"
column="26"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.net.PacProxyManager#setCurrentProxyScriptUrl`"
errorLine1=" () -&gt; mPacProxyManager.setCurrentProxyScriptUrl(proxyProperties));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/connectivity/ProxyTracker.java"
line="208"
column="48"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.net.PacProxyManager#setCurrentProxyScriptUrl`"
errorLine1=" mPacProxyManager.setCurrentProxyScriptUrl(proxyInfo);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/connectivity/ProxyTracker.java"
line="252"
column="26"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.os.BatteryStatsManager#reportMobileRadioPowerState`"
errorLine1=" bs.reportMobileRadioPowerState(isActive, NO_UID);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="11006"
column="24"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.os.BatteryStatsManager#reportNetworkInterfaceForTransports`"
errorLine1=" batteryStats.reportNetworkInterfaceForTransports(iface, transportTypes);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="1347"
column="26"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.os.BatteryStatsManager#reportWifiRadioPowerState`"
errorLine1=" bs.reportWifiRadioPowerState(isActive, NO_UID);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="11009"
column="24"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.os.Build#isDebuggable`"
errorLine1=" if (Build.isDebuggable()) {"
errorLine2=" ~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="9074"
column="23"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.os.Build#isDebuggable`"
errorLine1=" if (!Build.isDebuggable()) {"
errorLine2=" ~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="5039"
column="20"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.os.SystemConfigManager#getSystemPermissionUids`"
errorLine1=" for (final int uid : mSystemConfigManager.getSystemPermissionUids(INTERNET)) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/connectivity/PermissionMonitor.java"
line="396"
column="51"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.os.SystemConfigManager#getSystemPermissionUids`"
errorLine1=" for (final int uid : mSystemConfigManager.getSystemPermissionUids(UPDATE_DEVICE_STATS)) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/connectivity/PermissionMonitor.java"
line="404"
column="51"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.os.UserHandle#getUid`"
errorLine1=" final int uid = handle.getUid(appId);"
errorLine2=" ~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/connectivity/PermissionMonitor.java"
line="1069"
column="44"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.system.Os#getsockoptInt`"
errorLine1=" tcpDetails.tos = Os.getsockoptInt(fd, IPPROTO_IP, IP_TOS);"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/connectivity/TcpKeepaliveController.java"
line="285"
column="37"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.system.Os#getsockoptInt`"
errorLine1=" tcpDetails.ttl = Os.getsockoptInt(fd, IPPROTO_IP, IP_TTL);"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/connectivity/TcpKeepaliveController.java"
line="287"
column="37"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.system.Os#getsockoptInt`"
errorLine1=" tcpDetails.ack = Os.getsockoptInt(fd, IPPROTO_TCP, TCP_QUEUE_SEQ);"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/connectivity/TcpKeepaliveController.java"
line="265"
column="33"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.system.Os#getsockoptInt`"
errorLine1=" tcpDetails.seq = Os.getsockoptInt(fd, IPPROTO_TCP, TCP_QUEUE_SEQ);"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/connectivity/TcpKeepaliveController.java"
line="262"
column="33"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.system.Os#ioctlInt`"
errorLine1=" final int result = Os.ioctlInt(fd, SIOCINQ);"
errorLine2=" ~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/connectivity/TcpKeepaliveController.java"
line="392"
column="31"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.system.Os#ioctlInt`"
errorLine1=" final int result = Os.ioctlInt(fd, SIOCOUTQ);"
errorLine2=" ~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/connectivity/TcpKeepaliveController.java"
line="402"
column="31"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `java.net.InetAddress#parseNumericAddress`"
errorLine1=' InetAddress.parseNumericAddress("::").getAddress();'
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/connectivity/DscpPolicyValue.java"
line="99"
column="25"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `java.net.InetAddress#parseNumericAddress`"
errorLine1=' private static final InetAddress GOOGLE_DNS_4 = InetAddress.parseNumericAddress("8.8.8.8");'
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/connectivity/ClatCoordinator.java"
line="89"
column="65"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `libcore.io.IoUtils#closeQuietly`"
errorLine1=" IoUtils.closeQuietly(pfd);"
errorLine2=" ~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="9991"
column="25"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `libcore.io.IoUtils#closeQuietly`"
errorLine1=" IoUtils.closeQuietly(pfd);"
errorLine2=" ~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="10008"
column="25"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `libcore.io.IoUtils#closeQuietly`"
errorLine1=" IoUtils.closeQuietly(mFileDescriptor);"
errorLine2=" ~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/connectivity/NetworkDiagnostics.java"
line="481"
column="21"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `new android.net.NetworkStateSnapshot`"
errorLine1=" return new NetworkStateSnapshot(network, new NetworkCapabilities(networkCapabilities),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/connectivity/NetworkAgentInfo.java"
line="1269"
column="20"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `new android.net.UnderlyingNetworkInfo`"
errorLine1=" return new UnderlyingNetworkInfo(nai.networkCapabilities.getOwnerUid(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="6123"
column="16"/>
</issue>
<issue
id="NewApi"
message="Class requires API level 31 (current min is 30): `android.net.NetworkPolicyManager.NetworkPolicyCallback`"
errorLine1=" private final NetworkPolicyCallback mPolicyCallback = new NetworkPolicyCallback() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="2827"
column="63"/>
</issue>
<issue
id="NewApi"
message="Class requires API level 31 (current min is 30): `android.net.NetworkPolicyManager`"
errorLine1=" mContext.getSystemService(NetworkPolicyManager.class);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="5493"
column="44"/>
</issue>
<issue
id="NewApi"
message="Class requires API level 31 (current min is 30): `android.net.NetworkPolicyManager`"
errorLine1=" mPolicyManager = mContext.getSystemService(NetworkPolicyManager.class);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="1554"
column="52"/>
</issue>
<issue
id="NewApi"
message="Class requires API level 31 (current min is 30): `android.net.NetworkWatchlistManager`"
errorLine1=" NetworkWatchlistManager nwm = mContext.getSystemService(NetworkWatchlistManager.class);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/ConnectivityService.java"
line="10054"
column="65"/>
</issue>
<issue
id="NewApi"
message="Class requires API level 31 (current min is 30): `android.net.PacProxyManager.PacProxyInstalledListener`"
errorLine1=" private class PacProxyInstalledListener implements PacProxyManager.PacProxyInstalledListener {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/connectivity/ProxyTracker.java"
line="90"
column="56"/>
</issue>
<issue
id="NewApi"
message="Class requires API level 31 (current min is 30): `android.net.PacProxyManager`"
errorLine1=" mPacProxyManager = context.getSystemService(PacProxyManager.class);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/service/src/com/android/server/connectivity/ProxyTracker.java"
line="108"
column="53"/>
</issue>
</issues>