Searched refs:NetworkMonitor (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkAgentInfo.java38 import com.android.server.connectivity.NetworkMonitor;
69 // If this network can satisfy the default NetworkRequest, then NetworkMonitor will
73 // A network may remain in this state if NetworkMonitor fails to find Internet connectivity,
127 public final NetworkMonitor networkMonitor;
H A DNetworkMonitor.java81 public class NetworkMonitor extends StateMachine { class in inherits:StateMachine
82 private static final String TAG = NetworkMonitor.class.getSimpleName();
130 * Inform NetworkMonitor that their network is connected.
150 * Inform NetworkMonitor that the network has disconnected.
239 public NetworkMonitor(Context context, Handler handler, NetworkAgentInfo networkAgentInfo, method in class:NetworkMonitor
245 protected NetworkMonitor(Context context, Handler handler, NetworkAgentInfo networkAgentInfo, method in class:NetworkMonitor
247 // Add suffix indicating which NetworkMonitor we're talking about.
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DConnectivityServiceMock.java118 import com.android.server.connectivity.NetworkMonitor;
341 nai.networkMonitor.sendMessage(NetworkMonitor.CMD_NETWORK_DISCONNECTED);
1027 public NetworkMonitor createNetworkMonitor(Context context, Handler handler,
/frameworks/base/services/core/java/com/android/server/
H A DConnectivityService.java139 import com.android.server.connectivity.NetworkMonitor;
2224 case NetworkMonitor.EVENT_NETWORK_TESTED: {
2231 (msg.arg1 == NetworkMonitor.NETWORK_TEST_RESULT_VALID);
2257 case NetworkMonitor.EVENT_PROVISIONING_NOTIFICATION: {
2275 loge("EVENT_PROVISIONING_NOTIFICATION from unknown NetworkMonitor");
2403 nai.networkMonitor.sendMessage(NetworkMonitor.CMD_NETWORK_DISCONNECTED);
3182 nai.networkMonitor.sendMessage(NetworkMonitor.CMD_FORCE_REEVALUATION, uid);
4393 // Note: if mDefaultRequest is changed, NetworkMonitor needs to be updated.
5241 networkAgent.networkMonitor.sendMessage(NetworkMonitor.CMD_NETWORK_CONNECTED);
5448 return NetworkMonitor
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DConnectivityServiceTest.java80 import com.android.server.connectivity.NetworkMonitor;
81 import com.android.server.connectivity.NetworkMonitor.CaptivePortalProbeResult;
296 // NetworkMonitor.
586 // NetworkMonitor implementation allowing overriding of Internet connectivity probe result.
587 private class WrappedNetworkMonitor extends NetworkMonitor {
588 // HTTP response code fed back to NetworkMonitor for Internet connectivity probe.
661 public NetworkMonitor createNetworkMonitor(Context context, Handler handler,

Completed in 83 milliseconds