Home
last modified time | relevance | path

Searched refs:networkAgent (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkAgentInfo.java609 public final INetworkAgent networkAgent; field in NetworkAgentInfo
646 networkAgent = na; in NetworkAgentInfo()
686 networkAgent.asBinder().linkToDeath(mDeathMonitor, 0); in notifyRegistered()
687 networkAgent.onRegistered(new NetworkAgentMessageHandler(mHandler)); in notifyRegistered()
704 networkAgent.onDisconnected(); in disconnect()
716 networkAgent.asBinder().unlinkToDeath(mDeathMonitor, 0); in maybeUnlinkDeathMonitor()
734 networkAgent.onBandwidthUpdateRequested(); in onBandwidthUpdateRequested()
745 networkAgent.onValidationStatusChanged(validationStatus, captivePortalUrl); in onValidationStatusChanged()
756 networkAgent.onSaveAcceptUnvalidated(acceptUnvalidated); in onSaveAcceptUnvalidated()
768 networkAgent.onStartNattSocketKeepalive(slot, intervalDurationMs, packetData); in onStartNattSocketKeepalive()
[all …]
DDscpPolicyTracker.java132 nai.networkAgent.onDscpPolicyStatusUpdated(policyId, status); in sendStatus()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSCaptivePortalAppTest.kt117 private fun startCaptivePortalApp(networkAgent: CSAgentWrapper): Intent { in startCaptivePortalApp()
118 val network = networkAgent.network in startCaptivePortalApp()
121 verify(networkAgent.networkMonitor).launchCaptivePortalApp() in startCaptivePortalApp()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java9033 private void updateLinkProperties(NetworkAgentInfo networkAgent, @NonNull LinkProperties newLp,
9035 int netId = networkAgent.network.getNetId();
9040 networkAgent.clatd.fixupLinkProperties(oldLp, newLp);
9042 updateInterfaces(newLp, oldLp, netId, networkAgent);
9046 updateVpnFiltering(newLp, oldLp, networkAgent);
9048 updateIngressToVpnAddressFiltering(newLp, oldLp, networkAgent);
9055 if (isDefaultNetwork(networkAgent)) {
9068 if (isDefaultNetwork(networkAgent)) {
9070 } else if (networkAgent.everConnected()) {
9079 newLp.setCaptivePortalData(mergeCaptivePortalData(networkAgent.networkAgentPortalData,
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java627 if (nnri.networkAgent == null && !isInterfaceUpAndUsedByAnotherNdp(nnri)) { in onDataPathConfirm()
739 if (nnri.networkAgent == null) { in handleAddressValidation()
752 nnri.networkAgent = new WifiAwareNetworkAgent(mLooper, mContext, in handleAddressValidation()
755 mNiWrapper.setConnected(nnri.networkAgent); in handleAddressValidation()
1084 if (nnri.networkAgent != null) { in releaseNetworkFor()
1195 if (nnri.networkAgent == null) { in tearDownInterfaceIfPossible()
1198 nnri.networkAgent.reconfigureAgentAsDisconnected(); in tearDownInterfaceIfPossible()
1369 public WifiAwareNetworkAgent networkAgent; field in WifiAwareDataPathStateManager.AwareNetworkRequestInformation
1380 if (networkAgent == null) { in updateToSupportNewRequest()
1385 networkAgent.sendNetworkCapabilities(getNetworkCapabilities()); in updateToSupportNewRequest()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java1717 WifiAwareNetworkAgent networkAgent = null; in testDataPathInitiatorUtilityMore() local
1834 networkAgent = agentCaptor.getValue(); in testDataPathInitiatorUtilityMore()
1839 (WifiAwareNetworkInfo) networkAgent.mDataPathCapabilities in testDataPathInitiatorUtilityMore()
1872 networkAgent.onNetworkUnwanted(); in testDataPathInitiatorUtilityMore()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java4817 private Intent startCaptivePortalApp(TestNetworkAgentWrapper networkAgent) throws Exception {
4818 Network network = networkAgent.getNetwork();
4822 verify(networkAgent.mNetworkMonitor).launchCaptivePortalApp();
7809 TestNetworkAgentWrapper networkAgent = new TestNetworkAgentWrapper(TRANSPORT_WIFI, lp);
7810 networkAgent.connect(true);
7811 networkCallback.expect(AVAILABLE, networkAgent);
7812 networkCallback.expect(NETWORK_CAPS_UPDATED, networkAgent);
7814 networkCallback.expect(LINK_PROPERTIES_CHANGED, networkAgent);
7815 networkCallback.expect(BLOCKED_STATUS, networkAgent);
7816 networkCallback.expectCaps(networkAgent, c -> c.hasCapability(NET_CAPABILITY_VALIDATED));
[all …]