Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/vcn/
H A 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()
380 if (gatewayConnection.isInSafeMode()) { in handleSafeModeStatusChanged()
473 gatewayConnection.updateSubscriptionSnapshot(mLastSnapshot); in handleSubscriptionsChanged()
521 final VcnGatewayConnection gatewayConnection = entry.getValue(); in handleMobileDataToggled() local
527 if (gatewayConnection == null) { in handleMobileDataToggled()
[all …]
/aosp14/frameworks/base/tests/vcn/java/com/android/server/vcn/
H A DVcnGatewayConnectionTest.java314 final VcnGatewayConnection gatewayConnection = in buildConnectionWithDataStallHandling() local
323 return gatewayConnection; in buildConnectionWithDataStallHandling()
328 final VcnGatewayConnection gatewayConnection = in testDataStallHandlingEnabled() local
337 eq(gatewayConnection.getConnectivityDiagnosticsCallback())); in testDataStallHandlingEnabled()
H A DVcnGatewayConnectionConnectedStateTest.java275 VcnGatewayConnection gatewayConnection = in testCreatedTransformsAreAppliedWithDun() local
284 gatewayConnection.setUnderlyingNetwork(TEST_UNDERLYING_NETWORK_RECORD_1); in testCreatedTransformsAreAppliedWithDun()
286 gatewayConnection.buildIkeSession(TEST_UNDERLYING_NETWORK_RECORD_1.network); in testCreatedTransformsAreAppliedWithDun()
287 gatewayConnection.setIkeSession(session); in testCreatedTransformsAreAppliedWithDun()
288 gatewayConnection.transitionTo(gatewayConnection.mConnectedState); in testCreatedTransformsAreAppliedWithDun()
291 verifyVcnTransformsApplied(gatewayConnection, true /* expectForwardTransform */); in testCreatedTransformsAreAppliedWithDun()
H A 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()