Home
last modified time | relevance | path

Searched refs:SupplicantState (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/
DSupplicantState.java33 public enum SupplicantState implements Parcelable { enum
169 public static boolean isValidState(SupplicantState state) { in isValidState()
175 public static boolean isHandshakeState(SupplicantState state) { in isHandshakeState()
198 public static boolean isConnecting(SupplicantState state) { in isConnecting()
221 public static boolean isDriverActive(SupplicantState state) { in isDriverActive()
254 public static final Creator<SupplicantState> CREATOR =
255 new Creator<SupplicantState>() {
256 public SupplicantState createFromParcel(Parcel in) {
257 return SupplicantState.valueOf(in.readString());
260 public SupplicantState[] newArray(int size) {
[all …]
DWifiInfo.java42 private static final EnumMap<SupplicantState, DetailedState> stateMap =
43 new EnumMap<SupplicantState, DetailedState>(SupplicantState.class);
54 stateMap.put(SupplicantState.DISCONNECTED, DetailedState.DISCONNECTED); in stateMap.put()
55 stateMap.put(SupplicantState.INTERFACE_DISABLED, DetailedState.DISCONNECTED); in stateMap.put()
56 stateMap.put(SupplicantState.INACTIVE, DetailedState.IDLE); in stateMap.put()
57 stateMap.put(SupplicantState.SCANNING, DetailedState.SCANNING); in stateMap.put()
58 stateMap.put(SupplicantState.AUTHENTICATING, DetailedState.CONNECTING); in stateMap.put()
59 stateMap.put(SupplicantState.ASSOCIATING, DetailedState.CONNECTING); in stateMap.put()
60 stateMap.put(SupplicantState.ASSOCIATED, DetailedState.CONNECTING); in stateMap.put()
61 stateMap.put(SupplicantState.FOUR_WAY_HANDSHAKE, DetailedState.AUTHENTICATING); in stateMap.put()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStateTracker.java21 import android.net.wifi.SupplicantState;
129 SupplicantState supState = (SupplicantState) stateChangeResult.state; in transitionOnSupplicantStateChange()
169 private void sendSupplicantStateChangedBroadcast(SupplicantState state, boolean failedAuth) { in sendSupplicantStateChangedBroadcast()
227 SupplicantState state = stateChangeResult.state; in processMessage()
304 SupplicantState state = stateChangeResult.state; in processMessage()
305 if (SupplicantState.isHandshakeState(state)) { in processMessage()
347 SupplicantState state = stateChangeResult.state; in processMessage()
353 if (SupplicantState.isConnecting(state)) { in processMessage()
359 sendSupplicantStateChangedBroadcast(SupplicantState.DISCONNECTED, false); in processMessage()
DStateChangeResult.java19 import android.net.wifi.SupplicantState;
30 SupplicantState state) { in StateChangeResult()
40 SupplicantState state;
DWifiStateMachine.java63 import android.net.wifi.SupplicantState;
1810 SupplicantState SupplicantState = mWifiInfo.getSupplicantState(); in isSupplicantTransientState() local
1811 if (SupplicantState == SupplicantState.ASSOCIATING in isSupplicantTransientState()
1812 || SupplicantState == SupplicantState.AUTHENTICATING in isSupplicantTransientState()
1813 || SupplicantState == SupplicantState.FOUR_WAY_HANDSHAKE in isSupplicantTransientState()
1814 || SupplicantState == SupplicantState.GROUP_HANDSHAKE) { in isSupplicantTransientState()
1817 Log.d(TAG, "Supplicant is under transient state: " + SupplicantState); in isSupplicantTransientState()
1822 Log.d(TAG, "Supplicant is under steady state: " + SupplicantState); in isSupplicantTransientState()
3444 private SupplicantState handleSupplicantStateChange(Message message) { in handleSupplicantStateChange()
3446 SupplicantState state = stateChangeResult.state; in handleSupplicantStateChange()
[all …]
DWifiMonitor.java20 import android.net.wifi.SupplicantState;
1395 SupplicantState newSupplicantState = SupplicantState.INVALID; in handleSupplicantStateChange()
1396 for (SupplicantState state : SupplicantState.values()) { in handleSupplicantStateChange()
1402 if (newSupplicantState == SupplicantState.INVALID) { in handleSupplicantStateChange()
DWifiConnectivityManager.java25 import android.net.wifi.SupplicantState;
574 && SupplicantState.isConnecting(mWifiInfo.getSupplicantState())) { in connectToNetwork()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java28 import android.net.wifi.SupplicantState;
50 SupplicantState mSupplicantState;
77 mSupplicantState = (SupplicantState) in onReceive()
254 assertTrue(mSupplicantState == SupplicantState.COMPLETED); in testWifiBroadcasts()
263 assertTrue(mSupplicantState != SupplicantState.COMPLETED); in testWifiBroadcasts()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiStateMachineTest.java36 import android.net.wifi.SupplicantState;
850 new StateChangeResult(0, sWifiSsid, sBSSID, SupplicantState.COMPLETED)); in connect()
884 new StateChangeResult(0, sWifiSsid, sBSSID, SupplicantState.COMPLETED)); in testDhcpFailure()
912 new StateChangeResult(0, sWifiSsid, sBSSID, SupplicantState.COMPLETED)); in testBadNetworkEvent()
936 new StateChangeResult(0, sWifiSsid, sBSSID, SupplicantState.DISCONNECTED)); in disconnect()
DWifiConnectivityManagerTest.java28 import android.net.wifi.SupplicantState;
209 wifiInfo.setSupplicantState(SupplicantState.DISCONNECTED); in getWifiInfo()
/frameworks/base/
Dpreloaded-classes89 [Landroid.net.wifi.SupplicantState;
1547 android.net.wifi.SupplicantState
1548 android.net.wifi.SupplicantState$1
Dcompiled-classes-phone2836 android.net.wifi.SupplicantState
2837 android.net.wifi.SupplicantState$1
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17877 public final class SupplicantState extends java.lang.Enum implements android.os.Parcelable {
17879 method public static boolean isValidState(android.net.wifi.SupplicantState);
17880 method public static android.net.wifi.SupplicantState valueOf(java.lang.String);
17881 method public static final android.net.wifi.SupplicantState[] values();
17883 enum_constant public static final android.net.wifi.SupplicantState ASSOCIATED;
17884 enum_constant public static final android.net.wifi.SupplicantState ASSOCIATING;
17885 enum_constant public static final android.net.wifi.SupplicantState AUTHENTICATING;
17886 enum_constant public static final android.net.wifi.SupplicantState COMPLETED;
17887 enum_constant public static final android.net.wifi.SupplicantState DISCONNECTED;
17888 enum_constant public static final android.net.wifi.SupplicantState DORMANT;
[all …]
/frameworks/base/api/
Dcurrent.txt24342 public final class SupplicantState extends java.lang.Enum implements android.os.Parcelable {
24344 method public static boolean isValidState(android.net.wifi.SupplicantState);
24345 method public static android.net.wifi.SupplicantState valueOf(java.lang.String);
24346 method public static final android.net.wifi.SupplicantState[] values();
24348 enum_constant public static final android.net.wifi.SupplicantState ASSOCIATED;
24349 enum_constant public static final android.net.wifi.SupplicantState ASSOCIATING;
24350 enum_constant public static final android.net.wifi.SupplicantState AUTHENTICATING;
24351 enum_constant public static final android.net.wifi.SupplicantState COMPLETED;
24352 enum_constant public static final android.net.wifi.SupplicantState DISCONNECTED;
24353 enum_constant public static final android.net.wifi.SupplicantState DORMANT;
[all …]
Dtest-current.txt24411 public final class SupplicantState extends java.lang.Enum implements android.os.Parcelable {
24413 method public static boolean isValidState(android.net.wifi.SupplicantState);
24414 method public static android.net.wifi.SupplicantState valueOf(java.lang.String);
24415 method public static final android.net.wifi.SupplicantState[] values();
24417 enum_constant public static final android.net.wifi.SupplicantState ASSOCIATED;
24418 enum_constant public static final android.net.wifi.SupplicantState ASSOCIATING;
24419 enum_constant public static final android.net.wifi.SupplicantState AUTHENTICATING;
24420 enum_constant public static final android.net.wifi.SupplicantState COMPLETED;
24421 enum_constant public static final android.net.wifi.SupplicantState DISCONNECTED;
24422 enum_constant public static final android.net.wifi.SupplicantState DORMANT;
[all …]
Dsystem-current.txt26571 public final class SupplicantState extends java.lang.Enum implements android.os.Parcelable {
26573 method public static boolean isValidState(android.net.wifi.SupplicantState);
26574 method public static android.net.wifi.SupplicantState valueOf(java.lang.String);
26575 method public static final android.net.wifi.SupplicantState[] values();
26577 enum_constant public static final android.net.wifi.SupplicantState ASSOCIATED;
26578 enum_constant public static final android.net.wifi.SupplicantState ASSOCIATING;
26579 enum_constant public static final android.net.wifi.SupplicantState AUTHENTICATING;
26580 enum_constant public static final android.net.wifi.SupplicantState COMPLETED;
26581 enum_constant public static final android.net.wifi.SupplicantState DISCONNECTED;
26582 enum_constant public static final android.net.wifi.SupplicantState DORMANT;
[all …]