Lines Matching refs:network

61     // how long to wait before switching back to a radio's default network
72 * Sometimes we want to refer to the individual network state
206 // Load device network attributes from resources
240 "radio " + n.mRadio + " in network type " + n.mType);
285 * Create the network state trackers for Wi-Fi and mobile
288 * the number of different network types is not going
331 * Sets the preferred network.
371 * Make the state of network connectivity conform to the preference settings
372 * In this method, we only tear down a non-preferred network. Establishing
373 * a connection to the preferred network is taken care of when we handle
374 * the disconnect event from the non-preferred network
407 * Return NetworkInfo for the active (i.e., connected) network interface.
408 * It is assumed that at most one network is active at a time. If more
410 * @return the info for the active network, or {@code null} if none is
423 "connected default network is not " +
543 if (DBG) Slog.d(TAG, "requested special network with data disabled - rejected");
556 NetworkStateTracker network = mNetTrackers[usedNetworkType];
557 if (network != null) {
562 NetworkInfo ni = network.getNetworkInfo();
565 if (DBG) Slog.d(TAG, "special network not available");
582 !network.isTeardownRequested()) {
586 if (DBG) Slog.d(TAG, "special network already active");
589 if (DBG) Slog.d(TAG, "special network already connecting");
596 if (DBG) Slog.d(TAG, "reconnecting to special network");
597 network.reconnect();
607 return network.startUsingNetworkFeature(feature,
676 // can request we start the network feature again and renew the
715 if (DBG) Slog.d(TAG, "not tearing down special network - " +
722 if (DBG) Slog.d(TAG, "Doing network teardown");
733 * Ensure that a network route exists to deliver traffic to the specified
734 * host via the specified network interface.
735 * @param networkType the type of the network over which traffic to the
751 Slog.d(TAG, "requestRouteToHost on down network (" + networkType + ") - dropped");
864 * network, we ignore it. If it is for the active network, we send out a
866 * to a different network.
867 * @param info the {@code NetworkInfo} for the network
875 * If the disconnected network is not the active one, then don't report
877 * getting the disconnect for a network that we explicitly disabled
878 * in accordance with network preference policies.
921 * If the failover network is already connected, then immediately send
932 * If this is a default network, check if other defaults are available
973 * See if the other network is available to fail over to.
1025 * Called when an attempt to fail over to another network has failed.
1026 * @param info the {@link NetworkInfo} for the failed network
1078 * If the failover network is already connected, then immediately send
1123 "to torn down network " + info.getTypeName());
1154 info.getTypeName() + " network. Don't know how to handle.");
1173 * After any kind of change in the connectivity state of any network,
1175 * more than one network is set up correctly. We're mainly concerned
1182 * If a non-default network is enabled, add the host routes that
1185 * will allow MMS traffic to pass on the mobile network. But
1186 * remove the default route for the mobile network, so that there
1340 pw.println("Active network: " + nst.getNetworkInfo().
1402 // [12-9] Network subtype (for mobile network, as defined