Lines Matching defs:DetailedState
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);
101 stateMap.put(DetailedState.AUTHENTICATING, State.CONNECTING);
102 stateMap.put(DetailedState.OBTAINING_IPADDR, State.CONNECTING);
103 stateMap.put(DetailedState.VERIFYING_POOR_LINK, State.CONNECTING);
104 stateMap.put(DetailedState.CAPTIVE_PORTAL_CHECK, State.CONNECTING);
105 stateMap.put(DetailedState.CONNECTED, State.CONNECTED);
106 stateMap.put(DetailedState.SUSPENDED, State.SUSPENDED);
107 stateMap.put(DetailedState.DISCONNECTING, State.DISCONNECTING);
108 stateMap.put(DetailedState.DISCONNECTED, State.DISCONNECTED);
109 stateMap.put(DetailedState.FAILED, State.DISCONNECTED);
110 stateMap.put(DetailedState.BLOCKED, State.DISCONNECTED);
118 private DetailedState mDetailedState;
149 setDetailedState(DetailedState.IDLE, null, null);
359 public DetailedState getDetailedState() {
367 * @param detailedState the {@link DetailedState}.
374 public void setDetailedState(DetailedState detailedState, String reason, String extraInfo) {
376 this.mDetailedState = detailedState;
377 this.mState = stateMap.get(detailedState);
477 netInfo.mDetailedState = DetailedState.valueOf(in.readString());