Searched refs:gatewayConnection (Results 1 – 3 of 3) sorted by relevance
325 final VcnGatewayConnection gatewayConnection = entry.getValue(); in handleConfigUpdated() local330 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 …]
182 VcnGatewayConnection gatewayConnection = in testCreatedTransformsAreAppliedWithDun() local191 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()
296 for (VcnGatewayConnection gatewayConnection : activeGateways) { in verifySafeMode()297 verify(gatewayConnection, never()).teardownAsynchronously(); in verifySafeMode()315 final VcnGatewayConnection gatewayConnection = gatewayConnections.iterator().next(); in testGatewayEnteringAndExitingSafeModeNotifiesVcn() local317 doReturn(true).when(gatewayConnection).isInSafeMode(); in testGatewayEnteringAndExitingSafeModeNotifiesVcn()324 doReturn(false).when(gatewayConnection).isInSafeMode(); in testGatewayEnteringAndExitingSafeModeNotifiesVcn()