5714 lines
259 KiB
XML
5714 lines
259 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<issues format="5" by="lint 4.1.0" client="cli" variant="all" version="4.1.0">
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1="public final class AuthenticationFailedException extends IkeProtocolException {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/AuthenticationFailedException.java"
|
|
line="28"
|
|
column="58"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1="public final class ChildSaNotFoundException extends IkeProtocolException {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/ChildSaNotFoundException.java"
|
|
line="30"
|
|
column="53"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.SaProposal`"
|
|
errorLine1="public final class ChildSaProposal extends SaProposal {"
|
|
errorLine2=" ~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/ChildSaProposal.java"
|
|
line="54"
|
|
column="44"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.ChildSaProposal`"
|
|
errorLine1=" && isTransformSelectedFrom(mEsns, ((ChildSaProposal) reqProposal).mEsns);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/ChildSaProposal.java"
|
|
line="252"
|
|
column="53"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.ChildSaProposal`"
|
|
errorLine1=" && isTransformSelectedFrom(mEsns, ((ChildSaProposal) saProposal).mEsns);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/ChildSaProposal.java"
|
|
line="262"
|
|
column="53"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.ChildSaProposal`"
|
|
errorLine1=" if (!super.equals(o) || !(o instanceof ChildSaProposal)) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/ChildSaProposal.java"
|
|
line="281"
|
|
column="48"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.ChildSaProposal`"
|
|
errorLine1=" return Arrays.equals(mEsns, ((ChildSaProposal) o).mEsns);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/ChildSaProposal.java"
|
|
line="285"
|
|
column="39"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.ChildSessionParams`"
|
|
errorLine1=" if (!(o instanceof ChildSessionParams)) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/ChildSessionParams.java"
|
|
line="276"
|
|
column="28"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.ChildSessionParams`"
|
|
errorLine1=" ChildSessionParams other = (ChildSessionParams) o;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/ChildSessionParams.java"
|
|
line="280"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.IkeInternalException`"
|
|
errorLine1=" mUserCallback.onClosedExceptionally(new IkeInternalException(e));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="639"
|
|
column="61"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeInternalException` to `IkeException` requires API level 31 (current min is 30)"
|
|
errorLine1=" mUserCallback.onClosedExceptionally(new IkeInternalException(e));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="639"
|
|
column="61"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeException`"
|
|
errorLine1=" error instanceof IkeException"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="692"
|
|
column="34"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeException`"
|
|
errorLine1=" ? (IkeException) error"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="693"
|
|
column="28"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.IkeInternalException`"
|
|
errorLine1=" : new IkeInternalException(error);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="694"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" loge("Child Session fatal error", ikeException);"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="700"
|
|
column="43"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeException` to `Exception` requires API level 31 (current min is 30)"
|
|
errorLine1=" handleChildFatalError(exception);"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="882"
|
|
column="35"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.TemporaryFailureException`"
|
|
errorLine1=" return createChildResult.exception instanceof TemporaryFailureException;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="1054"
|
|
column="59"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="1252"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="1310"
|
|
column="35"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1=" } catch (IkeProtocolException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="1323"
|
|
column="30"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeProtocolException` to `Exception` requires API level 31 (current min is 30)"
|
|
errorLine1=" handleChildFatalError(e);"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="1325"
|
|
column="47"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeException` to `Exception` requires API level 31 (current min is 30)"
|
|
errorLine1=" resp.registeredSpi, createChildResult.exception);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="1501"
|
|
column="57"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `ChildSaProposal` to `SaProposal` requires API level 31 (current min is 30)"
|
|
errorLine1=" byte respProposalNumber = reqSaPayload.getNegotiatedProposalNumber(saProposal);"
|
|
errorLine2=" ~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="1657"
|
|
column="84"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.NoValidProposalChosenException`"
|
|
errorLine1=" } catch (NoValidProposalChosenException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="1670"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `NoValidProposalChosenException` to `IkeProtocolException` requires API level 31 (current min is 30)"
|
|
errorLine1=" handleCreationFailureAndBackToIdle(e);"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="1671"
|
|
column="52"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.NoValidProposalChosenException`"
|
|
errorLine1=" new NoValidProposalChosenException("Fail to assign inbound SPI", e));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="1675"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `NoValidProposalChosenException` to `IkeProtocolException` requires API level 31 (current min is 30)"
|
|
errorLine1=" new NoValidProposalChosenException("Fail to assign inbound SPI", e));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="1675"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.NoValidProposalChosenException`"
|
|
errorLine1=" new NoValidProposalChosenException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="1742"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `NoValidProposalChosenException` to `IkeProtocolException` requires API level 31 (current min is 30)"
|
|
errorLine1=" new NoValidProposalChosenException("
|
|
errorLine2=" ^">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="1742"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1=" if (error instanceof IkeProtocolException) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="1753"
|
|
column="42"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1=" handleCreationFailureAndBackToIdle((IkeProtocolException) error);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="1754"
|
|
column="61"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.NoValidProposalChosenException`"
|
|
errorLine1=" new NoValidProposalChosenException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="1757"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `NoValidProposalChosenException` to `IkeProtocolException` requires API level 31 (current min is 30)"
|
|
errorLine1=" new NoValidProposalChosenException("
|
|
errorLine2=" ^">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="1757"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" "Error in validating Create Child request", error));"
|
|
errorLine2=" ~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="1758"
|
|
column="85"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeProtocolException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" loge("Received invalid Rekey Child request. Reject with error notification", e);"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="1789"
|
|
column="90"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1=" } catch (IkeProtocolException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="1910"
|
|
column="30"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeProtocolException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" e);"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="1914"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams`"
|
|
errorLine1=" return ((TunnelModeChildSessionParams) params).getConfigurationAttributesInternal();"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="2044"
|
|
column="26"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" } catch (InvalidSyntaxException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="2274"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `IkeException` requires API level 31 (current min is 30)"
|
|
errorLine1=" return new CreateChildResult(CREATE_STATUS_CHILD_ERROR_INVALID_MSG, e);"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="2275"
|
|
column="85"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeProtocolException` to `IkeException` requires API level 31 (current min is 30)"
|
|
errorLine1=" CREATE_STATUS_CHILD_ERROR_RCV_NOTIFY, exception);"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="2291"
|
|
column="75"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" } catch (InvalidSyntaxException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="2295"
|
|
column="30"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `IkeException` requires API level 31 (current min is 30)"
|
|
errorLine1=" return new CreateChildResult(CREATE_STATUS_CHILD_ERROR_INVALID_MSG, e);"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="2296"
|
|
column="93"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.NoValidProposalChosenException`"
|
|
errorLine1=" throw new NoValidProposalChosenException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="2346"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1=" } catch (IkeProtocolException"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="2359"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" if (e instanceof InvalidSyntaxException) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="2367"
|
|
column="34"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `IkeException` requires API level 31 (current min is 30)"
|
|
errorLine1=" CREATE_STATUS_CHILD_ERROR_INVALID_MSG, (InvalidSyntaxException) e);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="2369"
|
|
column="68"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1=" } else if (e instanceof IkeProtocolException) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="2370"
|
|
column="41"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="2373"
|
|
column="29"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `IkeException` requires API level 31 (current min is 30)"
|
|
errorLine1=" new InvalidSyntaxException("
|
|
errorLine2=" ^">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="2373"
|
|
column="29"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.IkeInternalException`"
|
|
errorLine1=" CREATE_STATUS_CHILD_ERROR_INVALID_MSG, new IkeInternalException(e));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="2377"
|
|
column="68"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeInternalException` to `IkeException` requires API level 31 (current min is 30)"
|
|
errorLine1=" CREATE_STATUS_CHILD_ERROR_INVALID_MSG, new IkeInternalException(e));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="2377"
|
|
column="68"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Received invalid exchange type: " + exchangeType);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="2439"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="2459"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.TsUnacceptableException`"
|
|
errorLine1=" throw new TsUnacceptableException();"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="2488"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="2517"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidKeException`"
|
|
errorLine1=" throw new InvalidKeException(dhTransforms[0].id);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="2521"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Received unexpected KE Payload.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ChildSessionStateMachine.java"
|
|
line="2527"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `EapAkaPrimeConfig` to `EapAkaConfig` requires API level 31 (current min is 30)"
|
|
errorLine1=" super(context, eapIdentity, eapAkaPrimeConfig);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/EapAkaPrimeMethodStateMachine.java"
|
|
line="119"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.eap.EapSessionConfig.Builder`"
|
|
errorLine1=" EapSessionConfig.Builder builder = new EapSessionConfig.Builder();"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java"
|
|
line="89"
|
|
column="44"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapSimConfig`"
|
|
errorLine1=" return (EapSimConfig) mEapConfigs.get(EapMethodConfig.EAP_TYPE_SIM);"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java"
|
|
line="142"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapAkaConfig`"
|
|
errorLine1=" return (EapAkaConfig) mEapConfigs.get(EapMethodConfig.EAP_TYPE_AKA);"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java"
|
|
line="152"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapAkaPrimeConfig`"
|
|
errorLine1=" return (EapAkaPrimeConfig) mEapConfigs.get(EapMethodConfig.EAP_TYPE_AKA_PRIME);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java"
|
|
line="162"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapMsChapV2Config`"
|
|
errorLine1=" return (EapMsChapV2Config) mEapConfigs.get(EapMethodConfig.EAP_TYPE_MSCHAP_V2);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java"
|
|
line="172"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapTtlsConfig`"
|
|
errorLine1=" return (EapTtlsConfig) mEapConfigs.get(EapMethodConfig.EAP_TYPE_TTLS);"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java"
|
|
line="196"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig`"
|
|
errorLine1=" if (!(o instanceof EapSessionConfig)) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java"
|
|
line="208"
|
|
column="28"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig`"
|
|
errorLine1=" EapSessionConfig other = (EapSessionConfig) o;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java"
|
|
line="212"
|
|
column="35"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapMethodConfig`"
|
|
errorLine1=" if (!(o instanceof EapMethodConfig)) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java"
|
|
line="506"
|
|
column="32"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapMethodConfig`"
|
|
errorLine1=" return mMethodType == ((EapMethodConfig) o).mMethodType;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java"
|
|
line="510"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapMethodConfig`"
|
|
errorLine1=" public abstract static class EapUiccConfig extends EapMethodConfig {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java"
|
|
line="524"
|
|
column="56"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapAkaConfig`"
|
|
errorLine1=" public static class EapAkaPrimeConfig extends EapAkaConfig {"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java"
|
|
line="649"
|
|
column="51"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapAkaPrimeConfig`"
|
|
errorLine1=" if (!super.equals(o) || !(o instanceof EapAkaPrimeConfig)) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java"
|
|
line="729"
|
|
column="52"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapAkaPrimeConfig`"
|
|
errorLine1=" EapAkaPrimeConfig other = (EapAkaPrimeConfig) o;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java"
|
|
line="733"
|
|
column="40"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapMethodConfig`"
|
|
errorLine1=" public static class EapMsChapV2Config extends EapMethodConfig {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java"
|
|
line="743"
|
|
column="51"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapMsChapV2Config`"
|
|
errorLine1=" if (!super.equals(o) || !(o instanceof EapMsChapV2Config)) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java"
|
|
line="817"
|
|
column="52"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapMsChapV2Config`"
|
|
errorLine1=" EapMsChapV2Config other = (EapMsChapV2Config) o;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java"
|
|
line="821"
|
|
column="40"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapMethodConfig`"
|
|
errorLine1=" public static class EapTtlsConfig extends EapMethodConfig {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java"
|
|
line="830"
|
|
column="47"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapTtlsConfig`"
|
|
errorLine1=" if (!super.equals(o) || !(o instanceof EapTtlsConfig)) {"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java"
|
|
line="949"
|
|
column="52"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapTtlsConfig`"
|
|
errorLine1=" EapTtlsConfig other = (EapTtlsConfig) o;"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/eap/EapSessionConfig.java"
|
|
line="953"
|
|
column="36"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapSimConfig`"
|
|
errorLine1=" EapSimConfig eapSimConfig = (EapSimConfig) eapMethodConfig;"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/EapStateMachine.java"
|
|
line="327"
|
|
column="50"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapAkaConfig`"
|
|
errorLine1=" EapAkaConfig eapAkaConfig = (EapAkaConfig) eapMethodConfig;"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/EapStateMachine.java"
|
|
line="334"
|
|
column="50"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapAkaPrimeConfig`"
|
|
errorLine1=" EapAkaPrimeConfig eapAkaPrimeConfig = (EapAkaPrimeConfig) eapMethodConfig;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/EapStateMachine.java"
|
|
line="343"
|
|
column="60"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapMsChapV2Config`"
|
|
errorLine1=" EapMsChapV2Config eapMsChapV2Config = (EapMsChapV2Config) eapMethodConfig;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/EapStateMachine.java"
|
|
line="347"
|
|
column="60"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.eap.EapSessionConfig.EapTtlsConfig`"
|
|
errorLine1=" EapTtlsConfig eapTtlsConfig = (EapTtlsConfig) eapMethodConfig;"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/EapStateMachine.java"
|
|
line="350"
|
|
column="52"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1="public final class FailedCpRequiredException extends IkeProtocolException {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/FailedCpRequiredException.java"
|
|
line="31"
|
|
column="54"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("BACKOFF_TIMER payload with an invalid encoding");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ike3gpp/Ike3gppBackoffTimerUtils.java"
|
|
line="44"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("SNSSAI does not match expected length");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ike3gpp/Ike3gppN1ModeUtils.java"
|
|
line="64"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeAuthDigitalSignPayload.java"
|
|
line="240"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException("Signature verification failed.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeAuthDigitalSignPayload.java"
|
|
line="278"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException(e);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeAuthDigitalSignPayload.java"
|
|
line="281"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeAuthDigitalSignPayload.java"
|
|
line="331"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException("Unsupported authentication method");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeAuthPayload.java"
|
|
line="89"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException("Signature verification failed.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeAuthPskPayload.java"
|
|
line="124"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeCertPayload.java"
|
|
line="96"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeCertPayload.java"
|
|
line="99"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException("Unrecognized certificate encoding type.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeCertPayload.java"
|
|
line="102"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException(e);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeCertPayload.java"
|
|
line="176"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeCertX509CertPayload.java"
|
|
line="59"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException("Unexpected trailing bytes.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeCertX509CertPayload.java"
|
|
line="63"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException(e);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeCertX509CertPayload.java"
|
|
line="66"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="160"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Found more than one INTERNAL_IP4_NETMASK");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="165"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Invalid configuration length");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="196"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" | InvalidSyntaxException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="219"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeConfigRequest`"
|
|
errorLine1=" implements IkeConfigRequest {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="380"
|
|
column="24"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.TunnelModeChildConfigRequest`"
|
|
errorLine1=" implements TunnelModeChildConfigRequest {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="392"
|
|
column="24"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.TunnelModeChildConfigRequest`"
|
|
errorLine1=" extends TunnelModeChildConfigAttribute implements TunnelModeChildConfigRequest {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="408"
|
|
column="63"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Invalid IPv4 address.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="435"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Invalid attribute value", e);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="439"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeConfigRequest`"
|
|
errorLine1=" implements IkeSessionParams.IkeConfigRequest {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="483"
|
|
column="24"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Invalid IPv4 address.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="509"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Invalid attribute value", e);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="513"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequestIpv4Address`"
|
|
errorLine1=" implements ConfigRequestIpv4Address {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="553"
|
|
column="24"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequestIpv4Netmask`"
|
|
errorLine1=" implements ConfigRequestIpv4Netmask {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="587"
|
|
column="24"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Invalid attribute value", e);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="606"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequestIpv4DhcpServer`"
|
|
errorLine1=" implements ConfigRequestIpv4DhcpServer {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="618"
|
|
column="24"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequestIpv4DnsServer`"
|
|
errorLine1=" implements ConfigRequestIpv4DnsServer {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="651"
|
|
column="24"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Invalid attribute value", e);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="737"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.ConfigRequestIpv4PcscfServer`"
|
|
errorLine1=" implements ConfigRequestIpv4PcscfServer {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="786"
|
|
column="24"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.TunnelModeChildConfigRequest`"
|
|
errorLine1=" extends TunnelModeChildConfigAttribute implements TunnelModeChildConfigRequest {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="818"
|
|
column="63"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Invalid IPv6 address.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="845"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Invalid attribute value", e);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="849"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeConfigRequest`"
|
|
errorLine1=" implements IkeConfigRequest {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="893"
|
|
column="24"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Invalid IPv6 address.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="919"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Invalid attribute value", e);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="923"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Invalid attribute value", e);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="1006"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequestIpv6Address`"
|
|
errorLine1=" extends TunnelModeChildConfigAttrIpv6AddrRangeBase implements ConfigRequestIpv6Address {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="1057"
|
|
column="75"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequestIpv6DnsServer`"
|
|
errorLine1=" implements ConfigRequestIpv6DnsServer {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="1125"
|
|
column="24"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.ConfigRequestIpv6PcscfServer`"
|
|
errorLine1=" implements ConfigRequestIpv6PcscfServer {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeConfigPayload.java"
|
|
line="1151"
|
|
column="24"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Invalid Delete IKE Payload.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeDeletePayload.java"
|
|
line="89"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Invalid Delete Child Payload.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeDeletePayload.java"
|
|
line="97"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Unrecognized protocol in Delete Payload.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeDeletePayload.java"
|
|
line="105"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIdentification`"
|
|
errorLine1="public final class IkeDerAsn1DnIdentification extends IkeIdentification {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java"
|
|
line="34"
|
|
column="55"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeDerAsn1DnIdentification#derAsn1Dn`"
|
|
errorLine1=" derAsn1Dn = new X500Principal(derAsn1DnBytes);"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java"
|
|
line="51"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException(e);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java"
|
|
line="54"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeDerAsn1DnIdentification#derAsn1Dn`"
|
|
errorLine1=" this.derAsn1Dn = derAsn1Dn;"
|
|
errorLine2=" ~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java"
|
|
line="67"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.IkeDerAsn1DnIdentification`"
|
|
errorLine1=" return new IkeDerAsn1DnIdentification("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java"
|
|
line="82"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeDerAsn1DnIdentification#derAsn1Dn`"
|
|
errorLine1=" DER_ASN1_DN_KEY, PersistableBundleUtils.fromByteArray(derAsn1Dn.getEncoded()));"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java"
|
|
line="95"
|
|
column="71"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeDerAsn1DnIdentification#derAsn1Dn`"
|
|
errorLine1=" return Objects.hash(idType, derAsn1Dn);"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java"
|
|
line="103"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeDerAsn1DnIdentification`"
|
|
errorLine1=" if (!(o instanceof IkeDerAsn1DnIdentification)) return false;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java"
|
|
line="109"
|
|
column="28"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeDerAsn1DnIdentification`"
|
|
errorLine1=" return derAsn1Dn.equals(((IkeDerAsn1DnIdentification) o).derAsn1Dn);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java"
|
|
line="112"
|
|
column="35"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeDerAsn1DnIdentification#derAsn1Dn`"
|
|
errorLine1=" return derAsn1Dn.equals(((IkeDerAsn1DnIdentification) o).derAsn1Dn);"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java"
|
|
line="112"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeDerAsn1DnIdentification#derAsn1Dn`"
|
|
errorLine1=" return derAsn1Dn.equals(((IkeDerAsn1DnIdentification) o).derAsn1Dn);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java"
|
|
line="112"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeDerAsn1DnIdentification#derAsn1Dn`"
|
|
errorLine1=" if (!derAsn1Dn.equals(endCert.getSubjectX500Principal())) {"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java"
|
|
line="125"
|
|
column="14"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java"
|
|
line="126"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeDerAsn1DnIdentification#derAsn1Dn`"
|
|
errorLine1=" return derAsn1Dn.getEncoded();"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeDerAsn1DnIdentification.java"
|
|
line="139"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIdentification`"
|
|
errorLine1="public class IkeFqdnIdentification extends IkeIdentification {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java"
|
|
line="31"
|
|
column="44"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeFqdnIdentification#fqdn`"
|
|
errorLine1=" fqdn = new String(fqdnBytes, ASCII);"
|
|
errorLine2=" ~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java"
|
|
line="47"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeFqdnIdentification#fqdn`"
|
|
errorLine1=" this.fqdn = fqdn;"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java"
|
|
line="62"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.IkeFqdnIdentification`"
|
|
errorLine1=" return new IkeFqdnIdentification(in.getString(FQDN_KEY));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java"
|
|
line="74"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeFqdnIdentification#fqdn`"
|
|
errorLine1=" result.putString(FQDN_KEY, fqdn);"
|
|
errorLine2=" ~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java"
|
|
line="85"
|
|
column="36"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeFqdnIdentification#fqdn`"
|
|
errorLine1=" return Objects.hash(idType, fqdn);"
|
|
errorLine2=" ~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java"
|
|
line="93"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeFqdnIdentification`"
|
|
errorLine1=" if (!(o instanceof IkeFqdnIdentification)) return false;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java"
|
|
line="99"
|
|
column="28"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeFqdnIdentification`"
|
|
errorLine1=" return fqdn.equals(((IkeFqdnIdentification) o).fqdn);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java"
|
|
line="102"
|
|
column="30"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeFqdnIdentification#fqdn`"
|
|
errorLine1=" return fqdn.equals(((IkeFqdnIdentification) o).fqdn);"
|
|
errorLine2=" ~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java"
|
|
line="102"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeFqdnIdentification#fqdn`"
|
|
errorLine1=" return fqdn.equals(((IkeFqdnIdentification) o).fqdn);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java"
|
|
line="102"
|
|
column="28"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeFqdnIdentification#fqdn`"
|
|
errorLine1=" validateEndCertSanOrThrow(endCert, SAN_TYPE_DNS, fqdn);"
|
|
errorLine2=" ~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java"
|
|
line="116"
|
|
column="58"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeFqdnIdentification#fqdn`"
|
|
errorLine1=" return fqdn.getBytes(ASCII);"
|
|
errorLine2=" ~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeFqdnIdentification.java"
|
|
line="127"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("IKE message is too short to contain a header");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeHeader.java"
|
|
line="136"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidMajorVersionException`"
|
|
errorLine1=" throw new InvalidMajorVersionException(majorVersion);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeHeader.java"
|
|
line="188"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Major version is smaller than 2.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeHeader.java"
|
|
line="195"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Invalid IKE Exchange Type.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeHeader.java"
|
|
line="208"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Invalid IKE Message Length.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeHeader.java"
|
|
line="211"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException(getTypeString() + " is too short.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeIdPayload.java"
|
|
line="65"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeIpv4AddrIdentification` to `IkeIdentification` requires API level 31 (current min is 30)"
|
|
errorLine1=" ikeId = new IkeIpv4AddrIdentification(idData);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeIdPayload.java"
|
|
line="79"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeFqdnIdentification` to `IkeIdentification` requires API level 31 (current min is 30)"
|
|
errorLine1=" ikeId = new IkeFqdnIdentification(idData);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeIdPayload.java"
|
|
line="82"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeRfc822AddrIdentification` to `IkeIdentification` requires API level 31 (current min is 30)"
|
|
errorLine1=" ikeId = new IkeRfc822AddrIdentification(idData);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeIdPayload.java"
|
|
line="85"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeIpv6AddrIdentification` to `IkeIdentification` requires API level 31 (current min is 30)"
|
|
errorLine1=" ikeId = new IkeIpv6AddrIdentification(idData);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeIdPayload.java"
|
|
line="88"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeDerAsn1DnIdentification` to `IkeIdentification` requires API level 31 (current min is 30)"
|
|
errorLine1=" ikeId = new IkeDerAsn1DnIdentification(idData);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeIdPayload.java"
|
|
line="91"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.IkeKeyIdIdentification`"
|
|
errorLine1=" ikeId = new IkeKeyIdIdentification(idData);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeIdPayload.java"
|
|
line="94"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeKeyIdIdentification` to `IkeIdentification` requires API level 31 (current min is 30)"
|
|
errorLine1=" ikeId = new IkeKeyIdIdentification(idData);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeIdPayload.java"
|
|
line="94"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException("Unsupported ID type: " + idType);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeIdPayload.java"
|
|
line="97"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException("End certificate does not contain SAN");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIdentification.java"
|
|
line="169"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIdentification.java"
|
|
line="180"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException(e);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIdentification.java"
|
|
line="183"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeNonProtocolException`"
|
|
errorLine1="public final class IkeInternalException extends IkeNonProtocolException {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/IkeInternalException.java"
|
|
line="28"
|
|
column="49"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIdentification`"
|
|
errorLine1="public final class IkeIpv4AddrIdentification extends IkeIdentification {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java"
|
|
line="30"
|
|
column="54"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv4AddrIdentification#ipv4Address`"
|
|
errorLine1=" ipv4Address = (Inet4Address) (Inet4Address.getByAddress(ipv4AddrBytes));"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java"
|
|
line="45"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException(e);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java"
|
|
line="47"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv4AddrIdentification#ipv4Address`"
|
|
errorLine1=" ipv4Address = address;"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java"
|
|
line="58"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.IkeIpv4AddrIdentification`"
|
|
errorLine1=" return new IkeIpv4AddrIdentification("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java"
|
|
line="70"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv4AddrIdentification#ipv4Address`"
|
|
errorLine1=" result.putString(IP_ADDRESS_KEY, ipv4Address.getHostAddress());"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java"
|
|
line="82"
|
|
column="42"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv4AddrIdentification#ipv4Address`"
|
|
errorLine1=" return Objects.hash(idType, ipv4Address);"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java"
|
|
line="90"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv4AddrIdentification`"
|
|
errorLine1=" if (!(o instanceof IkeIpv4AddrIdentification)) return false;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java"
|
|
line="96"
|
|
column="28"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv4AddrIdentification`"
|
|
errorLine1=" return ipv4Address.equals(((IkeIpv4AddrIdentification) o).ipv4Address);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java"
|
|
line="99"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv4AddrIdentification#ipv4Address`"
|
|
errorLine1=" return ipv4Address.equals(((IkeIpv4AddrIdentification) o).ipv4Address);"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java"
|
|
line="99"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv4AddrIdentification#ipv4Address`"
|
|
errorLine1=" return ipv4Address.equals(((IkeIpv4AddrIdentification) o).ipv4Address);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java"
|
|
line="99"
|
|
column="35"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv4AddrIdentification#ipv4Address`"
|
|
errorLine1=" validateEndCertSanOrThrow(endCert, SAN_TYPE_IP_ADDRESS, ipv4Address.getHostAddress());"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java"
|
|
line="113"
|
|
column="65"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv4AddrIdentification#ipv4Address`"
|
|
errorLine1=" return ipv4Address.getAddress();"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv4AddrIdentification.java"
|
|
line="124"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIdentification`"
|
|
errorLine1="public class IkeIpv6AddrIdentification extends IkeIdentification {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java"
|
|
line="30"
|
|
column="48"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv6AddrIdentification#ipv6Address`"
|
|
errorLine1=" ipv6Address = (Inet6Address) (Inet6Address.getByAddress(ipv6AddrBytes));"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java"
|
|
line="46"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException(e);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java"
|
|
line="48"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv6AddrIdentification#ipv6Address`"
|
|
errorLine1=" ipv6Address = address;"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java"
|
|
line="59"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.IkeIpv6AddrIdentification`"
|
|
errorLine1=" return new IkeIpv6AddrIdentification("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java"
|
|
line="71"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv6AddrIdentification#ipv6Address`"
|
|
errorLine1=" result.putString(IP_ADDRESS_KEY, ipv6Address.getHostAddress());"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java"
|
|
line="83"
|
|
column="42"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv6AddrIdentification#ipv6Address`"
|
|
errorLine1=" return Objects.hash(idType, ipv6Address);"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java"
|
|
line="91"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv6AddrIdentification`"
|
|
errorLine1=" if (!(o instanceof IkeIpv6AddrIdentification)) return false;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java"
|
|
line="97"
|
|
column="28"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv6AddrIdentification`"
|
|
errorLine1=" return ipv6Address.equals(((IkeIpv6AddrIdentification) o).ipv6Address);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java"
|
|
line="100"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv6AddrIdentification#ipv6Address`"
|
|
errorLine1=" return ipv6Address.equals(((IkeIpv6AddrIdentification) o).ipv6Address);"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java"
|
|
line="100"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv6AddrIdentification#ipv6Address`"
|
|
errorLine1=" return ipv6Address.equals(((IkeIpv6AddrIdentification) o).ipv6Address);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java"
|
|
line="100"
|
|
column="35"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv6AddrIdentification#ipv6Address`"
|
|
errorLine1=" validateEndCertSanOrThrow(endCert, SAN_TYPE_IP_ADDRESS, ipv6Address.getHostAddress());"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java"
|
|
line="114"
|
|
column="65"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIpv6AddrIdentification#ipv6Address`"
|
|
errorLine1=" return ipv6Address.getAddress();"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeIpv6AddrIdentification.java"
|
|
line="125"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Invalid KE payload length for provided DH group.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeKePayload.java"
|
|
line="179"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIdentification`"
|
|
errorLine1="public final class IkeKeyIdIdentification extends IkeIdentification {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeKeyIdIdentification.java"
|
|
line="35"
|
|
column="51"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeKeyIdIdentification#keyId`"
|
|
errorLine1=" this.keyId = keyId;"
|
|
errorLine2=" ~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeKeyIdIdentification.java"
|
|
line="47"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.IkeKeyIdIdentification`"
|
|
errorLine1=" return new IkeKeyIdIdentification(PersistableBundleUtils.toByteArray(keyIdBundle));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeKeyIdIdentification.java"
|
|
line="62"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeKeyIdIdentification#keyId`"
|
|
errorLine1=" result.putPersistableBundle(KEY_ID_KEY, PersistableBundleUtils.fromByteArray(keyId));"
|
|
errorLine2=" ~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeKeyIdIdentification.java"
|
|
line="73"
|
|
column="86"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeKeyIdIdentification#keyId`"
|
|
errorLine1=" return Objects.hash(idType, Arrays.hashCode(keyId));"
|
|
errorLine2=" ~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeKeyIdIdentification.java"
|
|
line="81"
|
|
column="53"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeKeyIdIdentification`"
|
|
errorLine1=" if (!(o instanceof IkeKeyIdIdentification)) return false;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeKeyIdIdentification.java"
|
|
line="87"
|
|
column="28"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeKeyIdIdentification`"
|
|
errorLine1=" return Arrays.equals(keyId, ((IkeKeyIdIdentification) o).keyId);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeKeyIdIdentification.java"
|
|
line="90"
|
|
column="39"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeKeyIdIdentification#keyId`"
|
|
errorLine1=" return Arrays.equals(keyId, ((IkeKeyIdIdentification) o).keyId);"
|
|
errorLine2=" ~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeKeyIdIdentification.java"
|
|
line="90"
|
|
column="30"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeKeyIdIdentification#keyId`"
|
|
errorLine1=" return Arrays.equals(keyId, ((IkeKeyIdIdentification) o).keyId);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeKeyIdIdentification.java"
|
|
line="90"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeKeyIdIdentification.java"
|
|
line="103"
|
|
column="15"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeKeyIdIdentification#keyId`"
|
|
errorLine1=" return keyId;"
|
|
errorLine2=" ~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeKeyIdIdentification.java"
|
|
line="115"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java"
|
|
line="173"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java"
|
|
line="191"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.UnsupportedCriticalPayloadException`"
|
|
errorLine1=" throw new UnsupportedCriticalPayloadException(unsupportedCriticalPayloadList);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java"
|
|
line="196"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidMessageIdException`"
|
|
errorLine1=" throw new InvalidMessageIdException(header.messageId);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java"
|
|
line="548"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" new InvalidSyntaxException("Malformed IKE Payload"));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java"
|
|
line="565"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `IkeException` requires API level 31 (current min is 30)"
|
|
errorLine1=" new InvalidSyntaxException("Malformed IKE Payload"));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java"
|
|
line="565"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1=" } catch (IkeProtocolException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java"
|
|
line="566"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeProtocolException` to `IkeException` requires API level 31 (current min is 30)"
|
|
errorLine1=" return new DecodeResultUnprotectedError(e);"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java"
|
|
line="567"
|
|
column="57"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" new InvalidSyntaxException("Message contains unprotected payloads"));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java"
|
|
line="603"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `IkeException` requires API level 31 (current min is 30)"
|
|
errorLine1=" new InvalidSyntaxException("Message contains unprotected payloads"));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java"
|
|
line="603"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeException`"
|
|
errorLine1=" } catch (IkeException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java"
|
|
line="618"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" e);"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java"
|
|
line="627"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" new InvalidSyntaxException("Malformed IKE Payload", e), firstPacket);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java"
|
|
line="694"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `IkeException` requires API level 31 (current min is 30)"
|
|
errorLine1=" new InvalidSyntaxException("Malformed IKE Payload", e), firstPacket);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java"
|
|
line="694"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1=" } catch (IkeProtocolException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java"
|
|
line="695"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeProtocolException` to `IkeException` requires API level 31 (current min is 30)"
|
|
errorLine1=" return new DecodeResultProtectedError(e, firstPacket);"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java"
|
|
line="696"
|
|
column="55"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidMessageIdException`"
|
|
errorLine1=" throw new InvalidMessageIdException(header.messageId);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java"
|
|
line="712"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Malformed IKE Payload", e);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java"
|
|
line="726"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.IkeInternalException`"
|
|
errorLine1=" throw new IkeInternalException(e);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java"
|
|
line="728"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1=" } catch (IkeProtocolException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java"
|
|
line="736"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeProtocolException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" e);"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeMessage.java"
|
|
line="742"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeNonProtocolException`"
|
|
errorLine1="public final class IkeNetworkLostException extends IkeNonProtocolException {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/IkeNetworkLostException.java"
|
|
line="49"
|
|
column="52"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeException`"
|
|
errorLine1="public abstract class IkeNonProtocolException extends IkeException {"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/IkeNonProtocolException.java"
|
|
line="22"
|
|
column="55"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNoncePayload.java"
|
|
line="60"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Invalid SPI Size: " + spiSize);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java"
|
|
line="290"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java"
|
|
line="299"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java"
|
|
line="304"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java"
|
|
line="316"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java"
|
|
line="366"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" } catch (InvalidSyntaxException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java"
|
|
line="437"
|
|
column="18"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" throw new IllegalArgumentException(e);"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java"
|
|
line="438"
|
|
column="48"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" } catch (InvalidSyntaxException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java"
|
|
line="464"
|
|
column="18"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" throw new IllegalArgumentException(e);"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java"
|
|
line="465"
|
|
column="48"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSelectorsException`"
|
|
errorLine1=" return new InvalidSelectorsException(spi, notifyData);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java"
|
|
line="533"
|
|
column="28"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.UnrecognizedIkeProtocolException`"
|
|
errorLine1=" return new UnrecognizedIkeProtocolException(notifyType, notifyData);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java"
|
|
line="539"
|
|
column="28"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException(e);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeNotifyPayload.java"
|
|
line="543"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkePayloadFactory.java"
|
|
line="145"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Invalid Payload Length: Payload length is too long.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkePayloadFactory.java"
|
|
line="152"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkePayloadFactory.java"
|
|
line="197"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkePayloadFactory.java"
|
|
line="205"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeException`"
|
|
errorLine1="public abstract class IkeProtocolException extends IkeException {"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/IkeProtocolException.java"
|
|
line="37"
|
|
column="52"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeIdentification`"
|
|
errorLine1="public final class IkeRfc822AddrIdentification extends IkeIdentification {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java"
|
|
line="31"
|
|
column="56"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeRfc822AddrIdentification#rfc822Name`"
|
|
errorLine1=" rfc822Name = new String(rfc822NameBytes, UTF8);"
|
|
errorLine2=" ~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java"
|
|
line="46"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeRfc822AddrIdentification#rfc822Name`"
|
|
errorLine1=" this.rfc822Name = rfc822Name;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java"
|
|
line="57"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.IkeRfc822AddrIdentification`"
|
|
errorLine1=" return new IkeRfc822AddrIdentification(in.getString(RFC822_NAME_KEY));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java"
|
|
line="69"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeRfc822AddrIdentification#rfc822Name`"
|
|
errorLine1=" result.putString(RFC822_NAME_KEY, rfc822Name);"
|
|
errorLine2=" ~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java"
|
|
line="80"
|
|
column="43"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeRfc822AddrIdentification#rfc822Name`"
|
|
errorLine1=" return Objects.hash(idType, rfc822Name);"
|
|
errorLine2=" ~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java"
|
|
line="88"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeRfc822AddrIdentification`"
|
|
errorLine1=" if (!(o instanceof IkeRfc822AddrIdentification)) return false;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java"
|
|
line="94"
|
|
column="28"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeRfc822AddrIdentification`"
|
|
errorLine1=" return rfc822Name.equals(((IkeRfc822AddrIdentification) o).rfc822Name);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java"
|
|
line="97"
|
|
column="36"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeRfc822AddrIdentification#rfc822Name`"
|
|
errorLine1=" return rfc822Name.equals(((IkeRfc822AddrIdentification) o).rfc822Name);"
|
|
errorLine2=" ~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java"
|
|
line="97"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeRfc822AddrIdentification#rfc822Name`"
|
|
errorLine1=" return rfc822Name.equals(((IkeRfc822AddrIdentification) o).rfc822Name);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java"
|
|
line="97"
|
|
column="34"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeRfc822AddrIdentification#rfc822Name`"
|
|
errorLine1=" validateEndCertSanOrThrow(endCert, SAN_TYPE_RFC822_NAME, rfc822Name);"
|
|
errorLine2=" ~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java"
|
|
line="111"
|
|
column="66"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeRfc822AddrIdentification#rfc822Name`"
|
|
errorLine1=" return rfc822Name.getBytes(UTF8);"
|
|
errorLine2=" ~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeRfc822AddrIdentification.java"
|
|
line="122"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Found no SA Proposal in this SA Payload.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java"
|
|
line="86"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java"
|
|
line="91"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.NoValidProposalChosenException`"
|
|
errorLine1=" throw new NoValidProposalChosenException("No remotely proposed protocol acceptable");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java"
|
|
line="347"
|
|
column="15"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.NoValidProposalChosenException`"
|
|
errorLine1=" throw new NoValidProposalChosenException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java"
|
|
line="478"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.NoValidProposalChosenException`"
|
|
errorLine1=" throw new NoValidProposalChosenException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java"
|
|
line="488"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.NoValidProposalChosenException`"
|
|
errorLine1=" throw new NoValidProposalChosenException("Invalid negotiated proposal.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java"
|
|
line="494"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java"
|
|
line="581"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java"
|
|
line="608"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java"
|
|
line="1008"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java"
|
|
line="1078"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" } catch (InvalidSyntaxException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java"
|
|
line="1158"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" throw new IllegalArgumentException(e);"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java"
|
|
line="1159"
|
|
column="52"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java"
|
|
line="1256"
|
|
column="31"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java"
|
|
line="1273"
|
|
column="31"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java"
|
|
line="1282"
|
|
column="31"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Wrong format in Transform Attribute");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSaPayload.java"
|
|
line="1763"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.SaProposal`"
|
|
errorLine1="public final class IkeSaProposal extends SaProposal {"
|
|
errorLine2=" ~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSaProposal.java"
|
|
line="49"
|
|
column="42"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSaProposal`"
|
|
errorLine1=" ((IkeSaProposal) reqProposal).mPseudorandomFunctions);"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSaProposal.java"
|
|
line="190"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSaProposal`"
|
|
errorLine1=" if (!super.equals(o) || !(o instanceof IkeSaProposal)) {"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSaProposal.java"
|
|
line="200"
|
|
column="48"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSaProposal`"
|
|
errorLine1=" return Arrays.equals(mPseudorandomFunctions, ((IkeSaProposal) o).mPseudorandomFunctions);"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSaProposal.java"
|
|
line="204"
|
|
column="56"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams`"
|
|
errorLine1=" if (firstChildSessionParams instanceof TunnelModeChildSessionParams) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSession.java"
|
|
line="132"
|
|
column="48"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams`"
|
|
errorLine1=" if (childSessionParams instanceof TunnelModeChildSessionParams) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSession.java"
|
|
line="203"
|
|
column="43"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1=" if (exception instanceof IkeProtocolException) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionCallback.java"
|
|
line="87"
|
|
column="34"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1=" onError((IkeProtocolException) exception);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionCallback.java"
|
|
line="88"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.IkeSessionParams.Builder`"
|
|
errorLine1=" IkeSessionParams.Builder builder = new IkeSessionParams.Builder();"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="354"
|
|
column="44"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams`"
|
|
errorLine1=" if (!(o instanceof IkeSessionParams)) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="661"
|
|
column="28"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams`"
|
|
errorLine1=" IkeSessionParams other = (IkeSessionParams) o;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="665"
|
|
column="35"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeConfigRequest`"
|
|
errorLine1=" public interface ConfigRequestIpv4PcscfServer extends IkeConfigRequest {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="690"
|
|
column="59"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeConfigRequest`"
|
|
errorLine1=" public interface ConfigRequestIpv6PcscfServer extends IkeConfigRequest {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="702"
|
|
column="59"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig`"
|
|
errorLine1=" if (!(o instanceof IkeAuthConfig)) {"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="781"
|
|
column="32"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig`"
|
|
errorLine1=" IkeAuthConfig other = (IkeAuthConfig) o;"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="785"
|
|
column="36"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig`"
|
|
errorLine1=" public static class IkeAuthPskConfig extends IkeAuthConfig {"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="795"
|
|
column="50"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthPskConfig`"
|
|
errorLine1=" if (!super.equals(o) || !(o instanceof IkeAuthPskConfig)) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="849"
|
|
column="52"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthPskConfig`"
|
|
errorLine1=" return Arrays.equals(mPsk, ((IkeAuthPskConfig) o).mPsk);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="853"
|
|
column="42"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig`"
|
|
errorLine1=" public static class IkeAuthDigitalSignRemoteConfig extends IkeAuthConfig {"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="861"
|
|
column="64"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthDigitalSignRemoteConfig`"
|
|
errorLine1=" if (!super.equals(o) || !(o instanceof IkeAuthDigitalSignRemoteConfig)) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="951"
|
|
column="52"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthDigitalSignRemoteConfig`"
|
|
errorLine1=" IkeAuthDigitalSignRemoteConfig other = (IkeAuthDigitalSignRemoteConfig) o;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="955"
|
|
column="53"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig`"
|
|
errorLine1=" public static class IkeAuthDigitalSignLocalConfig extends IkeAuthConfig {"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="973"
|
|
column="63"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthDigitalSignLocalConfig`"
|
|
errorLine1=" if (!super.equals(o) || !(o instanceof IkeAuthDigitalSignLocalConfig)) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="1090"
|
|
column="52"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthDigitalSignLocalConfig`"
|
|
errorLine1=" IkeAuthDigitalSignLocalConfig other = (IkeAuthDigitalSignLocalConfig) o;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="1094"
|
|
column="52"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig`"
|
|
errorLine1=" public static class IkeAuthEapConfig extends IkeAuthConfig {"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="1107"
|
|
column="50"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthEapConfig`"
|
|
errorLine1=" if (!super.equals(o) || !(o instanceof IkeAuthEapConfig)) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="1165"
|
|
column="52"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthEapConfig`"
|
|
errorLine1=" return mEapConfig.equals(((IkeAuthEapConfig) o).mEapConfig);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="1169"
|
|
column="40"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeAuthPskConfig` to `IkeAuthConfig` requires API level 31 (current min is 30)"
|
|
errorLine1=" return setAuth(new IkeAuthPskConfig(sharedKey), new IkeAuthPskConfig(sharedKey));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="1419"
|
|
column="28"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeAuthPskConfig` to `IkeAuthConfig` requires API level 31 (current min is 30)"
|
|
errorLine1=" return setAuth(new IkeAuthPskConfig(sharedKey), new IkeAuthPskConfig(sharedKey));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="1419"
|
|
column="61"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeAuthEapConfig` to `IkeAuthConfig` requires API level 31 (current min is 30)"
|
|
errorLine1=" new IkeAuthEapConfig(eapConfig),"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="1467"
|
|
column="21"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeAuthDigitalSignRemoteConfig` to `IkeAuthConfig` requires API level 31 (current min is 30)"
|
|
errorLine1=" new IkeAuthDigitalSignRemoteConfig(serverCaCert));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="1468"
|
|
column="21"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeAuthDigitalSignLocalConfig` to `IkeAuthConfig` requires API level 31 (current min is 30)"
|
|
errorLine1=" new IkeAuthDigitalSignLocalConfig("
|
|
errorLine2=" ^">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="1548"
|
|
column="21"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeAuthDigitalSignRemoteConfig` to `IkeAuthConfig` requires API level 31 (current min is 30)"
|
|
errorLine1=" IkeAuthConfig remoteConfig = new IkeAuthDigitalSignRemoteConfig(serverCaCert);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="1550"
|
|
column="42"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthEapConfig`"
|
|
errorLine1=" if (!(mLocalAuthConfig instanceof IkeAuthEapConfig)) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="1838"
|
|
column="51"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthEapConfig`"
|
|
errorLine1=" IkeAuthEapConfig ikeAuthEapConfig = (IkeAuthEapConfig) mLocalAuthConfig;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeSessionParams.java"
|
|
line="1844"
|
|
column="54"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TransportModeChildSessionParams`"
|
|
errorLine1=" && firstChildParams instanceof TransportModeChildSessionParams) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="555"
|
|
column="48"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TransportModeChildSessionParams`"
|
|
errorLine1=" && childSessionParams instanceof TransportModeChildSessionParams) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="752"
|
|
column="50"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.IkeInternalException`"
|
|
errorLine1=" new IkeInternalException(error));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="857"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeInternalException` to `IkeException` requires API level 31 (current min is 30)"
|
|
errorLine1=" new IkeInternalException(error));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="857"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.IkeInternalException`"
|
|
errorLine1=" mIkeSessionCallback.onClosedExceptionally(new IkeInternalException(e));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="1104"
|
|
column="67"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeInternalException` to `IkeException` requires API level 31 (current min is 30)"
|
|
errorLine1=" mIkeSessionCallback.onClosedExceptionally(new IkeInternalException(e));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="1104"
|
|
column="67"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeException`"
|
|
errorLine1=" error instanceof IkeException"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="1191"
|
|
column="34"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeException`"
|
|
errorLine1=" ? (IkeException) error"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="1192"
|
|
column="28"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.IkeInternalException`"
|
|
errorLine1=" : new IkeInternalException(error);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="1193"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" loge("IKE Session fatal error in " + getCurrentState().getName(), ikeException);"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="1201"
|
|
column="75"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" logi(methodTag + "Protected error", ikeException);"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="1902"
|
|
column="61"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="1909"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" ikeException));"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="1911"
|
|
column="41"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" ((DecodeResultError) decodeResult).ikeException);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="1918"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="1998"
|
|
column="41"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `Exception` requires API level 31 (current min is 30)"
|
|
errorLine1=" new InvalidSyntaxException("
|
|
errorLine2=" ^">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="1998"
|
|
column="41"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" logi(methodTag + "Protected error", resultError.ikeException);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="2015"
|
|
column="65"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1=" (IkeProtocolException) ikeException);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="2026"
|
|
column="38"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" ((DecodeResultError) decodeResult).ikeException);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="2033"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" new InvalidSyntaxException("Received unexpected TEMPORARY_FAILURE"));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="2061"
|
|
column="21"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `Exception` requires API level 31 (current min is 30)"
|
|
errorLine1=" new InvalidSyntaxException("Received unexpected TEMPORARY_FAILURE"));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="2061"
|
|
column="21"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" } catch (InvalidSyntaxException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="2098"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `Exception` requires API level 31 (current min is 30)"
|
|
errorLine1=" handleIkeFatalError(e);"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="2103"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeProtocolException` to `Exception` requires API level 31 (current min is 30)"
|
|
errorLine1=" handleIkeFatalError(exception);"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="2141"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Delete request received in wrong SA");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="2246"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" } catch (InvalidSyntaxException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="2279"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" cleanUpAndQuit(new IllegalStateException(e));"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="2281"
|
|
column="58"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="2300"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="2306"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeSaProposal` to `SaProposal` requires API level 31 (current min is 30)"
|
|
errorLine1=" reqSaPayload.getNegotiatedProposalNumber(mSaProposal);"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="2358"
|
|
column="74"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1=" } catch (IkeProtocolException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="2390"
|
|
column="30"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.NoValidProposalChosenException`"
|
|
errorLine1=" new NoValidProposalChosenException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="2395"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `NoValidProposalChosenException` to `IkeProtocolException` requires API level 31 (current min is 30)"
|
|
errorLine1=" new NoValidProposalChosenException("
|
|
errorLine2=" ^">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="2395"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.NoValidProposalChosenException`"
|
|
errorLine1=" new NoValidProposalChosenException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="2400"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `NoValidProposalChosenException` to `IkeProtocolException` requires API level 31 (current min is 30)"
|
|
errorLine1=" new NoValidProposalChosenException("
|
|
errorLine2=" ^">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="2400"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeProtocolException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" loge("Received invalid Rekey IKE request. Reject with error notification", e);"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="2427"
|
|
column="88"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `Exception` requires API level 31 (current min is 30)"
|
|
errorLine1=" handleIkeFatalError(ikeException);"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="2726"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" ((DecodeResultError) decodeResult).ikeException);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3019"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3057"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1=" } catch (IkeProtocolException | GeneralSecurityException | IOException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3092"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidKeException`"
|
|
errorLine1=" if (e instanceof InvalidKeException) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3093"
|
|
column="34"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3270"
|
|
column="43"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("SA, KE, or Nonce payload missing.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3307"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Received KE payload with mismatched DH group.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3332"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3427"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3536"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.IkeInternalException`"
|
|
errorLine1=" throw new IkeInternalException("Error while registering NetworkCallback", e);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3658"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.IkeInternalException`"
|
|
errorLine1=" throw new IkeInternalException(e);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3670"
|
|
column="31"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3728"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException("Missing EAP payload");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3745"
|
|
column="31"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeException`"
|
|
errorLine1=" } catch (IkeException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3755"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeException` to `Exception` requires API level 31 (current min is 30)"
|
|
errorLine1=" handleIkeFatalError(e);"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3760"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `Exception` requires API level 31 (current min is 30)"
|
|
errorLine1=" handleIkeFatalError(ikeException);"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3773"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthPskConfig`"
|
|
errorLine1=" ((IkeAuthPskConfig) authConfig).mPsk,"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3803"
|
|
column="39"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthDigitalSignLocalConfig`"
|
|
errorLine1=" (IkeAuthDigitalSignLocalConfig) mIkeSessionParams.getLocalAuthConfig();"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3813"
|
|
column="30"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3892"
|
|
column="35"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException("ID-Responder or Auth payload is missing.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3938"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthPskConfig`"
|
|
errorLine1=" ((IkeAuthPskConfig) mIkeSessionParams.getRemoteAuthConfig()).mPsk,"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3949"
|
|
column="31"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthDigitalSignRemoteConfig`"
|
|
errorLine1=" ((IkeAuthDigitalSignRemoteConfig)"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3956"
|
|
column="31"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3977"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="3996"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeSessionParams.IkeAuthEapConfig`"
|
|
errorLine1=" (IkeSessionParams.IkeAuthEapConfig) mIkeSessionParams.getLocalAuthConfig();"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4034"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" handleIkeFatalError(new AuthenticationFailedException((Throwable) msg.obj));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4065"
|
|
column="41"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `AuthenticationFailedException` to `Exception` requires API level 31 (current min is 30)"
|
|
errorLine1=" handleIkeFatalError(new AuthenticationFailedException((Throwable) msg.obj));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4065"
|
|
column="41"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" new AuthenticationFailedException("EAP Authentication Failed");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4069"
|
|
column="29"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `AuthenticationFailedException` to `Exception` requires API level 31 (current min is 30)"
|
|
errorLine1=" handleIkeFatalError(exception);"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4071"
|
|
column="41"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4095"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException("EAP Payload is missing.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4136"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1=" } catch (IkeProtocolException exception) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4140"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeProtocolException` to `Exception` requires API level 31 (current min is 30)"
|
|
errorLine1=" handleIkeFatalError(exception);"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4141"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `Exception` requires API level 31 (current min is 30)"
|
|
errorLine1=" handleIkeFatalError(ikeException);"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4149"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4216"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeException`"
|
|
errorLine1=" } catch (IkeException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4225"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeException` to `Exception` requires API level 31 (current min is 30)"
|
|
errorLine1=" handleIkeFatalError(e);"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4228"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `Exception` requires API level 31 (current min is 30)"
|
|
errorLine1=" handleIkeFatalError(ikeException);"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4238"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.AuthenticationFailedException`"
|
|
errorLine1=" throw new AuthenticationFailedException("Post-EAP Auth payload missing.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4279"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("SA, KE or Nonce payload missing.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4321"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4347"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Received KE payload with mismatched DH group.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4370"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeProtocolException` to `Exception` requires API level 31 (current min is 30)"
|
|
errorLine1=" handleIkeFatalError(exception);"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4404"
|
|
column="41"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" } catch (InvalidSyntaxException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4405"
|
|
column="26"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `Exception` requires API level 31 (current min is 30)"
|
|
errorLine1=" handleIkeFatalError(e);"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4407"
|
|
column="41"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1=" } catch (IkeProtocolException | GeneralSecurityException | IOException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4492"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1=" } catch (IkeProtocolException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4595"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" if (e instanceof InvalidSyntaxException) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4596"
|
|
column="34"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeProtocolException` to `IkeException` requires API level 31 (current min is 30)"
|
|
errorLine1=" handleProcessRespOrSaCreationFailureAndQuit(e);"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4597"
|
|
column="65"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4600"
|
|
column="29"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `IkeException` requires API level 31 (current min is 30)"
|
|
errorLine1=" new InvalidSyntaxException("
|
|
errorLine2=" ^">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4600"
|
|
column="29"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeProtocolException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" "Error in processing IKE Rekey-Create response", e));"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4601"
|
|
column="86"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.IkeInternalException`"
|
|
errorLine1=" new IkeInternalException("Error in creating a new IKE SA during rekey", e));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4606"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeInternalException` to `IkeException` requires API level 31 (current min is 30)"
|
|
errorLine1=" new IkeInternalException("Error in creating a new IKE SA during rekey", e));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4606"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `IkeException` requires API level 31 (current min is 30)"
|
|
errorLine1=" handleProcessRespOrSaCreationFailureAndQuit(ikeException);"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4613"
|
|
column="57"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeException` to `Exception` requires API level 31 (current min is 30)"
|
|
errorLine1=" handleIkeFatalError(exception);"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4624"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1=" } catch (IkeProtocolException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4696"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" } catch (InvalidSyntaxException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4848"
|
|
column="30"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" logd("Validation failed for delete request", e);"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4849"
|
|
column="70"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" } catch (InvalidSyntaxException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4863"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" loge("Invalid syntax on IKE Delete response. Shutting down anyways", e);"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4864"
|
|
column="86"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" loge("Invalid syntax on IKE Delete response. Shutting down anyways", exception);"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4876"
|
|
column="86"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" } catch (InvalidSyntaxException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4937"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" e);"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4941"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" exception);"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4957"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" } catch (InvalidSyntaxException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4990"
|
|
column="30"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" cleanUpAndQuit(new IllegalStateException(e));"
|
|
errorLine2=" ~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="4992"
|
|
column="66"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" } catch (InvalidSyntaxException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="5115"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" loge("Invalid syntax on IKE Delete response. Shutting down anyways", exception);"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="5123"
|
|
column="82"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `Exception` requires API level 31 (current min is 30)"
|
|
errorLine1=" handleIkeFatalError(exception);"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="5124"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="5185"
|
|
column="21"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `Throwable` requires API level 31 (current min is 30)"
|
|
errorLine1=" loge("Invalid syntax on IKE DPD response.", exception);"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="5193"
|
|
column="57"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `InvalidSyntaxException` to `Exception` requires API level 31 (current min is 30)"
|
|
errorLine1=" handleIkeFatalError(exception);"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="5194"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1=" } catch (IkeProtocolException | IOException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="5288"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="5295"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="5318"
|
|
column="43"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.IkeNetworkLostException`"
|
|
errorLine1=" () -> mIkeSessionCallback.onError(new IkeNetworkLostException(mNetwork)));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="5626"
|
|
column="51"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `IkeNetworkLostException` to `IkeException` requires API level 31 (current min is 30)"
|
|
errorLine1=" () -> mIkeSessionCallback.onError(new IkeNetworkLostException(mNetwork)));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSessionStateMachine.java"
|
|
line="5626"
|
|
column="51"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeSkfPayload.java"
|
|
line="84"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Exception requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1=" } catch (IkeProtocolException e) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/IkeSocket.java"
|
|
line="111"
|
|
column="18"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startPort`"
|
|
errorLine1=" this.startPort = startPort;"
|
|
errorLine2=" ~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="138"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endPort`"
|
|
errorLine1=" this.endPort = endPort;"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="139"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startingAddress`"
|
|
errorLine1=" this.startingAddress = startingAddress;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="140"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endingAddress`"
|
|
errorLine1=" this.endingAddress = endingAddress;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="141"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startPort`"
|
|
errorLine1=" this.startPort = startPort;"
|
|
errorLine2=" ~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="223"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endPort`"
|
|
errorLine1=" this.endPort = endPort;"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="224"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startingAddress`"
|
|
errorLine1=" this.startingAddress = startingAddress;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="225"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endingAddress`"
|
|
errorLine1=" this.endingAddress = endingAddress;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="226"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.IkeTrafficSelector`"
|
|
errorLine1=" return new IkeTrafficSelector(startPort, endPort, startingAddress, endingAddress);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="248"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startPort`"
|
|
errorLine1=" result.putInt(START_PORT_KEY, startPort);"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="260"
|
|
column="39"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endPort`"
|
|
errorLine1=" result.putInt(END_PORT_KEY, endPort);"
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="261"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startingAddress`"
|
|
errorLine1=" result.putString(START_ADDRESS_KEY, startingAddress.getHostAddress());"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="262"
|
|
column="45"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endingAddress`"
|
|
errorLine1=" result.putString(END_ADDRESS_KEY, endingAddress.getHostAddress());"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="263"
|
|
column="43"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="297"
|
|
column="31"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException(e);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="303"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="307"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Invalid IP Protocol ID.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="321"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Invalid Traffic Selector Length.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="329"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="336"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Invalid IP address family");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="356"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Received invalid IP address range.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="361"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException(e);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="373"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startPort`"
|
|
errorLine1=" && startPort <= ts.startPort"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="417"
|
|
column="20"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startPort`"
|
|
errorLine1=" && startPort <= ts.startPort"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="417"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endPort`"
|
|
errorLine1=" && endPort >= ts.endPort"
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="418"
|
|
column="20"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endPort`"
|
|
errorLine1=" && endPort >= ts.endPort"
|
|
errorLine2=" ~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="418"
|
|
column="31"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startingAddress`"
|
|
errorLine1=" && compareInetAddressTo(startingAddress, ts.startingAddress) <= 0"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="419"
|
|
column="41"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startingAddress`"
|
|
errorLine1=" && compareInetAddressTo(startingAddress, ts.startingAddress) <= 0"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="419"
|
|
column="58"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endingAddress`"
|
|
errorLine1=" && compareInetAddressTo(endingAddress, ts.endingAddress) >= 0) {"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="420"
|
|
column="41"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endingAddress`"
|
|
errorLine1=" && compareInetAddressTo(endingAddress, ts.endingAddress) >= 0) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="420"
|
|
column="56"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startPort`"
|
|
errorLine1=" startPort,"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="433"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endPort`"
|
|
errorLine1=" endPort,"
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="434"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startingAddress`"
|
|
errorLine1=" startingAddress,"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="435"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endingAddress`"
|
|
errorLine1=" endingAddress);"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="436"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector`"
|
|
errorLine1=" if (!(o instanceof IkeTrafficSelector)) return false;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="442"
|
|
column="28"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector`"
|
|
errorLine1=" IkeTrafficSelector other = (IkeTrafficSelector) o;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="444"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startPort`"
|
|
errorLine1=" || startPort != other.startPort"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="448"
|
|
column="20"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startPort`"
|
|
errorLine1=" || startPort != other.startPort"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="448"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endPort`"
|
|
errorLine1=" || endPort != other.endPort) {"
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="449"
|
|
column="20"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endPort`"
|
|
errorLine1=" || endPort != other.endPort) {"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="449"
|
|
column="31"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startingAddress`"
|
|
errorLine1=" return (((Inet4Address) startingAddress)"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="455"
|
|
column="41"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startingAddress`"
|
|
errorLine1=" .equals((Inet4Address) other.startingAddress)"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="456"
|
|
column="56"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endingAddress`"
|
|
errorLine1=" && ((Inet4Address) endingAddress)"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="457"
|
|
column="44"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endingAddress`"
|
|
errorLine1=" .equals((Inet4Address) other.endingAddress));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="458"
|
|
column="56"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startingAddress`"
|
|
errorLine1=" return (((Inet6Address) startingAddress)"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="460"
|
|
column="41"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startingAddress`"
|
|
errorLine1=" .equals((Inet6Address) other.startingAddress)"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="461"
|
|
column="56"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endingAddress`"
|
|
errorLine1=" && ((Inet6Address) endingAddress)"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="462"
|
|
column="44"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endingAddress`"
|
|
errorLine1=" .equals((Inet6Address) other.endingAddress));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="463"
|
|
column="56"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startPort`"
|
|
errorLine1=" .putShort((short) startPort)"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="482"
|
|
column="35"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endPort`"
|
|
errorLine1=" .putShort((short) endPort)"
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="483"
|
|
column="35"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#startingAddress`"
|
|
errorLine1=" .put(startingAddress.getAddress())"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="484"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Field requires API level 31 (current min is 30): `android.net.ipsec.ike.IkeTrafficSelector#endingAddress`"
|
|
errorLine1=" .put(endingAddress.getAddress());"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/IkeTrafficSelector.java"
|
|
line="485"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.exceptions.InvalidSyntaxException`"
|
|
errorLine1=" throw new InvalidSyntaxException("Cannot find Traffic Selector in TS payload.");"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/IkeTsPayload.java"
|
|
line="54"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1="public final class InternalAddressFailureException extends IkeProtocolException {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/InternalAddressFailureException.java"
|
|
line="30"
|
|
column="60"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1="public final class InvalidIkeSpiException extends IkeProtocolException {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/InvalidIkeSpiException.java"
|
|
line="30"
|
|
column="51"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1="public final class InvalidKeException extends IkeProtocolException {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/InvalidKeException.java"
|
|
line="34"
|
|
column="47"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1="public final class InvalidMajorVersionException extends IkeProtocolException {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/InvalidMajorVersionException.java"
|
|
line="30"
|
|
column="57"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1="public final class InvalidMessageIdException extends IkeProtocolException {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/InvalidMessageIdException.java"
|
|
line="30"
|
|
column="54"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1="public final class InvalidSelectorsException extends IkeProtocolException {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/InvalidSelectorsException.java"
|
|
line="35"
|
|
column="54"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1="public final class InvalidSyntaxException extends IkeProtocolException {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/InvalidSyntaxException.java"
|
|
line="33"
|
|
column="51"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1="public final class NoAdditionalSasException extends IkeProtocolException {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/NoAdditionalSasException.java"
|
|
line="30"
|
|
column="53"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1="public final class NoValidProposalChosenException extends IkeProtocolException {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/NoValidProposalChosenException.java"
|
|
line="33"
|
|
column="59"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.SaProposal`"
|
|
errorLine1=" if (!(o instanceof SaProposal)) {"
|
|
errorLine2=" ~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/SaProposal.java"
|
|
line="606"
|
|
column="28"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.SaProposal`"
|
|
errorLine1=" SaProposal other = (SaProposal) o;"
|
|
errorLine2=" ~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/SaProposal.java"
|
|
line="610"
|
|
column="29"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1="public class SinglePairRequiredException extends IkeProtocolException {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/SinglePairRequiredException.java"
|
|
line="31"
|
|
column="50"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1="public final class TemporaryFailureException extends IkeProtocolException {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/TemporaryFailureException.java"
|
|
line="31"
|
|
column="54"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `android.net.ssl.SSLEngines#exportKeyingMaterial`"
|
|
errorLine1=" SSLEngines.exportKeyingMaterial("
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/com/android/internal/net/eap/crypto/TlsSession.java"
|
|
line="431"
|
|
column="40"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.ChildSessionParams`"
|
|
errorLine1="public final class TransportModeChildSessionParams extends ChildSessionParams {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TransportModeChildSessionParams.java"
|
|
line="30"
|
|
column="60"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.TransportModeChildSessionParams.Builder`"
|
|
errorLine1=" new TransportModeChildSessionParams.Builder();"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TransportModeChildSessionParams.java"
|
|
line="60"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `TransportModeChildSessionParams` to `ChildSessionParams` requires API level 31 (current min is 30)"
|
|
errorLine1=" super(childParams);"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TransportModeChildSessionParams.java"
|
|
line="95"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1="public final class TsUnacceptableException extends IkeProtocolException {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/TsUnacceptableException.java"
|
|
line="30"
|
|
column="52"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.ChildSessionParams`"
|
|
errorLine1="public final class TunnelModeChildSessionParams extends ChildSessionParams {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TunnelModeChildSessionParams.java"
|
|
line="52"
|
|
column="57"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 30): `new android.net.ipsec.ike.TunnelModeChildSessionParams.Builder`"
|
|
errorLine1=" TunnelModeChildSessionParams.Builder builder = new TunnelModeChildSessionParams.Builder();"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TunnelModeChildSessionParams.java"
|
|
line="88"
|
|
column="56"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.TunnelModeChildConfigRequest`"
|
|
errorLine1=" public interface ConfigRequestIpv4Address extends TunnelModeChildConfigRequest {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TunnelModeChildSessionParams.java"
|
|
line="151"
|
|
column="55"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.TunnelModeChildConfigRequest`"
|
|
errorLine1=" public interface ConfigRequestIpv4DhcpServer extends TunnelModeChildConfigRequest {}"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TunnelModeChildSessionParams.java"
|
|
line="162"
|
|
column="58"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.TunnelModeChildConfigRequest`"
|
|
errorLine1=" public interface ConfigRequestIpv4DnsServer extends TunnelModeChildConfigRequest {}"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TunnelModeChildSessionParams.java"
|
|
line="165"
|
|
column="57"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.TunnelModeChildConfigRequest`"
|
|
errorLine1=" public interface ConfigRequestIpv4Netmask extends TunnelModeChildConfigRequest {}"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TunnelModeChildSessionParams.java"
|
|
line="168"
|
|
column="55"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.TunnelModeChildConfigRequest`"
|
|
errorLine1=" public interface ConfigRequestIpv6Address extends TunnelModeChildConfigRequest {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TunnelModeChildSessionParams.java"
|
|
line="171"
|
|
column="55"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams.TunnelModeChildConfigRequest`"
|
|
errorLine1=" public interface ConfigRequestIpv6DnsServer extends TunnelModeChildConfigRequest {}"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TunnelModeChildSessionParams.java"
|
|
line="189"
|
|
column="57"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.ChildSessionParams`"
|
|
errorLine1=" if (!super.equals(o) || !(o instanceof ChildSessionParams)) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TunnelModeChildSessionParams.java"
|
|
line="198"
|
|
column="48"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.TunnelModeChildSessionParams`"
|
|
errorLine1=" TunnelModeChildSessionParams other = (TunnelModeChildSessionParams) o;"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TunnelModeChildSessionParams.java"
|
|
line="202"
|
|
column="47"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Cast from `TunnelModeChildSessionParams` to `ChildSessionParams` requires API level 31 (current min is 30)"
|
|
errorLine1=" super(childParams);"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/TunnelModeChildSessionParams.java"
|
|
line="228"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1="public final class UnrecognizedIkeProtocolException extends IkeProtocolException {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/UnrecognizedIkeProtocolException.java"
|
|
line="32"
|
|
column="61"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Class requires API level 31 (current min is 30): `android.net.ipsec.ike.exceptions.IkeProtocolException`"
|
|
errorLine1="public final class UnsupportedCriticalPayloadException extends IkeProtocolException {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/UnsupportedCriticalPayloadException.java"
|
|
line="33"
|
|
column="64"/>
|
|
</issue>
|
|
|
|
</issues>
|