Home
last modified time | relevance | path

Searched refs:TEST_APN_NAME (Results 1 – 2 of 2) sorted by relevance

/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanDataServiceTest.java83 private static final String TEST_APN_NAME = "ims"; field in IwlanDataServiceTest
280 assertEquals(dataCallInfo.getId(), TEST_APN_NAME.hashCode()); in testRequestDataCallListPass()
411 .onOpened(TEST_APN_NAME, mMockTunnelLinkProperties); in testIwlanSetupDataCallWithBringUpTunnel()
449 mSpyIwlanDataServiceProvider.getIwlanTunnelCallback().onOpened(TEST_APN_NAME, tp); in testSliceInfoInclusionInDataCallResponse()
470 TEST_APN_NAME.hashCode() /* cid: hashcode() of "ims" */, in testIwlanDeactivateDataCallWithCloseTunnel()
475 verify(mMockEpdgTunnelManager, times(1)).closeTunnel(eq(TEST_APN_NAME), anyBoolean()); in testIwlanDeactivateDataCallWithCloseTunnel()
480 .onClosed(TEST_APN_NAME, new IwlanError(IwlanError.NO_ERROR)); in testIwlanDeactivateDataCallWithCloseTunnel()
492 when(mMockErrorPolicyManager.getCurrentRetryTimeMs(eq(TEST_APN_NAME))).thenReturn(5L); in testHandoverFailureModeNormal()
493 when(mMockErrorPolicyManager.getDataFailCause(eq(TEST_APN_NAME))) in testHandoverFailureModeNormal()
506 .onClosed(TEST_APN_NAME, new IwlanError(IwlanError.NO_ERROR)); in testHandoverFailureModeNormal()
[all …]
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/
DEpdgTunnelManagerTest.java83 private final String TEST_APN_NAME = "www.xyz.com"; field in EpdgTunnelManagerTest
138 getBasicTunnelSetupRequest(TEST_APN_NAME, ApnSetting.PROTOCOL_PPP), in testBringUpTunnelWithInvalidProtocol()
147 getBasicTunnelSetupRequest(TEST_APN_NAME, ApnSetting.PROTOCOL_IPV6, 16), in testBringUpTunnelWithInvalidPduSessionId()
153 getBasicTunnelSetupRequest(TEST_APN_NAME, ApnSetting.PROTOCOL_IPV6, -1), in testBringUpTunnelWithInvalidPduSessionId()
190 TunnelSetupRequest TSR = getBasicTunnelSetupRequest(TEST_APN_NAME, ApnSetting.PROTOCOL_IP); in testBringUpTunnelWithNullApn()
201 TunnelSetupRequest TSR = getBasicTunnelSetupRequest(TEST_APN_NAME, ApnSetting.PROTOCOL_IP); in testBringUpTunnelWithExistApn()
203 when(mEpdgTunnelManager.isTunnelConfigContainExistApn(TEST_APN_NAME)).thenReturn(true); in testBringUpTunnelWithExistApn()
207 verify(mEpdgTunnelManager).isTunnelConfigContainExistApn(TEST_APN_NAME); in testBringUpTunnelWithExistApn()
214 TunnelSetupRequest TSR = getBasicTunnelSetupRequest(TEST_APN_NAME, ApnSetting.PROTOCOL_IP); in testBringUPTunnelWithNoBringUpInProcess()
218 doReturn(true).when(mEpdgTunnelManager).canBringUpTunnel(eq(TEST_APN_NAME)); in testBringUPTunnelWithNoBringUpInProcess()
[all …]