Home
last modified time | relevance | path

Searched refs:mNetworkMonitor (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/net/java/android/net/
DNetworkMonitorManager.java40 @NonNull private final INetworkMonitor mNetworkMonitor; field in NetworkMonitorManager
45 mNetworkMonitor = networkMonitorManager; in NetworkMonitorManager()
62 mNetworkMonitor.start(); in start()
75 mNetworkMonitor.launchCaptivePortalApp(); in launchCaptivePortalApp()
88 mNetworkMonitor.notifyCaptivePortalAppFinished(response); in notifyCaptivePortalAppFinished()
101 mNetworkMonitor.setAcceptPartialConnectivity(); in setAcceptPartialConnectivity()
114 mNetworkMonitor.forceReevaluation(uid); in forceReevaluation()
127 mNetworkMonitor.notifyPrivateDnsChanged(config); in notifyPrivateDnsChanged()
140 mNetworkMonitor.notifyDnsResponse(returnCode); in notifyDnsResponse()
153 mNetworkMonitor.notifyNetworkConnected(lp, nc); in notifyNetworkConnected()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkAgentInfo.java263 private volatile NetworkMonitorManager mNetworkMonitor; field in NetworkAgentInfo
296 mNetworkMonitor = new NetworkMonitorManager(networkMonitor); in onNetworkMonitorCreated()
312 final NetworkMonitorManager nm = mNetworkMonitor; in getAndSetNetworkCapabilities()
341 return mNetworkMonitor; in networkMonitor()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java593 private INetworkMonitor mNetworkMonitor; field in ConnectivityServiceTest.TestNetworkAgentWrapper
624 mNetworkMonitor = mock(INetworkMonitor.class); in makeNetworkAgent()
631 doAnswer(validateAnswer).when(mNetworkMonitor).notifyNetworkConnected(any(), any()); in makeNetworkAgent()
632 doAnswer(validateAnswer).when(mNetworkMonitor).forceReevaluation(anyInt()); in makeNetworkAgent()
653 mNmCallbacks.onNetworkMonitorCreated(mNetworkMonitor); in makeNetworkAgent()
2597 verify(mWiFiNetworkAgent.mNetworkMonitor, times(1)).setAcceptPartialConnectivity(); in testPartialConnectivity()
2637 verify(mWiFiNetworkAgent.mNetworkMonitor, times(1)).setAcceptPartialConnectivity(); in testPartialConnectivity()
2658 verify(mWiFiNetworkAgent.mNetworkMonitor, times(1)).setAcceptPartialConnectivity(); in testPartialConnectivity()
2682 verify(mWiFiNetworkAgent.mNetworkMonitor, times(1)).setAcceptPartialConnectivity(); in testPartialConnectivity()
2712 verify(mWiFiNetworkAgent.mNetworkMonitor, timeout(TIMEOUT_MS).times(1)) in testCaptivePortalOnPartialConnectivity()
[all …]