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="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 7 errorLine1="public final class AuthenticationFailedException extends IkeProtocolException {" 8 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 9 <location 10 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/AuthenticationFailedException.java" 11 line="28" 12 column="58"/> 13 </issue> 14 15 <issue 16 id="NewApi" 17 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 18 errorLine1="public final class ChildSaNotFoundException extends IkeProtocolException {" 19 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 20 <location 21 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/ChildSaNotFoundException.java" 22 line="30" 23 column="53"/> 24 </issue> 25 26 <issue 27 id="NewApi" 28 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.SaProposal`" 29 errorLine1="public final class ChildSaProposal extends SaProposal {" 30 errorLine2=" ~~~~~~~~~~"> 31 <location 32 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/ChildSaProposal.java" 33 line="54" 34 column="44"/> 35 </issue> 36 37 <issue 38 id="NewApi" 39 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.ChildSaProposal`" 40 errorLine1=" && isTransformSelectedFrom(mEsns, ((ChildSaProposal) reqProposal).mEsns);" 41 errorLine2=" ~~~~~~~~~~~~~~~"> 42 <location 43 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/ChildSaProposal.java" 44 line="252" 45 column="53"/> 46 </issue> 47 48 <issue 49 id="NewApi" 50 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.ChildSaProposal`" 51 errorLine1=" && isTransformSelectedFrom(mEsns, ((ChildSaProposal) saProposal).mEsns);" 52 errorLine2=" ~~~~~~~~~~~~~~~"> 53 <location 54 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/ChildSaProposal.java" 55 line="262" 56 column="53"/> 57 </issue> 58 59 <issue 60 id="NewApi" 61 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.ChildSaProposal`" 62 errorLine1=" if (!super.equals(o) || !(o instanceof ChildSaProposal)) {" 63 errorLine2=" ~~~~~~~~~~~~~~~"> 64 <location 65 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/ChildSaProposal.java" 66 line="281" 67 column="48"/> 68 </issue> 69 70 <issue 71 id="NewApi" 72 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.ChildSaProposal`" 73 errorLine1=" return Arrays.equals(mEsns, ((ChildSaProposal) o).mEsns);" 74 errorLine2=" ~~~~~~~~~~~~~~~"> 75 <location 76 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/ChildSaProposal.java" 77 line="285" 78 column="39"/> 79 </issue> 80 81 <issue 82 id="NewApi" 83 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.ChildSessionParams`" 84 errorLine1=" if (!(o instanceof ChildSessionParams)) {" 85 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 86 <location 87 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/ChildSessionParams.java" 88 line="276" 89 column="28"/> 90 </issue> 91 92 <issue 93 id="NewApi" 94 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.ChildSessionParams`" 95 errorLine1=" ChildSessionParams other = (ChildSessionParams) o;" 96 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 97 <location 98 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/ChildSessionParams.java" 99 line="280" 100 column="37"/> 101 </issue> 102 103 <issue 104 id="NewApi" 105 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.IkeInternalException`" 106 errorLine1=" mUserCallback.onClosedExceptionally(new IkeInternalException(e));" 107 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 108 <location 109 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 110 line="639" 111 column="61"/> 112 </issue> 113 114 <issue 115 id="NewApi" 116 message="Cast from `IkeInternalException` to `IkeException` requires API level 31 (current min is 30)" 117 errorLine1=" mUserCallback.onClosedExceptionally(new IkeInternalException(e));" 118 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 119 <location 120 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 121 line="639" 122 column="61"/> 123 </issue> 124 125 <issue 126 id="NewApi" 127 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeException`" 128 errorLine1=" error instanceof IkeException" 129 errorLine2=" ~~~~~~~~~~~~"> 130 <location 131 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 132 line="692" 133 column="34"/> 134 </issue> 135 136 <issue 137 id="NewApi" 138 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeException`" 139 errorLine1=" ? (IkeException) error" 140 errorLine2=" ~~~~~~~~~~~~"> 141 <location 142 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 143 line="693" 144 column="28"/> 145 </issue> 146 147 <issue 148 id="NewApi" 149 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.IkeInternalException`" 150 errorLine1=" : new IkeInternalException(error);" 151 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 152 <location 153 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 154 line="694" 155 column="27"/> 156 </issue> 157 158 <issue 159 id="NewApi" 160 message="Cast from `IkeException` to `Throwable` requires API level 31 (current min is 30)" 161 errorLine1=" loge("Child Session fatal error", ikeException);" 162 errorLine2=" ~~~~~~~~~~~~"> 163 <location 164 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 165 line="700" 166 column="43"/> 167 </issue> 168 169 <issue 170 id="NewApi" 171 message="Cast from `IkeException` to `Exception` requires API level 31 (current min is 30)" 172 errorLine1=" handleChildFatalError(exception);" 173 errorLine2=" ~~~~~~~~~"> 174 <location 175 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 176 line="882" 177 column="35"/> 178 </issue> 179 180 <issue 181 id="NewApi" 182 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.TemporaryFailureException`" 183 errorLine1=" return createChildResult.exception instanceof TemporaryFailureException;" 184 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 185 <location 186 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 187 line="1054" 188 column="59"/> 189 </issue> 190 191 <issue 192 id="NewApi" 193 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 194 errorLine1=" throw new InvalidSyntaxException(" 195 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 196 <location 197 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 198 line="1252" 199 column="23"/> 200 </issue> 201 202 <issue 203 id="NewApi" 204 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 205 errorLine1=" throw new InvalidSyntaxException(" 206 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 207 <location 208 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 209 line="1310" 210 column="35"/> 211 </issue> 212 213 <issue 214 id="NewApi" 215 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 216 errorLine1=" } catch (IkeProtocolException e) {" 217 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 218 <location 219 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 220 line="1323" 221 column="30"/> 222 </issue> 223 224 <issue 225 id="NewApi" 226 message="Cast from `IkeProtocolException` to `Exception` requires API level 31 (current min is 30)" 227 errorLine1=" handleChildFatalError(e);" 228 errorLine2=" ~"> 229 <location 230 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 231 line="1325" 232 column="47"/> 233 </issue> 234 235 <issue 236 id="NewApi" 237 message="Cast from `IkeException` to `Exception` requires API level 31 (current min is 30)" 238 errorLine1=" resp.registeredSpi, createChildResult.exception);" 239 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 240 <location 241 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 242 line="1501" 243 column="57"/> 244 </issue> 245 246 <issue 247 id="NewApi" 248 message="Cast from `ChildSaProposal` to `SaProposal` requires API level 31 (current min is 30)" 249 errorLine1=" byte respProposalNumber = reqSaPayload.getNegotiatedProposalNumber(saProposal);" 250 errorLine2=" ~~~~~~~~~~"> 251 <location 252 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 253 line="1657" 254 column="84"/> 255 </issue> 256 257 <issue 258 id="NewApi" 259 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.NoValidProposalChosenException`" 260 errorLine1=" } catch (NoValidProposalChosenException e) {" 261 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 262 <location 263 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 264 line="1670" 265 column="22"/> 266 </issue> 267 268 <issue 269 id="NewApi" 270 message="Cast from `NoValidProposalChosenException` to `IkeProtocolException` requires API level 31 (current min is 30)" 271 errorLine1=" handleCreationFailureAndBackToIdle(e);" 272 errorLine2=" ~"> 273 <location 274 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 275 line="1671" 276 column="52"/> 277 </issue> 278 279 <issue 280 id="NewApi" 281 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.NoValidProposalChosenException`" 282 errorLine1=" new NoValidProposalChosenException("Fail to assign inbound SPI", e));" 283 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 284 <location 285 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 286 line="1675" 287 column="25"/> 288 </issue> 289 290 <issue 291 id="NewApi" 292 message="Cast from `NoValidProposalChosenException` to `IkeProtocolException` requires API level 31 (current min is 30)" 293 errorLine1=" new NoValidProposalChosenException("Fail to assign inbound SPI", e));" 294 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 295 <location 296 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 297 line="1675" 298 column="25"/> 299 </issue> 300 301 <issue 302 id="NewApi" 303 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.NoValidProposalChosenException`" 304 errorLine1=" new NoValidProposalChosenException(" 305 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 306 <location 307 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 308 line="1742" 309 column="33"/> 310 </issue> 311 312 <issue 313 id="NewApi" 314 message="Cast from `NoValidProposalChosenException` to `IkeProtocolException` requires API level 31 (current min is 30)" 315 errorLine1=" new NoValidProposalChosenException(" 316 errorLine2=" ^"> 317 <location 318 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 319 line="1742" 320 column="33"/> 321 </issue> 322 323 <issue 324 id="NewApi" 325 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 326 errorLine1=" if (error instanceof IkeProtocolException) {" 327 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 328 <location 329 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 330 line="1753" 331 column="42"/> 332 </issue> 333 334 <issue 335 id="NewApi" 336 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 337 errorLine1=" handleCreationFailureAndBackToIdle((IkeProtocolException) error);" 338 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 339 <location 340 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 341 line="1754" 342 column="61"/> 343 </issue> 344 345 <issue 346 id="NewApi" 347 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.NoValidProposalChosenException`" 348 errorLine1=" new NoValidProposalChosenException(" 349 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 350 <location 351 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 352 line="1757" 353 column="33"/> 354 </issue> 355 356 <issue 357 id="NewApi" 358 message="Cast from `NoValidProposalChosenException` to `IkeProtocolException` requires API level 31 (current min is 30)" 359 errorLine1=" new NoValidProposalChosenException(" 360 errorLine2=" ^"> 361 <location 362 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 363 line="1757" 364 column="33"/> 365 </issue> 366 367 <issue 368 id="NewApi" 369 message="Cast from `IkeException` to `Throwable` requires API level 31 (current min is 30)" 370 errorLine1=" "Error in validating Create Child request", error));" 371 errorLine2=" ~~~~~"> 372 <location 373 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 374 line="1758" 375 column="85"/> 376 </issue> 377 378 <issue 379 id="NewApi" 380 message="Cast from `IkeProtocolException` to `Throwable` requires API level 31 (current min is 30)" 381 errorLine1=" loge("Received invalid Rekey Child request. Reject with error notification", e);" 382 errorLine2=" ~"> 383 <location 384 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 385 line="1789" 386 column="90"/> 387 </issue> 388 389 <issue 390 id="NewApi" 391 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 392 errorLine1=" } catch (IkeProtocolException e) {" 393 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 394 <location 395 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 396 line="1910" 397 column="30"/> 398 </issue> 399 400 <issue 401 id="NewApi" 402 message="Cast from `IkeProtocolException` to `Throwable` requires API level 31 (current min is 30)" 403 errorLine1=" e);" 404 errorLine2=" ~"> 405 <location 406 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 407 line="1914" 408 column="33"/> 409 </issue> 410 411 <issue 412 id="NewApi" 413 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams`" 414 errorLine1=" return ((TunnelModeChildSessionParams) params).getConfigurationAttributesInternal();" 415 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 416 <location 417 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 418 line="2044" 419 column="26"/> 420 </issue> 421 422 <issue 423 id="NewApi" 424 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 425 errorLine1=" } catch (InvalidSyntaxException e) {" 426 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 427 <location 428 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 429 line="2274" 430 column="22"/> 431 </issue> 432 433 <issue 434 id="NewApi" 435 message="Cast from `InvalidSyntaxException` to `IkeException` requires API level 31 (current min is 30)" 436 errorLine1=" return new CreateChildResult(CREATE_STATUS_CHILD_ERROR_INVALID_MSG, e);" 437 errorLine2=" ~"> 438 <location 439 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 440 line="2275" 441 column="85"/> 442 </issue> 443 444 <issue 445 id="NewApi" 446 message="Cast from `IkeProtocolException` to `IkeException` requires API level 31 (current min is 30)" 447 errorLine1=" CREATE_STATUS_CHILD_ERROR_RCV_NOTIFY, exception);" 448 errorLine2=" ~~~~~~~~~"> 449 <location 450 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 451 line="2291" 452 column="75"/> 453 </issue> 454 455 <issue 456 id="NewApi" 457 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 458 errorLine1=" } catch (InvalidSyntaxException e) {" 459 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 460 <location 461 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 462 line="2295" 463 column="30"/> 464 </issue> 465 466 <issue 467 id="NewApi" 468 message="Cast from `InvalidSyntaxException` to `IkeException` requires API level 31 (current min is 30)" 469 errorLine1=" return new CreateChildResult(CREATE_STATUS_CHILD_ERROR_INVALID_MSG, e);" 470 errorLine2=" ~"> 471 <location 472 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 473 line="2296" 474 column="93"/> 475 </issue> 476 477 <issue 478 id="NewApi" 479 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.NoValidProposalChosenException`" 480 errorLine1=" throw new NoValidProposalChosenException(" 481 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 482 <location 483 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 484 line="2346" 485 column="27"/> 486 </issue> 487 488 <issue 489 id="NewApi" 490 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 491 errorLine1=" } catch (IkeProtocolException" 492 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 493 <location 494 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 495 line="2359" 496 column="22"/> 497 </issue> 498 499 <issue 500 id="NewApi" 501 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 502 errorLine1=" if (e instanceof InvalidSyntaxException) {" 503 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 504 <location 505 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 506 line="2367" 507 column="34"/> 508 </issue> 509 510 <issue 511 id="NewApi" 512 message="Cast from `InvalidSyntaxException` to `IkeException` requires API level 31 (current min is 30)" 513 errorLine1=" CREATE_STATUS_CHILD_ERROR_INVALID_MSG, (InvalidSyntaxException) e);" 514 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 515 <location 516 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 517 line="2369" 518 column="68"/> 519 </issue> 520 521 <issue 522 id="NewApi" 523 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 524 errorLine1=" } else if (e instanceof IkeProtocolException) {" 525 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 526 <location 527 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 528 line="2370" 529 column="41"/> 530 </issue> 531 532 <issue 533 id="NewApi" 534 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 535 errorLine1=" new InvalidSyntaxException(" 536 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 537 <location 538 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 539 line="2373" 540 column="29"/> 541 </issue> 542 543 <issue 544 id="NewApi" 545 message="Cast from `InvalidSyntaxException` to `IkeException` requires API level 31 (current min is 30)" 546 errorLine1=" new InvalidSyntaxException(" 547 errorLine2=" ^"> 548 <location 549 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 550 line="2373" 551 column="29"/> 552 </issue> 553 554 <issue 555 id="NewApi" 556 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.IkeInternalException`" 557 errorLine1=" CREATE_STATUS_CHILD_ERROR_INVALID_MSG, new IkeInternalException(e));" 558 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 559 <location 560 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 561 line="2377" 562 column="68"/> 563 </issue> 564 565 <issue 566 id="NewApi" 567 message="Cast from `IkeInternalException` to `IkeException` requires API level 31 (current min is 30)" 568 errorLine1=" CREATE_STATUS_CHILD_ERROR_INVALID_MSG, new IkeInternalException(e));" 569 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 570 <location 571 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 572 line="2377" 573 column="68"/> 574 </issue> 575 576 <issue 577 id="NewApi" 578 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 579 errorLine1=" throw new InvalidSyntaxException("Received invalid exchange type: " + exchangeType);" 580 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 581 <location 582 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 583 line="2439" 584 column="23"/> 585 </issue> 586 587 <issue 588 id="NewApi" 589 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 590 errorLine1=" throw new InvalidSyntaxException(" 591 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 592 <location 593 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 594 line="2459" 595 column="23"/> 596 </issue> 597 598 <issue 599 id="NewApi" 600 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.TsUnacceptableException`" 601 errorLine1=" throw new TsUnacceptableException();" 602 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 603 <location 604 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 605 line="2488" 606 column="23"/> 607 </issue> 608 609 <issue 610 id="NewApi" 611 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 612 errorLine1=" throw new InvalidSyntaxException(" 613 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 614 <location 615 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 616 line="2517" 617 column="27"/> 618 </issue> 619 620 <issue 621 id="NewApi" 622 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidKeException`" 623 errorLine1=" throw new InvalidKeException(dhTransforms[0].id);" 624 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 625 <location 626 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 627 line="2521" 628 column="27"/> 629 </issue> 630 631 <issue 632 id="NewApi" 633 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 634 errorLine1=" throw new InvalidSyntaxException("Received unexpected KE Payload.");" 635 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 636 <location 637 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java" 638 line="2527" 639 column="23"/> 640 </issue> 641 642 <issue 643 id="NewApi" 644 message="Cast from `EapAkaPrimeConfig` to `EapAkaConfig` requires API level 31 (current min is 30)" 645 errorLine1=" super(context, eapIdentity, eapAkaPrimeConfig);" 646 errorLine2=" ~~~~~~~~~~~~~~~~~"> 647 <location 648 file="packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/EapAkaPrimeMethodStateMachine.java" 649 line="119" 650 column="37"/> 651 </issue> 652 653 <issue 654 id="NewApi" 655 message="Call requires API level 31 (current min is 30): `new android.net.eap.EapSessionConfig.Builder`" 656 errorLine1=" EapSessionConfig.Builder builder = new EapSessionConfig.Builder();" 657 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 658 <location 659 file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java" 660 line="89" 661 column="44"/> 662 </issue> 663 664 <issue 665 id="NewApi" 666 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapSimConfig`" 667 errorLine1=" return (EapSimConfig) mEapConfigs.get(EapMethodConfig.EAP_TYPE_SIM);" 668 errorLine2=" ~~~~~~~~~~~~"> 669 <location 670 file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java" 671 line="142" 672 column="17"/> 673 </issue> 674 675 <issue 676 id="NewApi" 677 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapAkaConfig`" 678 errorLine1=" return (EapAkaConfig) mEapConfigs.get(EapMethodConfig.EAP_TYPE_AKA);" 679 errorLine2=" ~~~~~~~~~~~~"> 680 <location 681 file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java" 682 line="152" 683 column="17"/> 684 </issue> 685 686 <issue 687 id="NewApi" 688 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapAkaPrimeConfig`" 689 errorLine1=" return (EapAkaPrimeConfig) mEapConfigs.get(EapMethodConfig.EAP_TYPE_AKA_PRIME);" 690 errorLine2=" ~~~~~~~~~~~~~~~~~"> 691 <location 692 file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java" 693 line="162" 694 column="17"/> 695 </issue> 696 697 <issue 698 id="NewApi" 699 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapMsChapV2Config`" 700 errorLine1=" return (EapMsChapV2Config) mEapConfigs.get(EapMethodConfig.EAP_TYPE_MSCHAP_V2);" 701 errorLine2=" ~~~~~~~~~~~~~~~~~"> 702 <location 703 file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java" 704 line="172" 705 column="17"/> 706 </issue> 707 708 <issue 709 id="NewApi" 710 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapTtlsConfig`" 711 errorLine1=" return (EapTtlsConfig) mEapConfigs.get(EapMethodConfig.EAP_TYPE_TTLS);" 712 errorLine2=" ~~~~~~~~~~~~~"> 713 <location 714 file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java" 715 line="196" 716 column="17"/> 717 </issue> 718 719 <issue 720 id="NewApi" 721 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig`" 722 errorLine1=" if (!(o instanceof EapSessionConfig)) {" 723 errorLine2=" ~~~~~~~~~~~~~~~~"> 724 <location 725 file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java" 726 line="208" 727 column="28"/> 728 </issue> 729 730 <issue 731 id="NewApi" 732 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig`" 733 errorLine1=" EapSessionConfig other = (EapSessionConfig) o;" 734 errorLine2=" ~~~~~~~~~~~~~~~~"> 735 <location 736 file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java" 737 line="212" 738 column="35"/> 739 </issue> 740 741 <issue 742 id="NewApi" 743 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapMethodConfig`" 744 errorLine1=" if (!(o instanceof EapMethodConfig)) {" 745 errorLine2=" ~~~~~~~~~~~~~~~"> 746 <location 747 file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java" 748 line="506" 749 column="32"/> 750 </issue> 751 752 <issue 753 id="NewApi" 754 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapMethodConfig`" 755 errorLine1=" return mMethodType == ((EapMethodConfig) o).mMethodType;" 756 errorLine2=" ~~~~~~~~~~~~~~~"> 757 <location 758 file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java" 759 line="510" 760 column="37"/> 761 </issue> 762 763 <issue 764 id="NewApi" 765 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapMethodConfig`" 766 errorLine1=" public abstract static class EapUiccConfig extends EapMethodConfig {" 767 errorLine2=" ~~~~~~~~~~~~~~~"> 768 <location 769 file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java" 770 line="524" 771 column="56"/> 772 </issue> 773 774 <issue 775 id="NewApi" 776 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapAkaConfig`" 777 errorLine1=" public static class EapAkaPrimeConfig extends EapAkaConfig {" 778 errorLine2=" ~~~~~~~~~~~~"> 779 <location 780 file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java" 781 line="649" 782 column="51"/> 783 </issue> 784 785 <issue 786 id="NewApi" 787 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapAkaPrimeConfig`" 788 errorLine1=" if (!super.equals(o) || !(o instanceof EapAkaPrimeConfig)) {" 789 errorLine2=" ~~~~~~~~~~~~~~~~~"> 790 <location 791 file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java" 792 line="729" 793 column="52"/> 794 </issue> 795 796 <issue 797 id="NewApi" 798 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapAkaPrimeConfig`" 799 errorLine1=" EapAkaPrimeConfig other = (EapAkaPrimeConfig) o;" 800 errorLine2=" ~~~~~~~~~~~~~~~~~"> 801 <location 802 file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java" 803 line="733" 804 column="40"/> 805 </issue> 806 807 <issue 808 id="NewApi" 809 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapMethodConfig`" 810 errorLine1=" public static class EapMsChapV2Config extends EapMethodConfig {" 811 errorLine2=" ~~~~~~~~~~~~~~~"> 812 <location 813 file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java" 814 line="743" 815 column="51"/> 816 </issue> 817 818 <issue 819 id="NewApi" 820 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapMsChapV2Config`" 821 errorLine1=" if (!super.equals(o) || !(o instanceof EapMsChapV2Config)) {" 822 errorLine2=" ~~~~~~~~~~~~~~~~~"> 823 <location 824 file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java" 825 line="817" 826 column="52"/> 827 </issue> 828 829 <issue 830 id="NewApi" 831 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapMsChapV2Config`" 832 errorLine1=" EapMsChapV2Config other = (EapMsChapV2Config) o;" 833 errorLine2=" ~~~~~~~~~~~~~~~~~"> 834 <location 835 file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java" 836 line="821" 837 column="40"/> 838 </issue> 839 840 <issue 841 id="NewApi" 842 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapMethodConfig`" 843 errorLine1=" public static class EapTtlsConfig extends EapMethodConfig {" 844 errorLine2=" ~~~~~~~~~~~~~~~"> 845 <location 846 file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java" 847 line="830" 848 column="47"/> 849 </issue> 850 851 <issue 852 id="NewApi" 853 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapTtlsConfig`" 854 errorLine1=" if (!super.equals(o) || !(o instanceof EapTtlsConfig)) {" 855 errorLine2=" ~~~~~~~~~~~~~"> 856 <location 857 file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java" 858 line="949" 859 column="52"/> 860 </issue> 861 862 <issue 863 id="NewApi" 864 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapTtlsConfig`" 865 errorLine1=" EapTtlsConfig other = (EapTtlsConfig) o;" 866 errorLine2=" ~~~~~~~~~~~~~"> 867 <location 868 file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java" 869 line="953" 870 column="36"/> 871 </issue> 872 873 <issue 874 id="NewApi" 875 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapSimConfig`" 876 errorLine1=" EapSimConfig eapSimConfig = (EapSimConfig) eapMethodConfig;" 877 errorLine2=" ~~~~~~~~~~~~"> 878 <location 879 file="packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/EapStateMachine.java" 880 line="327" 881 column="50"/> 882 </issue> 883 884 <issue 885 id="NewApi" 886 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapAkaConfig`" 887 errorLine1=" EapAkaConfig eapAkaConfig = (EapAkaConfig) eapMethodConfig;" 888 errorLine2=" ~~~~~~~~~~~~"> 889 <location 890 file="packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/EapStateMachine.java" 891 line="334" 892 column="50"/> 893 </issue> 894 895 <issue 896 id="NewApi" 897 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapAkaPrimeConfig`" 898 errorLine1=" EapAkaPrimeConfig eapAkaPrimeConfig = (EapAkaPrimeConfig) eapMethodConfig;" 899 errorLine2=" ~~~~~~~~~~~~~~~~~"> 900 <location 901 file="packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/EapStateMachine.java" 902 line="343" 903 column="60"/> 904 </issue> 905 906 <issue 907 id="NewApi" 908 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapMsChapV2Config`" 909 errorLine1=" EapMsChapV2Config eapMsChapV2Config = (EapMsChapV2Config) eapMethodConfig;" 910 errorLine2=" ~~~~~~~~~~~~~~~~~"> 911 <location 912 file="packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/EapStateMachine.java" 913 line="347" 914 column="60"/> 915 </issue> 916 917 <issue 918 id="NewApi" 919 message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapTtlsConfig`" 920 errorLine1=" EapTtlsConfig eapTtlsConfig = (EapTtlsConfig) eapMethodConfig;" 921 errorLine2=" ~~~~~~~~~~~~~"> 922 <location 923 file="packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/EapStateMachine.java" 924 line="350" 925 column="52"/> 926 </issue> 927 928 <issue 929 id="NewApi" 930 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 931 errorLine1="public final class FailedCpRequiredException extends IkeProtocolException {" 932 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 933 <location 934 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/FailedCpRequiredException.java" 935 line="31" 936 column="54"/> 937 </issue> 938 939 <issue 940 id="NewApi" 941 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 942 errorLine1=" throw new InvalidSyntaxException("BACKOFF_TIMER payload with an invalid encoding");" 943 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 944 <location 945 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ike3gpp/Ike3gppBackoffTimerUtils.java" 946 line="44" 947 column="19"/> 948 </issue> 949 950 <issue 951 id="NewApi" 952 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 953 errorLine1=" throw new InvalidSyntaxException("SNSSAI does not match expected length");" 954 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 955 <location 956 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ike3gpp/Ike3gppN1ModeUtils.java" 957 line="64" 958 column="19"/> 959 </issue> 960 961 <issue 962 id="NewApi" 963 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 964 errorLine1=" throw new AuthenticationFailedException(" 965 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 966 <location 967 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeAuthDigitalSignPayload.java" 968 line="240" 969 column="19"/> 970 </issue> 971 972 <issue 973 id="NewApi" 974 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 975 errorLine1=" throw new AuthenticationFailedException("Signature verification failed.");" 976 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 977 <location 978 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeAuthDigitalSignPayload.java" 979 line="278" 980 column="23"/> 981 </issue> 982 983 <issue 984 id="NewApi" 985 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 986 errorLine1=" throw new AuthenticationFailedException(e);" 987 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 988 <location 989 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeAuthDigitalSignPayload.java" 990 line="281" 991 column="19"/> 992 </issue> 993 994 <issue 995 id="NewApi" 996 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 997 errorLine1=" throw new InvalidSyntaxException(" 998 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 999 <location 1000 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeAuthDigitalSignPayload.java" 1001 line="331" 1002 column="19"/> 1003 </issue> 1004 1005 <issue 1006 id="NewApi" 1007 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 1008 errorLine1=" throw new AuthenticationFailedException("Unsupported authentication method");" 1009 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1010 <location 1011 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeAuthPayload.java" 1012 line="89" 1013 column="23"/> 1014 </issue> 1015 1016 <issue 1017 id="NewApi" 1018 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 1019 errorLine1=" throw new AuthenticationFailedException("Signature verification failed.");" 1020 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1021 <location 1022 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeAuthPskPayload.java" 1023 line="124" 1024 column="19"/> 1025 </issue> 1026 1027 <issue 1028 id="NewApi" 1029 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 1030 errorLine1=" throw new AuthenticationFailedException(" 1031 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1032 <location 1033 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeCertPayload.java" 1034 line="96" 1035 column="23"/> 1036 </issue> 1037 1038 <issue 1039 id="NewApi" 1040 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 1041 errorLine1=" throw new AuthenticationFailedException(" 1042 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1043 <location 1044 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeCertPayload.java" 1045 line="99" 1046 column="23"/> 1047 </issue> 1048 1049 <issue 1050 id="NewApi" 1051 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 1052 errorLine1=" throw new AuthenticationFailedException("Unrecognized certificate encoding type.");" 1053 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1054 <location 1055 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeCertPayload.java" 1056 line="102" 1057 column="23"/> 1058 </issue> 1059 1060 <issue 1061 id="NewApi" 1062 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 1063 errorLine1=" throw new AuthenticationFailedException(e);" 1064 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1065 <location 1066 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeCertPayload.java" 1067 line="176" 1068 column="19"/> 1069 </issue> 1070 1071 <issue 1072 id="NewApi" 1073 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 1074 errorLine1=" throw new AuthenticationFailedException(" 1075 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1076 <location 1077 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeCertX509CertPayload.java" 1078 line="59" 1079 column="23"/> 1080 </issue> 1081 1082 <issue 1083 id="NewApi" 1084 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 1085 errorLine1=" throw new AuthenticationFailedException("Unexpected trailing bytes.");" 1086 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1087 <location 1088 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeCertX509CertPayload.java" 1089 line="63" 1090 column="23"/> 1091 </issue> 1092 1093 <issue 1094 id="NewApi" 1095 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 1096 errorLine1=" throw new AuthenticationFailedException(e);" 1097 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1098 <location 1099 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeCertX509CertPayload.java" 1100 line="66" 1101 column="19"/> 1102 </issue> 1103 1104 <issue 1105 id="NewApi" 1106 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 1107 errorLine1=" throw new InvalidSyntaxException(" 1108 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1109 <location 1110 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1111 line="160" 1112 column="19"/> 1113 </issue> 1114 1115 <issue 1116 id="NewApi" 1117 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 1118 errorLine1=" throw new InvalidSyntaxException("Found more than one INTERNAL_IP4_NETMASK");" 1119 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1120 <location 1121 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1122 line="165" 1123 column="19"/> 1124 </issue> 1125 1126 <issue 1127 id="NewApi" 1128 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 1129 errorLine1=" throw new InvalidSyntaxException("Invalid configuration length");" 1130 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1131 <location 1132 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1133 line="196" 1134 column="23"/> 1135 </issue> 1136 1137 <issue 1138 id="NewApi" 1139 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 1140 errorLine1=" | InvalidSyntaxException e) {" 1141 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 1142 <location 1143 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1144 line="219" 1145 column="23"/> 1146 </issue> 1147 1148 <issue 1149 id="NewApi" 1150 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeConfigRequest`" 1151 errorLine1=" implements IkeConfigRequest {" 1152 errorLine2=" ~~~~~~~~~~~~~~~~"> 1153 <location 1154 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1155 line="380" 1156 column="24"/> 1157 </issue> 1158 1159 <issue 1160 id="NewApi" 1161 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.TunnelModeChildConfigRequest`" 1162 errorLine1=" implements TunnelModeChildConfigRequest {" 1163 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1164 <location 1165 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1166 line="392" 1167 column="24"/> 1168 </issue> 1169 1170 <issue 1171 id="NewApi" 1172 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.TunnelModeChildConfigRequest`" 1173 errorLine1=" extends TunnelModeChildConfigAttribute implements TunnelModeChildConfigRequest {" 1174 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1175 <location 1176 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1177 line="408" 1178 column="63"/> 1179 </issue> 1180 1181 <issue 1182 id="NewApi" 1183 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 1184 errorLine1=" throw new InvalidSyntaxException("Invalid IPv4 address.");" 1185 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1186 <location 1187 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1188 line="435" 1189 column="27"/> 1190 </issue> 1191 1192 <issue 1193 id="NewApi" 1194 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 1195 errorLine1=" throw new InvalidSyntaxException("Invalid attribute value", e);" 1196 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1197 <location 1198 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1199 line="439" 1200 column="23"/> 1201 </issue> 1202 1203 <issue 1204 id="NewApi" 1205 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeConfigRequest`" 1206 errorLine1=" implements IkeSessionParams.IkeConfigRequest {" 1207 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1208 <location 1209 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1210 line="483" 1211 column="24"/> 1212 </issue> 1213 1214 <issue 1215 id="NewApi" 1216 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 1217 errorLine1=" throw new InvalidSyntaxException("Invalid IPv4 address.");" 1218 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1219 <location 1220 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1221 line="509" 1222 column="27"/> 1223 </issue> 1224 1225 <issue 1226 id="NewApi" 1227 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 1228 errorLine1=" throw new InvalidSyntaxException("Invalid attribute value", e);" 1229 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1230 <location 1231 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1232 line="513" 1233 column="23"/> 1234 </issue> 1235 1236 <issue 1237 id="NewApi" 1238 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequestIpv4Address`" 1239 errorLine1=" implements ConfigRequestIpv4Address {" 1240 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 1241 <location 1242 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1243 line="553" 1244 column="24"/> 1245 </issue> 1246 1247 <issue 1248 id="NewApi" 1249 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequestIpv4Netmask`" 1250 errorLine1=" implements ConfigRequestIpv4Netmask {" 1251 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 1252 <location 1253 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1254 line="587" 1255 column="24"/> 1256 </issue> 1257 1258 <issue 1259 id="NewApi" 1260 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 1261 errorLine1=" throw new InvalidSyntaxException("Invalid attribute value", e);" 1262 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1263 <location 1264 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1265 line="606" 1266 column="23"/> 1267 </issue> 1268 1269 <issue 1270 id="NewApi" 1271 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequestIpv4DhcpServer`" 1272 errorLine1=" implements ConfigRequestIpv4DhcpServer {" 1273 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1274 <location 1275 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1276 line="618" 1277 column="24"/> 1278 </issue> 1279 1280 <issue 1281 id="NewApi" 1282 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequestIpv4DnsServer`" 1283 errorLine1=" implements ConfigRequestIpv4DnsServer {" 1284 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1285 <location 1286 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1287 line="651" 1288 column="24"/> 1289 </issue> 1290 1291 <issue 1292 id="NewApi" 1293 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 1294 errorLine1=" throw new InvalidSyntaxException("Invalid attribute value", e);" 1295 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1296 <location 1297 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1298 line="737" 1299 column="23"/> 1300 </issue> 1301 1302 <issue 1303 id="NewApi" 1304 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.ConfigRequestIpv4PcscfServer`" 1305 errorLine1=" implements ConfigRequestIpv4PcscfServer {" 1306 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1307 <location 1308 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1309 line="786" 1310 column="24"/> 1311 </issue> 1312 1313 <issue 1314 id="NewApi" 1315 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.TunnelModeChildConfigRequest`" 1316 errorLine1=" extends TunnelModeChildConfigAttribute implements TunnelModeChildConfigRequest {" 1317 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1318 <location 1319 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1320 line="818" 1321 column="63"/> 1322 </issue> 1323 1324 <issue 1325 id="NewApi" 1326 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 1327 errorLine1=" throw new InvalidSyntaxException("Invalid IPv6 address.");" 1328 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1329 <location 1330 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1331 line="845" 1332 column="27"/> 1333 </issue> 1334 1335 <issue 1336 id="NewApi" 1337 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 1338 errorLine1=" throw new InvalidSyntaxException("Invalid attribute value", e);" 1339 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1340 <location 1341 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1342 line="849" 1343 column="23"/> 1344 </issue> 1345 1346 <issue 1347 id="NewApi" 1348 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeConfigRequest`" 1349 errorLine1=" implements IkeConfigRequest {" 1350 errorLine2=" ~~~~~~~~~~~~~~~~"> 1351 <location 1352 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1353 line="893" 1354 column="24"/> 1355 </issue> 1356 1357 <issue 1358 id="NewApi" 1359 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 1360 errorLine1=" throw new InvalidSyntaxException("Invalid IPv6 address.");" 1361 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1362 <location 1363 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1364 line="919" 1365 column="27"/> 1366 </issue> 1367 1368 <issue 1369 id="NewApi" 1370 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 1371 errorLine1=" throw new InvalidSyntaxException("Invalid attribute value", e);" 1372 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1373 <location 1374 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1375 line="923" 1376 column="23"/> 1377 </issue> 1378 1379 <issue 1380 id="NewApi" 1381 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 1382 errorLine1=" throw new InvalidSyntaxException("Invalid attribute value", e);" 1383 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1384 <location 1385 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1386 line="1006" 1387 column="23"/> 1388 </issue> 1389 1390 <issue 1391 id="NewApi" 1392 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequestIpv6Address`" 1393 errorLine1=" extends TunnelModeChildConfigAttrIpv6AddrRangeBase implements ConfigRequestIpv6Address {" 1394 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 1395 <location 1396 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1397 line="1057" 1398 column="75"/> 1399 </issue> 1400 1401 <issue 1402 id="NewApi" 1403 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequestIpv6DnsServer`" 1404 errorLine1=" implements ConfigRequestIpv6DnsServer {" 1405 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1406 <location 1407 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1408 line="1125" 1409 column="24"/> 1410 </issue> 1411 1412 <issue 1413 id="NewApi" 1414 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.ConfigRequestIpv6PcscfServer`" 1415 errorLine1=" implements ConfigRequestIpv6PcscfServer {" 1416 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1417 <location 1418 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java" 1419 line="1151" 1420 column="24"/> 1421 </issue> 1422 1423 <issue 1424 id="NewApi" 1425 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 1426 errorLine1=" throw new InvalidSyntaxException("Invalid Delete IKE Payload.");" 1427 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1428 <location 1429 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeDeletePayload.java" 1430 line="89" 1431 column="27"/> 1432 </issue> 1433 1434 <issue 1435 id="NewApi" 1436 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 1437 errorLine1=" throw new InvalidSyntaxException("Invalid Delete Child Payload.");" 1438 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1439 <location 1440 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeDeletePayload.java" 1441 line="97" 1442 column="27"/> 1443 </issue> 1444 1445 <issue 1446 id="NewApi" 1447 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 1448 errorLine1=" throw new InvalidSyntaxException("Unrecognized protocol in Delete Payload.");" 1449 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1450 <location 1451 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeDeletePayload.java" 1452 line="105" 1453 column="23"/> 1454 </issue> 1455 1456 <issue 1457 id="NewApi" 1458 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIdentification`" 1459 errorLine1="public final class IkeDerAsn1DnIdentification extends IkeIdentification {" 1460 errorLine2=" ~~~~~~~~~~~~~~~~~"> 1461 <location 1462 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java" 1463 line="34" 1464 column="55"/> 1465 </issue> 1466 1467 <issue 1468 id="NewApi" 1469 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeDerAsn1DnIdentification#derAsn1Dn`" 1470 errorLine1=" derAsn1Dn = new X500Principal(derAsn1DnBytes);" 1471 errorLine2=" ~~~~~~~~~"> 1472 <location 1473 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java" 1474 line="51" 1475 column="13"/> 1476 </issue> 1477 1478 <issue 1479 id="NewApi" 1480 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 1481 errorLine1=" throw new AuthenticationFailedException(e);" 1482 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1483 <location 1484 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java" 1485 line="54" 1486 column="19"/> 1487 </issue> 1488 1489 <issue 1490 id="NewApi" 1491 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeDerAsn1DnIdentification#derAsn1Dn`" 1492 errorLine1=" this.derAsn1Dn = derAsn1Dn;" 1493 errorLine2=" ~~~~~~~~~~~~~~"> 1494 <location 1495 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java" 1496 line="67" 1497 column="9"/> 1498 </issue> 1499 1500 <issue 1501 id="NewApi" 1502 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.IkeDerAsn1DnIdentification`" 1503 errorLine1=" return new IkeDerAsn1DnIdentification(" 1504 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1505 <location 1506 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java" 1507 line="82" 1508 column="16"/> 1509 </issue> 1510 1511 <issue 1512 id="NewApi" 1513 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeDerAsn1DnIdentification#derAsn1Dn`" 1514 errorLine1=" DER_ASN1_DN_KEY, PersistableBundleUtils.fromByteArray(derAsn1Dn.getEncoded()));" 1515 errorLine2=" ~~~~~~~~~"> 1516 <location 1517 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java" 1518 line="95" 1519 column="71"/> 1520 </issue> 1521 1522 <issue 1523 id="NewApi" 1524 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeDerAsn1DnIdentification#derAsn1Dn`" 1525 errorLine1=" return Objects.hash(idType, derAsn1Dn);" 1526 errorLine2=" ~~~~~~~~~"> 1527 <location 1528 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java" 1529 line="103" 1530 column="37"/> 1531 </issue> 1532 1533 <issue 1534 id="NewApi" 1535 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeDerAsn1DnIdentification`" 1536 errorLine1=" if (!(o instanceof IkeDerAsn1DnIdentification)) return false;" 1537 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1538 <location 1539 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java" 1540 line="109" 1541 column="28"/> 1542 </issue> 1543 1544 <issue 1545 id="NewApi" 1546 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeDerAsn1DnIdentification`" 1547 errorLine1=" return derAsn1Dn.equals(((IkeDerAsn1DnIdentification) o).derAsn1Dn);" 1548 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1549 <location 1550 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java" 1551 line="112" 1552 column="35"/> 1553 </issue> 1554 1555 <issue 1556 id="NewApi" 1557 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeDerAsn1DnIdentification#derAsn1Dn`" 1558 errorLine1=" return derAsn1Dn.equals(((IkeDerAsn1DnIdentification) o).derAsn1Dn);" 1559 errorLine2=" ~~~~~~~~~"> 1560 <location 1561 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java" 1562 line="112" 1563 column="16"/> 1564 </issue> 1565 1566 <issue 1567 id="NewApi" 1568 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeDerAsn1DnIdentification#derAsn1Dn`" 1569 errorLine1=" return derAsn1Dn.equals(((IkeDerAsn1DnIdentification) o).derAsn1Dn);" 1570 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1571 <location 1572 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java" 1573 line="112" 1574 column="33"/> 1575 </issue> 1576 1577 <issue 1578 id="NewApi" 1579 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeDerAsn1DnIdentification#derAsn1Dn`" 1580 errorLine1=" if (!derAsn1Dn.equals(endCert.getSubjectX500Principal())) {" 1581 errorLine2=" ~~~~~~~~~"> 1582 <location 1583 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java" 1584 line="125" 1585 column="14"/> 1586 </issue> 1587 1588 <issue 1589 id="NewApi" 1590 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 1591 errorLine1=" throw new AuthenticationFailedException(" 1592 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1593 <location 1594 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java" 1595 line="126" 1596 column="19"/> 1597 </issue> 1598 1599 <issue 1600 id="NewApi" 1601 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeDerAsn1DnIdentification#derAsn1Dn`" 1602 errorLine1=" return derAsn1Dn.getEncoded();" 1603 errorLine2=" ~~~~~~~~~"> 1604 <location 1605 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java" 1606 line="139" 1607 column="16"/> 1608 </issue> 1609 1610 <issue 1611 id="NewApi" 1612 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIdentification`" 1613 errorLine1="public class IkeFqdnIdentification extends IkeIdentification {" 1614 errorLine2=" ~~~~~~~~~~~~~~~~~"> 1615 <location 1616 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java" 1617 line="31" 1618 column="44"/> 1619 </issue> 1620 1621 <issue 1622 id="NewApi" 1623 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeFqdnIdentification#fqdn`" 1624 errorLine1=" fqdn = new String(fqdnBytes, ASCII);" 1625 errorLine2=" ~~~~"> 1626 <location 1627 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java" 1628 line="47" 1629 column="9"/> 1630 </issue> 1631 1632 <issue 1633 id="NewApi" 1634 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeFqdnIdentification#fqdn`" 1635 errorLine1=" this.fqdn = fqdn;" 1636 errorLine2=" ~~~~~~~~~"> 1637 <location 1638 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java" 1639 line="62" 1640 column="9"/> 1641 </issue> 1642 1643 <issue 1644 id="NewApi" 1645 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.IkeFqdnIdentification`" 1646 errorLine1=" return new IkeFqdnIdentification(in.getString(FQDN_KEY));" 1647 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 1648 <location 1649 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java" 1650 line="74" 1651 column="16"/> 1652 </issue> 1653 1654 <issue 1655 id="NewApi" 1656 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeFqdnIdentification#fqdn`" 1657 errorLine1=" result.putString(FQDN_KEY, fqdn);" 1658 errorLine2=" ~~~~"> 1659 <location 1660 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java" 1661 line="85" 1662 column="36"/> 1663 </issue> 1664 1665 <issue 1666 id="NewApi" 1667 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeFqdnIdentification#fqdn`" 1668 errorLine1=" return Objects.hash(idType, fqdn);" 1669 errorLine2=" ~~~~"> 1670 <location 1671 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java" 1672 line="93" 1673 column="37"/> 1674 </issue> 1675 1676 <issue 1677 id="NewApi" 1678 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeFqdnIdentification`" 1679 errorLine1=" if (!(o instanceof IkeFqdnIdentification)) return false;" 1680 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 1681 <location 1682 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java" 1683 line="99" 1684 column="28"/> 1685 </issue> 1686 1687 <issue 1688 id="NewApi" 1689 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeFqdnIdentification`" 1690 errorLine1=" return fqdn.equals(((IkeFqdnIdentification) o).fqdn);" 1691 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 1692 <location 1693 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java" 1694 line="102" 1695 column="30"/> 1696 </issue> 1697 1698 <issue 1699 id="NewApi" 1700 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeFqdnIdentification#fqdn`" 1701 errorLine1=" return fqdn.equals(((IkeFqdnIdentification) o).fqdn);" 1702 errorLine2=" ~~~~"> 1703 <location 1704 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java" 1705 line="102" 1706 column="16"/> 1707 </issue> 1708 1709 <issue 1710 id="NewApi" 1711 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeFqdnIdentification#fqdn`" 1712 errorLine1=" return fqdn.equals(((IkeFqdnIdentification) o).fqdn);" 1713 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1714 <location 1715 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java" 1716 line="102" 1717 column="28"/> 1718 </issue> 1719 1720 <issue 1721 id="NewApi" 1722 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeFqdnIdentification#fqdn`" 1723 errorLine1=" validateEndCertSanOrThrow(endCert, SAN_TYPE_DNS, fqdn);" 1724 errorLine2=" ~~~~"> 1725 <location 1726 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java" 1727 line="116" 1728 column="58"/> 1729 </issue> 1730 1731 <issue 1732 id="NewApi" 1733 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeFqdnIdentification#fqdn`" 1734 errorLine1=" return fqdn.getBytes(ASCII);" 1735 errorLine2=" ~~~~"> 1736 <location 1737 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java" 1738 line="127" 1739 column="16"/> 1740 </issue> 1741 1742 <issue 1743 id="NewApi" 1744 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 1745 errorLine1=" throw new InvalidSyntaxException("IKE message is too short to contain a header");" 1746 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1747 <location 1748 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeHeader.java" 1749 line="136" 1750 column="19"/> 1751 </issue> 1752 1753 <issue 1754 id="NewApi" 1755 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidMajorVersionException`" 1756 errorLine1=" throw new InvalidMajorVersionException(majorVersion);" 1757 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1758 <location 1759 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeHeader.java" 1760 line="188" 1761 column="19"/> 1762 </issue> 1763 1764 <issue 1765 id="NewApi" 1766 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 1767 errorLine1=" throw new InvalidSyntaxException("Major version is smaller than 2.");" 1768 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1769 <location 1770 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeHeader.java" 1771 line="195" 1772 column="19"/> 1773 </issue> 1774 1775 <issue 1776 id="NewApi" 1777 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 1778 errorLine1=" throw new InvalidSyntaxException("Invalid IKE Exchange Type.");" 1779 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1780 <location 1781 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeHeader.java" 1782 line="208" 1783 column="19"/> 1784 </issue> 1785 1786 <issue 1787 id="NewApi" 1788 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 1789 errorLine1=" throw new InvalidSyntaxException("Invalid IKE Message Length.");" 1790 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1791 <location 1792 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeHeader.java" 1793 line="211" 1794 column="19"/> 1795 </issue> 1796 1797 <issue 1798 id="NewApi" 1799 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 1800 errorLine1=" throw new InvalidSyntaxException(getTypeString() + " is too short.");" 1801 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1802 <location 1803 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeIdPayload.java" 1804 line="65" 1805 column="19"/> 1806 </issue> 1807 1808 <issue 1809 id="NewApi" 1810 message="Cast from `IkeIpv4AddrIdentification` to `IkeIdentification` requires API level 31 (current min is 30)" 1811 errorLine1=" ikeId = new IkeIpv4AddrIdentification(idData);" 1812 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1813 <location 1814 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeIdPayload.java" 1815 line="79" 1816 column="25"/> 1817 </issue> 1818 1819 <issue 1820 id="NewApi" 1821 message="Cast from `IkeFqdnIdentification` to `IkeIdentification` requires API level 31 (current min is 30)" 1822 errorLine1=" ikeId = new IkeFqdnIdentification(idData);" 1823 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1824 <location 1825 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeIdPayload.java" 1826 line="82" 1827 column="25"/> 1828 </issue> 1829 1830 <issue 1831 id="NewApi" 1832 message="Cast from `IkeRfc822AddrIdentification` to `IkeIdentification` requires API level 31 (current min is 30)" 1833 errorLine1=" ikeId = new IkeRfc822AddrIdentification(idData);" 1834 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1835 <location 1836 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeIdPayload.java" 1837 line="85" 1838 column="25"/> 1839 </issue> 1840 1841 <issue 1842 id="NewApi" 1843 message="Cast from `IkeIpv6AddrIdentification` to `IkeIdentification` requires API level 31 (current min is 30)" 1844 errorLine1=" ikeId = new IkeIpv6AddrIdentification(idData);" 1845 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1846 <location 1847 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeIdPayload.java" 1848 line="88" 1849 column="25"/> 1850 </issue> 1851 1852 <issue 1853 id="NewApi" 1854 message="Cast from `IkeDerAsn1DnIdentification` to `IkeIdentification` requires API level 31 (current min is 30)" 1855 errorLine1=" ikeId = new IkeDerAsn1DnIdentification(idData);" 1856 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1857 <location 1858 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeIdPayload.java" 1859 line="91" 1860 column="25"/> 1861 </issue> 1862 1863 <issue 1864 id="NewApi" 1865 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.IkeKeyIdIdentification`" 1866 errorLine1=" ikeId = new IkeKeyIdIdentification(idData);" 1867 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1868 <location 1869 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeIdPayload.java" 1870 line="94" 1871 column="25"/> 1872 </issue> 1873 1874 <issue 1875 id="NewApi" 1876 message="Cast from `IkeKeyIdIdentification` to `IkeIdentification` requires API level 31 (current min is 30)" 1877 errorLine1=" ikeId = new IkeKeyIdIdentification(idData);" 1878 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1879 <location 1880 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeIdPayload.java" 1881 line="94" 1882 column="25"/> 1883 </issue> 1884 1885 <issue 1886 id="NewApi" 1887 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 1888 errorLine1=" throw new AuthenticationFailedException("Unsupported ID type: " + idType);" 1889 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1890 <location 1891 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeIdPayload.java" 1892 line="97" 1893 column="23"/> 1894 </issue> 1895 1896 <issue 1897 id="NewApi" 1898 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 1899 errorLine1=" throw new AuthenticationFailedException("End certificate does not contain SAN");" 1900 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1901 <location 1902 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIdentification.java" 1903 line="169" 1904 column="23"/> 1905 </issue> 1906 1907 <issue 1908 id="NewApi" 1909 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 1910 errorLine1=" throw new AuthenticationFailedException(" 1911 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1912 <location 1913 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIdentification.java" 1914 line="180" 1915 column="19"/> 1916 </issue> 1917 1918 <issue 1919 id="NewApi" 1920 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 1921 errorLine1=" throw new AuthenticationFailedException(e);" 1922 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1923 <location 1924 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIdentification.java" 1925 line="183" 1926 column="19"/> 1927 </issue> 1928 1929 <issue 1930 id="NewApi" 1931 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeNonProtocolException`" 1932 errorLine1="public final class IkeInternalException extends IkeNonProtocolException {" 1933 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 1934 <location 1935 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/IkeInternalException.java" 1936 line="28" 1937 column="49"/> 1938 </issue> 1939 1940 <issue 1941 id="NewApi" 1942 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIdentification`" 1943 errorLine1="public final class IkeIpv4AddrIdentification extends IkeIdentification {" 1944 errorLine2=" ~~~~~~~~~~~~~~~~~"> 1945 <location 1946 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java" 1947 line="30" 1948 column="54"/> 1949 </issue> 1950 1951 <issue 1952 id="NewApi" 1953 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv4AddrIdentification#ipv4Address`" 1954 errorLine1=" ipv4Address = (Inet4Address) (Inet4Address.getByAddress(ipv4AddrBytes));" 1955 errorLine2=" ~~~~~~~~~~~"> 1956 <location 1957 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java" 1958 line="45" 1959 column="13"/> 1960 </issue> 1961 1962 <issue 1963 id="NewApi" 1964 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 1965 errorLine1=" throw new AuthenticationFailedException(e);" 1966 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1967 <location 1968 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java" 1969 line="47" 1970 column="19"/> 1971 </issue> 1972 1973 <issue 1974 id="NewApi" 1975 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv4AddrIdentification#ipv4Address`" 1976 errorLine1=" ipv4Address = address;" 1977 errorLine2=" ~~~~~~~~~~~"> 1978 <location 1979 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java" 1980 line="58" 1981 column="9"/> 1982 </issue> 1983 1984 <issue 1985 id="NewApi" 1986 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.IkeIpv4AddrIdentification`" 1987 errorLine1=" return new IkeIpv4AddrIdentification(" 1988 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1989 <location 1990 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java" 1991 line="70" 1992 column="16"/> 1993 </issue> 1994 1995 <issue 1996 id="NewApi" 1997 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv4AddrIdentification#ipv4Address`" 1998 errorLine1=" result.putString(IP_ADDRESS_KEY, ipv4Address.getHostAddress());" 1999 errorLine2=" ~~~~~~~~~~~"> 2000 <location 2001 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java" 2002 line="82" 2003 column="42"/> 2004 </issue> 2005 2006 <issue 2007 id="NewApi" 2008 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv4AddrIdentification#ipv4Address`" 2009 errorLine1=" return Objects.hash(idType, ipv4Address);" 2010 errorLine2=" ~~~~~~~~~~~"> 2011 <location 2012 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java" 2013 line="90" 2014 column="37"/> 2015 </issue> 2016 2017 <issue 2018 id="NewApi" 2019 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv4AddrIdentification`" 2020 errorLine1=" if (!(o instanceof IkeIpv4AddrIdentification)) return false;" 2021 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 2022 <location 2023 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java" 2024 line="96" 2025 column="28"/> 2026 </issue> 2027 2028 <issue 2029 id="NewApi" 2030 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv4AddrIdentification`" 2031 errorLine1=" return ipv4Address.equals(((IkeIpv4AddrIdentification) o).ipv4Address);" 2032 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 2033 <location 2034 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java" 2035 line="99" 2036 column="37"/> 2037 </issue> 2038 2039 <issue 2040 id="NewApi" 2041 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv4AddrIdentification#ipv4Address`" 2042 errorLine1=" return ipv4Address.equals(((IkeIpv4AddrIdentification) o).ipv4Address);" 2043 errorLine2=" ~~~~~~~~~~~"> 2044 <location 2045 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java" 2046 line="99" 2047 column="16"/> 2048 </issue> 2049 2050 <issue 2051 id="NewApi" 2052 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv4AddrIdentification#ipv4Address`" 2053 errorLine1=" return ipv4Address.equals(((IkeIpv4AddrIdentification) o).ipv4Address);" 2054 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2055 <location 2056 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java" 2057 line="99" 2058 column="35"/> 2059 </issue> 2060 2061 <issue 2062 id="NewApi" 2063 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv4AddrIdentification#ipv4Address`" 2064 errorLine1=" validateEndCertSanOrThrow(endCert, SAN_TYPE_IP_ADDRESS, ipv4Address.getHostAddress());" 2065 errorLine2=" ~~~~~~~~~~~"> 2066 <location 2067 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java" 2068 line="113" 2069 column="65"/> 2070 </issue> 2071 2072 <issue 2073 id="NewApi" 2074 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv4AddrIdentification#ipv4Address`" 2075 errorLine1=" return ipv4Address.getAddress();" 2076 errorLine2=" ~~~~~~~~~~~"> 2077 <location 2078 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java" 2079 line="124" 2080 column="16"/> 2081 </issue> 2082 2083 <issue 2084 id="NewApi" 2085 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIdentification`" 2086 errorLine1="public class IkeIpv6AddrIdentification extends IkeIdentification {" 2087 errorLine2=" ~~~~~~~~~~~~~~~~~"> 2088 <location 2089 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java" 2090 line="30" 2091 column="48"/> 2092 </issue> 2093 2094 <issue 2095 id="NewApi" 2096 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv6AddrIdentification#ipv6Address`" 2097 errorLine1=" ipv6Address = (Inet6Address) (Inet6Address.getByAddress(ipv6AddrBytes));" 2098 errorLine2=" ~~~~~~~~~~~"> 2099 <location 2100 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java" 2101 line="46" 2102 column="13"/> 2103 </issue> 2104 2105 <issue 2106 id="NewApi" 2107 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 2108 errorLine1=" throw new AuthenticationFailedException(e);" 2109 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2110 <location 2111 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java" 2112 line="48" 2113 column="19"/> 2114 </issue> 2115 2116 <issue 2117 id="NewApi" 2118 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv6AddrIdentification#ipv6Address`" 2119 errorLine1=" ipv6Address = address;" 2120 errorLine2=" ~~~~~~~~~~~"> 2121 <location 2122 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java" 2123 line="59" 2124 column="9"/> 2125 </issue> 2126 2127 <issue 2128 id="NewApi" 2129 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.IkeIpv6AddrIdentification`" 2130 errorLine1=" return new IkeIpv6AddrIdentification(" 2131 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2132 <location 2133 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java" 2134 line="71" 2135 column="16"/> 2136 </issue> 2137 2138 <issue 2139 id="NewApi" 2140 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv6AddrIdentification#ipv6Address`" 2141 errorLine1=" result.putString(IP_ADDRESS_KEY, ipv6Address.getHostAddress());" 2142 errorLine2=" ~~~~~~~~~~~"> 2143 <location 2144 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java" 2145 line="83" 2146 column="42"/> 2147 </issue> 2148 2149 <issue 2150 id="NewApi" 2151 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv6AddrIdentification#ipv6Address`" 2152 errorLine1=" return Objects.hash(idType, ipv6Address);" 2153 errorLine2=" ~~~~~~~~~~~"> 2154 <location 2155 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java" 2156 line="91" 2157 column="37"/> 2158 </issue> 2159 2160 <issue 2161 id="NewApi" 2162 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv6AddrIdentification`" 2163 errorLine1=" if (!(o instanceof IkeIpv6AddrIdentification)) return false;" 2164 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 2165 <location 2166 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java" 2167 line="97" 2168 column="28"/> 2169 </issue> 2170 2171 <issue 2172 id="NewApi" 2173 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv6AddrIdentification`" 2174 errorLine1=" return ipv6Address.equals(((IkeIpv6AddrIdentification) o).ipv6Address);" 2175 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 2176 <location 2177 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java" 2178 line="100" 2179 column="37"/> 2180 </issue> 2181 2182 <issue 2183 id="NewApi" 2184 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv6AddrIdentification#ipv6Address`" 2185 errorLine1=" return ipv6Address.equals(((IkeIpv6AddrIdentification) o).ipv6Address);" 2186 errorLine2=" ~~~~~~~~~~~"> 2187 <location 2188 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java" 2189 line="100" 2190 column="16"/> 2191 </issue> 2192 2193 <issue 2194 id="NewApi" 2195 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv6AddrIdentification#ipv6Address`" 2196 errorLine1=" return ipv6Address.equals(((IkeIpv6AddrIdentification) o).ipv6Address);" 2197 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2198 <location 2199 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java" 2200 line="100" 2201 column="35"/> 2202 </issue> 2203 2204 <issue 2205 id="NewApi" 2206 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv6AddrIdentification#ipv6Address`" 2207 errorLine1=" validateEndCertSanOrThrow(endCert, SAN_TYPE_IP_ADDRESS, ipv6Address.getHostAddress());" 2208 errorLine2=" ~~~~~~~~~~~"> 2209 <location 2210 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java" 2211 line="114" 2212 column="65"/> 2213 </issue> 2214 2215 <issue 2216 id="NewApi" 2217 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv6AddrIdentification#ipv6Address`" 2218 errorLine1=" return ipv6Address.getAddress();" 2219 errorLine2=" ~~~~~~~~~~~"> 2220 <location 2221 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java" 2222 line="125" 2223 column="16"/> 2224 </issue> 2225 2226 <issue 2227 id="NewApi" 2228 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 2229 errorLine1=" throw new InvalidSyntaxException("Invalid KE payload length for provided DH group.");" 2230 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2231 <location 2232 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeKePayload.java" 2233 line="179" 2234 column="19"/> 2235 </issue> 2236 2237 <issue 2238 id="NewApi" 2239 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIdentification`" 2240 errorLine1="public final class IkeKeyIdIdentification extends IkeIdentification {" 2241 errorLine2=" ~~~~~~~~~~~~~~~~~"> 2242 <location 2243 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeKeyIdIdentification.java" 2244 line="35" 2245 column="51"/> 2246 </issue> 2247 2248 <issue 2249 id="NewApi" 2250 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeKeyIdIdentification#keyId`" 2251 errorLine1=" this.keyId = keyId;" 2252 errorLine2=" ~~~~~~~~~~"> 2253 <location 2254 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeKeyIdIdentification.java" 2255 line="47" 2256 column="9"/> 2257 </issue> 2258 2259 <issue 2260 id="NewApi" 2261 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.IkeKeyIdIdentification`" 2262 errorLine1=" return new IkeKeyIdIdentification(PersistableBundleUtils.toByteArray(keyIdBundle));" 2263 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2264 <location 2265 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeKeyIdIdentification.java" 2266 line="62" 2267 column="16"/> 2268 </issue> 2269 2270 <issue 2271 id="NewApi" 2272 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeKeyIdIdentification#keyId`" 2273 errorLine1=" result.putPersistableBundle(KEY_ID_KEY, PersistableBundleUtils.fromByteArray(keyId));" 2274 errorLine2=" ~~~~~"> 2275 <location 2276 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeKeyIdIdentification.java" 2277 line="73" 2278 column="86"/> 2279 </issue> 2280 2281 <issue 2282 id="NewApi" 2283 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeKeyIdIdentification#keyId`" 2284 errorLine1=" return Objects.hash(idType, Arrays.hashCode(keyId));" 2285 errorLine2=" ~~~~~"> 2286 <location 2287 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeKeyIdIdentification.java" 2288 line="81" 2289 column="53"/> 2290 </issue> 2291 2292 <issue 2293 id="NewApi" 2294 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeKeyIdIdentification`" 2295 errorLine1=" if (!(o instanceof IkeKeyIdIdentification)) return false;" 2296 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 2297 <location 2298 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeKeyIdIdentification.java" 2299 line="87" 2300 column="28"/> 2301 </issue> 2302 2303 <issue 2304 id="NewApi" 2305 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeKeyIdIdentification`" 2306 errorLine1=" return Arrays.equals(keyId, ((IkeKeyIdIdentification) o).keyId);" 2307 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 2308 <location 2309 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeKeyIdIdentification.java" 2310 line="90" 2311 column="39"/> 2312 </issue> 2313 2314 <issue 2315 id="NewApi" 2316 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeKeyIdIdentification#keyId`" 2317 errorLine1=" return Arrays.equals(keyId, ((IkeKeyIdIdentification) o).keyId);" 2318 errorLine2=" ~~~~~"> 2319 <location 2320 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeKeyIdIdentification.java" 2321 line="90" 2322 column="30"/> 2323 </issue> 2324 2325 <issue 2326 id="NewApi" 2327 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeKeyIdIdentification#keyId`" 2328 errorLine1=" return Arrays.equals(keyId, ((IkeKeyIdIdentification) o).keyId);" 2329 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2330 <location 2331 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeKeyIdIdentification.java" 2332 line="90" 2333 column="37"/> 2334 </issue> 2335 2336 <issue 2337 id="NewApi" 2338 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 2339 errorLine1=" throw new AuthenticationFailedException(" 2340 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2341 <location 2342 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeKeyIdIdentification.java" 2343 line="103" 2344 column="15"/> 2345 </issue> 2346 2347 <issue 2348 id="NewApi" 2349 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeKeyIdIdentification#keyId`" 2350 errorLine1=" return keyId;" 2351 errorLine2=" ~~~~~"> 2352 <location 2353 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeKeyIdIdentification.java" 2354 line="115" 2355 column="16"/> 2356 </issue> 2357 2358 <issue 2359 id="NewApi" 2360 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 2361 errorLine1=" throw new InvalidSyntaxException(" 2362 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2363 <location 2364 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java" 2365 line="173" 2366 column="27"/> 2367 </issue> 2368 2369 <issue 2370 id="NewApi" 2371 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 2372 errorLine1=" throw new InvalidSyntaxException(" 2373 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2374 <location 2375 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java" 2376 line="191" 2377 column="19"/> 2378 </issue> 2379 2380 <issue 2381 id="NewApi" 2382 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.UnsupportedCriticalPayloadException`" 2383 errorLine1=" throw new UnsupportedCriticalPayloadException(unsupportedCriticalPayloadList);" 2384 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2385 <location 2386 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java" 2387 line="196" 2388 column="19"/> 2389 </issue> 2390 2391 <issue 2392 id="NewApi" 2393 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidMessageIdException`" 2394 errorLine1=" throw new InvalidMessageIdException(header.messageId);" 2395 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2396 <location 2397 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java" 2398 line="548" 2399 column="27"/> 2400 </issue> 2401 2402 <issue 2403 id="NewApi" 2404 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 2405 errorLine1=" new InvalidSyntaxException("Malformed IKE Payload"));" 2406 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2407 <location 2408 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java" 2409 line="565" 2410 column="25"/> 2411 </issue> 2412 2413 <issue 2414 id="NewApi" 2415 message="Cast from `InvalidSyntaxException` to `IkeException` requires API level 31 (current min is 30)" 2416 errorLine1=" new InvalidSyntaxException("Malformed IKE Payload"));" 2417 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2418 <location 2419 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java" 2420 line="565" 2421 column="25"/> 2422 </issue> 2423 2424 <issue 2425 id="NewApi" 2426 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 2427 errorLine1=" } catch (IkeProtocolException e) {" 2428 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 2429 <location 2430 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java" 2431 line="566" 2432 column="22"/> 2433 </issue> 2434 2435 <issue 2436 id="NewApi" 2437 message="Cast from `IkeProtocolException` to `IkeException` requires API level 31 (current min is 30)" 2438 errorLine1=" return new DecodeResultUnprotectedError(e);" 2439 errorLine2=" ~"> 2440 <location 2441 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java" 2442 line="567" 2443 column="57"/> 2444 </issue> 2445 2446 <issue 2447 id="NewApi" 2448 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 2449 errorLine1=" new InvalidSyntaxException("Message contains unprotected payloads"));" 2450 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2451 <location 2452 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java" 2453 line="603" 2454 column="25"/> 2455 </issue> 2456 2457 <issue 2458 id="NewApi" 2459 message="Cast from `InvalidSyntaxException` to `IkeException` requires API level 31 (current min is 30)" 2460 errorLine1=" new InvalidSyntaxException("Message contains unprotected payloads"));" 2461 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2462 <location 2463 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java" 2464 line="603" 2465 column="25"/> 2466 </issue> 2467 2468 <issue 2469 id="NewApi" 2470 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeException`" 2471 errorLine1=" } catch (IkeException e) {" 2472 errorLine2=" ~~~~~~~~~~~~"> 2473 <location 2474 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java" 2475 line="618" 2476 column="22"/> 2477 </issue> 2478 2479 <issue 2480 id="NewApi" 2481 message="Cast from `IkeException` to `Throwable` requires API level 31 (current min is 30)" 2482 errorLine1=" e);" 2483 errorLine2=" ~"> 2484 <location 2485 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java" 2486 line="627" 2487 column="37"/> 2488 </issue> 2489 2490 <issue 2491 id="NewApi" 2492 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 2493 errorLine1=" new InvalidSyntaxException("Malformed IKE Payload", e), firstPacket);" 2494 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2495 <location 2496 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java" 2497 line="694" 2498 column="25"/> 2499 </issue> 2500 2501 <issue 2502 id="NewApi" 2503 message="Cast from `InvalidSyntaxException` to `IkeException` requires API level 31 (current min is 30)" 2504 errorLine1=" new InvalidSyntaxException("Malformed IKE Payload", e), firstPacket);" 2505 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2506 <location 2507 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java" 2508 line="694" 2509 column="25"/> 2510 </issue> 2511 2512 <issue 2513 id="NewApi" 2514 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 2515 errorLine1=" } catch (IkeProtocolException e) {" 2516 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 2517 <location 2518 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java" 2519 line="695" 2520 column="22"/> 2521 </issue> 2522 2523 <issue 2524 id="NewApi" 2525 message="Cast from `IkeProtocolException` to `IkeException` requires API level 31 (current min is 30)" 2526 errorLine1=" return new DecodeResultProtectedError(e, firstPacket);" 2527 errorLine2=" ~"> 2528 <location 2529 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java" 2530 line="696" 2531 column="55"/> 2532 </issue> 2533 2534 <issue 2535 id="NewApi" 2536 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidMessageIdException`" 2537 errorLine1=" throw new InvalidMessageIdException(header.messageId);" 2538 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2539 <location 2540 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java" 2541 line="712" 2542 column="27"/> 2543 </issue> 2544 2545 <issue 2546 id="NewApi" 2547 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 2548 errorLine1=" throw new InvalidSyntaxException("Malformed IKE Payload", e);" 2549 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2550 <location 2551 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java" 2552 line="726" 2553 column="23"/> 2554 </issue> 2555 2556 <issue 2557 id="NewApi" 2558 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.IkeInternalException`" 2559 errorLine1=" throw new IkeInternalException(e);" 2560 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 2561 <location 2562 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java" 2563 line="728" 2564 column="23"/> 2565 </issue> 2566 2567 <issue 2568 id="NewApi" 2569 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 2570 errorLine1=" } catch (IkeProtocolException e) {" 2571 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 2572 <location 2573 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java" 2574 line="736" 2575 column="22"/> 2576 </issue> 2577 2578 <issue 2579 id="NewApi" 2580 message="Cast from `IkeProtocolException` to `Throwable` requires API level 31 (current min is 30)" 2581 errorLine1=" e);" 2582 errorLine2=" ~"> 2583 <location 2584 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java" 2585 line="742" 2586 column="33"/> 2587 </issue> 2588 2589 <issue 2590 id="NewApi" 2591 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeNonProtocolException`" 2592 errorLine1="public final class IkeNetworkLostException extends IkeNonProtocolException {" 2593 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 2594 <location 2595 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/IkeNetworkLostException.java" 2596 line="49" 2597 column="52"/> 2598 </issue> 2599 2600 <issue 2601 id="NewApi" 2602 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeException`" 2603 errorLine1="public abstract class IkeNonProtocolException extends IkeException {" 2604 errorLine2=" ~~~~~~~~~~~~"> 2605 <location 2606 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/IkeNonProtocolException.java" 2607 line="22" 2608 column="55"/> 2609 </issue> 2610 2611 <issue 2612 id="NewApi" 2613 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 2614 errorLine1=" throw new InvalidSyntaxException(" 2615 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2616 <location 2617 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNoncePayload.java" 2618 line="60" 2619 column="19"/> 2620 </issue> 2621 2622 <issue 2623 id="NewApi" 2624 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 2625 errorLine1=" throw new InvalidSyntaxException("Invalid SPI Size: " + spiSize);" 2626 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2627 <location 2628 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java" 2629 line="290" 2630 column="19"/> 2631 </issue> 2632 2633 <issue 2634 id="NewApi" 2635 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 2636 errorLine1=" throw new InvalidSyntaxException(" 2637 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2638 <location 2639 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java" 2640 line="299" 2641 column="19"/> 2642 </issue> 2643 2644 <issue 2645 id="NewApi" 2646 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 2647 errorLine1=" throw new InvalidSyntaxException(" 2648 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2649 <location 2650 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java" 2651 line="304" 2652 column="19"/> 2653 </issue> 2654 2655 <issue 2656 id="NewApi" 2657 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 2658 errorLine1=" throw new InvalidSyntaxException(" 2659 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2660 <location 2661 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java" 2662 line="316" 2663 column="19"/> 2664 </issue> 2665 2666 <issue 2667 id="NewApi" 2668 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 2669 errorLine1=" throw new InvalidSyntaxException(" 2670 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2671 <location 2672 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java" 2673 line="366" 2674 column="19"/> 2675 </issue> 2676 2677 <issue 2678 id="NewApi" 2679 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 2680 errorLine1=" } catch (InvalidSyntaxException e) {" 2681 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 2682 <location 2683 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java" 2684 line="437" 2685 column="18"/> 2686 </issue> 2687 2688 <issue 2689 id="NewApi" 2690 message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)" 2691 errorLine1=" throw new IllegalArgumentException(e);" 2692 errorLine2=" ~"> 2693 <location 2694 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java" 2695 line="438" 2696 column="48"/> 2697 </issue> 2698 2699 <issue 2700 id="NewApi" 2701 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 2702 errorLine1=" } catch (InvalidSyntaxException e) {" 2703 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 2704 <location 2705 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java" 2706 line="464" 2707 column="18"/> 2708 </issue> 2709 2710 <issue 2711 id="NewApi" 2712 message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)" 2713 errorLine1=" throw new IllegalArgumentException(e);" 2714 errorLine2=" ~"> 2715 <location 2716 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java" 2717 line="465" 2718 column="48"/> 2719 </issue> 2720 2721 <issue 2722 id="NewApi" 2723 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSelectorsException`" 2724 errorLine1=" return new InvalidSelectorsException(spi, notifyData);" 2725 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2726 <location 2727 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java" 2728 line="533" 2729 column="28"/> 2730 </issue> 2731 2732 <issue 2733 id="NewApi" 2734 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.UnrecognizedIkeProtocolException`" 2735 errorLine1=" return new UnrecognizedIkeProtocolException(notifyType, notifyData);" 2736 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2737 <location 2738 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java" 2739 line="539" 2740 column="28"/> 2741 </issue> 2742 2743 <issue 2744 id="NewApi" 2745 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 2746 errorLine1=" throw new InvalidSyntaxException(e);" 2747 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2748 <location 2749 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java" 2750 line="543" 2751 column="19"/> 2752 </issue> 2753 2754 <issue 2755 id="NewApi" 2756 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 2757 errorLine1=" throw new InvalidSyntaxException(" 2758 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2759 <location 2760 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkePayloadFactory.java" 2761 line="145" 2762 column="19"/> 2763 </issue> 2764 2765 <issue 2766 id="NewApi" 2767 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 2768 errorLine1=" throw new InvalidSyntaxException("Invalid Payload Length: Payload length is too long.");" 2769 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2770 <location 2771 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkePayloadFactory.java" 2772 line="152" 2773 column="19"/> 2774 </issue> 2775 2776 <issue 2777 id="NewApi" 2778 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 2779 errorLine1=" throw new InvalidSyntaxException(" 2780 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2781 <location 2782 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkePayloadFactory.java" 2783 line="197" 2784 column="19"/> 2785 </issue> 2786 2787 <issue 2788 id="NewApi" 2789 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 2790 errorLine1=" throw new InvalidSyntaxException(" 2791 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2792 <location 2793 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkePayloadFactory.java" 2794 line="205" 2795 column="19"/> 2796 </issue> 2797 2798 <issue 2799 id="NewApi" 2800 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeException`" 2801 errorLine1="public abstract class IkeProtocolException extends IkeException {" 2802 errorLine2=" ~~~~~~~~~~~~"> 2803 <location 2804 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/IkeProtocolException.java" 2805 line="37" 2806 column="52"/> 2807 </issue> 2808 2809 <issue 2810 id="NewApi" 2811 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIdentification`" 2812 errorLine1="public final class IkeRfc822AddrIdentification extends IkeIdentification {" 2813 errorLine2=" ~~~~~~~~~~~~~~~~~"> 2814 <location 2815 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java" 2816 line="31" 2817 column="56"/> 2818 </issue> 2819 2820 <issue 2821 id="NewApi" 2822 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeRfc822AddrIdentification#rfc822Name`" 2823 errorLine1=" rfc822Name = new String(rfc822NameBytes, UTF8);" 2824 errorLine2=" ~~~~~~~~~~"> 2825 <location 2826 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java" 2827 line="46" 2828 column="9"/> 2829 </issue> 2830 2831 <issue 2832 id="NewApi" 2833 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeRfc822AddrIdentification#rfc822Name`" 2834 errorLine1=" this.rfc822Name = rfc822Name;" 2835 errorLine2=" ~~~~~~~~~~~~~~~"> 2836 <location 2837 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java" 2838 line="57" 2839 column="9"/> 2840 </issue> 2841 2842 <issue 2843 id="NewApi" 2844 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.IkeRfc822AddrIdentification`" 2845 errorLine1=" return new IkeRfc822AddrIdentification(in.getString(RFC822_NAME_KEY));" 2846 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2847 <location 2848 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java" 2849 line="69" 2850 column="16"/> 2851 </issue> 2852 2853 <issue 2854 id="NewApi" 2855 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeRfc822AddrIdentification#rfc822Name`" 2856 errorLine1=" result.putString(RFC822_NAME_KEY, rfc822Name);" 2857 errorLine2=" ~~~~~~~~~~"> 2858 <location 2859 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java" 2860 line="80" 2861 column="43"/> 2862 </issue> 2863 2864 <issue 2865 id="NewApi" 2866 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeRfc822AddrIdentification#rfc822Name`" 2867 errorLine1=" return Objects.hash(idType, rfc822Name);" 2868 errorLine2=" ~~~~~~~~~~"> 2869 <location 2870 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java" 2871 line="88" 2872 column="37"/> 2873 </issue> 2874 2875 <issue 2876 id="NewApi" 2877 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeRfc822AddrIdentification`" 2878 errorLine1=" if (!(o instanceof IkeRfc822AddrIdentification)) return false;" 2879 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2880 <location 2881 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java" 2882 line="94" 2883 column="28"/> 2884 </issue> 2885 2886 <issue 2887 id="NewApi" 2888 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeRfc822AddrIdentification`" 2889 errorLine1=" return rfc822Name.equals(((IkeRfc822AddrIdentification) o).rfc822Name);" 2890 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2891 <location 2892 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java" 2893 line="97" 2894 column="36"/> 2895 </issue> 2896 2897 <issue 2898 id="NewApi" 2899 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeRfc822AddrIdentification#rfc822Name`" 2900 errorLine1=" return rfc822Name.equals(((IkeRfc822AddrIdentification) o).rfc822Name);" 2901 errorLine2=" ~~~~~~~~~~"> 2902 <location 2903 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java" 2904 line="97" 2905 column="16"/> 2906 </issue> 2907 2908 <issue 2909 id="NewApi" 2910 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeRfc822AddrIdentification#rfc822Name`" 2911 errorLine1=" return rfc822Name.equals(((IkeRfc822AddrIdentification) o).rfc822Name);" 2912 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2913 <location 2914 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java" 2915 line="97" 2916 column="34"/> 2917 </issue> 2918 2919 <issue 2920 id="NewApi" 2921 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeRfc822AddrIdentification#rfc822Name`" 2922 errorLine1=" validateEndCertSanOrThrow(endCert, SAN_TYPE_RFC822_NAME, rfc822Name);" 2923 errorLine2=" ~~~~~~~~~~"> 2924 <location 2925 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java" 2926 line="111" 2927 column="66"/> 2928 </issue> 2929 2930 <issue 2931 id="NewApi" 2932 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeRfc822AddrIdentification#rfc822Name`" 2933 errorLine1=" return rfc822Name.getBytes(UTF8);" 2934 errorLine2=" ~~~~~~~~~~"> 2935 <location 2936 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java" 2937 line="122" 2938 column="16"/> 2939 </issue> 2940 2941 <issue 2942 id="NewApi" 2943 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 2944 errorLine1=" throw new InvalidSyntaxException("Found no SA Proposal in this SA Payload.");" 2945 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2946 <location 2947 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java" 2948 line="86" 2949 column="19"/> 2950 </issue> 2951 2952 <issue 2953 id="NewApi" 2954 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 2955 errorLine1=" throw new InvalidSyntaxException(" 2956 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2957 <location 2958 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java" 2959 line="91" 2960 column="19"/> 2961 </issue> 2962 2963 <issue 2964 id="NewApi" 2965 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.NoValidProposalChosenException`" 2966 errorLine1=" throw new NoValidProposalChosenException("No remotely proposed protocol acceptable");" 2967 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2968 <location 2969 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java" 2970 line="347" 2971 column="15"/> 2972 </issue> 2973 2974 <issue 2975 id="NewApi" 2976 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.NoValidProposalChosenException`" 2977 errorLine1=" throw new NoValidProposalChosenException(" 2978 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2979 <location 2980 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java" 2981 line="478" 2982 column="23"/> 2983 </issue> 2984 2985 <issue 2986 id="NewApi" 2987 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.NoValidProposalChosenException`" 2988 errorLine1=" throw new NoValidProposalChosenException(" 2989 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2990 <location 2991 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java" 2992 line="488" 2993 column="23"/> 2994 </issue> 2995 2996 <issue 2997 id="NewApi" 2998 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.NoValidProposalChosenException`" 2999 errorLine1=" throw new NoValidProposalChosenException("Invalid negotiated proposal.");" 3000 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3001 <location 3002 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java" 3003 line="494" 3004 column="23"/> 3005 </issue> 3006 3007 <issue 3008 id="NewApi" 3009 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 3010 errorLine1=" throw new InvalidSyntaxException(" 3011 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3012 <location 3013 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java" 3014 line="581" 3015 column="23"/> 3016 </issue> 3017 3018 <issue 3019 id="NewApi" 3020 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 3021 errorLine1=" throw new InvalidSyntaxException(" 3022 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3023 <location 3024 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java" 3025 line="608" 3026 column="27"/> 3027 </issue> 3028 3029 <issue 3030 id="NewApi" 3031 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 3032 errorLine1=" throw new InvalidSyntaxException(" 3033 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3034 <location 3035 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java" 3036 line="1008" 3037 column="23"/> 3038 </issue> 3039 3040 <issue 3041 id="NewApi" 3042 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 3043 errorLine1=" throw new InvalidSyntaxException(" 3044 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3045 <location 3046 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java" 3047 line="1078" 3048 column="27"/> 3049 </issue> 3050 3051 <issue 3052 id="NewApi" 3053 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 3054 errorLine1=" } catch (InvalidSyntaxException e) {" 3055 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 3056 <location 3057 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java" 3058 line="1158" 3059 column="22"/> 3060 </issue> 3061 3062 <issue 3063 id="NewApi" 3064 message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)" 3065 errorLine1=" throw new IllegalArgumentException(e);" 3066 errorLine2=" ~"> 3067 <location 3068 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java" 3069 line="1159" 3070 column="52"/> 3071 </issue> 3072 3073 <issue 3074 id="NewApi" 3075 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 3076 errorLine1=" throw new InvalidSyntaxException(" 3077 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3078 <location 3079 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java" 3080 line="1256" 3081 column="31"/> 3082 </issue> 3083 3084 <issue 3085 id="NewApi" 3086 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 3087 errorLine1=" throw new InvalidSyntaxException(" 3088 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3089 <location 3090 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java" 3091 line="1273" 3092 column="31"/> 3093 </issue> 3094 3095 <issue 3096 id="NewApi" 3097 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 3098 errorLine1=" throw new InvalidSyntaxException(" 3099 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3100 <location 3101 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java" 3102 line="1282" 3103 column="31"/> 3104 </issue> 3105 3106 <issue 3107 id="NewApi" 3108 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 3109 errorLine1=" throw new InvalidSyntaxException("Wrong format in Transform Attribute");" 3110 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3111 <location 3112 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java" 3113 line="1763" 3114 column="27"/> 3115 </issue> 3116 3117 <issue 3118 id="NewApi" 3119 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.SaProposal`" 3120 errorLine1="public final class IkeSaProposal extends SaProposal {" 3121 errorLine2=" ~~~~~~~~~~"> 3122 <location 3123 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSaProposal.java" 3124 line="49" 3125 column="42"/> 3126 </issue> 3127 3128 <issue 3129 id="NewApi" 3130 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSaProposal`" 3131 errorLine1=" ((IkeSaProposal) reqProposal).mPseudorandomFunctions);" 3132 errorLine2=" ~~~~~~~~~~~~~"> 3133 <location 3134 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSaProposal.java" 3135 line="190" 3136 column="27"/> 3137 </issue> 3138 3139 <issue 3140 id="NewApi" 3141 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSaProposal`" 3142 errorLine1=" if (!super.equals(o) || !(o instanceof IkeSaProposal)) {" 3143 errorLine2=" ~~~~~~~~~~~~~"> 3144 <location 3145 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSaProposal.java" 3146 line="200" 3147 column="48"/> 3148 </issue> 3149 3150 <issue 3151 id="NewApi" 3152 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSaProposal`" 3153 errorLine1=" return Arrays.equals(mPseudorandomFunctions, ((IkeSaProposal) o).mPseudorandomFunctions);" 3154 errorLine2=" ~~~~~~~~~~~~~"> 3155 <location 3156 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSaProposal.java" 3157 line="204" 3158 column="56"/> 3159 </issue> 3160 3161 <issue 3162 id="NewApi" 3163 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams`" 3164 errorLine1=" if (firstChildSessionParams instanceof TunnelModeChildSessionParams) {" 3165 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3166 <location 3167 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSession.java" 3168 line="132" 3169 column="48"/> 3170 </issue> 3171 3172 <issue 3173 id="NewApi" 3174 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams`" 3175 errorLine1=" if (childSessionParams instanceof TunnelModeChildSessionParams) {" 3176 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3177 <location 3178 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSession.java" 3179 line="203" 3180 column="43"/> 3181 </issue> 3182 3183 <issue 3184 id="NewApi" 3185 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 3186 errorLine1=" if (exception instanceof IkeProtocolException) {" 3187 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 3188 <location 3189 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionCallback.java" 3190 line="87" 3191 column="34"/> 3192 </issue> 3193 3194 <issue 3195 id="NewApi" 3196 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 3197 errorLine1=" onError((IkeProtocolException) exception);" 3198 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 3199 <location 3200 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionCallback.java" 3201 line="88" 3202 column="22"/> 3203 </issue> 3204 3205 <issue 3206 id="NewApi" 3207 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.IkeSessionParams.Builder`" 3208 errorLine1=" IkeSessionParams.Builder builder = new IkeSessionParams.Builder();" 3209 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3210 <location 3211 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3212 line="354" 3213 column="44"/> 3214 </issue> 3215 3216 <issue 3217 id="NewApi" 3218 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams`" 3219 errorLine1=" if (!(o instanceof IkeSessionParams)) {" 3220 errorLine2=" ~~~~~~~~~~~~~~~~"> 3221 <location 3222 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3223 line="661" 3224 column="28"/> 3225 </issue> 3226 3227 <issue 3228 id="NewApi" 3229 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams`" 3230 errorLine1=" IkeSessionParams other = (IkeSessionParams) o;" 3231 errorLine2=" ~~~~~~~~~~~~~~~~"> 3232 <location 3233 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3234 line="665" 3235 column="35"/> 3236 </issue> 3237 3238 <issue 3239 id="NewApi" 3240 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeConfigRequest`" 3241 errorLine1=" public interface ConfigRequestIpv4PcscfServer extends IkeConfigRequest {" 3242 errorLine2=" ~~~~~~~~~~~~~~~~"> 3243 <location 3244 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3245 line="690" 3246 column="59"/> 3247 </issue> 3248 3249 <issue 3250 id="NewApi" 3251 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeConfigRequest`" 3252 errorLine1=" public interface ConfigRequestIpv6PcscfServer extends IkeConfigRequest {" 3253 errorLine2=" ~~~~~~~~~~~~~~~~"> 3254 <location 3255 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3256 line="702" 3257 column="59"/> 3258 </issue> 3259 3260 <issue 3261 id="NewApi" 3262 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig`" 3263 errorLine1=" if (!(o instanceof IkeAuthConfig)) {" 3264 errorLine2=" ~~~~~~~~~~~~~"> 3265 <location 3266 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3267 line="781" 3268 column="32"/> 3269 </issue> 3270 3271 <issue 3272 id="NewApi" 3273 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig`" 3274 errorLine1=" IkeAuthConfig other = (IkeAuthConfig) o;" 3275 errorLine2=" ~~~~~~~~~~~~~"> 3276 <location 3277 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3278 line="785" 3279 column="36"/> 3280 </issue> 3281 3282 <issue 3283 id="NewApi" 3284 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig`" 3285 errorLine1=" public static class IkeAuthPskConfig extends IkeAuthConfig {" 3286 errorLine2=" ~~~~~~~~~~~~~"> 3287 <location 3288 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3289 line="795" 3290 column="50"/> 3291 </issue> 3292 3293 <issue 3294 id="NewApi" 3295 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthPskConfig`" 3296 errorLine1=" if (!super.equals(o) || !(o instanceof IkeAuthPskConfig)) {" 3297 errorLine2=" ~~~~~~~~~~~~~~~~"> 3298 <location 3299 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3300 line="849" 3301 column="52"/> 3302 </issue> 3303 3304 <issue 3305 id="NewApi" 3306 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthPskConfig`" 3307 errorLine1=" return Arrays.equals(mPsk, ((IkeAuthPskConfig) o).mPsk);" 3308 errorLine2=" ~~~~~~~~~~~~~~~~"> 3309 <location 3310 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3311 line="853" 3312 column="42"/> 3313 </issue> 3314 3315 <issue 3316 id="NewApi" 3317 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig`" 3318 errorLine1=" public static class IkeAuthDigitalSignRemoteConfig extends IkeAuthConfig {" 3319 errorLine2=" ~~~~~~~~~~~~~"> 3320 <location 3321 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3322 line="861" 3323 column="64"/> 3324 </issue> 3325 3326 <issue 3327 id="NewApi" 3328 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthDigitalSignRemoteConfig`" 3329 errorLine1=" if (!super.equals(o) || !(o instanceof IkeAuthDigitalSignRemoteConfig)) {" 3330 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3331 <location 3332 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3333 line="951" 3334 column="52"/> 3335 </issue> 3336 3337 <issue 3338 id="NewApi" 3339 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthDigitalSignRemoteConfig`" 3340 errorLine1=" IkeAuthDigitalSignRemoteConfig other = (IkeAuthDigitalSignRemoteConfig) o;" 3341 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3342 <location 3343 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3344 line="955" 3345 column="53"/> 3346 </issue> 3347 3348 <issue 3349 id="NewApi" 3350 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig`" 3351 errorLine1=" public static class IkeAuthDigitalSignLocalConfig extends IkeAuthConfig {" 3352 errorLine2=" ~~~~~~~~~~~~~"> 3353 <location 3354 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3355 line="973" 3356 column="63"/> 3357 </issue> 3358 3359 <issue 3360 id="NewApi" 3361 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthDigitalSignLocalConfig`" 3362 errorLine1=" if (!super.equals(o) || !(o instanceof IkeAuthDigitalSignLocalConfig)) {" 3363 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3364 <location 3365 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3366 line="1090" 3367 column="52"/> 3368 </issue> 3369 3370 <issue 3371 id="NewApi" 3372 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthDigitalSignLocalConfig`" 3373 errorLine1=" IkeAuthDigitalSignLocalConfig other = (IkeAuthDigitalSignLocalConfig) o;" 3374 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3375 <location 3376 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3377 line="1094" 3378 column="52"/> 3379 </issue> 3380 3381 <issue 3382 id="NewApi" 3383 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig`" 3384 errorLine1=" public static class IkeAuthEapConfig extends IkeAuthConfig {" 3385 errorLine2=" ~~~~~~~~~~~~~"> 3386 <location 3387 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3388 line="1107" 3389 column="50"/> 3390 </issue> 3391 3392 <issue 3393 id="NewApi" 3394 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthEapConfig`" 3395 errorLine1=" if (!super.equals(o) || !(o instanceof IkeAuthEapConfig)) {" 3396 errorLine2=" ~~~~~~~~~~~~~~~~"> 3397 <location 3398 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3399 line="1165" 3400 column="52"/> 3401 </issue> 3402 3403 <issue 3404 id="NewApi" 3405 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthEapConfig`" 3406 errorLine1=" return mEapConfig.equals(((IkeAuthEapConfig) o).mEapConfig);" 3407 errorLine2=" ~~~~~~~~~~~~~~~~"> 3408 <location 3409 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3410 line="1169" 3411 column="40"/> 3412 </issue> 3413 3414 <issue 3415 id="NewApi" 3416 message="Cast from `IkeAuthPskConfig` to `IkeAuthConfig` requires API level 31 (current min is 30)" 3417 errorLine1=" return setAuth(new IkeAuthPskConfig(sharedKey), new IkeAuthPskConfig(sharedKey));" 3418 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3419 <location 3420 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3421 line="1419" 3422 column="28"/> 3423 </issue> 3424 3425 <issue 3426 id="NewApi" 3427 message="Cast from `IkeAuthPskConfig` to `IkeAuthConfig` requires API level 31 (current min is 30)" 3428 errorLine1=" return setAuth(new IkeAuthPskConfig(sharedKey), new IkeAuthPskConfig(sharedKey));" 3429 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3430 <location 3431 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3432 line="1419" 3433 column="61"/> 3434 </issue> 3435 3436 <issue 3437 id="NewApi" 3438 message="Cast from `IkeAuthEapConfig` to `IkeAuthConfig` requires API level 31 (current min is 30)" 3439 errorLine1=" new IkeAuthEapConfig(eapConfig)," 3440 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3441 <location 3442 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3443 line="1467" 3444 column="21"/> 3445 </issue> 3446 3447 <issue 3448 id="NewApi" 3449 message="Cast from `IkeAuthDigitalSignRemoteConfig` to `IkeAuthConfig` requires API level 31 (current min is 30)" 3450 errorLine1=" new IkeAuthDigitalSignRemoteConfig(serverCaCert));" 3451 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3452 <location 3453 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3454 line="1468" 3455 column="21"/> 3456 </issue> 3457 3458 <issue 3459 id="NewApi" 3460 message="Cast from `IkeAuthDigitalSignLocalConfig` to `IkeAuthConfig` requires API level 31 (current min is 30)" 3461 errorLine1=" new IkeAuthDigitalSignLocalConfig(" 3462 errorLine2=" ^"> 3463 <location 3464 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3465 line="1548" 3466 column="21"/> 3467 </issue> 3468 3469 <issue 3470 id="NewApi" 3471 message="Cast from `IkeAuthDigitalSignRemoteConfig` to `IkeAuthConfig` requires API level 31 (current min is 30)" 3472 errorLine1=" IkeAuthConfig remoteConfig = new IkeAuthDigitalSignRemoteConfig(serverCaCert);" 3473 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3474 <location 3475 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3476 line="1550" 3477 column="42"/> 3478 </issue> 3479 3480 <issue 3481 id="NewApi" 3482 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthEapConfig`" 3483 errorLine1=" if (!(mLocalAuthConfig instanceof IkeAuthEapConfig)) {" 3484 errorLine2=" ~~~~~~~~~~~~~~~~"> 3485 <location 3486 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3487 line="1838" 3488 column="51"/> 3489 </issue> 3490 3491 <issue 3492 id="NewApi" 3493 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthEapConfig`" 3494 errorLine1=" IkeAuthEapConfig ikeAuthEapConfig = (IkeAuthEapConfig) mLocalAuthConfig;" 3495 errorLine2=" ~~~~~~~~~~~~~~~~"> 3496 <location 3497 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java" 3498 line="1844" 3499 column="54"/> 3500 </issue> 3501 3502 <issue 3503 id="NewApi" 3504 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TransportModeChildSessionParams`" 3505 errorLine1=" && firstChildParams instanceof TransportModeChildSessionParams) {" 3506 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3507 <location 3508 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3509 line="555" 3510 column="48"/> 3511 </issue> 3512 3513 <issue 3514 id="NewApi" 3515 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TransportModeChildSessionParams`" 3516 errorLine1=" && childSessionParams instanceof TransportModeChildSessionParams) {" 3517 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3518 <location 3519 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3520 line="752" 3521 column="50"/> 3522 </issue> 3523 3524 <issue 3525 id="NewApi" 3526 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.IkeInternalException`" 3527 errorLine1=" new IkeInternalException(error));" 3528 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 3529 <location 3530 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3531 line="857" 3532 column="37"/> 3533 </issue> 3534 3535 <issue 3536 id="NewApi" 3537 message="Cast from `IkeInternalException` to `IkeException` requires API level 31 (current min is 30)" 3538 errorLine1=" new IkeInternalException(error));" 3539 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3540 <location 3541 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3542 line="857" 3543 column="37"/> 3544 </issue> 3545 3546 <issue 3547 id="NewApi" 3548 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.IkeInternalException`" 3549 errorLine1=" mIkeSessionCallback.onClosedExceptionally(new IkeInternalException(e));" 3550 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 3551 <location 3552 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3553 line="1104" 3554 column="67"/> 3555 </issue> 3556 3557 <issue 3558 id="NewApi" 3559 message="Cast from `IkeInternalException` to `IkeException` requires API level 31 (current min is 30)" 3560 errorLine1=" mIkeSessionCallback.onClosedExceptionally(new IkeInternalException(e));" 3561 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3562 <location 3563 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3564 line="1104" 3565 column="67"/> 3566 </issue> 3567 3568 <issue 3569 id="NewApi" 3570 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeException`" 3571 errorLine1=" error instanceof IkeException" 3572 errorLine2=" ~~~~~~~~~~~~"> 3573 <location 3574 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3575 line="1191" 3576 column="34"/> 3577 </issue> 3578 3579 <issue 3580 id="NewApi" 3581 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeException`" 3582 errorLine1=" ? (IkeException) error" 3583 errorLine2=" ~~~~~~~~~~~~"> 3584 <location 3585 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3586 line="1192" 3587 column="28"/> 3588 </issue> 3589 3590 <issue 3591 id="NewApi" 3592 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.IkeInternalException`" 3593 errorLine1=" : new IkeInternalException(error);" 3594 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 3595 <location 3596 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3597 line="1193" 3598 column="27"/> 3599 </issue> 3600 3601 <issue 3602 id="NewApi" 3603 message="Cast from `IkeException` to `Throwable` requires API level 31 (current min is 30)" 3604 errorLine1=" loge("IKE Session fatal error in " + getCurrentState().getName(), ikeException);" 3605 errorLine2=" ~~~~~~~~~~~~"> 3606 <location 3607 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3608 line="1201" 3609 column="75"/> 3610 </issue> 3611 3612 <issue 3613 id="NewApi" 3614 message="Cast from `IkeException` to `Throwable` requires API level 31 (current min is 30)" 3615 errorLine1=" logi(methodTag + "Protected error", ikeException);" 3616 errorLine2=" ~~~~~~~~~~~~"> 3617 <location 3618 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3619 line="1902" 3620 column="61"/> 3621 </issue> 3622 3623 <issue 3624 id="NewApi" 3625 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 3626 errorLine1=" new InvalidSyntaxException(" 3627 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3628 <location 3629 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3630 line="1909" 3631 column="33"/> 3632 </issue> 3633 3634 <issue 3635 id="NewApi" 3636 message="Cast from `IkeException` to `Throwable` requires API level 31 (current min is 30)" 3637 errorLine1=" ikeException));" 3638 errorLine2=" ~~~~~~~~~~~~"> 3639 <location 3640 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3641 line="1911" 3642 column="41"/> 3643 </issue> 3644 3645 <issue 3646 id="NewApi" 3647 message="Cast from `IkeException` to `Throwable` requires API level 31 (current min is 30)" 3648 errorLine1=" ((DecodeResultError) decodeResult).ikeException);" 3649 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3650 <location 3651 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3652 line="1918" 3653 column="33"/> 3654 </issue> 3655 3656 <issue 3657 id="NewApi" 3658 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 3659 errorLine1=" new InvalidSyntaxException(" 3660 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3661 <location 3662 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3663 line="1998" 3664 column="41"/> 3665 </issue> 3666 3667 <issue 3668 id="NewApi" 3669 message="Cast from `InvalidSyntaxException` to `Exception` requires API level 31 (current min is 30)" 3670 errorLine1=" new InvalidSyntaxException(" 3671 errorLine2=" ^"> 3672 <location 3673 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3674 line="1998" 3675 column="41"/> 3676 </issue> 3677 3678 <issue 3679 id="NewApi" 3680 message="Cast from `IkeException` to `Throwable` requires API level 31 (current min is 30)" 3681 errorLine1=" logi(methodTag + "Protected error", resultError.ikeException);" 3682 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 3683 <location 3684 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3685 line="2015" 3686 column="65"/> 3687 </issue> 3688 3689 <issue 3690 id="NewApi" 3691 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 3692 errorLine1=" (IkeProtocolException) ikeException);" 3693 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 3694 <location 3695 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3696 line="2026" 3697 column="38"/> 3698 </issue> 3699 3700 <issue 3701 id="NewApi" 3702 message="Cast from `IkeException` to `Throwable` requires API level 31 (current min is 30)" 3703 errorLine1=" ((DecodeResultError) decodeResult).ikeException);" 3704 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3705 <location 3706 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3707 line="2033" 3708 column="37"/> 3709 </issue> 3710 3711 <issue 3712 id="NewApi" 3713 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 3714 errorLine1=" new InvalidSyntaxException("Received unexpected TEMPORARY_FAILURE"));" 3715 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3716 <location 3717 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3718 line="2061" 3719 column="21"/> 3720 </issue> 3721 3722 <issue 3723 id="NewApi" 3724 message="Cast from `InvalidSyntaxException` to `Exception` requires API level 31 (current min is 30)" 3725 errorLine1=" new InvalidSyntaxException("Received unexpected TEMPORARY_FAILURE"));" 3726 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3727 <location 3728 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3729 line="2061" 3730 column="21"/> 3731 </issue> 3732 3733 <issue 3734 id="NewApi" 3735 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 3736 errorLine1=" } catch (InvalidSyntaxException e) {" 3737 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 3738 <location 3739 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3740 line="2098" 3741 column="22"/> 3742 </issue> 3743 3744 <issue 3745 id="NewApi" 3746 message="Cast from `InvalidSyntaxException` to `Exception` requires API level 31 (current min is 30)" 3747 errorLine1=" handleIkeFatalError(e);" 3748 errorLine2=" ~"> 3749 <location 3750 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3751 line="2103" 3752 column="37"/> 3753 </issue> 3754 3755 <issue 3756 id="NewApi" 3757 message="Cast from `IkeProtocolException` to `Exception` requires API level 31 (current min is 30)" 3758 errorLine1=" handleIkeFatalError(exception);" 3759 errorLine2=" ~~~~~~~~~"> 3760 <location 3761 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3762 line="2141" 3763 column="37"/> 3764 </issue> 3765 3766 <issue 3767 id="NewApi" 3768 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 3769 errorLine1=" throw new InvalidSyntaxException("Delete request received in wrong SA");" 3770 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3771 <location 3772 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3773 line="2246" 3774 column="23"/> 3775 </issue> 3776 3777 <issue 3778 id="NewApi" 3779 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 3780 errorLine1=" } catch (InvalidSyntaxException e) {" 3781 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 3782 <location 3783 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3784 line="2279" 3785 column="22"/> 3786 </issue> 3787 3788 <issue 3789 id="NewApi" 3790 message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)" 3791 errorLine1=" cleanUpAndQuit(new IllegalStateException(e));" 3792 errorLine2=" ~"> 3793 <location 3794 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3795 line="2281" 3796 column="58"/> 3797 </issue> 3798 3799 <issue 3800 id="NewApi" 3801 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 3802 errorLine1=" throw new InvalidSyntaxException(" 3803 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3804 <location 3805 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3806 line="2300" 3807 column="23"/> 3808 </issue> 3809 3810 <issue 3811 id="NewApi" 3812 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 3813 errorLine1=" throw new InvalidSyntaxException(" 3814 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3815 <location 3816 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3817 line="2306" 3818 column="23"/> 3819 </issue> 3820 3821 <issue 3822 id="NewApi" 3823 message="Cast from `IkeSaProposal` to `SaProposal` requires API level 31 (current min is 30)" 3824 errorLine1=" reqSaPayload.getNegotiatedProposalNumber(mSaProposal);" 3825 errorLine2=" ~~~~~~~~~~~"> 3826 <location 3827 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3828 line="2358" 3829 column="74"/> 3830 </issue> 3831 3832 <issue 3833 id="NewApi" 3834 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 3835 errorLine1=" } catch (IkeProtocolException e) {" 3836 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 3837 <location 3838 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3839 line="2390" 3840 column="30"/> 3841 </issue> 3842 3843 <issue 3844 id="NewApi" 3845 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.NoValidProposalChosenException`" 3846 errorLine1=" new NoValidProposalChosenException(" 3847 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3848 <location 3849 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3850 line="2395" 3851 column="33"/> 3852 </issue> 3853 3854 <issue 3855 id="NewApi" 3856 message="Cast from `NoValidProposalChosenException` to `IkeProtocolException` requires API level 31 (current min is 30)" 3857 errorLine1=" new NoValidProposalChosenException(" 3858 errorLine2=" ^"> 3859 <location 3860 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3861 line="2395" 3862 column="33"/> 3863 </issue> 3864 3865 <issue 3866 id="NewApi" 3867 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.NoValidProposalChosenException`" 3868 errorLine1=" new NoValidProposalChosenException(" 3869 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3870 <location 3871 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3872 line="2400" 3873 column="33"/> 3874 </issue> 3875 3876 <issue 3877 id="NewApi" 3878 message="Cast from `NoValidProposalChosenException` to `IkeProtocolException` requires API level 31 (current min is 30)" 3879 errorLine1=" new NoValidProposalChosenException(" 3880 errorLine2=" ^"> 3881 <location 3882 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3883 line="2400" 3884 column="33"/> 3885 </issue> 3886 3887 <issue 3888 id="NewApi" 3889 message="Cast from `IkeProtocolException` to `Throwable` requires API level 31 (current min is 30)" 3890 errorLine1=" loge("Received invalid Rekey IKE request. Reject with error notification", e);" 3891 errorLine2=" ~"> 3892 <location 3893 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3894 line="2427" 3895 column="88"/> 3896 </issue> 3897 3898 <issue 3899 id="NewApi" 3900 message="Cast from `InvalidSyntaxException` to `Exception` requires API level 31 (current min is 30)" 3901 errorLine1=" handleIkeFatalError(ikeException);" 3902 errorLine2=" ~~~~~~~~~~~~"> 3903 <location 3904 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3905 line="2726" 3906 column="33"/> 3907 </issue> 3908 3909 <issue 3910 id="NewApi" 3911 message="Cast from `IkeException` to `Throwable` requires API level 31 (current min is 30)" 3912 errorLine1=" ((DecodeResultError) decodeResult).ikeException);" 3913 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3914 <location 3915 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3916 line="3019" 3917 column="33"/> 3918 </issue> 3919 3920 <issue 3921 id="NewApi" 3922 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 3923 errorLine1=" throw new InvalidSyntaxException(" 3924 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3925 <location 3926 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3927 line="3057" 3928 column="27"/> 3929 </issue> 3930 3931 <issue 3932 id="NewApi" 3933 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 3934 errorLine1=" } catch (IkeProtocolException | GeneralSecurityException | IOException e) {" 3935 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 3936 <location 3937 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3938 line="3092" 3939 column="22"/> 3940 </issue> 3941 3942 <issue 3943 id="NewApi" 3944 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidKeException`" 3945 errorLine1=" if (e instanceof InvalidKeException) {" 3946 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 3947 <location 3948 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3949 line="3093" 3950 column="34"/> 3951 </issue> 3952 3953 <issue 3954 id="NewApi" 3955 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 3956 errorLine1=" throw new InvalidSyntaxException(" 3957 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3958 <location 3959 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3960 line="3270" 3961 column="43"/> 3962 </issue> 3963 3964 <issue 3965 id="NewApi" 3966 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 3967 errorLine1=" throw new InvalidSyntaxException("SA, KE, or Nonce payload missing.");" 3968 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3969 <location 3970 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3971 line="3307" 3972 column="23"/> 3973 </issue> 3974 3975 <issue 3976 id="NewApi" 3977 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 3978 errorLine1=" throw new InvalidSyntaxException("Received KE payload with mismatched DH group.");" 3979 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3980 <location 3981 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3982 line="3332" 3983 column="23"/> 3984 </issue> 3985 3986 <issue 3987 id="NewApi" 3988 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 3989 errorLine1=" throw new InvalidSyntaxException(" 3990 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3991 <location 3992 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 3993 line="3427" 3994 column="19"/> 3995 </issue> 3996 3997 <issue 3998 id="NewApi" 3999 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 4000 errorLine1=" throw new AuthenticationFailedException(" 4001 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4002 <location 4003 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4004 line="3536" 4005 column="23"/> 4006 </issue> 4007 4008 <issue 4009 id="NewApi" 4010 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.IkeInternalException`" 4011 errorLine1=" throw new IkeInternalException("Error while registering NetworkCallback", e);" 4012 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 4013 <location 4014 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4015 line="3658" 4016 column="27"/> 4017 </issue> 4018 4019 <issue 4020 id="NewApi" 4021 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.IkeInternalException`" 4022 errorLine1=" throw new IkeInternalException(e);" 4023 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 4024 <location 4025 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4026 line="3670" 4027 column="31"/> 4028 </issue> 4029 4030 <issue 4031 id="NewApi" 4032 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4033 errorLine1=" throw new InvalidSyntaxException(" 4034 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4035 <location 4036 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4037 line="3728" 4038 column="27"/> 4039 </issue> 4040 4041 <issue 4042 id="NewApi" 4043 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 4044 errorLine1=" throw new AuthenticationFailedException("Missing EAP payload");" 4045 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4046 <location 4047 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4048 line="3745" 4049 column="31"/> 4050 </issue> 4051 4052 <issue 4053 id="NewApi" 4054 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeException`" 4055 errorLine1=" } catch (IkeException e) {" 4056 errorLine2=" ~~~~~~~~~~~~"> 4057 <location 4058 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4059 line="3755" 4060 column="22"/> 4061 </issue> 4062 4063 <issue 4064 id="NewApi" 4065 message="Cast from `IkeException` to `Exception` requires API level 31 (current min is 30)" 4066 errorLine1=" handleIkeFatalError(e);" 4067 errorLine2=" ~"> 4068 <location 4069 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4070 line="3760" 4071 column="37"/> 4072 </issue> 4073 4074 <issue 4075 id="NewApi" 4076 message="Cast from `InvalidSyntaxException` to `Exception` requires API level 31 (current min is 30)" 4077 errorLine1=" handleIkeFatalError(ikeException);" 4078 errorLine2=" ~~~~~~~~~~~~"> 4079 <location 4080 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4081 line="3773" 4082 column="33"/> 4083 </issue> 4084 4085 <issue 4086 id="NewApi" 4087 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthPskConfig`" 4088 errorLine1=" ((IkeAuthPskConfig) authConfig).mPsk," 4089 errorLine2=" ~~~~~~~~~~~~~~~~"> 4090 <location 4091 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4092 line="3803" 4093 column="39"/> 4094 </issue> 4095 4096 <issue 4097 id="NewApi" 4098 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthDigitalSignLocalConfig`" 4099 errorLine1=" (IkeAuthDigitalSignLocalConfig) mIkeSessionParams.getLocalAuthConfig();" 4100 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4101 <location 4102 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4103 line="3813" 4104 column="30"/> 4105 </issue> 4106 4107 <issue 4108 id="NewApi" 4109 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 4110 errorLine1=" throw new AuthenticationFailedException(" 4111 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4112 <location 4113 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4114 line="3892" 4115 column="35"/> 4116 </issue> 4117 4118 <issue 4119 id="NewApi" 4120 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 4121 errorLine1=" throw new AuthenticationFailedException("ID-Responder or Auth payload is missing.");" 4122 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4123 <location 4124 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4125 line="3938" 4126 column="19"/> 4127 </issue> 4128 4129 <issue 4130 id="NewApi" 4131 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthPskConfig`" 4132 errorLine1=" ((IkeAuthPskConfig) mIkeSessionParams.getRemoteAuthConfig()).mPsk," 4133 errorLine2=" ~~~~~~~~~~~~~~~~"> 4134 <location 4135 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4136 line="3949" 4137 column="31"/> 4138 </issue> 4139 4140 <issue 4141 id="NewApi" 4142 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthDigitalSignRemoteConfig`" 4143 errorLine1=" ((IkeAuthDigitalSignRemoteConfig)" 4144 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4145 <location 4146 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4147 line="3956" 4148 column="31"/> 4149 </issue> 4150 4151 <issue 4152 id="NewApi" 4153 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 4154 errorLine1=" throw new AuthenticationFailedException(" 4155 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4156 <location 4157 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4158 line="3977" 4159 column="23"/> 4160 </issue> 4161 4162 <issue 4163 id="NewApi" 4164 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 4165 errorLine1=" throw new AuthenticationFailedException(" 4166 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4167 <location 4168 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4169 line="3996" 4170 column="23"/> 4171 </issue> 4172 4173 <issue 4174 id="NewApi" 4175 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthEapConfig`" 4176 errorLine1=" (IkeSessionParams.IkeAuthEapConfig) mIkeSessionParams.getLocalAuthConfig();" 4177 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4178 <location 4179 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4180 line="4034" 4181 column="22"/> 4182 </issue> 4183 4184 <issue 4185 id="NewApi" 4186 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 4187 errorLine1=" handleIkeFatalError(new AuthenticationFailedException((Throwable) msg.obj));" 4188 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4189 <location 4190 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4191 line="4065" 4192 column="41"/> 4193 </issue> 4194 4195 <issue 4196 id="NewApi" 4197 message="Cast from `AuthenticationFailedException` to `Exception` requires API level 31 (current min is 30)" 4198 errorLine1=" handleIkeFatalError(new AuthenticationFailedException((Throwable) msg.obj));" 4199 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4200 <location 4201 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4202 line="4065" 4203 column="41"/> 4204 </issue> 4205 4206 <issue 4207 id="NewApi" 4208 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 4209 errorLine1=" new AuthenticationFailedException("EAP Authentication Failed");" 4210 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4211 <location 4212 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4213 line="4069" 4214 column="29"/> 4215 </issue> 4216 4217 <issue 4218 id="NewApi" 4219 message="Cast from `AuthenticationFailedException` to `Exception` requires API level 31 (current min is 30)" 4220 errorLine1=" handleIkeFatalError(exception);" 4221 errorLine2=" ~~~~~~~~~"> 4222 <location 4223 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4224 line="4071" 4225 column="41"/> 4226 </issue> 4227 4228 <issue 4229 id="NewApi" 4230 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4231 errorLine1=" throw new InvalidSyntaxException(" 4232 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4233 <location 4234 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4235 line="4095" 4236 column="27"/> 4237 </issue> 4238 4239 <issue 4240 id="NewApi" 4241 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 4242 errorLine1=" throw new AuthenticationFailedException("EAP Payload is missing.");" 4243 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4244 <location 4245 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4246 line="4136" 4247 column="27"/> 4248 </issue> 4249 4250 <issue 4251 id="NewApi" 4252 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 4253 errorLine1=" } catch (IkeProtocolException exception) {" 4254 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 4255 <location 4256 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4257 line="4140" 4258 column="22"/> 4259 </issue> 4260 4261 <issue 4262 id="NewApi" 4263 message="Cast from `IkeProtocolException` to `Exception` requires API level 31 (current min is 30)" 4264 errorLine1=" handleIkeFatalError(exception);" 4265 errorLine2=" ~~~~~~~~~"> 4266 <location 4267 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4268 line="4141" 4269 column="37"/> 4270 </issue> 4271 4272 <issue 4273 id="NewApi" 4274 message="Cast from `InvalidSyntaxException` to `Exception` requires API level 31 (current min is 30)" 4275 errorLine1=" handleIkeFatalError(ikeException);" 4276 errorLine2=" ~~~~~~~~~~~~"> 4277 <location 4278 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4279 line="4149" 4280 column="33"/> 4281 </issue> 4282 4283 <issue 4284 id="NewApi" 4285 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4286 errorLine1=" throw new InvalidSyntaxException(" 4287 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4288 <location 4289 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4290 line="4216" 4291 column="27"/> 4292 </issue> 4293 4294 <issue 4295 id="NewApi" 4296 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeException`" 4297 errorLine1=" } catch (IkeException e) {" 4298 errorLine2=" ~~~~~~~~~~~~"> 4299 <location 4300 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4301 line="4225" 4302 column="22"/> 4303 </issue> 4304 4305 <issue 4306 id="NewApi" 4307 message="Cast from `IkeException` to `Exception` requires API level 31 (current min is 30)" 4308 errorLine1=" handleIkeFatalError(e);" 4309 errorLine2=" ~"> 4310 <location 4311 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4312 line="4228" 4313 column="37"/> 4314 </issue> 4315 4316 <issue 4317 id="NewApi" 4318 message="Cast from `InvalidSyntaxException` to `Exception` requires API level 31 (current min is 30)" 4319 errorLine1=" handleIkeFatalError(ikeException);" 4320 errorLine2=" ~~~~~~~~~~~~"> 4321 <location 4322 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4323 line="4238" 4324 column="33"/> 4325 </issue> 4326 4327 <issue 4328 id="NewApi" 4329 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`" 4330 errorLine1=" throw new AuthenticationFailedException("Post-EAP Auth payload missing.");" 4331 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4332 <location 4333 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4334 line="4279" 4335 column="23"/> 4336 </issue> 4337 4338 <issue 4339 id="NewApi" 4340 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4341 errorLine1=" throw new InvalidSyntaxException("SA, KE or Nonce payload missing.");" 4342 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4343 <location 4344 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4345 line="4321" 4346 column="23"/> 4347 </issue> 4348 4349 <issue 4350 id="NewApi" 4351 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4352 errorLine1=" throw new InvalidSyntaxException(" 4353 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4354 <location 4355 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4356 line="4347" 4357 column="23"/> 4358 </issue> 4359 4360 <issue 4361 id="NewApi" 4362 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4363 errorLine1=" throw new InvalidSyntaxException("Received KE payload with mismatched DH group.");" 4364 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4365 <location 4366 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4367 line="4370" 4368 column="23"/> 4369 </issue> 4370 4371 <issue 4372 id="NewApi" 4373 message="Cast from `IkeProtocolException` to `Exception` requires API level 31 (current min is 30)" 4374 errorLine1=" handleIkeFatalError(exception);" 4375 errorLine2=" ~~~~~~~~~"> 4376 <location 4377 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4378 line="4404" 4379 column="41"/> 4380 </issue> 4381 4382 <issue 4383 id="NewApi" 4384 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4385 errorLine1=" } catch (InvalidSyntaxException e) {" 4386 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 4387 <location 4388 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4389 line="4405" 4390 column="26"/> 4391 </issue> 4392 4393 <issue 4394 id="NewApi" 4395 message="Cast from `InvalidSyntaxException` to `Exception` requires API level 31 (current min is 30)" 4396 errorLine1=" handleIkeFatalError(e);" 4397 errorLine2=" ~"> 4398 <location 4399 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4400 line="4407" 4401 column="41"/> 4402 </issue> 4403 4404 <issue 4405 id="NewApi" 4406 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 4407 errorLine1=" } catch (IkeProtocolException | GeneralSecurityException | IOException e) {" 4408 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 4409 <location 4410 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4411 line="4492" 4412 column="22"/> 4413 </issue> 4414 4415 <issue 4416 id="NewApi" 4417 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 4418 errorLine1=" } catch (IkeProtocolException e) {" 4419 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 4420 <location 4421 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4422 line="4595" 4423 column="22"/> 4424 </issue> 4425 4426 <issue 4427 id="NewApi" 4428 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4429 errorLine1=" if (e instanceof InvalidSyntaxException) {" 4430 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 4431 <location 4432 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4433 line="4596" 4434 column="34"/> 4435 </issue> 4436 4437 <issue 4438 id="NewApi" 4439 message="Cast from `IkeProtocolException` to `IkeException` requires API level 31 (current min is 30)" 4440 errorLine1=" handleProcessRespOrSaCreationFailureAndQuit(e);" 4441 errorLine2=" ~"> 4442 <location 4443 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4444 line="4597" 4445 column="65"/> 4446 </issue> 4447 4448 <issue 4449 id="NewApi" 4450 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4451 errorLine1=" new InvalidSyntaxException(" 4452 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4453 <location 4454 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4455 line="4600" 4456 column="29"/> 4457 </issue> 4458 4459 <issue 4460 id="NewApi" 4461 message="Cast from `InvalidSyntaxException` to `IkeException` requires API level 31 (current min is 30)" 4462 errorLine1=" new InvalidSyntaxException(" 4463 errorLine2=" ^"> 4464 <location 4465 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4466 line="4600" 4467 column="29"/> 4468 </issue> 4469 4470 <issue 4471 id="NewApi" 4472 message="Cast from `IkeProtocolException` to `Throwable` requires API level 31 (current min is 30)" 4473 errorLine1=" "Error in processing IKE Rekey-Create response", e));" 4474 errorLine2=" ~"> 4475 <location 4476 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4477 line="4601" 4478 column="86"/> 4479 </issue> 4480 4481 <issue 4482 id="NewApi" 4483 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.IkeInternalException`" 4484 errorLine1=" new IkeInternalException("Error in creating a new IKE SA during rekey", e));" 4485 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 4486 <location 4487 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4488 line="4606" 4489 column="25"/> 4490 </issue> 4491 4492 <issue 4493 id="NewApi" 4494 message="Cast from `IkeInternalException` to `IkeException` requires API level 31 (current min is 30)" 4495 errorLine1=" new IkeInternalException("Error in creating a new IKE SA during rekey", e));" 4496 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4497 <location 4498 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4499 line="4606" 4500 column="25"/> 4501 </issue> 4502 4503 <issue 4504 id="NewApi" 4505 message="Cast from `InvalidSyntaxException` to `IkeException` requires API level 31 (current min is 30)" 4506 errorLine1=" handleProcessRespOrSaCreationFailureAndQuit(ikeException);" 4507 errorLine2=" ~~~~~~~~~~~~"> 4508 <location 4509 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4510 line="4613" 4511 column="57"/> 4512 </issue> 4513 4514 <issue 4515 id="NewApi" 4516 message="Cast from `IkeException` to `Exception` requires API level 31 (current min is 30)" 4517 errorLine1=" handleIkeFatalError(exception);" 4518 errorLine2=" ~~~~~~~~~"> 4519 <location 4520 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4521 line="4624" 4522 column="33"/> 4523 </issue> 4524 4525 <issue 4526 id="NewApi" 4527 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 4528 errorLine1=" } catch (IkeProtocolException e) {" 4529 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 4530 <location 4531 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4532 line="4696" 4533 column="22"/> 4534 </issue> 4535 4536 <issue 4537 id="NewApi" 4538 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4539 errorLine1=" } catch (InvalidSyntaxException e) {" 4540 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 4541 <location 4542 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4543 line="4848" 4544 column="30"/> 4545 </issue> 4546 4547 <issue 4548 id="NewApi" 4549 message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)" 4550 errorLine1=" logd("Validation failed for delete request", e);" 4551 errorLine2=" ~"> 4552 <location 4553 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4554 line="4849" 4555 column="70"/> 4556 </issue> 4557 4558 <issue 4559 id="NewApi" 4560 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4561 errorLine1=" } catch (InvalidSyntaxException e) {" 4562 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 4563 <location 4564 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4565 line="4863" 4566 column="22"/> 4567 </issue> 4568 4569 <issue 4570 id="NewApi" 4571 message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)" 4572 errorLine1=" loge("Invalid syntax on IKE Delete response. Shutting down anyways", e);" 4573 errorLine2=" ~"> 4574 <location 4575 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4576 line="4864" 4577 column="86"/> 4578 </issue> 4579 4580 <issue 4581 id="NewApi" 4582 message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)" 4583 errorLine1=" loge("Invalid syntax on IKE Delete response. Shutting down anyways", exception);" 4584 errorLine2=" ~~~~~~~~~"> 4585 <location 4586 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4587 line="4876" 4588 column="86"/> 4589 </issue> 4590 4591 <issue 4592 id="NewApi" 4593 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4594 errorLine1=" } catch (InvalidSyntaxException e) {" 4595 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 4596 <location 4597 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4598 line="4937" 4599 column="22"/> 4600 </issue> 4601 4602 <issue 4603 id="NewApi" 4604 message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)" 4605 errorLine1=" e);" 4606 errorLine2=" ~"> 4607 <location 4608 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4609 line="4941" 4610 column="25"/> 4611 </issue> 4612 4613 <issue 4614 id="NewApi" 4615 message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)" 4616 errorLine1=" exception);" 4617 errorLine2=" ~~~~~~~~~"> 4618 <location 4619 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4620 line="4957" 4621 column="25"/> 4622 </issue> 4623 4624 <issue 4625 id="NewApi" 4626 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4627 errorLine1=" } catch (InvalidSyntaxException e) {" 4628 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 4629 <location 4630 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4631 line="4990" 4632 column="30"/> 4633 </issue> 4634 4635 <issue 4636 id="NewApi" 4637 message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)" 4638 errorLine1=" cleanUpAndQuit(new IllegalStateException(e));" 4639 errorLine2=" ~"> 4640 <location 4641 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4642 line="4992" 4643 column="66"/> 4644 </issue> 4645 4646 <issue 4647 id="NewApi" 4648 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4649 errorLine1=" } catch (InvalidSyntaxException e) {" 4650 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 4651 <location 4652 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4653 line="5115" 4654 column="22"/> 4655 </issue> 4656 4657 <issue 4658 id="NewApi" 4659 message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)" 4660 errorLine1=" loge("Invalid syntax on IKE Delete response. Shutting down anyways", exception);" 4661 errorLine2=" ~~~~~~~~~"> 4662 <location 4663 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4664 line="5123" 4665 column="82"/> 4666 </issue> 4667 4668 <issue 4669 id="NewApi" 4670 message="Cast from `InvalidSyntaxException` to `Exception` requires API level 31 (current min is 30)" 4671 errorLine1=" handleIkeFatalError(exception);" 4672 errorLine2=" ~~~~~~~~~"> 4673 <location 4674 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4675 line="5124" 4676 column="33"/> 4677 </issue> 4678 4679 <issue 4680 id="NewApi" 4681 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4682 errorLine1=" new InvalidSyntaxException(" 4683 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4684 <location 4685 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4686 line="5185" 4687 column="21"/> 4688 </issue> 4689 4690 <issue 4691 id="NewApi" 4692 message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)" 4693 errorLine1=" loge("Invalid syntax on IKE DPD response.", exception);" 4694 errorLine2=" ~~~~~~~~~"> 4695 <location 4696 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4697 line="5193" 4698 column="57"/> 4699 </issue> 4700 4701 <issue 4702 id="NewApi" 4703 message="Cast from `InvalidSyntaxException` to `Exception` requires API level 31 (current min is 30)" 4704 errorLine1=" handleIkeFatalError(exception);" 4705 errorLine2=" ~~~~~~~~~"> 4706 <location 4707 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4708 line="5194" 4709 column="33"/> 4710 </issue> 4711 4712 <issue 4713 id="NewApi" 4714 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 4715 errorLine1=" } catch (IkeProtocolException | IOException e) {" 4716 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 4717 <location 4718 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4719 line="5288" 4720 column="22"/> 4721 </issue> 4722 4723 <issue 4724 id="NewApi" 4725 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4726 errorLine1=" throw new InvalidSyntaxException(" 4727 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4728 <location 4729 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4730 line="5295" 4731 column="23"/> 4732 </issue> 4733 4734 <issue 4735 id="NewApi" 4736 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4737 errorLine1=" throw new InvalidSyntaxException(" 4738 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4739 <location 4740 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4741 line="5318" 4742 column="43"/> 4743 </issue> 4744 4745 <issue 4746 id="NewApi" 4747 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.IkeNetworkLostException`" 4748 errorLine1=" () -> mIkeSessionCallback.onError(new IkeNetworkLostException(mNetwork)));" 4749 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4750 <location 4751 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4752 line="5626" 4753 column="51"/> 4754 </issue> 4755 4756 <issue 4757 id="NewApi" 4758 message="Cast from `IkeNetworkLostException` to `IkeException` requires API level 31 (current min is 30)" 4759 errorLine1=" () -> mIkeSessionCallback.onError(new IkeNetworkLostException(mNetwork)));" 4760 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4761 <location 4762 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java" 4763 line="5626" 4764 column="51"/> 4765 </issue> 4766 4767 <issue 4768 id="NewApi" 4769 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4770 errorLine1=" throw new InvalidSyntaxException(" 4771 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4772 <location 4773 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSkfPayload.java" 4774 line="84" 4775 column="19"/> 4776 </issue> 4777 4778 <issue 4779 id="NewApi" 4780 message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 4781 errorLine1=" } catch (IkeProtocolException e) {" 4782 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 4783 <location 4784 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSocket.java" 4785 line="111" 4786 column="18"/> 4787 </issue> 4788 4789 <issue 4790 id="NewApi" 4791 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startPort`" 4792 errorLine1=" this.startPort = startPort;" 4793 errorLine2=" ~~~~~~~~~~~~~~"> 4794 <location 4795 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 4796 line="138" 4797 column="9"/> 4798 </issue> 4799 4800 <issue 4801 id="NewApi" 4802 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endPort`" 4803 errorLine1=" this.endPort = endPort;" 4804 errorLine2=" ~~~~~~~~~~~~"> 4805 <location 4806 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 4807 line="139" 4808 column="9"/> 4809 </issue> 4810 4811 <issue 4812 id="NewApi" 4813 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startingAddress`" 4814 errorLine1=" this.startingAddress = startingAddress;" 4815 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 4816 <location 4817 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 4818 line="140" 4819 column="9"/> 4820 </issue> 4821 4822 <issue 4823 id="NewApi" 4824 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endingAddress`" 4825 errorLine1=" this.endingAddress = endingAddress;" 4826 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 4827 <location 4828 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 4829 line="141" 4830 column="9"/> 4831 </issue> 4832 4833 <issue 4834 id="NewApi" 4835 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startPort`" 4836 errorLine1=" this.startPort = startPort;" 4837 errorLine2=" ~~~~~~~~~~~~~~"> 4838 <location 4839 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 4840 line="223" 4841 column="9"/> 4842 </issue> 4843 4844 <issue 4845 id="NewApi" 4846 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endPort`" 4847 errorLine1=" this.endPort = endPort;" 4848 errorLine2=" ~~~~~~~~~~~~"> 4849 <location 4850 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 4851 line="224" 4852 column="9"/> 4853 </issue> 4854 4855 <issue 4856 id="NewApi" 4857 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startingAddress`" 4858 errorLine1=" this.startingAddress = startingAddress;" 4859 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 4860 <location 4861 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 4862 line="225" 4863 column="9"/> 4864 </issue> 4865 4866 <issue 4867 id="NewApi" 4868 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endingAddress`" 4869 errorLine1=" this.endingAddress = endingAddress;" 4870 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 4871 <location 4872 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 4873 line="226" 4874 column="9"/> 4875 </issue> 4876 4877 <issue 4878 id="NewApi" 4879 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.IkeTrafficSelector`" 4880 errorLine1=" return new IkeTrafficSelector(startPort, endPort, startingAddress, endingAddress);" 4881 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 4882 <location 4883 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 4884 line="248" 4885 column="16"/> 4886 </issue> 4887 4888 <issue 4889 id="NewApi" 4890 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startPort`" 4891 errorLine1=" result.putInt(START_PORT_KEY, startPort);" 4892 errorLine2=" ~~~~~~~~~"> 4893 <location 4894 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 4895 line="260" 4896 column="39"/> 4897 </issue> 4898 4899 <issue 4900 id="NewApi" 4901 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endPort`" 4902 errorLine1=" result.putInt(END_PORT_KEY, endPort);" 4903 errorLine2=" ~~~~~~~"> 4904 <location 4905 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 4906 line="261" 4907 column="37"/> 4908 </issue> 4909 4910 <issue 4911 id="NewApi" 4912 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startingAddress`" 4913 errorLine1=" result.putString(START_ADDRESS_KEY, startingAddress.getHostAddress());" 4914 errorLine2=" ~~~~~~~~~~~~~~~"> 4915 <location 4916 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 4917 line="262" 4918 column="45"/> 4919 </issue> 4920 4921 <issue 4922 id="NewApi" 4923 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endingAddress`" 4924 errorLine1=" result.putString(END_ADDRESS_KEY, endingAddress.getHostAddress());" 4925 errorLine2=" ~~~~~~~~~~~~~"> 4926 <location 4927 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 4928 line="263" 4929 column="43"/> 4930 </issue> 4931 4932 <issue 4933 id="NewApi" 4934 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4935 errorLine1=" throw new InvalidSyntaxException(" 4936 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4937 <location 4938 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 4939 line="297" 4940 column="31"/> 4941 </issue> 4942 4943 <issue 4944 id="NewApi" 4945 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4946 errorLine1=" throw new InvalidSyntaxException(e);" 4947 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4948 <location 4949 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 4950 line="303" 4951 column="19"/> 4952 </issue> 4953 4954 <issue 4955 id="NewApi" 4956 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4957 errorLine1=" throw new InvalidSyntaxException(" 4958 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4959 <location 4960 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 4961 line="307" 4962 column="19"/> 4963 </issue> 4964 4965 <issue 4966 id="NewApi" 4967 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4968 errorLine1=" throw new InvalidSyntaxException("Invalid IP Protocol ID.");" 4969 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4970 <location 4971 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 4972 line="321" 4973 column="19"/> 4974 </issue> 4975 4976 <issue 4977 id="NewApi" 4978 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4979 errorLine1=" throw new InvalidSyntaxException("Invalid Traffic Selector Length.");" 4980 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4981 <location 4982 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 4983 line="329" 4984 column="19"/> 4985 </issue> 4986 4987 <issue 4988 id="NewApi" 4989 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 4990 errorLine1=" throw new InvalidSyntaxException(" 4991 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 4992 <location 4993 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 4994 line="336" 4995 column="19"/> 4996 </issue> 4997 4998 <issue 4999 id="NewApi" 5000 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 5001 errorLine1=" throw new InvalidSyntaxException("Invalid IP address family");" 5002 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 5003 <location 5004 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5005 line="356" 5006 column="23"/> 5007 </issue> 5008 5009 <issue 5010 id="NewApi" 5011 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 5012 errorLine1=" throw new InvalidSyntaxException("Received invalid IP address range.");" 5013 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 5014 <location 5015 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5016 line="361" 5017 column="23"/> 5018 </issue> 5019 5020 <issue 5021 id="NewApi" 5022 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 5023 errorLine1=" throw new InvalidSyntaxException(e);" 5024 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 5025 <location 5026 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5027 line="373" 5028 column="19"/> 5029 </issue> 5030 5031 <issue 5032 id="NewApi" 5033 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startPort`" 5034 errorLine1=" && startPort <= ts.startPort" 5035 errorLine2=" ~~~~~~~~~"> 5036 <location 5037 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5038 line="417" 5039 column="20"/> 5040 </issue> 5041 5042 <issue 5043 id="NewApi" 5044 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startPort`" 5045 errorLine1=" && startPort <= ts.startPort" 5046 errorLine2=" ~~~~~~~~~~~~"> 5047 <location 5048 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5049 line="417" 5050 column="33"/> 5051 </issue> 5052 5053 <issue 5054 id="NewApi" 5055 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endPort`" 5056 errorLine1=" && endPort >= ts.endPort" 5057 errorLine2=" ~~~~~~~"> 5058 <location 5059 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5060 line="418" 5061 column="20"/> 5062 </issue> 5063 5064 <issue 5065 id="NewApi" 5066 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endPort`" 5067 errorLine1=" && endPort >= ts.endPort" 5068 errorLine2=" ~~~~~~~~~~"> 5069 <location 5070 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5071 line="418" 5072 column="31"/> 5073 </issue> 5074 5075 <issue 5076 id="NewApi" 5077 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startingAddress`" 5078 errorLine1=" && compareInetAddressTo(startingAddress, ts.startingAddress) <= 0" 5079 errorLine2=" ~~~~~~~~~~~~~~~"> 5080 <location 5081 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5082 line="419" 5083 column="41"/> 5084 </issue> 5085 5086 <issue 5087 id="NewApi" 5088 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startingAddress`" 5089 errorLine1=" && compareInetAddressTo(startingAddress, ts.startingAddress) <= 0" 5090 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 5091 <location 5092 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5093 line="419" 5094 column="58"/> 5095 </issue> 5096 5097 <issue 5098 id="NewApi" 5099 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endingAddress`" 5100 errorLine1=" && compareInetAddressTo(endingAddress, ts.endingAddress) >= 0) {" 5101 errorLine2=" ~~~~~~~~~~~~~"> 5102 <location 5103 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5104 line="420" 5105 column="41"/> 5106 </issue> 5107 5108 <issue 5109 id="NewApi" 5110 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endingAddress`" 5111 errorLine1=" && compareInetAddressTo(endingAddress, ts.endingAddress) >= 0) {" 5112 errorLine2=" ~~~~~~~~~~~~~~~~"> 5113 <location 5114 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5115 line="420" 5116 column="56"/> 5117 </issue> 5118 5119 <issue 5120 id="NewApi" 5121 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startPort`" 5122 errorLine1=" startPort," 5123 errorLine2=" ~~~~~~~~~"> 5124 <location 5125 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5126 line="433" 5127 column="17"/> 5128 </issue> 5129 5130 <issue 5131 id="NewApi" 5132 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endPort`" 5133 errorLine1=" endPort," 5134 errorLine2=" ~~~~~~~"> 5135 <location 5136 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5137 line="434" 5138 column="17"/> 5139 </issue> 5140 5141 <issue 5142 id="NewApi" 5143 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startingAddress`" 5144 errorLine1=" startingAddress," 5145 errorLine2=" ~~~~~~~~~~~~~~~"> 5146 <location 5147 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5148 line="435" 5149 column="17"/> 5150 </issue> 5151 5152 <issue 5153 id="NewApi" 5154 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endingAddress`" 5155 errorLine1=" endingAddress);" 5156 errorLine2=" ~~~~~~~~~~~~~"> 5157 <location 5158 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5159 line="436" 5160 column="17"/> 5161 </issue> 5162 5163 <issue 5164 id="NewApi" 5165 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector`" 5166 errorLine1=" if (!(o instanceof IkeTrafficSelector)) return false;" 5167 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 5168 <location 5169 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5170 line="442" 5171 column="28"/> 5172 </issue> 5173 5174 <issue 5175 id="NewApi" 5176 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector`" 5177 errorLine1=" IkeTrafficSelector other = (IkeTrafficSelector) o;" 5178 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 5179 <location 5180 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5181 line="444" 5182 column="37"/> 5183 </issue> 5184 5185 <issue 5186 id="NewApi" 5187 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startPort`" 5188 errorLine1=" || startPort != other.startPort" 5189 errorLine2=" ~~~~~~~~~"> 5190 <location 5191 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5192 line="448" 5193 column="20"/> 5194 </issue> 5195 5196 <issue 5197 id="NewApi" 5198 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startPort`" 5199 errorLine1=" || startPort != other.startPort" 5200 errorLine2=" ~~~~~~~~~~~~~~~"> 5201 <location 5202 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5203 line="448" 5204 column="33"/> 5205 </issue> 5206 5207 <issue 5208 id="NewApi" 5209 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endPort`" 5210 errorLine1=" || endPort != other.endPort) {" 5211 errorLine2=" ~~~~~~~"> 5212 <location 5213 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5214 line="449" 5215 column="20"/> 5216 </issue> 5217 5218 <issue 5219 id="NewApi" 5220 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endPort`" 5221 errorLine1=" || endPort != other.endPort) {" 5222 errorLine2=" ~~~~~~~~~~~~~"> 5223 <location 5224 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5225 line="449" 5226 column="31"/> 5227 </issue> 5228 5229 <issue 5230 id="NewApi" 5231 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startingAddress`" 5232 errorLine1=" return (((Inet4Address) startingAddress)" 5233 errorLine2=" ~~~~~~~~~~~~~~~"> 5234 <location 5235 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5236 line="455" 5237 column="41"/> 5238 </issue> 5239 5240 <issue 5241 id="NewApi" 5242 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startingAddress`" 5243 errorLine1=" .equals((Inet4Address) other.startingAddress)" 5244 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 5245 <location 5246 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5247 line="456" 5248 column="56"/> 5249 </issue> 5250 5251 <issue 5252 id="NewApi" 5253 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endingAddress`" 5254 errorLine1=" && ((Inet4Address) endingAddress)" 5255 errorLine2=" ~~~~~~~~~~~~~"> 5256 <location 5257 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5258 line="457" 5259 column="44"/> 5260 </issue> 5261 5262 <issue 5263 id="NewApi" 5264 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endingAddress`" 5265 errorLine1=" .equals((Inet4Address) other.endingAddress));" 5266 errorLine2=" ~~~~~~~~~~~~~~~~~~~"> 5267 <location 5268 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5269 line="458" 5270 column="56"/> 5271 </issue> 5272 5273 <issue 5274 id="NewApi" 5275 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startingAddress`" 5276 errorLine1=" return (((Inet6Address) startingAddress)" 5277 errorLine2=" ~~~~~~~~~~~~~~~"> 5278 <location 5279 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5280 line="460" 5281 column="41"/> 5282 </issue> 5283 5284 <issue 5285 id="NewApi" 5286 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startingAddress`" 5287 errorLine1=" .equals((Inet6Address) other.startingAddress)" 5288 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 5289 <location 5290 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5291 line="461" 5292 column="56"/> 5293 </issue> 5294 5295 <issue 5296 id="NewApi" 5297 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endingAddress`" 5298 errorLine1=" && ((Inet6Address) endingAddress)" 5299 errorLine2=" ~~~~~~~~~~~~~"> 5300 <location 5301 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5302 line="462" 5303 column="44"/> 5304 </issue> 5305 5306 <issue 5307 id="NewApi" 5308 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endingAddress`" 5309 errorLine1=" .equals((Inet6Address) other.endingAddress));" 5310 errorLine2=" ~~~~~~~~~~~~~~~~~~~"> 5311 <location 5312 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5313 line="463" 5314 column="56"/> 5315 </issue> 5316 5317 <issue 5318 id="NewApi" 5319 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startPort`" 5320 errorLine1=" .putShort((short) startPort)" 5321 errorLine2=" ~~~~~~~~~"> 5322 <location 5323 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5324 line="482" 5325 column="35"/> 5326 </issue> 5327 5328 <issue 5329 id="NewApi" 5330 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endPort`" 5331 errorLine1=" .putShort((short) endPort)" 5332 errorLine2=" ~~~~~~~"> 5333 <location 5334 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5335 line="483" 5336 column="35"/> 5337 </issue> 5338 5339 <issue 5340 id="NewApi" 5341 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startingAddress`" 5342 errorLine1=" .put(startingAddress.getAddress())" 5343 errorLine2=" ~~~~~~~~~~~~~~~"> 5344 <location 5345 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5346 line="484" 5347 column="22"/> 5348 </issue> 5349 5350 <issue 5351 id="NewApi" 5352 message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endingAddress`" 5353 errorLine1=" .put(endingAddress.getAddress());" 5354 errorLine2=" ~~~~~~~~~~~~~"> 5355 <location 5356 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java" 5357 line="485" 5358 column="22"/> 5359 </issue> 5360 5361 <issue 5362 id="NewApi" 5363 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`" 5364 errorLine1=" throw new InvalidSyntaxException("Cannot find Traffic Selector in TS payload.");" 5365 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 5366 <location 5367 file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeTsPayload.java" 5368 line="54" 5369 column="19"/> 5370 </issue> 5371 5372 <issue 5373 id="NewApi" 5374 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 5375 errorLine1="public final class InternalAddressFailureException extends IkeProtocolException {" 5376 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 5377 <location 5378 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/InternalAddressFailureException.java" 5379 line="30" 5380 column="60"/> 5381 </issue> 5382 5383 <issue 5384 id="NewApi" 5385 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 5386 errorLine1="public final class InvalidIkeSpiException extends IkeProtocolException {" 5387 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 5388 <location 5389 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/InvalidIkeSpiException.java" 5390 line="30" 5391 column="51"/> 5392 </issue> 5393 5394 <issue 5395 id="NewApi" 5396 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 5397 errorLine1="public final class InvalidKeException extends IkeProtocolException {" 5398 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 5399 <location 5400 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/InvalidKeException.java" 5401 line="34" 5402 column="47"/> 5403 </issue> 5404 5405 <issue 5406 id="NewApi" 5407 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 5408 errorLine1="public final class InvalidMajorVersionException extends IkeProtocolException {" 5409 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 5410 <location 5411 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/InvalidMajorVersionException.java" 5412 line="30" 5413 column="57"/> 5414 </issue> 5415 5416 <issue 5417 id="NewApi" 5418 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 5419 errorLine1="public final class InvalidMessageIdException extends IkeProtocolException {" 5420 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 5421 <location 5422 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/InvalidMessageIdException.java" 5423 line="30" 5424 column="54"/> 5425 </issue> 5426 5427 <issue 5428 id="NewApi" 5429 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 5430 errorLine1="public final class InvalidSelectorsException extends IkeProtocolException {" 5431 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 5432 <location 5433 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/InvalidSelectorsException.java" 5434 line="35" 5435 column="54"/> 5436 </issue> 5437 5438 <issue 5439 id="NewApi" 5440 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 5441 errorLine1="public final class InvalidSyntaxException extends IkeProtocolException {" 5442 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 5443 <location 5444 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/InvalidSyntaxException.java" 5445 line="33" 5446 column="51"/> 5447 </issue> 5448 5449 <issue 5450 id="NewApi" 5451 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 5452 errorLine1="public final class NoAdditionalSasException extends IkeProtocolException {" 5453 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 5454 <location 5455 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/NoAdditionalSasException.java" 5456 line="30" 5457 column="53"/> 5458 </issue> 5459 5460 <issue 5461 id="NewApi" 5462 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 5463 errorLine1="public final class NoValidProposalChosenException extends IkeProtocolException {" 5464 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 5465 <location 5466 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/NoValidProposalChosenException.java" 5467 line="33" 5468 column="59"/> 5469 </issue> 5470 5471 <issue 5472 id="NewApi" 5473 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.SaProposal`" 5474 errorLine1=" if (!(o instanceof SaProposal)) {" 5475 errorLine2=" ~~~~~~~~~~"> 5476 <location 5477 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/SaProposal.java" 5478 line="606" 5479 column="28"/> 5480 </issue> 5481 5482 <issue 5483 id="NewApi" 5484 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.SaProposal`" 5485 errorLine1=" SaProposal other = (SaProposal) o;" 5486 errorLine2=" ~~~~~~~~~~"> 5487 <location 5488 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/SaProposal.java" 5489 line="610" 5490 column="29"/> 5491 </issue> 5492 5493 <issue 5494 id="NewApi" 5495 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 5496 errorLine1="public class SinglePairRequiredException extends IkeProtocolException {" 5497 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 5498 <location 5499 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/SinglePairRequiredException.java" 5500 line="31" 5501 column="50"/> 5502 </issue> 5503 5504 <issue 5505 id="NewApi" 5506 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 5507 errorLine1="public final class TemporaryFailureException extends IkeProtocolException {" 5508 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 5509 <location 5510 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/TemporaryFailureException.java" 5511 line="31" 5512 column="54"/> 5513 </issue> 5514 5515 <issue 5516 id="NewApi" 5517 message="Call requires API level 31 (current min is 30): `android.net.ssl.SSLEngines#exportKeyingMaterial`" 5518 errorLine1=" SSLEngines.exportKeyingMaterial(" 5519 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 5520 <location 5521 file="packages/modules/IPsec/src/java/com/android/internal/net/eap/crypto/TlsSession.java" 5522 line="431" 5523 column="40"/> 5524 </issue> 5525 5526 <issue 5527 id="NewApi" 5528 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.ChildSessionParams`" 5529 errorLine1="public final class TransportModeChildSessionParams extends ChildSessionParams {" 5530 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 5531 <location 5532 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TransportModeChildSessionParams.java" 5533 line="30" 5534 column="60"/> 5535 </issue> 5536 5537 <issue 5538 id="NewApi" 5539 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.TransportModeChildSessionParams.Builder`" 5540 errorLine1=" new TransportModeChildSessionParams.Builder();" 5541 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 5542 <location 5543 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TransportModeChildSessionParams.java" 5544 line="60" 5545 column="17"/> 5546 </issue> 5547 5548 <issue 5549 id="NewApi" 5550 message="Cast from `TransportModeChildSessionParams` to `ChildSessionParams` requires API level 31 (current min is 30)" 5551 errorLine1=" super(childParams);" 5552 errorLine2=" ~~~~~~~~~~~"> 5553 <location 5554 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TransportModeChildSessionParams.java" 5555 line="95" 5556 column="19"/> 5557 </issue> 5558 5559 <issue 5560 id="NewApi" 5561 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 5562 errorLine1="public final class TsUnacceptableException extends IkeProtocolException {" 5563 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 5564 <location 5565 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/TsUnacceptableException.java" 5566 line="30" 5567 column="52"/> 5568 </issue> 5569 5570 <issue 5571 id="NewApi" 5572 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.ChildSessionParams`" 5573 errorLine1="public final class TunnelModeChildSessionParams extends ChildSessionParams {" 5574 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 5575 <location 5576 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TunnelModeChildSessionParams.java" 5577 line="52" 5578 column="57"/> 5579 </issue> 5580 5581 <issue 5582 id="NewApi" 5583 message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.TunnelModeChildSessionParams.Builder`" 5584 errorLine1=" TunnelModeChildSessionParams.Builder builder = new TunnelModeChildSessionParams.Builder();" 5585 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 5586 <location 5587 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TunnelModeChildSessionParams.java" 5588 line="88" 5589 column="56"/> 5590 </issue> 5591 5592 <issue 5593 id="NewApi" 5594 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.TunnelModeChildConfigRequest`" 5595 errorLine1=" public interface ConfigRequestIpv4Address extends TunnelModeChildConfigRequest {" 5596 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 5597 <location 5598 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TunnelModeChildSessionParams.java" 5599 line="151" 5600 column="55"/> 5601 </issue> 5602 5603 <issue 5604 id="NewApi" 5605 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.TunnelModeChildConfigRequest`" 5606 errorLine1=" public interface ConfigRequestIpv4DhcpServer extends TunnelModeChildConfigRequest {}" 5607 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 5608 <location 5609 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TunnelModeChildSessionParams.java" 5610 line="162" 5611 column="58"/> 5612 </issue> 5613 5614 <issue 5615 id="NewApi" 5616 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.TunnelModeChildConfigRequest`" 5617 errorLine1=" public interface ConfigRequestIpv4DnsServer extends TunnelModeChildConfigRequest {}" 5618 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 5619 <location 5620 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TunnelModeChildSessionParams.java" 5621 line="165" 5622 column="57"/> 5623 </issue> 5624 5625 <issue 5626 id="NewApi" 5627 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.TunnelModeChildConfigRequest`" 5628 errorLine1=" public interface ConfigRequestIpv4Netmask extends TunnelModeChildConfigRequest {}" 5629 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 5630 <location 5631 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TunnelModeChildSessionParams.java" 5632 line="168" 5633 column="55"/> 5634 </issue> 5635 5636 <issue 5637 id="NewApi" 5638 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.TunnelModeChildConfigRequest`" 5639 errorLine1=" public interface ConfigRequestIpv6Address extends TunnelModeChildConfigRequest {" 5640 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 5641 <location 5642 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TunnelModeChildSessionParams.java" 5643 line="171" 5644 column="55"/> 5645 </issue> 5646 5647 <issue 5648 id="NewApi" 5649 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.TunnelModeChildConfigRequest`" 5650 errorLine1=" public interface ConfigRequestIpv6DnsServer extends TunnelModeChildConfigRequest {}" 5651 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 5652 <location 5653 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TunnelModeChildSessionParams.java" 5654 line="189" 5655 column="57"/> 5656 </issue> 5657 5658 <issue 5659 id="NewApi" 5660 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.ChildSessionParams`" 5661 errorLine1=" if (!super.equals(o) || !(o instanceof ChildSessionParams)) {" 5662 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 5663 <location 5664 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TunnelModeChildSessionParams.java" 5665 line="198" 5666 column="48"/> 5667 </issue> 5668 5669 <issue 5670 id="NewApi" 5671 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams`" 5672 errorLine1=" TunnelModeChildSessionParams other = (TunnelModeChildSessionParams) o;" 5673 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 5674 <location 5675 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TunnelModeChildSessionParams.java" 5676 line="202" 5677 column="47"/> 5678 </issue> 5679 5680 <issue 5681 id="NewApi" 5682 message="Cast from `TunnelModeChildSessionParams` to `ChildSessionParams` requires API level 31 (current min is 30)" 5683 errorLine1=" super(childParams);" 5684 errorLine2=" ~~~~~~~~~~~"> 5685 <location 5686 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TunnelModeChildSessionParams.java" 5687 line="228" 5688 column="19"/> 5689 </issue> 5690 5691 <issue 5692 id="NewApi" 5693 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 5694 errorLine1="public final class UnrecognizedIkeProtocolException extends IkeProtocolException {" 5695 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 5696 <location 5697 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/UnrecognizedIkeProtocolException.java" 5698 line="32" 5699 column="61"/> 5700 </issue> 5701 5702 <issue 5703 id="NewApi" 5704 message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`" 5705 errorLine1="public final class UnsupportedCriticalPayloadException extends IkeProtocolException {" 5706 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 5707 <location 5708 file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/UnsupportedCriticalPayloadException.java" 5709 line="33" 5710 column="64"/> 5711 </issue> 5712 5713</issues> 5714