/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/ |
D | LivenessAssister.java | 22 import android.net.ipsec.ike.IkeSessionCallback; 72 private final IkeSessionCallback mCallback; 80 @NonNull IkeSessionCallback callback, in LivenessAssister() 112 invokeUserCallback(IkeSessionCallback.LIVENESS_STATUS_ON_DEMAND_STARTED); in livenessCheckRequested() 115 invokeUserCallback(IkeSessionCallback.LIVENESS_STATUS_BACKGROUND_STARTED); in livenessCheckRequested() 119 invokeUserCallback(IkeSessionCallback.LIVENESS_STATUS_ON_DEMAND_ONGOING); in livenessCheckRequested() 122 invokeUserCallback(IkeSessionCallback.LIVENESS_STATUS_BACKGROUND_ONGOING); in livenessCheckRequested() 138 invokeUserCallback(IkeSessionCallback.LIVENESS_STATUS_SUCCESS); in markPeerAsAlive() 152 invokeUserCallback(IkeSessionCallback.LIVENESS_STATUS_FAILURE); in markPeerAsDead() 169 private void invokeUserCallback(@IkeSessionCallback.LivenessStatus int status) { in invokeUserCallback() [all …]
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/utils/ |
D | LivenessAssisterTest.java | 31 import android.net.ipsec.test.ike.IkeSessionCallback; 46 IkeSessionCallback mMockIkeSessionCallback; 52 mMockIkeSessionCallback = mock(IkeSessionCallback.class); in setUp() 72 .onLivenessStatusChanged(eq(IkeSessionCallback.LIVENESS_STATUS_ON_DEMAND_STARTED)); in testLivenessCheckRequestedWithDpdOnDemandIkeLocalInfo() 74 .onLivenessStatusChanged(eq(IkeSessionCallback.LIVENESS_STATUS_ON_DEMAND_ONGOING)); in testLivenessCheckRequestedWithDpdOnDemandIkeLocalInfo() 88 .onLivenessStatusChanged(eq(IkeSessionCallback.LIVENESS_STATUS_BACKGROUND_STARTED)); in testLivenessCheckRequestedWithJoiningBusyStateRunningInBackground() 90 .onLivenessStatusChanged(eq(IkeSessionCallback.LIVENESS_STATUS_BACKGROUND_ONGOING)); in testLivenessCheckRequestedWithJoiningBusyStateRunningInBackground() 107 .onLivenessStatusChanged(eq(IkeSessionCallback.LIVENESS_STATUS_SUCCESS)); in testLivenessCheckRequestedAndSuccessCallback() 127 .onLivenessStatusChanged(eq(IkeSessionCallback.LIVENESS_STATUS_FAILURE)); in testLivenessCheckRequestedAndFailureCallback()
|
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ |
D | IkeSessionLivenessCheckTest.java | 29 import android.net.ipsec.ike.IkeSessionCallback; 164 if (livenessStatus == IkeSessionCallback.LIVENESS_STATUS_ON_DEMAND_STARTED) { in testIkeLivenessCheck() 166 IkeSessionCallback.LIVENESS_STATUS_ON_DEMAND_ONGOING, in testIkeLivenessCheck() 168 } else if (livenessStatus == IkeSessionCallback.LIVENESS_STATUS_BACKGROUND_STARTED) { in testIkeLivenessCheck() 170 IkeSessionCallback.LIVENESS_STATUS_BACKGROUND_ONGOING, in testIkeLivenessCheck() 183 assertEquals(IkeSessionCallback.LIVENESS_STATUS_SUCCESS, livenessStatus); in testIkeLivenessCheck()
|
D | IkeSessionTestBase.java | 36 import android.net.ipsec.ike.IkeSessionCallback; 319 abstract static class TestIkeSessionCallback implements IkeSessionCallback { 348 IkeSessionCallback.super.onError(exception); in onError() 355 IkeSessionCallback.super.onIkeSessionConnectionInfoChanged(connectionInfo); in onIkeSessionConnectionInfoChanged() 361 IkeSessionCallback.super.onLivenessStatusChanged(livenessStatus); in onLivenessStatusChanged()
|
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/ |
D | EpdgTunnelManagerTest.java | 59 import android.net.ipsec.ike.IkeSessionCallback; 180 ArgumentCaptor<IkeSessionCallback> mIkeSessionCallbackCaptor = 181 ArgumentCaptor.forClass(IkeSessionCallback.class); 391 any(IkeSessionCallback.class), in setupTunnelBringup() 436 any(IkeSessionCallback.class), in testBringUpTunnelSetsDeviceIdentityImeiSv() 470 any(IkeSessionCallback.class), in testBringUpTunnelSetsDeviceIdentityImei() 501 any(IkeSessionCallback.class), in testBringUpTunnelNoDeviceIdentityWhenImeiUnavailable() 522 any(IkeSessionCallback.class), in testBringUpTunnelWithMobilityOptions() 540 any(IkeSessionCallback.class), in testBringUpTunnelIpv6_verifyMobikeDisabled() 898 any(IkeSessionCallback.class), in testRekeyAndNattTimerFromCarrierConfig() [all …]
|
/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
D | IkeSession.java | 120 @NonNull IkeSessionCallback ikeSessionCallback, in IkeSession() 140 IkeSessionCallback ikeSessionCallback, in IkeSession() 162 IkeSessionCallback ikeSessionCallback, in IkeSession()
|
/packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/ |
D | IkeTimeoutException.java | 20 import android.net.ipsec.ike.IkeSessionCallback;
|
D | TsUnacceptableException.java | 19 import android.net.ipsec.ike.IkeSessionCallback;
|
D | NoAdditionalSasException.java | 19 import android.net.ipsec.ike.IkeSessionCallback;
|
D | FailedCpRequiredException.java | 19 import android.net.ipsec.ike.IkeSessionCallback;
|
D | InvalidIkeSpiException.java | 19 import android.net.ipsec.ike.IkeSessionCallback;
|
D | SinglePairRequiredException.java | 19 import android.net.ipsec.ike.IkeSessionCallback;
|
D | InternalAddressFailureException.java | 19 import android.net.ipsec.ike.IkeSessionCallback;
|
D | UnrecognizedIkeProtocolException.java | 20 import android.net.ipsec.ike.IkeSessionCallback;
|
D | TemporaryFailureException.java | 20 import android.net.ipsec.ike.IkeSessionCallback;
|
D | InvalidMessageIdException.java | 19 import android.net.ipsec.ike.IkeSessionCallback;
|
D | IkeNetworkLostException.java | 21 import android.net.ipsec.ike.IkeSessionCallback;
|
D | InvalidKeException.java | 19 import android.net.ipsec.ike.IkeSessionCallback;
|
D | IkeInternalException.java | 20 import android.net.ipsec.ike.IkeSessionCallback;
|
D | ChildSaNotFoundException.java | 19 import android.net.ipsec.ike.IkeSessionCallback;
|
D | InvalidMajorVersionException.java | 20 import android.net.ipsec.ike.IkeSessionCallback;
|
D | AuthenticationFailedException.java | 20 import android.net.ipsec.ike.IkeSessionCallback;
|
D | NoValidProposalChosenException.java | 20 import android.net.ipsec.ike.IkeSessionCallback;
|
D | InvalidSelectorsException.java | 20 import android.net.ipsec.ike.IkeSessionCallback;
|
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/ |
D | IkeSessionTest.java | 58 private IkeSessionCallback mMockIkeSessionCb; 71 mMockIkeSessionCb = mock(IkeSessionCallback.class); in setUp()
|