Home
last modified time | relevance | path

Searched refs:VcnGatewayConnection (Results 1 – 9 of 9) sorted by relevance

/aosp14/frameworks/base/tests/vcn/java/com/android/server/vcn/
H A DVcnGatewayConnectionTestBase.java21 import static com.android.server.vcn.VcnGatewayConnection.VcnIkeSession;
22 import static com.android.server.vcn.VcnGatewayConnection.VcnNetworkAgent;
69 import com.android.server.vcn.VcnGatewayConnection.VcnWakeLock;
171 @NonNull protected final VcnGatewayConnection.Dependencies mDeps;
187 protected VcnGatewayConnection mGatewayConnection;
196 mDeps = mock(VcnGatewayConnection.Dependencies.class); in VcnGatewayConnectionTestBase()
261 new VcnGatewayConnection( in setUp()
321 VcnGatewayConnection.TEARDOWN_TIMEOUT_ALARM, in verifyTeardownTimeoutAlarmAndGetCallback()
329 VcnGatewayConnection.DISCONNECT_REQUEST_ALARM, in verifyDisconnectRequestAlarmAndGetCallback()
339 VcnGatewayConnection.RETRY_TIMEOUT_ALARM, in verifyRetryTimeoutAlarmAndGetCallback()
[all …]
H A DVcnTest.java129 return mock(VcnGatewayConnection.class); in setUp()
198 for (final VcnGatewayConnection gateway : gatewayConnections) { in verifyUpdateSubscriptionSnapshotNotifiesGatewayConnections()
298 public Set<VcnGatewayConnection> startGatewaysAndGetGatewayConnections( in startGatewaysAndGetGatewayConnections()
320 Set<VcnGatewayConnection> activeGateways, in verifySafeMode()
322 for (VcnGatewayConnection gatewayConnection : activeGateways) { in verifySafeMode()
335 final Set<VcnGatewayConnection> gatewayConnections = in testGatewayEnteringAndExitingSafeModeNotifiesVcn()
368 final Set<VcnGatewayConnection> gatewayConnections = in verifyGatewayQuit()
422 final VcnGatewayConnection activeGatewayConnection = in testUpdateConfigReevaluatesGatewayConnections()
424 final VcnGatewayConnection removedGatewayConnection = in testUpdateConfigReevaluatesGatewayConnections()
441 Map<VcnGatewayConnectionConfig, VcnGatewayConnection> gateways) { in verifyMobileDataToggledUpdatesGatewayConnections()
[all …]
H A DVcnGatewayConnectionTest.java29 import static com.android.server.vcn.VcnGatewayConnection.DUMMY_ADDR;
30 import static com.android.server.vcn.VcnGatewayConnection.VcnChildSessionConfiguration;
31 import static com.android.server.vcn.VcnGatewayConnection.VcnIkeSession;
32 import static com.android.server.vcn.VcnGatewayConnection.VcnNetworkAgent;
150 VcnGatewayConnection.buildNetworkCapabilities( in verifyBuildNetworkCapabilitiesCommon()
305 private VcnGatewayConnection buildConnectionWithDataStallHandling( in buildConnectionWithDataStallHandling()
314 final VcnGatewayConnection gatewayConnection = in buildConnectionWithDataStallHandling()
315 new VcnGatewayConnection( in buildConnectionWithDataStallHandling()
328 final VcnGatewayConnection gatewayConnection = in testDataStallHandlingEnabled()
H A DVcnGatewayConnectionDisconnectedStateTest.java21 import static com.android.server.vcn.VcnGatewayConnection.DUMMY_ADDR;
61 final VcnGatewayConnection vgc = in testEnterWhileQuittingTriggersQuit()
62 new VcnGatewayConnection( in testEnterWhileQuittingTriggersQuit()
H A DVcnGatewayConnectionConnectedStateTest.java33 import static com.android.server.vcn.VcnGatewayConnection.VcnChildSessionConfiguration;
34 import static com.android.server.vcn.VcnGatewayConnection.VcnIkeSession;
35 import static com.android.server.vcn.VcnGatewayConnection.VcnNetworkAgent;
76 import com.android.server.vcn.VcnGatewayConnection.VcnChildSessionCallback;
234 VcnGatewayConnection vcnGatewayConnection, boolean expectForwardTransform) in verifyVcnTransformsApplied()
243 VcnGatewayConnection vcnGatewayConnection, in verifyVcnTransformsApplied()
275 VcnGatewayConnection gatewayConnection = in testCreatedTransformsAreAppliedWithDun()
276 new VcnGatewayConnection( in testCreatedTransformsAreAppliedWithDun()
406 VcnGatewayConnection.NETWORK_INFO_NETWORK_TYPE_STRING)), in testChildOpenedRegistersNetwork()
618 eq(VcnGatewayConnection.SAFEMODE_TIMEOUT_ALARM), in testSubsequentFailedValidationTriggersSafeMode()
H A DVcnGatewayConnectionConnectingStateTest.java19 import static com.android.server.vcn.VcnGatewayConnection.VcnIkeSession;
H A DVcnGatewayConnectionRetryTimeoutStateTest.java19 import static com.android.server.vcn.VcnGatewayConnection.VcnNetworkAgent;
/aosp14/frameworks/base/services/core/java/com/android/server/vcn/
H A DVcn.java271 public Set<VcnGatewayConnection> getVcnGatewayConnections() { in getVcnGatewayConnections()
277 public Map<VcnGatewayConnectionConfig, VcnGatewayConnection>
333 for (final Entry<VcnGatewayConnectionConfig, VcnGatewayConnection> entry : in handleConfigUpdated()
336 final VcnGatewayConnection gatewayConnection = entry.getValue(); in handleConfigUpdated()
361 for (VcnGatewayConnection gatewayConnection : mVcnGatewayConnections.values()) { in handleTeardown()
429 final VcnGatewayConnection vcnGatewayConnection = in handleNetworkRequested()
518 for (Entry<VcnGatewayConnectionConfig, VcnGatewayConnection> entry : in handleMobileDataToggled()
521 final VcnGatewayConnection gatewayConnection = entry.getValue(); in handleMobileDataToggled()
640 for (VcnGatewayConnection gw : mVcnGatewayConnections.values()) { in dump()
740 public VcnGatewayConnection newVcnGatewayConnection( in newVcnGatewayConnection()
[all …]
H A DVcnGatewayConnection.java174 public class VcnGatewayConnection extends StateMachine { class
175 private static final String TAG = VcnGatewayConnection.class.getSimpleName();
748 public VcnGatewayConnection( in VcnGatewayConnection() method in VcnGatewayConnection
766 VcnGatewayConnection( in VcnGatewayConnection() method in VcnGatewayConnection