Home
last modified time | relevance | path

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

/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java89 private NetworkAgent mNetworkAgent; field in EthernetNetworkFactory
237 mNetworkAgent = null; in stopTrackingInterface()
264 if (mNetworkAgent == null) return; in updateAgent()
271 mNetworkAgent.sendNetworkCapabilities(mNetworkCapabilities); in updateAgent()
272 mNetworkAgent.sendNetworkInfo(mNetworkInfo); in updateAgent()
273 mNetworkAgent.sendLinkProperties(mLinkProperties); in updateAgent()
275 mNetworkAgent.sendNetworkScore(mLinkUp? NETWORK_SCORE : 0); in updateAgent()
310 if (mNetworkAgent != null && mNetworkInfo.isConnected()) { in onRequestNetwork()
312 mNetworkAgent.sendLinkProperties(newLp); in onRequestNetwork()
354 if (mNetworkAgent != null) { in onRequestNetwork()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java163 private NetworkAgent mNetworkAgent; field in DataConnection
352 mNetworkAgent != null) { in updateLinkProperty()
353 mNetworkAgent.sendLinkProperties(mLinkProperties); in updateLinkProperty()
1093 if (mNetworkAgent != null) { in processMessage()
1094 mNetworkAgent.sendLinkProperties(mLinkProperties); in processMessage()
1159 if (mNetworkAgent != null) { in processMessage()
1161 mNetworkAgent.sendNetworkCapabilities(makeNetworkCapabilities()); in processMessage()
1162 mNetworkAgent.sendNetworkInfo(mNetworkInfo); in processMessage()
1163 mNetworkAgent.sendLinkProperties(mLinkProperties); in processMessage()
1191 if (mNetworkAgent == null) { in updateNetworkInfoSuspendState()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java129 private NetworkAgent mNetworkAgent; field in Vpn
247 if (mNetworkAgent != null) { in updateState()
248 mNetworkAgent.sendNetworkInfo(mNetworkInfo); in updateState()
583 return mNetworkAgent != null ? mNetworkAgent.netId : NETID_UNSET; in getNetId()
657 mNetworkAgent = new NetworkAgent(mLooper, mContext, NETWORKTYPE, in agentConnect()
670 mNetworkAgent.addUidRanges(mVpnUsers.toArray(new UidRange[mVpnUsers.size()])); in agentConnect()
700 agentDisconnect(mNetworkInfo, mNetworkAgent); in agentDisconnect()
701 mNetworkAgent = null; in agentDisconnect()
752 NetworkAgent oldNetworkAgent = mNetworkAgent; in establish()
753 mNetworkAgent = null; in establish()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java549 private WifiNetworkAgent mNetworkAgent; field in WifiStateMachine
2155 if (mNetworkAgent != null) { in getCurrentNetwork()
2156 return new Network(mNetworkAgent.netId); in getCurrentNetwork()
3228 if (mNetworkAgent != null) { in updateLinkProperties()
3229 mNetworkAgent.sendLinkProperties(mLinkProperties); in updateLinkProperties()
3265 if (mNetworkAgent != null) mNetworkAgent.sendLinkProperties(mLinkProperties); in clearLinkProperties()
3431 if (mNetworkAgent != null) { in setNetworkDetailedState()
3432 mNetworkAgent.sendNetworkInfo(mNetworkInfo); in setNetworkDetailedState()
3528 if (mNetworkAgent != null) { in handleNetworkDisconnect()
3529 mNetworkAgent.sendNetworkInfo(mNetworkInfo); in handleNetworkDisconnect()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DConnectivityServiceTest.java230 private NetworkAgent mNetworkAgent; field in ConnectivityServiceTest.MockNetworkAgent
256 mNetworkAgent = new NetworkAgent(mHandlerThread.getLooper(), mServiceContext, in MockNetworkAgent()
298 mNetworkAgent.sendNetworkScore(mScore); in adjustScore()
303 mNetworkAgent.sendNetworkCapabilities(mNetworkCapabilities); in addCapability()
308 mNetworkAgent.sendNetworkCapabilities(mNetworkCapabilities); in setSignalStrength()
313 mNetworkAgent.sendNetworkInfo(mNetworkInfo); in connectWithoutInternet()
368 mNetworkAgent.sendNetworkInfo(mNetworkInfo); in disconnect()
372 return new Network(mNetworkAgent.netId); in getNetwork()
384 mNetworkAgent.sendLinkProperties(lp); in sendLinkProperties()