Home
last modified time | relevance | path

Searched refs:CONNECTED_STATE_CONNECTED (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DNetworkDetailsTracker.java21 import static com.android.wifitrackerlib.WifiEntry.CONNECTED_STATE_CONNECTED;
127 if (chosenEntry.getConnectedState() == CONNECTED_STATE_CONNECTED) { in handleLinkPropertiesChanged()
136 if (chosenEntry.getConnectedState() == CONNECTED_STATE_CONNECTED) { in handleNetworkCapabilitiesChanged()
146 if (chosenEntry.getConnectedState() == CONNECTED_STATE_CONNECTED) { in handleDefaultRouteChanged()
DWifiEntry.java101 CONNECTED_STATE_CONNECTED,
109 public static final int CONNECTED_STATE_CONNECTED = 2; field in WifiEntry
287 return CONNECTED_STATE_CONNECTED; in getConnectedState()
459 if (getConnectedState() != CONNECTED_STATE_CONNECTED) { in getConnectedInfo()
667 if (getConnectedState() == CONNECTED_STATE_CONNECTED) { in getNetworkCapabilityDescription()
842 if (getConnectedState() == CONNECTED_STATE_CONNECTED) { in updateConnectionInfo()
893 if (linkProperties == null || getConnectedState() != CONNECTED_STATE_CONNECTED) { in updateLinkProperties()
962 if (getConnectedState() == CONNECTED_STATE_CONNECTED && mWifiInfo != null) { in getWifiInfoDescription()
1081 .append(getConnectedState() == CONNECTED_STATE_CONNECTED ? "true" : "false") in toString()
DWifiPickerTracker.java25 import static com.android.wifitrackerlib.WifiEntry.CONNECTED_STATE_CONNECTED;
294 && mConnectedWifiEntry.getConnectedState() == CONNECTED_STATE_CONNECTED) { in handleLinkPropertiesChanged()
306 && mConnectedWifiEntry.getConnectedState() == CONNECTED_STATE_CONNECTED) { in handleNetworkCapabilitiesChanged()
322 if (mMergedCarrierEntry.getConnectedState() == CONNECTED_STATE_CONNECTED) { in handleDefaultRouteChanged()
357 return connectedState == CONNECTED_STATE_CONNECTED in updateWifiEntries()
363 return connectedState == CONNECTED_STATE_CONNECTED in updateWifiEntries()
370 return connectedState == CONNECTED_STATE_CONNECTED in updateWifiEntries()
DPasspointWifiEntry.java192 case CONNECTED_STATE_CONNECTED: in getSummary()
236 return getConnectedState() == CONNECTED_STATE_CONNECTED in getSecondSummary()
322 return getConnectedState() == CONNECTED_STATE_CONNECTED; in canDisconnect()
DMergedCarrierEntry.java123 return getConnectedState() == CONNECTED_STATE_CONNECTED; in canDisconnect()
DStandardWifiEntry.java191 case CONNECTED_STATE_CONNECTED: in getSummary()
234 return getConnectedState() == CONNECTED_STATE_CONNECTED in getSecondSummary()
377 return getConnectedState() == CONNECTED_STATE_CONNECTED; in canDisconnect()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DMergedCarrierEntryTest.java86 assertThat(entry.getConnectedState()).isEqualTo(WifiEntry.CONNECTED_STATE_CONNECTED); in testGetConnectedState_wifiInfoMatches_returnsConnected()
DWifiPickerTrackerTest.java1025 .isEqualTo(WifiEntry.CONNECTED_STATE_CONNECTED); in testGetMergedCarrierEntry_wifiInfoHasMatchingSubId_entryIsConnected()
1236 .isEqualTo(WifiEntry.CONNECTED_STATE_CONNECTED); in testGetMergedCarrierEntry_wifiIsDefault_entryIsDefaultNetwork()
DStandardWifiEntryTest.java35 import static com.android.wifitrackerlib.WifiEntry.CONNECTED_STATE_CONNECTED;
378 assertThat(entry.getConnectedState()).isEqualTo(CONNECTED_STATE_CONNECTED); in testUpdateConnectionInfo_matchingNetId_updatesConnectionInfo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiEntryPreference.java191 && mWifiEntry.getConnectedState() == WifiEntry.CONNECTED_STATE_CONNECTED); in getIconColorAttr()