/frameworks/base/wifi/java/android/net/wifi/ |
D | SupplicantState.java | 33 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 @android.annotation.NonNull 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 …]
|
D | WifiInfo.java | 47 private static final EnumMap<SupplicantState, DetailedState> stateMap = 48 new EnumMap<SupplicantState, DetailedState>(SupplicantState.class); 60 stateMap.put(SupplicantState.DISCONNECTED, DetailedState.DISCONNECTED); in stateMap.put() 61 stateMap.put(SupplicantState.INTERFACE_DISABLED, DetailedState.DISCONNECTED); in stateMap.put() 62 stateMap.put(SupplicantState.INACTIVE, DetailedState.IDLE); in stateMap.put() 63 stateMap.put(SupplicantState.SCANNING, DetailedState.SCANNING); in stateMap.put() 64 stateMap.put(SupplicantState.AUTHENTICATING, DetailedState.CONNECTING); in stateMap.put() 65 stateMap.put(SupplicantState.ASSOCIATING, DetailedState.CONNECTING); in stateMap.put() 66 stateMap.put(SupplicantState.ASSOCIATED, DetailedState.CONNECTING); in stateMap.put() 67 stateMap.put(SupplicantState.FOUR_WAY_HANDSHAKE, DetailedState.AUTHENTICATING); in stateMap.put() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SupplicantStateTrackerTest.java | 26 import android.net.wifi.SupplicantState; 68 String bssid, SupplicantState newSupplicantState) { in getSupplicantStateChangeMessage() 94 SupplicantState recvdState = in testSupplicantStateChangeIntent() 95 (SupplicantState) intent.getExtra(WifiManager.EXTRA_NEW_STATE, -1); in testSupplicantStateChangeIntent() 96 assertEquals(SupplicantState.SCANNING, recvdState); in testSupplicantStateChangeIntent() 103 sBSSID, SupplicantState.SCANNING)); in testSupplicantStateChangeIntent() 116 SupplicantState recvdState = in testAuthPassInSupplicantStateChangeIntent() 117 (SupplicantState) intent.getExtra(WifiManager.EXTRA_NEW_STATE, -1); in testAuthPassInSupplicantStateChangeIntent() 118 assertEquals(SupplicantState.AUTHENTICATING, recvdState); in testAuthPassInSupplicantStateChangeIntent() 128 sBSSID, SupplicantState.AUTHENTICATING)); in testAuthPassInSupplicantStateChangeIntent() [all …]
|
D | ClientModeImplTest.java | 52 import android.net.wifi.SupplicantState; 1004 new StateChangeResult(0, sWifiSsid, sBSSID, SupplicantState.COMPLETED)); in connect() 1091 SupplicantState.ASSOCIATING)); in connectPasspointAp() 1120 SupplicantState.ASSOCIATING)); in testResetWifiInfoPasspointFields() 1125 SupplicantState.ASSOCIATING)); in testResetWifiInfoPasspointFields() 1153 SupplicantState.ASSOCIATING)); in connectOsuAp() 1184 SupplicantState.ASSOCIATING)); in testResetWifiInfoOsuFields() 1189 SupplicantState.ASSOCIATING)); in testResetWifiInfoOsuFields() 1302 new StateChangeResult(0, sWifiSsid, sBSSID, SupplicantState.COMPLETED)); in reconnectToConnectedNetwork() 1353 new StateChangeResult(0, sWifiSsid, sBSSID, SupplicantState.COMPLETED)); in testDhcpFailure() [all …]
|
D | WifiNetworkSelectorTest.java | 33 import android.net.wifi.SupplicantState; 243 when(mWifiInfo.getSupplicantState()).thenReturn(SupplicantState.DISCONNECTED); in setupWifiInfo() 429 when(mWifiInfo.getSupplicantState()).thenReturn(SupplicantState.COMPLETED); in openNetworkIsNotSufficient() 477 when(mWifiInfo.getSupplicantState()).thenReturn(SupplicantState.COMPLETED); in lowRssi5GNetworkIsNotSufficient() 525 when(mWifiInfo.getSupplicantState()).thenReturn(SupplicantState.COMPLETED); in noInternetAccessNetworkIsNotSufficient() 638 when(mWifiInfo.getSupplicantState()).thenReturn(SupplicantState.COMPLETED); in noSelectionWhenCurrentNetworkNotInScanResults() 1165 when(mWifiInfo.getSupplicantState()).thenReturn(SupplicantState.COMPLETED); in testStayOrTryToSwitchImpl()
|
D | WifiMonitorTest.java | 29 import android.net.wifi.SupplicantState; 467 SupplicantState newState = SupplicantState.ASSOCIATED; in testBroadcastSupplicantStateChangeEvent()
|
D | SupplicantStaIfaceHalTest.java | 62 import android.net.wifi.SupplicantState; 1174 any(WifiSsid.class), eq(BSSID), eq(SupplicantState.INACTIVE)); in testStateChangeCallbackWithNoConfiguredNetwork() 1194 any(WifiSsid.class), eq(BSSID), eq(SupplicantState.ASSOCIATED)); in testStateChangeToAssociatedCallback() 1217 any(WifiSsid.class), eq(BSSID), eq(SupplicantState.COMPLETED)); in testStateChangeToCompletedCallback()
|
D | WifiConnectivityManagerTest.java | 36 import android.net.wifi.SupplicantState; 297 wifiInfo.setSupplicantState(SupplicantState.DISCONNECTED); in getWifiInfo()
|
D | WifiMetricsTest.java | 59 import android.net.wifi.SupplicantState; 1786 new StateChangeResult(0, sWifiSsid, sBSSID, SupplicantState.DISCONNECTED); 1788 new StateChangeResult(0, sWifiSsid, sBSSID, SupplicantState.COMPLETED);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SupplicantStateTracker.java | 21 import android.net.wifi.SupplicantState; 141 SupplicantState supState = (SupplicantState) stateChangeResult.state; in transitionOnSupplicantStateChange() 181 private void sendSupplicantStateChangedBroadcast(SupplicantState state, boolean failedAuth) { in sendSupplicantStateChangedBroadcast() 185 private void sendSupplicantStateChangedBroadcast(SupplicantState state, boolean failedAuth, in sendSupplicantStateChangedBroadcast() 248 SupplicantState state = stateChangeResult.state; in processMessage() 311 sendSupplicantStateChangedBroadcast(SupplicantState.DISCONNECTED, false); in processMessage() 340 SupplicantState state = stateChangeResult.state; in processMessage() 341 if (SupplicantState.isHandshakeState(state)) { in processMessage() 382 SupplicantState state = stateChangeResult.state; in processMessage() 389 if (SupplicantState.isConnecting(state)) { in processMessage()
|
D | StateChangeResult.java | 19 import android.net.wifi.SupplicantState; 30 SupplicantState state) { in StateChangeResult() 40 SupplicantState state;
|
D | SupplicantStaIfaceHal.java | 51 import android.net.wifi.SupplicantState; 2444 private static SupplicantState supplicantHidlStateToFrameworkState(int state) { in supplicantHidlStateToFrameworkState() 2447 return SupplicantState.DISCONNECTED; in supplicantHidlStateToFrameworkState() 2449 return SupplicantState.INTERFACE_DISABLED; in supplicantHidlStateToFrameworkState() 2451 return SupplicantState.INACTIVE; in supplicantHidlStateToFrameworkState() 2453 return SupplicantState.SCANNING; in supplicantHidlStateToFrameworkState() 2455 return SupplicantState.AUTHENTICATING; in supplicantHidlStateToFrameworkState() 2457 return SupplicantState.ASSOCIATING; in supplicantHidlStateToFrameworkState() 2459 return SupplicantState.ASSOCIATED; in supplicantHidlStateToFrameworkState() 2461 return SupplicantState.FOUR_WAY_HANDSHAKE; in supplicantHidlStateToFrameworkState() [all …]
|
D | WifiMonitor.java | 19 import android.net.wifi.SupplicantState; 523 SupplicantState newSupplicantState) { in broadcastSupplicantStateChangeEvent()
|
D | ClientModeImpl.java | 63 import android.net.wifi.SupplicantState; 1410 SupplicantState supplicantState = mWifiInfo.getSupplicantState(); in isSupplicantTransientState() 1411 if (supplicantState == SupplicantState.ASSOCIATING in isSupplicantTransientState() 1412 || supplicantState == SupplicantState.AUTHENTICATING in isSupplicantTransientState() 1413 || supplicantState == SupplicantState.FOUR_WAY_HANDSHAKE in isSupplicantTransientState() 1414 || supplicantState == SupplicantState.GROUP_HANDSHAKE) { in isSupplicantTransientState() 2889 private SupplicantState handleSupplicantStateChange(Message message) { in handleSupplicantStateChange() 2891 SupplicantState state = stateChangeResult.state; in handleSupplicantStateChange() 2899 if (SupplicantState.isConnecting(state)) { in handleSupplicantStateChange() 3896 mWifiInfo.setSupplicantState(SupplicantState.DISCONNECTED); in enter() [all …]
|
D | WifiNetworkSelector.java | 27 import android.net.wifi.SupplicantState; 223 if (wifiInfo.getSupplicantState() != SupplicantState.COMPLETED) { in isCurrentNetworkSufficient()
|
D | WifiScoreCard.java | 25 import android.net.wifi.SupplicantState; 338 public void noteSupplicantStateChanging(ExtendedWifiInfo wifiInfo, SupplicantState state) { in noteSupplicantStateChanging()
|
D | WifiConnectivityManager.java | 28 import android.net.wifi.SupplicantState; 721 && SupplicantState.isConnecting(mWifiInfo.getSupplicantState())) { in connectToNetwork()
|
D | WifiMetrics.java | 27 import android.net.wifi.SupplicantState; 3736 public static int supplicantStateToBit(SupplicantState state) { in supplicantStateToBit()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
D | WifiClientTest.java | 28 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/base/proto/src/ |
D | wifi.proto | 1046 // See {@code frameworks/base/wifi/java/android/net/wifi/SupplicantState.java} for documentation 1047 enum SupplicantState { enum
|
/frameworks/base/config/ |
D | preloaded-classes | 2623 android.net.wifi.SupplicantState$1 2624 android.net.wifi.SupplicantState
|
D | boot-image-profile.txt | 10804 HSPLandroid/net/wifi/SupplicantState$1;-><init>()V 10805 HSPLandroid/net/wifi/SupplicantState$1;->createFromParcel(Landroid/os/Parcel;)Landroid/net/wifi/Sup… 10806 HSPLandroid/net/wifi/SupplicantState$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object; 10807 HSPLandroid/net/wifi/SupplicantState;-><init>(Ljava/lang/String;I)V 10808 HSPLandroid/net/wifi/SupplicantState;->describeContents()I 10809 HSPLandroid/net/wifi/SupplicantState;->isConnecting(Landroid/net/wifi/SupplicantState;)Z 10810 HSPLandroid/net/wifi/SupplicantState;->isHandshakeState(Landroid/net/wifi/SupplicantState;)Z 10811 HSPLandroid/net/wifi/SupplicantState;->values()[Landroid/net/wifi/SupplicantState; 10812 HPLandroid/net/wifi/SupplicantState;->writeToParcel(Landroid/os/Parcel;I)V 10901 HSPLandroid/net/wifi/WifiInfo;->getDetailedStateOf(Landroid/net/wifi/SupplicantState;)Landroid/net/… [all …]
|
D | hiddenapi-greylist-max-o.txt | 50401 Landroid/net/wifi/SupplicantState;-><init>()V 50402 Landroid/net/wifi/SupplicantState;->CREATOR:Landroid/os/Parcelable$Creator; 50403 Landroid/net/wifi/SupplicantState;->isConnecting(Landroid/net/wifi/SupplicantState;)Z 50404 Landroid/net/wifi/SupplicantState;->isDriverActive(Landroid/net/wifi/SupplicantState;)Z 50405 Landroid/net/wifi/SupplicantState;->isHandshakeState(Landroid/net/wifi/SupplicantState;)Z 50667 Landroid/net/wifi/WifiInfo;->mSupplicantState:Landroid/net/wifi/SupplicantState; 50684 Landroid/net/wifi/WifiInfo;->valueOf(Ljava/lang/String;)Landroid/net/wifi/SupplicantState;
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 17877 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/ |
D | current.txt | 29586 public enum SupplicantState implements android.os.Parcelable { 29588 method public static boolean isValidState(android.net.wifi.SupplicantState); 29590 enum_constant public static final android.net.wifi.SupplicantState ASSOCIATED; 29591 enum_constant public static final android.net.wifi.SupplicantState ASSOCIATING; 29592 enum_constant public static final android.net.wifi.SupplicantState AUTHENTICATING; 29593 enum_constant public static final android.net.wifi.SupplicantState COMPLETED; 29594 enum_constant public static final android.net.wifi.SupplicantState DISCONNECTED; 29595 enum_constant public static final android.net.wifi.SupplicantState DORMANT; 29596 enum_constant public static final android.net.wifi.SupplicantState FOUR_WAY_HANDSHAKE; 29597 enum_constant public static final android.net.wifi.SupplicantState GROUP_HANDSHAKE; [all …]
|