/frameworks/base/core/java/android/net/ |
D | NetworkInfo.java | 85 public enum DetailedState { enum in NetworkInfo 119 private static final EnumMap<DetailedState, State> stateMap = 120 new EnumMap<DetailedState, State>(DetailedState.class); 123 stateMap.put(DetailedState.IDLE, State.DISCONNECTED); in stateMap.put() 124 stateMap.put(DetailedState.SCANNING, State.DISCONNECTED); in stateMap.put() 125 stateMap.put(DetailedState.CONNECTING, State.CONNECTING); in stateMap.put() 126 stateMap.put(DetailedState.AUTHENTICATING, State.CONNECTING); in stateMap.put() 127 stateMap.put(DetailedState.OBTAINING_IPADDR, State.CONNECTING); in stateMap.put() 128 stateMap.put(DetailedState.VERIFYING_POOR_LINK, State.CONNECTING); in stateMap.put() 129 stateMap.put(DetailedState.CAPTIVE_PORTAL_CHECK, State.CONNECTING); in stateMap.put() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiInfo.java | 23 import android.net.NetworkInfo.DetailedState; 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() [all …]
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetNetworkFactory.java | 34 import android.net.NetworkInfo.DetailedState; 441 mNetworkInfo.setDetailedState(DetailedState.OBTAINING_IPADDR, null, mHwAddress); in start() 459 mNetworkInfo.setDetailedState(DetailedState.CONNECTED, null, mHwAddress); in onIpLayerStarted() 521 mNetworkInfo.setDetailedState(DetailedState.DISCONNECTED, null, mHwAddress); in stop() 549 mNetworkInfo.setDetailedState(DetailedState.IDLE, null, null); in clear()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | LegacyTypeTrackerTest.kt | 23 import android.net.NetworkInfo.DetailedState.CONNECTED 24 import android.net.NetworkInfo.DetailedState.DISCONNECTED
|
D | ConnectivityServiceTest.java | 141 import android.net.NetworkInfo.DetailedState; 698 mNetworkInfo.setDetailedState(DetailedState.CONNECTED, null, null); in connectWithoutInternet() 717 mNetworkInfo.getDetailedState(), DetailedState.IDLE); in connect() 765 mNetworkInfo.setDetailedState(DetailedState.SUSPENDED, null, null); in suspend() 770 mNetworkInfo.setDetailedState(DetailedState.CONNECTED, null, null); in resume() 775 mNetworkInfo.setDetailedState(DetailedState.DISCONNECTED, null, null); in disconnect()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | LockdownVpnTracker.java | 33 import android.net.NetworkInfo.DetailedState; 147 if (vpnInfo.getDetailedState() == DetailedState.FAILED) { in handleStateChangedLocked() 250 if (info.getDetailedState() == DetailedState.FAILED) { in onVpnStateChanged()
|
/frameworks/base/services/core/java/com/android/server/ |
D | TestNetworkService.java | 32 import android.net.NetworkInfo.DetailedState; 204 mNi.setDetailedState(DetailedState.DISCONNECTED, null, null); 238 ni.setDetailedState(DetailedState.CONNECTED, null, null);
|
D | ConnectivityService.java | 93 import android.net.NetworkInfo.DetailedState; 697 private void maybeLogBroadcast(NetworkAgentInfo nai, DetailedState state, int type, in maybeLogBroadcast() 724 maybeLogBroadcast(nai, DetailedState.CONNECTED, type, isDefaultNetwork); in add() 725 mService.sendLegacyNetworkBroadcast(nai, DetailedState.CONNECTED, type); in add() 744 maybeLogBroadcast(nai, DetailedState.DISCONNECTED, type, wasDefault); in remove() 745 mService.sendLegacyNetworkBroadcast(nai, DetailedState.DISCONNECTED, type); in remove() 752 maybeLogBroadcast(replacement, DetailedState.CONNECTED, type, in remove() 754 mService.sendLegacyNetworkBroadcast(replacement, DetailedState.CONNECTED, type); in remove() 770 final DetailedState state = nai.networkInfo.getDetailedState(); in update() 1179 info.setDetailedState(NetworkInfo.DetailedState.DISCONNECTED, null, null); in getFilteredNetworkState() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 59 import android.net.NetworkInfo.DetailedState; 262 protected void updateState(DetailedState detailedState, String reason) { in updateState() 766 updateState(DetailedState.IDLE, "prepare"); in prepareInternal() 972 mNetworkInfo.setDetailedState(DetailedState.CONNECTING, null, null); in agentConnect() 995 updateState(DetailedState.CONNECTED, "agentConnect"); in agentConnect() 1011 networkInfo.setDetailedState(DetailedState.DISCONNECTED, null, null); in agentDisconnect() 1019 updateState(DetailedState.DISCONNECTED, "agentDisconnect"); in agentDisconnect() 1110 updateState(DetailedState.CONNECTING, "establish"); in establish() 1602 private void updateAlwaysOnNotification(DetailedState networkState) { in updateAlwaysOnNotification() 1603 final boolean visible = (mAlwaysOn && networkState != DetailedState.CONNECTED); in updateAlwaysOnNotification() [all …]
|
D | Tethering.java | 716 networkInfo.getDetailedState() == NetworkInfo.DetailedState.FAILED) { in handleConnectivityAction()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | Nat464XlatTest.java | 131 final NetworkInfo.DetailedState[] supportedDetailedStates = { 132 NetworkInfo.DetailedState.CONNECTED, 133 NetworkInfo.DetailedState.SUSPENDED, 139 for (NetworkInfo.DetailedState state : supportedDetailedStates) {
|
D | VpnTest.java | 65 import android.net.NetworkInfo.DetailedState; 520 vpn.updateState(DetailedState.DISCONNECTED, TAG); in testNotificationShownForAlwaysOnApp() 530 vpn.updateState(DetailedState.CONNECTED, TAG); in testNotificationShownForAlwaysOnApp() 534 vpn.updateState(DetailedState.DISCONNECTED, TAG); in testNotificationShownForAlwaysOnApp()
|
D | TetheringTest.java | 287 info.setDetailedState(NetworkInfo.DetailedState.CONNECTED, null, null); in buildMobileUpstreamState()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | AccessPointTest.java | 504 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "", ""); 569 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "", ""); 761 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTING, "", ""); 771 newInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "", ""); 787 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTING, "", ""); 812 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTING, "", ""); 838 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTING, "", ""); 864 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "", ""); 901 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "", ""); 981 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "", ""); in testUpdateConfig_doesNotThrowNPE_ifListenerIsNulledWhileAwaitingExecution() [all …]
|
D | WifiTrackerTest.java | 423 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "connected", "test"); in createTrackerWithScanResultsAndAccessPoint1Connected() 444 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTING, "connecting", "test"); in switchToNetwork2() 774 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "connected", "test"); in onStartShouldSynchronouslyFetchLatestInformation() 800 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "connected", "test"); in onStartShouldDisplayConnectedAccessPointWhenThereAreNoScanResults() 950 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "connected", "test"); in onConnectedChangedCallback_shouldNotBeInvokedWhenNoStateChange() 967 NetworkInfo.DetailedState.DISCONNECTED, "disconnected", "test"); in onConnectedChangedCallback_shouldBeInvokedWhenStateChanges()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | TestUtil.java | 38 Context context, NetworkInfo.DetailedState detailedState) { in sendNetworkStateChanged()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | AccessPoint.java | 30 import android.net.NetworkInfo.DetailedState; 950 public DetailedState getDetailedState() { in getDetailedState() 1037 if (getDetailedState() == DetailedState.CONNECTED && mIsCarrierAp) { in getSettingsSummary() 1530 public static String getSummary(Context context, String ssid, DetailedState state, in getSummary() 1532 if (state == DetailedState.CONNECTED) { in getSummary() 1554 if (state == DetailedState.CONNECTED) { in getSummary()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 81 import android.net.NetworkInfo.DetailedState; 1336 info.setDetailedState(DetailedState.CONNECTED, null, null); in buildWifiState() 1352 info.setDetailedState(DetailedState.CONNECTED, null, null); in buildMobile3gState() 1364 info.setDetailedState(DetailedState.CONNECTED, null, null); in buildMobile4gState() 1379 info.setDetailedState(DetailedState.CONNECTED, null, null); in buildVpnState()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ClientModeImpl.java | 48 import android.net.NetworkInfo.DetailedState; 2390 NetworkInfo.DetailedState detailedState = info.getDetailedState(); in getLogRecString() 2760 if (getNetworkDetailedState() == DetailedState.CONNECTED) { in updateLinkProperties() 2847 private boolean setNetworkDetailedState(NetworkInfo.DetailedState state) { in setNetworkDetailedState() 2885 private DetailedState getNetworkDetailedState() { in getNetworkDetailedState() 2992 setNetworkDetailedState(DetailedState.DISCONNECTED); in handleNetworkDisconnect() 3780 setNetworkDetailedState(DetailedState.DISCONNECTED); in setupClientMode() 3904 setNetworkDetailedState(DetailedState.DISCONNECTED); in enter() 4932 setNetworkDetailedState(DetailedState.DISCONNECTED); in enter() 4934 setNetworkDetailedState(DetailedState.CONNECTING); in enter() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | ConnectivityControllerTest.java | 52 import android.net.NetworkInfo.DetailedState; 547 ni.setDetailedState(DetailedState.CONNECTED, null, null); in answerNetwork()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 108 import android.net.NetworkInfo.DetailedState; 1767 ni.setDetailedState(NetworkInfo.DetailedState.CONNECTED, null, null); in buildNetworkInfo() 1824 info.setDetailedState(DetailedState.CONNECTED, null, null); in buildWifi()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManager.java | 1057 mNetworkInfo.setDetailedState(NetworkInfo.DetailedState.DISCONNECTED, null, ""); in reconfigureAgentAsDisconnected() 1525 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, null, null); in configureAgentProperties()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 2559 mNetworkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, null, null); in enter() 2840 mNetworkInfo.setDetailedState(NetworkInfo.DetailedState.DISCONNECTED, null, null); in exit() 3684 mNetworkInfo.setDetailedState(NetworkInfo.DetailedState.FAILED, null, null); in handleGroupCreationFailure()
|
/frameworks/base/config/ |
D | preloaded-classes | 2552 android.net.NetworkInfo$DetailedState
|
/frameworks/base/services/ |
D | art-profile | 747 …dcast(Lcom/android/server/connectivity/NetworkAgentInfo;Landroid/net/NetworkInfo$DetailedState;IZ)V 900 …adcast(Lcom/android/server/connectivity/NetworkAgentInfo;Landroid/net/NetworkInfo$DetailedState;I)V 5660 …roid/server/connectivity/Vpn;->updateAlwaysOnNotification(Landroid/net/NetworkInfo$DetailedState;)V 5662 PLcom/android/server/connectivity/Vpn;->updateState(Landroid/net/NetworkInfo$DetailedState;Ljava/la…
|