HomeSort by relevance Sort by last modified time
    Searched refs:detailedState (Results 1 - 4 of 4) sorted by null

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowNetworkInfo.java 21 private NetworkInfo.DetailedState detailedState;
27 public static NetworkInfo newInstance(NetworkInfo.DetailedState detailedState) {
28 return newInstance(detailedState, ConnectivityManager.TYPE_MOBILE, 0, true, true);
31 public static NetworkInfo newInstance(NetworkInfo.DetailedState detailedState, int type, int subType,
38 info.setDetailedState(detailedState);
61 public NetworkInfo.DetailedState getDetailedState() {
62 return detailedState;
    [all...]
  /frameworks/base/core/java/android/net/
NetworkInfo.java 35 * use, rather than {@link android.net.NetworkInfo.DetailedState DetailedState}.
60 public enum DetailedState {
92 * of <code>DetailedState</code>.
94 private static final EnumMap<DetailedState, State> stateMap =
95 new EnumMap<DetailedState, State>(DetailedState.class);
98 stateMap.put(DetailedState.IDLE, State.DISCONNECTED);
99 stateMap.put(DetailedState.SCANNING, State.DISCONNECTED);
100 stateMap.put(DetailedState.CONNECTING, State.CONNECTING)
    [all...]
  /frameworks/base/services/core/java/com/android/server/connectivity/
Vpn.java 54 import android.net.NetworkInfo.DetailedState;
193 private void updateState(DetailedState detailedState, String reason) {
194 if (LOGD) Log.d(TAG, "setting state=" + detailedState + ", reason=" + reason);
195 mNetworkInfo.setDetailedState(detailedState, reason, null);
294 updateState(DetailedState.IDLE, "prepare");
422 mNetworkInfo.setDetailedState(DetailedState.CONNECTED, null, null);
461 networkInfo.setDetailedState(DetailedState.DISCONNECTED, null, null);
534 updateState(DetailedState.CONNECTING, "establish");
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiStateMachine.java 62 import android.net.NetworkInfo.DetailedState;
    [all...]

Completed in 420 milliseconds