Searched refs:SupplicantState (Results 1 - 20 of 20) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/
H A DSupplicantState.java33 public enum SupplicantState implements Parcelable { enum
169 public static boolean isValidState(SupplicantState state) {
175 public static boolean isHandshakeState(SupplicantState state) {
198 public static boolean isConnecting(SupplicantState state) {
221 public static boolean isDriverActive(SupplicantState state) {
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[] newArra
[all...]
H A DWifiInfo.java42 private static final EnumMap<SupplicantState, DetailedState> stateMap =
43 new EnumMap<SupplicantState, DetailedState>(SupplicantState.class);
54 stateMap.put(SupplicantState.DISCONNECTED, DetailedState.DISCONNECTED);
55 stateMap.put(SupplicantState.INTERFACE_DISABLED, DetailedState.DISCONNECTED);
56 stateMap.put(SupplicantState.INACTIVE, DetailedState.IDLE);
57 stateMap.put(SupplicantState.SCANNING, DetailedState.SCANNING);
58 stateMap.put(SupplicantState.AUTHENTICATING, DetailedState.CONNECTING);
59 stateMap.put(SupplicantState.ASSOCIATING, DetailedState.CONNECTING);
60 stateMap.put(SupplicantState
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DStateChangeResult.java19 import android.net.wifi.SupplicantState;
30 SupplicantState state) {
40 SupplicantState state;
H A DSupplicantStateTracker.java21 import android.net.wifi.SupplicantState;
141 SupplicantState supState = (SupplicantState) stateChangeResult.state;
181 private void sendSupplicantStateChangedBroadcast(SupplicantState state, boolean failedAuth) {
185 private void sendSupplicantStateChangedBroadcast(SupplicantState state, boolean failedAuth,
248 SupplicantState state = stateChangeResult.state;
311 sendSupplicantStateChangedBroadcast(SupplicantState.DISCONNECTED, false);
340 SupplicantState state = stateChangeResult.state;
341 if (SupplicantState.isHandshakeState(state)) {
382 SupplicantState stat
[all...]
H A DSupplicantStaIfaceHal.java45 import android.net.wifi.SupplicantState;
2254 private static SupplicantState supplicantHidlStateToFrameworkState(int state) {
2257 return SupplicantState.DISCONNECTED;
2259 return SupplicantState.INTERFACE_DISABLED;
2261 return SupplicantState.INACTIVE;
2263 return SupplicantState.SCANNING;
2265 return SupplicantState.AUTHENTICATING;
2267 return SupplicantState.ASSOCIATING;
2269 return SupplicantState.ASSOCIATED;
2271 return SupplicantState
[all...]
H A DWifiMonitor.java19 import android.net.wifi.SupplicantState;
526 SupplicantState newSupplicantState) {
H A DWifiStateMachine.java57 import android.net.wifi.SupplicantState;
1399 SupplicantState supplicantState = mWifiInfo.getSupplicantState();
1400 if (supplicantState == SupplicantState.ASSOCIATING
1401 || supplicantState == SupplicantState.AUTHENTICATING
1402 || supplicantState == SupplicantState.FOUR_WAY_HANDSHAKE
1403 || supplicantState == SupplicantState.GROUP_HANDSHAKE) {
2698 private SupplicantState handleSupplicantStateChange(Message message) {
2700 SupplicantState state = stateChangeResult.state;
2703 // [8 - 0] Supplicant state (as defined in SupplicantState.java)
2707 if (SupplicantState
[all...]
H A DWifiConnectivityManager.java27 import android.net.wifi.SupplicantState;
720 && SupplicantState.isConnecting(mWifiInfo.getSupplicantState())) {
H A DWifiMetrics.java22 import android.net.wifi.SupplicantState;
2730 * Converts a SupplicantState value to a single bit, with position defined by
2731 * {@code StaEvent.SupplicantState}
2733 public static int supplicantStateToBit(SupplicantState state) {
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DSupplicantStateTrackerTest.java26 import android.net.wifi.SupplicantState;
64 String bssid, SupplicantState newSupplicantState) {
90 SupplicantState recvdState =
91 (SupplicantState) intent.getExtra(WifiManager.EXTRA_NEW_STATE, -1);
92 assertEquals(SupplicantState.SCANNING, recvdState);
99 sBSSID, SupplicantState.SCANNING));
112 SupplicantState recvdState =
113 (SupplicantState) intent.getExtra(WifiManager.EXTRA_NEW_STATE, -1);
114 assertEquals(SupplicantState.AUTHENTICATING, recvdState);
124 sBSSID, SupplicantState
[all...]
H A DWifiStateMachineTest.java52 import android.net.wifi.SupplicantState;
967 new StateChangeResult(0, sWifiSsid, sBSSID, SupplicantState.COMPLETED));
1098 new StateChangeResult(0, sWifiSsid, sBSSID, SupplicantState.COMPLETED));
1125 new StateChangeResult(0, sWifiSsid, sBSSID, SupplicantState.COMPLETED));
1295 new StateChangeResult(0, sWifiSsid, sBSSID, SupplicantState.COMPLETED));
1319 new StateChangeResult(0, sWifiSsid, sBSSID, SupplicantState.DISCONNECTED));
1713 new StateChangeResult(0, sWifiSsid, sBSSID, SupplicantState.COMPLETED));
1756 SupplicantState.INTERFACE_DISABLED));
1782 new StateChangeResult(0, sWifiSsid, sBSSID1, SupplicantState.COMPLETED));
1788 assertEquals(SupplicantState
[all...]
H A DWifiMonitorTest.java29 import android.net.wifi.SupplicantState;
466 SupplicantState newState = SupplicantState.ASSOCIATED;
H A DSupplicantStaIfaceHalTest.java43 import android.net.wifi.SupplicantState;
1107 any(WifiSsid.class), eq(BSSID), eq(SupplicantState.INACTIVE));
1127 any(WifiSsid.class), eq(BSSID), eq(SupplicantState.ASSOCIATED));
1150 any(WifiSsid.class), eq(BSSID), eq(SupplicantState.COMPLETED));
H A DWifiMetricsTest.java27 import android.net.wifi.SupplicantState;
1343 new StateChangeResult(0, sWifiSsid, sBSSID, SupplicantState.DISCONNECTED);
1345 new StateChangeResult(0, sWifiSsid, sBSSID, SupplicantState.COMPLETED);
H A DWifiConnectivityManagerTest.java36 import android.net.wifi.SupplicantState;
291 wifiInfo.setSupplicantState(SupplicantState.DISCONNECTED);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
H A DWifiClientTest.java28 import android.net.wifi.SupplicantState;
50 SupplicantState mSupplicantState;
77 mSupplicantState = (SupplicantState)
254 assertTrue(mSupplicantState == SupplicantState.COMPLETED);
263 assertTrue(mSupplicantState != SupplicantState.COMPLETED);
/frameworks/base/config/
H A Ddirty-image-objects125 android.net.wifi.SupplicantState
H A Dpreloaded-classes2316 android.net.wifi.SupplicantState
2317 android.net.wifi.SupplicantState$1
H A Dboot-image-profile.txt3950 HPLandroid/net/wifi/SupplicantState;->describeContents()I
3951 HPLandroid/net/wifi/SupplicantState;->isConnecting(Landroid/net/wifi/SupplicantState;)Z
3952 HPLandroid/net/wifi/SupplicantState;->isHandshakeState(Landroid/net/wifi/SupplicantState;)Z
3953 HPLandroid/net/wifi/SupplicantState;->writeToParcel(Landroid/os/Parcel;I)V
4020 HPLandroid/net/wifi/WifiInfo;->getDetailedStateOf(Landroid/net/wifi/SupplicantState;)Landroid/net/NetworkInfo$DetailedState;
[all...]
/frameworks/base/proto/src/
H A Dwifi.proto848 // See {@code frameworks/base/wifi/java/android/net/wifi/SupplicantState.java} for documentation
849 enum SupplicantState {

Completed in 341 milliseconds