Searched refs:networkAgent (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 2333 private void setupDataActivityTracking(NetworkAgentInfo networkAgent) { in setupDataActivityTracking() argument 2334 final String iface = networkAgent.linkProperties.getInterfaceName(); in setupDataActivityTracking() 2339 if (networkAgent.networkCapabilities.hasTransport( in setupDataActivityTracking() 2345 } else if (networkAgent.networkCapabilities.hasTransport( in setupDataActivityTracking() 2368 private void removeDataActivityTracking(NetworkAgentInfo networkAgent) { in removeDataActivityTracking() argument 2369 final String iface = networkAgent.linkProperties.getInterfaceName(); in removeDataActivityTracking() 2370 final NetworkCapabilities caps = networkAgent.networkCapabilities; in removeDataActivityTracking() 3395 private boolean createNativeNetwork(@NonNull NetworkAgentInfo networkAgent) { in createNativeNetwork() argument 3398 if (networkAgent.isVPN()) { in createNativeNetwork() 3399 mNetd.networkCreateVpn(networkAgent.network.netId, in createNativeNetwork() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManager.java | 681 nnri.networkAgent = new WifiAwareNetworkAgent(mLooper, mContext, in handleAddressValidation() 684 mNiWrapper.setConnected(nnri.networkAgent); in handleAddressValidation() 975 if (nnri.networkAgent != null) { in releaseNetworkFor() 1002 if (nnri.networkAgent != null) { in releaseNetworkFor() 1079 if (nnri.networkAgent == null) { in tearDownInterfaceIfPossible() 1082 nnri.networkAgent.reconfigureAgentAsDisconnected(); in tearDownInterfaceIfPossible() 1186 public WifiAwareNetworkAgent networkAgent; field in WifiAwareDataPathStateManager.AwareNetworkRequestInformation 1197 if (networkAgent == null) { in updateToSupportNewRequest() 1202 networkAgent.sendNetworkCapabilities(getNetworkCapabilities()); in updateToSupportNewRequest() 1559 public void setConnected(WifiAwareNetworkAgent networkAgent) { in setConnected() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 1140 private void agentDisconnect(NetworkAgent networkAgent) { 1141 if (networkAgent != null) { 1145 networkAgent.sendNetworkInfo(networkInfo); 2291 final NetworkAgent networkAgent; 2309 networkAgent = mNetworkAgent; 2313 if (networkAgent == null) { 2324 networkAgent.sendLinkProperties(lp);
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 4736 TestNetworkAgentWrapper networkAgent = new TestNetworkAgentWrapper(TRANSPORT_WIFI, lp); in testLinkPropertiesEnsuresDirectlyConnectedRoutes() local 4737 networkAgent.connect(true); in testLinkPropertiesEnsuresDirectlyConnectedRoutes() 4738 networkCallback.expectCallback(CallbackEntry.AVAILABLE, networkAgent); in testLinkPropertiesEnsuresDirectlyConnectedRoutes() 4739 networkCallback.expectCallback(CallbackEntry.NETWORK_CAPS_UPDATED, networkAgent); in testLinkPropertiesEnsuresDirectlyConnectedRoutes() 4742 networkAgent); in testLinkPropertiesEnsuresDirectlyConnectedRoutes() 4743 networkCallback.expectCallback(CallbackEntry.BLOCKED_STATUS, networkAgent); in testLinkPropertiesEnsuresDirectlyConnectedRoutes() 4744 networkCallback.expectCapabilitiesWith(NET_CAPABILITY_VALIDATED, networkAgent); in testLinkPropertiesEnsuresDirectlyConnectedRoutes() 4748 checkDirectlyConnectedRoutes(mCm.getLinkProperties(networkAgent.getNetwork()), in testLinkPropertiesEnsuresDirectlyConnectedRoutes() 4757 networkAgent.sendLinkProperties(newLp); in testLinkPropertiesEnsuresDirectlyConnectedRoutes() 4758 cbi = networkCallback.expectCallback(CallbackEntry.LINK_PROPERTIES_CHANGED, networkAgent); in testLinkPropertiesEnsuresDirectlyConnectedRoutes()
|