/frameworks/base/core/java/android/net/ |
D | NetworkInfo.java | 58 public enum DetailedState { enum in NetworkInfo 92 private static final EnumMap<DetailedState, State> stateMap = 93 new EnumMap<DetailedState, State>(DetailedState.class); 96 stateMap.put(DetailedState.IDLE, State.DISCONNECTED); in stateMap.put() 97 stateMap.put(DetailedState.SCANNING, State.DISCONNECTED); in stateMap.put() 98 stateMap.put(DetailedState.CONNECTING, State.CONNECTING); in stateMap.put() 99 stateMap.put(DetailedState.AUTHENTICATING, State.CONNECTING); in stateMap.put() 100 stateMap.put(DetailedState.OBTAINING_IPADDR, State.CONNECTING); in stateMap.put() 101 stateMap.put(DetailedState.VERIFYING_POOR_LINK, State.CONNECTING); in stateMap.put() 102 stateMap.put(DetailedState.CAPTIVE_PORTAL_CHECK, State.CONNECTING); in stateMap.put() [all …]
|
D | DummyDataStateTracker.java | 117 setDetailedState(NetworkInfo.DetailedState.DISCONNECTING, "disabled", null); in teardown() 118 setDetailedState(NetworkInfo.DetailedState.DISCONNECTED, "disabled", null); in teardown() 135 private void setDetailedState(NetworkInfo.DetailedState state, String reason, in setDetailedState() 157 setDetailedState(NetworkInfo.DetailedState.CONNECTING, "enabled", null); in reconnect() 158 setDetailedState(NetworkInfo.DetailedState.CONNECTED, "enabled", null); in reconnect()
|
D | MobileDataStateTracker.java | 23 import android.net.NetworkInfo.DetailedState; 223 setDetailedState(DetailedState.DISCONNECTED, reason, apnName); in onReceive() 232 setDetailedState(DetailedState.CONNECTING, reason, apnName); in onReceive() 235 setDetailedState(DetailedState.SUSPENDED, reason, apnName); in onReceive() 250 setDetailedState(DetailedState.CONNECTED, reason, apnName); in onReceive() 287 setDetailedState(DetailedState.FAILED, reason, apnName); in onReceive() 398 private void setDetailedState(NetworkInfo.DetailedState state, String reason, in setDetailedState() 410 if (wasConnecting && state == NetworkInfo.DetailedState.CONNECTED && reason == null in setDetailedState() 441 mNetworkInfo.setDetailedState(DetailedState.IDLE, null, null); in reconnect()
|
D | EthernetDataTracker.java | 20 import android.net.NetworkInfo.DetailedState; 144 mNetworkInfo.setDetailedState(DetailedState.DISCONNECTED, null, mHwAddr); in disconnect() 181 mNetworkInfo.setDetailedState(DetailedState.CONNECTED, null, mHwAddr); in runDhcp()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiInfo.java | 21 import android.net.NetworkInfo.DetailedState; 41 private static final EnumMap<SupplicantState, DetailedState> stateMap = 42 new EnumMap<SupplicantState, DetailedState>(SupplicantState.class); 45 stateMap.put(SupplicantState.DISCONNECTED, DetailedState.DISCONNECTED); in stateMap.put() 46 stateMap.put(SupplicantState.INTERFACE_DISABLED, DetailedState.DISCONNECTED); in stateMap.put() 47 stateMap.put(SupplicantState.INACTIVE, DetailedState.IDLE); in stateMap.put() 48 stateMap.put(SupplicantState.SCANNING, DetailedState.SCANNING); in stateMap.put() 49 stateMap.put(SupplicantState.AUTHENTICATING, DetailedState.CONNECTING); in stateMap.put() 50 stateMap.put(SupplicantState.ASSOCIATING, DetailedState.CONNECTING); in stateMap.put() 51 stateMap.put(SupplicantState.ASSOCIATED, DetailedState.CONNECTING); in stateMap.put() [all …]
|
D | WifiMonitor.java | 517 handleNetworkStateChange(NetworkInfo.DetailedState.DISCONNECTED, remainder); in handleEvent() 521 handleNetworkStateChange(NetworkInfo.DetailedState.CONNECTED, remainder); in handleEvent() 716 private void handleNetworkStateChange(NetworkInfo.DetailedState newState, String data) { in handleNetworkStateChange() 719 if (newState == NetworkInfo.DetailedState.CONNECTED) { in handleNetworkStateChange() 745 void notifyNetworkStateChange(NetworkInfo.DetailedState newState, String BSSID, int netId) { in notifyNetworkStateChange() 746 if (newState == NetworkInfo.DetailedState.CONNECTED) { in notifyNetworkStateChange()
|
D | WifiStateTracker.java | 26 import android.net.NetworkInfo.DetailedState; 235 mNetworkInfo.getDetailedState() != DetailedState.CAPTIVE_PORTAL_CHECK) { in onReceive()
|
D | WifiStateMachine.java | 53 import android.net.NetworkInfo.DetailedState; 1648 if (mNetworkInfo.getDetailedState() == DetailedState.VERIFYING_POOR_LINK || in sendNetworkStateChangeBroadcast() 1649 mNetworkInfo.getDetailedState() == DetailedState.CONNECTED) { in sendNetworkStateChangeBroadcast() 1673 private void setNetworkDetailedState(NetworkInfo.DetailedState state) { in setNetworkDetailedState() 1684 private DetailedState getNetworkDetailedState() { in getNetworkDetailedState() 1746 setNetworkDetailedState(DetailedState.DISCONNECTED); in handleNetworkDisconnect() 1747 mWifiConfigStore.updateStatus(mLastNetworkId, DetailedState.DISCONNECTED); in handleNetworkDisconnect() 1815 if (getNetworkDetailedState() == DetailedState.CONNECTED) { in handleSuccessfulIpConfiguration() 2741 setNetworkDetailedState(DetailedState.DISCONNECTED); in enter() 3211 setNetworkDetailedState(DetailedState.OBTAINING_IPADDR); in processMessage() [all …]
|
D | WifiConfigStore.java | 25 import android.net.NetworkInfo.DetailedState; 268 void updateStatus(int netId, DetailedState state) { in updateStatus()
|
/frameworks/base/services/java/com/android/server/connectivity/ |
D | Vpn.java | 42 import android.net.NetworkInfo.DetailedState; 138 private void updateState(DetailedState detailedState, String reason) { in updateState() 207 updateState(DetailedState.IDLE, "prepare"); in prepare() 280 updateState(DetailedState.CONNECTING, "establish"); in establish() 301 updateState(DetailedState.FAILED, "establish"); in establish() 320 updateState(DetailedState.AUTHENTICATING, "establish"); in establish() 358 updateState(DetailedState.DISCONNECTED, "interfaceRemoved"); 573 updateState(DetailedState.CONNECTING, "startLegacyVpn"); in startLegacyVpn() 662 updateState(DetailedState.DISCONNECTED, "exit"); in exit() 684 updateState(DetailedState.FAILED, "checkpoint"); in checkpoint() [all …]
|
D | Tethering.java | 514 networkInfo.getDetailedState() != NetworkInfo.DetailedState.FAILED) { in onReceive()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | ConnectivityServiceTest.java | 41 import android.net.NetworkInfo.DetailedState; 152 mMobile.info.setDetailedState(DetailedState.CONNECTED, null, null); in testMobileConnectedAddedRoutes() 173 mMobile.info.setDetailedState(DetailedState.CONNECTED, null, null); in testMobileWifiHandoff() 186 mWifi.info.setDetailedState(DetailedState.CONNECTED, null, null); in testMobileWifiHandoff() 208 mMobile.info.setDetailedState(DetailedState.DISCONNECTED, null, null); in testMobileWifiHandoff()
|
D | NetworkStatsServiceTest.java | 60 import android.net.NetworkInfo.DetailedState; 1007 info.setDetailedState(DetailedState.CONNECTED, null, null); in buildWifiState() 1016 info.setDetailedState(DetailedState.CONNECTED, null, null); in buildMobile3gState() 1024 info.setDetailedState(DetailedState.CONNECTED, null, null); in buildMobile4gState()
|
D | NetworkPolicyManagerServiceTest.java | 64 import android.net.NetworkInfo.DetailedState; 819 info.setDetailedState(DetailedState.CONNECTED, null, null); in buildWifi()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothTetheringDataTracker.java | 28 import android.net.NetworkInfo.DetailedState; 337 mNetworkInfo.setDetailedState(DetailedState.CONNECTED, null, null); in startReverseTether() 365 mNetworkInfo.setDetailedState(DetailedState.DISCONNECTED, null, null); in stopReverseTether()
|
/frameworks/base/services/java/com/android/server/net/ |
D | LockdownVpnTracker.java | 30 import android.net.NetworkInfo.DetailedState; 127 if (vpnInfo.getDetailedState() == DetailedState.FAILED) { in handleStateChangedLocked() 262 if (info.getDetailedState() == DetailedState.FAILED) { in onVpnStateChanged()
|
/frameworks/base/services/java/com/android/server/ |
D | ConnectivityService.java | 61 import android.net.NetworkInfo.DetailedState; 803 info.setDetailedState(DetailedState.BLOCKED, null, null); in getFilteredNetworkInfo() 1375 DetailedState netState = tracker.getNetworkInfo().getDetailedState(); in requestRouteToHostAddress() 1377 if (tracker == null || (netState != DetailedState.CONNECTED && in requestRouteToHostAddress() 1378 netState != DetailedState.CAPTIVE_PORTAL_CHECK) || in requestRouteToHostAddress() 2693 NetworkInfo.DetailedState.FAILED) { in handleMessage() 2696 DetailedState.CAPTIVE_PORTAL_CHECK) { in handleMessage()
|
D | WifiService.java | 48 import android.net.NetworkInfo.DetailedState; 1043 if (mNetworkInfo.getDetailedState() == DetailedState.CONNECTED) { 1639 if (mNetworkInfo.getDetailedState() == DetailedState.CONNECTED && !mScreenOff) { in evaluateTrafficStatsPolling()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pService.java | 1474 mNetworkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, null, null); in enter() 1699 mNetworkInfo.setDetailedState(NetworkInfo.DetailedState.DISCONNECTED, null, null); in exit() 2325 mNetworkInfo.setDetailedState(NetworkInfo.DetailedState.FAILED, null, null); in handleGroupCreationFailure()
|
/frameworks/base/docs/html/training/basics/network-ops/ |
D | managing.jd | 132 android.net.NetworkInfo.DetailedState}, but this should seldom be necessary.</p>
|
/frameworks/base/ |
D | preloaded-classes | 584 android.net.NetworkInfo$DetailedState
|
/frameworks/base/api/ |
D | 17.txt | 12657 method public android.net.NetworkInfo.DetailedState getDetailedState(); 12673 public static final class NetworkInfo.DetailedState extends java.lang.Enum { 12674 method public static android.net.NetworkInfo.DetailedState valueOf(java.lang.String); 12675 method public static final android.net.NetworkInfo.DetailedState[] values(); 12676 enum_constant public static final android.net.NetworkInfo.DetailedState AUTHENTICATING; 12677 enum_constant public static final android.net.NetworkInfo.DetailedState BLOCKED; 12678 enum_constant public static final android.net.NetworkInfo.DetailedState CAPTIVE_PORTAL_CHECK; 12679 enum_constant public static final android.net.NetworkInfo.DetailedState CONNECTED; 12680 enum_constant public static final android.net.NetworkInfo.DetailedState CONNECTING; 12681 enum_constant public static final android.net.NetworkInfo.DetailedState DISCONNECTED; [all …]
|
D | current.txt | 12657 method public android.net.NetworkInfo.DetailedState getDetailedState(); 12673 public static final class NetworkInfo.DetailedState extends java.lang.Enum { 12674 method public static android.net.NetworkInfo.DetailedState valueOf(java.lang.String); 12675 method public static final android.net.NetworkInfo.DetailedState[] values(); 12676 enum_constant public static final android.net.NetworkInfo.DetailedState AUTHENTICATING; 12677 enum_constant public static final android.net.NetworkInfo.DetailedState BLOCKED; 12678 enum_constant public static final android.net.NetworkInfo.DetailedState CAPTIVE_PORTAL_CHECK; 12679 enum_constant public static final android.net.NetworkInfo.DetailedState CONNECTED; 12680 enum_constant public static final android.net.NetworkInfo.DetailedState CONNECTING; 12681 enum_constant public static final android.net.NetworkInfo.DetailedState DISCONNECTED; [all …]
|
D | 14.txt | 11660 method public android.net.NetworkInfo.DetailedState getDetailedState(); 11676 public static final class NetworkInfo.DetailedState extends java.lang.Enum { 11677 method public static android.net.NetworkInfo.DetailedState valueOf(java.lang.String); 11678 method public static final android.net.NetworkInfo.DetailedState[] values(); 11679 enum_constant public static final android.net.NetworkInfo.DetailedState AUTHENTICATING; 11680 enum_constant public static final android.net.NetworkInfo.DetailedState BLOCKED; 11681 enum_constant public static final android.net.NetworkInfo.DetailedState CONNECTED; 11682 enum_constant public static final android.net.NetworkInfo.DetailedState CONNECTING; 11683 enum_constant public static final android.net.NetworkInfo.DetailedState DISCONNECTED; 11684 enum_constant public static final android.net.NetworkInfo.DetailedState DISCONNECTING; [all …]
|
D | 15.txt | 11699 method public android.net.NetworkInfo.DetailedState getDetailedState(); 11715 public static final class NetworkInfo.DetailedState extends java.lang.Enum { 11716 method public static android.net.NetworkInfo.DetailedState valueOf(java.lang.String); 11717 method public static final android.net.NetworkInfo.DetailedState[] values(); 11718 enum_constant public static final android.net.NetworkInfo.DetailedState AUTHENTICATING; 11719 enum_constant public static final android.net.NetworkInfo.DetailedState BLOCKED; 11720 enum_constant public static final android.net.NetworkInfo.DetailedState CONNECTED; 11721 enum_constant public static final android.net.NetworkInfo.DetailedState CONNECTING; 11722 enum_constant public static final android.net.NetworkInfo.DetailedState DISCONNECTED; 11723 enum_constant public static final android.net.NetworkInfo.DetailedState DISCONNECTING; [all …]
|