Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/vcn/
DVcn.java325 final VcnGatewayConnection gatewayConnection = entry.getValue(); in handleConfigUpdated() local
330 if (gatewayConnection == null) { in handleConfigUpdated()
333 gatewayConnection.teardownAsynchronously(); in handleConfigUpdated()
347 for (VcnGatewayConnection gatewayConnection : mVcnGatewayConnections.values()) { in handleTeardown()
348 gatewayConnection.teardownAsynchronously(); in handleTeardown()
359 for (VcnGatewayConnection gatewayConnection : mVcnGatewayConnections.values()) { in handleSafeModeStatusChanged()
360 if (gatewayConnection.isInSafeMode()) { in handleSafeModeStatusChanged()
453 for (VcnGatewayConnection gatewayConnection : mVcnGatewayConnections.values()) { in handleSubscriptionsChanged()
454 gatewayConnection.updateSubscriptionSnapshot(mLastSnapshot); in handleSubscriptionsChanged()
473 final VcnGatewayConnection gatewayConnection = entry.getValue(); in handleMobileDataToggled() local
[all …]
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnGatewayConnectionConnectedStateTest.java182 VcnGatewayConnection gatewayConnection = in testCreatedTransformsAreAppliedWithDun() local
191 gatewayConnection.setUnderlyingNetwork(TEST_UNDERLYING_NETWORK_RECORD_1); in testCreatedTransformsAreAppliedWithDun()
193 gatewayConnection.buildIkeSession(TEST_UNDERLYING_NETWORK_RECORD_1.network); in testCreatedTransformsAreAppliedWithDun()
194 gatewayConnection.setIkeSession(session); in testCreatedTransformsAreAppliedWithDun()
195 gatewayConnection.transitionTo(gatewayConnection.mConnectedState); in testCreatedTransformsAreAppliedWithDun()
198 verifyVcnTransformsApplied(gatewayConnection, true /* expectForwardTransform */); in testCreatedTransformsAreAppliedWithDun()
DVcnTest.java296 for (VcnGatewayConnection gatewayConnection : activeGateways) { in verifySafeMode()
297 verify(gatewayConnection, never()).teardownAsynchronously(); in verifySafeMode()
315 final VcnGatewayConnection gatewayConnection = gatewayConnections.iterator().next(); in testGatewayEnteringAndExitingSafeModeNotifiesVcn() local
317 doReturn(true).when(gatewayConnection).isInSafeMode(); in testGatewayEnteringAndExitingSafeModeNotifiesVcn()
324 doReturn(false).when(gatewayConnection).isInSafeMode(); in testGatewayEnteringAndExitingSafeModeNotifiesVcn()