Searched refs:networkAgent (Results 1 – 5 of 5) sorted by relevance
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiScoreReport.java | 94 public void calculateAndReportScore(WifiInfo wifiInfo, NetworkAgent networkAgent, in calculateAndReportScore() argument 105 if (networkAgent != null) { in calculateAndReportScore() 106 netId = networkAgent.netId; in calculateAndReportScore() 167 if (networkAgent != null) { in calculateAndReportScore() 168 networkAgent.sendNetworkScore(score); in calculateAndReportScore()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 2141 private void setupDataActivityTracking(NetworkAgentInfo networkAgent) { in setupDataActivityTracking() argument 2142 final String iface = networkAgent.linkProperties.getInterfaceName(); in setupDataActivityTracking() 2147 if (networkAgent.networkCapabilities.hasTransport( in setupDataActivityTracking() 2153 } else if (networkAgent.networkCapabilities.hasTransport( in setupDataActivityTracking() 2177 private void removeDataActivityTracking(NetworkAgentInfo networkAgent) { in removeDataActivityTracking() argument 2178 final String iface = networkAgent.linkProperties.getInterfaceName(); in removeDataActivityTracking() 2179 final NetworkCapabilities caps = networkAgent.networkCapabilities; in removeDataActivityTracking() 3080 private boolean createNativeNetwork(@NonNull NetworkAgentInfo networkAgent) { in createNativeNetwork() argument 3083 if (networkAgent.isVPN()) { in createNativeNetwork() 3084 mNetd.networkCreateVpn(networkAgent.network.netId, in createNativeNetwork() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManager.java | 649 nnri.networkAgent = new WifiAwareNetworkAgent(mLooper, mContext, in onDataPathConfirm() 675 mNiWrapper.sendAgentNetworkInfo(nnri.networkAgent, networkInfo); in handleAddressValidation() 975 if (nnri.networkAgent != null) { in releaseNetworkFor() 1002 if (nnri.networkAgent != null) { in releaseNetworkFor() 1082 if (nnri.networkAgent == null) { in tearDownInterfaceIfPossible() 1085 nnri.networkAgent.reconfigureAgentAsDisconnected(); in tearDownInterfaceIfPossible() 1188 public WifiAwareNetworkAgent networkAgent; field in WifiAwareDataPathStateManager.AwareNetworkRequestInformation 1199 if (networkAgent == null) { in updateToSupportNewRequest() 1204 networkAgent.sendNetworkCapabilities(getNetworkCapabilities()); in updateToSupportNewRequest() 1565 public void sendAgentNetworkInfo(WifiAwareNetworkAgent networkAgent, in sendAgentNetworkInfo() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 1007 private void agentDisconnect(NetworkAgent networkAgent) { in agentDisconnect() argument 1008 if (networkAgent != null) { in agentDisconnect() 1012 networkAgent.sendNetworkInfo(networkInfo); in agentDisconnect()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 4890 MockNetworkAgent networkAgent = new MockNetworkAgent(TRANSPORT_WIFI, lp); in testLinkPropertiesEnsuresDirectlyConnectedRoutes() local 4891 networkAgent.connect(true); in testLinkPropertiesEnsuresDirectlyConnectedRoutes() 4892 networkCallback.expectCallback(CallbackState.AVAILABLE, networkAgent); in testLinkPropertiesEnsuresDirectlyConnectedRoutes() 4893 networkCallback.expectCallback(CallbackState.NETWORK_CAPABILITIES, networkAgent); in testLinkPropertiesEnsuresDirectlyConnectedRoutes() 4895 networkAgent); in testLinkPropertiesEnsuresDirectlyConnectedRoutes() 4896 networkCallback.expectCallback(CallbackState.BLOCKED_STATUS, networkAgent); in testLinkPropertiesEnsuresDirectlyConnectedRoutes() 4897 networkCallback.expectCapabilitiesWith(NET_CAPABILITY_VALIDATED, networkAgent); in testLinkPropertiesEnsuresDirectlyConnectedRoutes() 4901 checkDirectlyConnectedRoutes(mCm.getLinkProperties(networkAgent.getNetwork()), in testLinkPropertiesEnsuresDirectlyConnectedRoutes() 4910 networkAgent.sendLinkProperties(newLp); in testLinkPropertiesEnsuresDirectlyConnectedRoutes() 4911 cbi = networkCallback.expectCallback(CallbackState.LINK_PROPERTIES, networkAgent); in testLinkPropertiesEnsuresDirectlyConnectedRoutes()
|