Home
last modified time | relevance | path

Searched refs:mNetworkAgent (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnGatewayConnectionRetryTimeoutStateTest.java42 private VcnNetworkAgent mNetworkAgent; field in VcnGatewayConnectionRetryTimeoutStateTest
49 mNetworkAgent = mock(VcnNetworkAgent.class); in setUp()
55 mGatewayConnection.setNetworkAgent(mNetworkAgent); in setUp()
69 verify(mNetworkAgent, never()).unregister(); in testNewNetworkTriggerRetry()
83 verify(mNetworkAgent, never()).unregister(); in testSameNetworkDoesNotTriggerRetry()
101 verify(mNetworkAgent).unregister(); in testNullNetworkTriggersDisconnect()
121 verify(mNetworkAgent, never()).unregister(); in testTimeoutElapsingTriggersRetry()
139 verify(mNetworkAgent).unregister(); in testTeardownDisconnectRequest()
151 verify(mNetworkAgent).unregister(); in testNonTeardownDisconnectRequest()
DVcnGatewayConnectionConnectedStateTest.java89 private VcnNetworkAgent mNetworkAgent; field in VcnGatewayConnectionConnectedStateTest
95 mNetworkAgent = mock(VcnNetworkAgent.class); in setUp()
96 doReturn(mNetworkAgent) in setUp()
235 verify(mNetworkAgent).sendLinkProperties( in testMigration()
238 verify(mNetworkAgent) in testMigration()
299 verify(mNetworkAgent).register(); in testChildOpenedRegistersNetwork()
300 verify(mNetworkAgent) in testChildOpenedRegistersNetwork()
302 verify(mNetworkAgent).markConnected(); in testChildOpenedRegistersNetwork()
372 verify(mNetworkAgent).sendLinkProperties(argThat( in testInternalAndDnsAddressesChanged()
447 unwantedCallback.accept(mNetworkAgent); in testUnwantedNetworkAgentTriggersTeardown()
[all …]
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java263 private @Nullable NetworkAgent mNetworkAgent; field in NetworkInterfaceState
390 if (mNetworkAgent != null) { in setIpConfig()
464 if (mNetworkAgent != null) { in onIpLayerStarted()
477 mNetworkAgent = new NetworkAgent(mContext, mHandler.getLooper(), in onIpLayerStarted()
481 if (this == mNetworkAgent) { in onIpLayerStarted()
483 } else if (mNetworkAgent != null) { in onIpLayerStarted()
489 mNetworkAgent.register(); in onIpLayerStarted()
490 mNetworkAgent.markConnected(); in onIpLayerStarted()
506 if (mNetworkAgent != null) { in updateLinkProperties()
507 mNetworkAgent.sendLinkProperties(linkProperties); in updateLinkProperties()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java330 private DcNetworkAgent mNetworkAgent; field in DataConnection
650 if (mNetworkAgent != null) { in updateQosParameters()
656 final DcNetworkAgent networkAgent = mNetworkAgent; in syncQosToNetworkAgent()
710 mNetworkAgent != null) { in updateLinkProperty()
711 mNetworkAgent.sendLinkProperties(mLinkProperties, DataConnection.this); in updateLinkProperty()
1617 if (mNetworkAgent != null) { in updateLinkBandwidthsFromModem()
1618 mNetworkAgent.sendNetworkCapabilities(getNetworkCapabilities(), DataConnection.this); in updateLinkBandwidthsFromModem()
1642 if (mNetworkAgent != null) { in updateLinkBandwidthsFromBandwidthEstimator()
1643 mNetworkAgent.sendNetworkCapabilities(getNetworkCapabilities(), DataConnection.this); in updateLinkBandwidthsFromBandwidthEstimator()
2406 if (mNetworkAgent == null) { in updateSuspendState()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java222 protected NetworkAgent mNetworkAgent; field in Vpn
504 if (null != mNetworkAgent) { in updateState()
505 mNetworkAgent.markConnected(); in updateState()
510 if (null != mNetworkAgent) { in updateState()
511 mNetworkAgent.unregister(); in updateState()
512 mNetworkAgent = null; in updateState()
516 if (null != mNetworkAgent) { in updateState()
1138 final NetworkAgent agent = mNetworkAgent;
1274 mNetworkAgent = new NetworkAgent(mContext, mLooper, NETWORKTYPE /* logtag */,
1285 mNetworkAgent.register();
[all …]
/frameworks/base/services/core/java/com/android/server/vcn/
DVcnGatewayConnection.java632 private VcnNetworkAgent mNetworkAgent; field in VcnGatewayConnection
726 if (mNetworkAgent != null) { in onQuitting()
728 mNetworkAgent.unregister(); in onQuitting()
729 mNetworkAgent = null; in onQuitting()
1299 if (mNetworkAgent != null) { in teardownNetwork()
1300 mNetworkAgent.unregister(); in teardownNetwork()
1301 mNetworkAgent = null; in teardownNetwork()
1359 if (mIkeSession != null || mNetworkAgent != null) { in enterState()
1634 if (mNetworkAgent != agentRef) { in buildNetworkAgent()
1841 updateNetworkAgent(mTunnelIface, mNetworkAgent, mChildConfig); in handleMigrationCompleted()
[all …]