Pedro Loureiro | d443fb1 | 2021-02-25 15:32:07 +0000 | [diff] [blame] | 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 31 (current min is 29): `com.android.net.module.util.ConnectivityUtils#addressAndPortToString`" |
| 7 | errorLine1=" ConnectivityUtils.addressAndPortToString(" |
| 8 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| 9 | <location |
| 10 | file="packages/modules/NetworkStack/src/android/net/apf/ApfFilter.java" |
| 11 | line="1032" |
| 12 | column="43"/> |
| 13 | </issue> |
| 14 | |
| 15 | <issue |
| 16 | id="NewApi" |
| 17 | message="Call requires API level 31 (current min is 29): `com.android.net.module.util.ConnectivityUtils#addressAndPortToString`" |
| 18 | errorLine1=" ConnectivityUtils.addressAndPortToString(" |
| 19 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| 20 | <location |
| 21 | file="packages/modules/NetworkStack/src/android/net/apf/ApfFilter.java" |
| 22 | line="1034" |
| 23 | column="43"/> |
| 24 | </issue> |
| 25 | |
| 26 | <issue |
| 27 | id="NewApi" |
| 28 | message="Call requires API level 31 (current min is 29): `com.android.net.module.util.ConnectivityUtils#addressAndPortToString`" |
| 29 | errorLine1=" ConnectivityUtils.addressAndPortToString(" |
| 30 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| 31 | <location |
| 32 | file="packages/modules/NetworkStack/src/android/net/apf/ApfFilter.java" |
| 33 | line="1087" |
| 34 | column="43"/> |
| 35 | </issue> |
| 36 | |
| 37 | <issue |
| 38 | id="NewApi" |
| 39 | message="Call requires API level 31 (current min is 29): `com.android.net.module.util.ConnectivityUtils#addressAndPortToString`" |
| 40 | errorLine1=" ConnectivityUtils.addressAndPortToString(" |
| 41 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| 42 | <location |
| 43 | file="packages/modules/NetworkStack/src/android/net/apf/ApfFilter.java" |
| 44 | line="1089" |
| 45 | column="43"/> |
| 46 | </issue> |
| 47 | |
| 48 | <issue |
| 49 | id="NewApi" |
| 50 | message="Call requires API level 31 (current min is 29): `com.android.net.module.util.CollectionUtils#any`" |
| 51 | errorLine1=" final boolean haveKeepaliveResponses = CollectionUtils.any(mKeepalivePackets," |
| 52 | errorLine2=" ~~~"> |
| 53 | <location |
| 54 | file="packages/modules/NetworkStack/src/android/net/apf/ApfFilter.java" |
| 55 | line="1368" |
| 56 | column="64"/> |
| 57 | </issue> |
| 58 | |
| 59 | <issue |
| 60 | id="NewApi" |
| 61 | message="Call requires API level 31 (current min is 29): `com.android.net.module.util.CollectionUtils#toIntArray`" |
| 62 | errorLine1=" CollectionUtils.toIntArray(mDnsReturnCode)," |
| 63 | errorLine2=" ~~~~~~~~~~"> |
| 64 | <location |
| 65 | file="packages/modules/NetworkStack/src/com/android/networkstack/metrics/DataStallDetectionStats.java" |
| 66 | line="302" |
| 67 | column="37"/> |
| 68 | </issue> |
| 69 | |
| 70 | <issue |
| 71 | id="NewApi" |
| 72 | message="Call requires API level 31 (current min is 29): `com.android.net.module.util.CollectionUtils#toLongArray`" |
| 73 | errorLine1=" CollectionUtils.toLongArray(mDnsTimeStamp)," |
| 74 | errorLine2=" ~~~~~~~~~~~"> |
| 75 | <location |
| 76 | file="packages/modules/NetworkStack/src/com/android/networkstack/metrics/DataStallDetectionStats.java" |
| 77 | line="303" |
| 78 | column="37"/> |
| 79 | </issue> |
| 80 | |
| 81 | <issue |
| 82 | id="NewApi" |
| 83 | message="Call requires API level R (current min is 29): `android.net.LinkProperties#getNat64Prefix`" |
| 84 | errorLine1=" newLp.setNat64Prefix(netlinkLinkProperties.getNat64Prefix());" |
| 85 | errorLine2=" ~~~~~~~~~~~~~~"> |
| 86 | <location |
| 87 | file="packages/modules/NetworkStack/src/android/net/ip/IpClient.java" |
| 88 | line="1337" |
| 89 | column="52"/> |
| 90 | </issue> |
| 91 | |
| 92 | <issue |
| 93 | id="NewApi" |
| 94 | message="Call requires API level R (current min is 29): `android.net.LinkProperties#setNat64Prefix`" |
| 95 | errorLine1=" newLp.setNat64Prefix(netlinkLinkProperties.getNat64Prefix());" |
| 96 | errorLine2=" ~~~~~~~~~~~~~~"> |
| 97 | <location |
| 98 | file="packages/modules/NetworkStack/src/android/net/ip/IpClient.java" |
| 99 | line="1337" |
| 100 | column="15"/> |
| 101 | </issue> |
| 102 | |
| 103 | <issue |
| 104 | id="NewApi" |
| 105 | message="Call requires API level 31 (current min is 29): `com.android.net.module.util.ConnectivityUtils#saturatedCast`" |
| 106 | errorLine1=" mStatsBuilder.setIpv4LatencyMicros(ConnectivityUtils.saturatedCast(mIpv4Watch.stop()));" |
| 107 | errorLine2=" ~~~~~~~~~~~~~"> |
| 108 | <location |
| 109 | file="packages/modules/NetworkStack/src/com/android/networkstack/metrics/IpProvisioningMetrics.java" |
| 110 | line="74" |
| 111 | column="66"/> |
| 112 | </issue> |
| 113 | |
| 114 | <issue |
| 115 | id="NewApi" |
| 116 | message="Call requires API level 31 (current min is 29): `com.android.net.module.util.ConnectivityUtils#saturatedCast`" |
| 117 | errorLine1=" mStatsBuilder.setIpv6LatencyMicros(ConnectivityUtils.saturatedCast(mIpv6Watch.stop()));" |
| 118 | errorLine2=" ~~~~~~~~~~~~~"> |
| 119 | <location |
| 120 | file="packages/modules/NetworkStack/src/com/android/networkstack/metrics/IpProvisioningMetrics.java" |
| 121 | line="83" |
| 122 | column="66"/> |
| 123 | </issue> |
| 124 | |
| 125 | <issue |
| 126 | id="NewApi" |
| 127 | message="Call requires API level 31 (current min is 29): `com.android.net.module.util.CollectionUtils#isEmpty`" |
| 128 | errorLine1=" if (isEmpty(mCaptivePortalFallbackSpecs)) {" |
| 129 | errorLine2=" ~~~~~~~"> |
| 130 | <location |
| 131 | file="packages/modules/NetworkStack/src/com/android/server/connectivity/NetworkMonitor.java" |
| 132 | line="2279" |
| 133 | column="13"/> |
| 134 | </issue> |
| 135 | |
| 136 | <issue |
| 137 | id="NewApi" |
| 138 | message="Call requires API level 31 (current min is 29): `com.android.net.module.util.ConnectivityUtils#isIPv6ULA`" |
| 139 | errorLine1=" || isIPv6ULA(address)) {" |
| 140 | errorLine2=" ~~~~~~~~~"> |
| 141 | <location |
| 142 | file="packages/modules/NetworkStack/src/com/android/server/connectivity/NetworkMonitor.java" |
| 143 | line="2447" |
| 144 | column="24"/> |
| 145 | </issue> |
| 146 | |
| 147 | <issue |
| 148 | id="NewApi" |
| 149 | message="Call requires API level R (current min is 29): `android.telephony.NetworkRegistrationInfo#getCellIdentity`" |
| 150 | errorLine1=" nri == null ? null : nri.getCellIdentity());" |
| 151 | errorLine2=" ~~~~~~~~~~~~~~~"> |
| 152 | <location |
| 153 | file="packages/modules/NetworkStack/src/com/android/server/connectivity/NetworkMonitor.java" |
| 154 | line="3088" |
| 155 | column="46"/> |
| 156 | </issue> |
| 157 | |
| 158 | <issue |
| 159 | id="NewApi" |
| 160 | message="Call requires API level 31 (current min is 29): `com.android.net.module.util.ConnectivityUtils#saturatedCast`" |
| 161 | errorLine1=" int latencyUs = ConnectivityUtils.saturatedCast(durationUs);" |
| 162 | errorLine2=" ~~~~~~~~~~~~~"> |
| 163 | <location |
| 164 | file="packages/modules/NetworkStack/src/com/android/networkstack/metrics/NetworkValidationMetrics.java" |
| 165 | line="198" |
| 166 | column="43"/> |
| 167 | </issue> |
| 168 | |
| 169 | <issue |
| 170 | id="NewApi" |
| 171 | message="Call requires API level 31 (current min is 29): `com.android.net.module.util.ConnectivityUtils#saturatedCast`" |
| 172 | errorLine1=" .setRemainingTtlSecs(ConnectivityUtils.saturatedCast(secondsRemaining))" |
| 173 | errorLine2=" ~~~~~~~~~~~~~"> |
| 174 | <location |
| 175 | file="packages/modules/NetworkStack/src/com/android/networkstack/metrics/NetworkValidationMetrics.java" |
| 176 | line="209" |
| 177 | column="56"/> |
| 178 | </issue> |
| 179 | |
| 180 | <issue |
| 181 | id="NewApi" |
| 182 | message="Call requires API level 31 (current min is 29): `com.android.net.module.util.ConnectivityUtils#saturatedCast`" |
| 183 | errorLine1=" ConnectivityUtils.saturatedCast(capportData.getByteLimit() / 1000))" |
| 184 | errorLine2=" ~~~~~~~~~~~~~"> |
| 185 | <location |
| 186 | file="packages/modules/NetworkStack/src/com/android/networkstack/metrics/NetworkValidationMetrics.java" |
| 187 | line="212" |
| 188 | column="43"/> |
| 189 | </issue> |
| 190 | |
| 191 | <issue |
| 192 | id="NewApi" |
| 193 | message="Call requires API level 31 (current min is 29): `com.android.net.module.util.ConnectivityUtils#saturatedCast`" |
| 194 | errorLine1=" mStatsBuilder.setLatencyMicros(ConnectivityUtils.saturatedCast(mWatch.stop()));" |
| 195 | errorLine2=" ~~~~~~~~~~~~~"> |
| 196 | <location |
| 197 | file="packages/modules/NetworkStack/src/com/android/networkstack/metrics/NetworkValidationMetrics.java" |
| 198 | line="237" |
| 199 | column="58"/> |
| 200 | </issue> |
| 201 | |
| 202 | </issues> |