Home
last modified time | relevance | path

Searched refs:gatewayConnection (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/vcn/
DVcn.java336 final VcnGatewayConnection gatewayConnection = entry.getValue(); in handleConfigUpdated() local
341 if (gatewayConnection == null) { in handleConfigUpdated()
346 + gatewayConnection.getLogPrefix()); in handleConfigUpdated()
347 gatewayConnection.teardownAsynchronously(); in handleConfigUpdated()
361 for (VcnGatewayConnection gatewayConnection : mVcnGatewayConnections.values()) { in handleTeardown()
362 gatewayConnection.teardownAsynchronously(); in handleTeardown()
379 for (VcnGatewayConnection gatewayConnection : mVcnGatewayConnections.values()) { in handleSafeModeStatusChanged()
380 if (gatewayConnection.isInSafeMode()) { in handleSafeModeStatusChanged()
472 for (VcnGatewayConnection gatewayConnection : mVcnGatewayConnections.values()) { in handleSubscriptionsChanged()
473 gatewayConnection.updateSubscriptionSnapshot(mLastSnapshot); in handleSubscriptionsChanged()
[all …]
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnTest.java322 for (VcnGatewayConnection gatewayConnection : activeGateways) { in verifySafeMode()
323 verify(gatewayConnection, never()).teardownAsynchronously(); in verifySafeMode()
341 final VcnGatewayConnection gatewayConnection = gatewayConnections.iterator().next(); in testGatewayEnteringAndExitingSafeModeNotifiesVcn() local
343 doReturn(true).when(gatewayConnection).isInSafeMode(); in testGatewayEnteringAndExitingSafeModeNotifiesVcn()
350 doReturn(false).when(gatewayConnection).isInSafeMode(); in testGatewayEnteringAndExitingSafeModeNotifiesVcn()
DVcnGatewayConnectionTest.java319 final VcnGatewayConnection gatewayConnection = in buildConnectionWithDataStallHandling() local
328 return gatewayConnection; in buildConnectionWithDataStallHandling()
333 final VcnGatewayConnection gatewayConnection = in testDataStallHandlingEnabled() local
342 eq(gatewayConnection.getConnectivityDiagnosticsCallback())); in testDataStallHandlingEnabled()
DVcnGatewayConnectionConnectedStateTest.java280 VcnGatewayConnection gatewayConnection = in testCreatedTransformsAreAppliedWithDun() local
289 gatewayConnection.setUnderlyingNetwork(TEST_UNDERLYING_NETWORK_RECORD_1); in testCreatedTransformsAreAppliedWithDun()
291 gatewayConnection.buildIkeSession(TEST_UNDERLYING_NETWORK_RECORD_1.network); in testCreatedTransformsAreAppliedWithDun()
292 gatewayConnection.setIkeSession(session); in testCreatedTransformsAreAppliedWithDun()
293 gatewayConnection.transitionTo(gatewayConnection.mConnectedState); in testCreatedTransformsAreAppliedWithDun()
296 verifyVcnTransformsApplied(gatewayConnection, true /* expectForwardTransform */); in testCreatedTransformsAreAppliedWithDun()