/aosp12/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ |
H A D | NetworkMonitorManager.java | 40 @NonNull private final INetworkMonitor mNetworkMonitor; field in NetworkMonitorManager 45 mNetworkMonitor = networkMonitorManager; in NetworkMonitorManager() 62 mNetworkMonitor.start(); in start() 75 mNetworkMonitor.launchCaptivePortalApp(); in launchCaptivePortalApp() 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() 166 mNetworkMonitor.notifyNetworkDisconnected(); in notifyNetworkDisconnected() [all …]
|
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
H A D | AddWifiNetworkTaskTest.java | 74 @Mock private NetworkMonitor mNetworkMonitor; field in AddWifiNetworkTaskTest 97 mTask = new AddWifiNetworkTask(mNetworkMonitor, mWifiConfigurationProvider, mContext, in testNoWifiInfo() 111 mTask = new AddWifiNetworkTask(mNetworkMonitor, mWifiConfigurationProvider, mContext, in testWifiManagerNull() 127 mTask = new AddWifiNetworkTask(mNetworkMonitor, mWifiConfigurationProvider, mContext, in testFailToEnableWifi() 146 mTask = new AddWifiNetworkTask(mNetworkMonitor, mWifiConfigurationProvider, mContext, in testIsConnectedToSpecifiedWifiTrue() 169 mTask = new AddWifiNetworkTask(mNetworkMonitor, mWifiConfigurationProvider, mContext, in testNoWifiInfoInProvider() 197 mTask = new AddWifiNetworkTask(mNetworkMonitor, mWifiConfigurationProvider, mContext, in testFailingAddingNetwork() 227 mTask = new AddWifiNetworkTask(mNetworkMonitor, mWifiConfigurationProvider, mContext, in testFailingToReconnectAfterAddingNetwork() 263 mTask = new AddWifiNetworkTask(mNetworkMonitor, mWifiConfigurationProvider, mContext, in testReconnectAfterAddingNetworkSuccess()
|
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
H A D | ConnectMobileNetworkTask.java | 36 private final NetworkMonitor mNetworkMonitor; field in ConnectMobileNetworkTask 49 mNetworkMonitor = new NetworkMonitor(context, /* waitForValidated */ true); in ConnectMobileNetworkTask() 77 mNetworkMonitor.startListening(this); in run() 120 mNetworkMonitor.stopListening(); in finishTask()
|
H A D | AddWifiNetworkTask.java | 53 private final NetworkMonitor mNetworkMonitor; field in AddWifiNetworkTask 87 mNetworkMonitor = checkNotNull(networkMonitor); in AddWifiNetworkTask() 114 mNetworkMonitor.startListening(this); in run() 193 mNetworkMonitor.stopListening(); in finishTask()
|
/aosp12/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
H A D | NetworkAgentInfo.java | 342 private volatile NetworkMonitorManager mNetworkMonitor; field in NetworkAgentInfo 706 mNetworkMonitor = new NetworkMonitorManager(networkMonitor); in onNetworkMonitorCreated() 724 final NetworkMonitorManager nm = mNetworkMonitor; in getAndSetNetworkCapabilities() 758 return mNetworkMonitor; in networkMonitor()
|
/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
H A D | ConnectivityServiceTest.java | 799 private INetworkMonitor mNetworkMonitor; field in ConnectivityServiceTest.TestNetworkAgentWrapper 838 mNetworkMonitor = mock(INetworkMonitor.class); in makeNetworkAgent() 886 mNmCallbacks.onNetworkMonitorCreated(mNetworkMonitor); in makeNetworkAgent() 3759 verify(mWiFiNetworkAgent.mNetworkMonitor).launchCaptivePortalApp(); in testCaptivePortalApp() 3775 mWiFiNetworkAgent.mNetworkMonitor.forceReevaluation(Process.myUid()); in testCaptivePortalApp() 6621 mWiFiNetworkAgent.mNetworkMonitor.forceReevaluation(Process.myUid()); in testPrivateDnsNotification() 6626 mWiFiNetworkAgent.mNetworkMonitor.forceReevaluation(Process.myUid()); in testPrivateDnsNotification() 6633 mWiFiNetworkAgent.mNetworkMonitor.forceReevaluation(Process.myUid()); in testPrivateDnsNotification() 6640 mWiFiNetworkAgent.mNetworkMonitor.forceReevaluation(Process.myUid()); in testPrivateDnsNotification() 13083 workAgent.mNetworkMonitor.forceReevaluation(Process.myUid()); in testPreferenceForUserNetworkUpDown() [all …]
|