Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DWifiEntry.java104 CONNECTED_STATE_CONNECTED,
112 public static final int CONNECTED_STATE_CONNECTED = 2; field in WifiEntry
214 entry.getConnectedState() != CONNECTED_STATE_CONNECTED)
288 return CONNECTED_STATE_CONNECTED; in getConnectedState()
532 if (getConnectedState() != CONNECTED_STATE_CONNECTED) { in getConnectedInfo()
805 if (getConnectedState() == CONNECTED_STATE_CONNECTED) { in getNetworkCapabilityDescription()
1036 if (getConnectedState() == CONNECTED_STATE_CONNECTED) { in updateWifiInfo()
1176 if (getConnectedState() == CONNECTED_STATE_CONNECTED && mWifiInfo != null) { in getWifiInfoDescription()
1264 if (connectedState == CONNECTED_STATE_CONNECTED) { in toString()
DNetworkDetailsTracker.java19 import static com.android.wifitrackerlib.WifiEntry.CONNECTED_STATE_CONNECTED;
155 if (chosenEntry.getConnectedState() == CONNECTED_STATE_CONNECTED) { in handleLinkPropertiesChanged()
DMergedCarrierEntry.java134 return getConnectedState() == CONNECTED_STATE_CONNECTED; in canDisconnect()
DPasspointWifiEntry.java188 case CONNECTED_STATE_CONNECTED: in getSummary()
330 return getConnectedState() == CONNECTED_STATE_CONNECTED; in canDisconnect()
DStandardWifiEntry.java200 case CONNECTED_STATE_CONNECTED: in getSummary()
394 return getConnectedState() == CONNECTED_STATE_CONNECTED; in canDisconnect()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DSavedNetworkTrackerTest.java24 import static com.android.wifitrackerlib.WifiEntry.CONNECTED_STATE_CONNECTED;
488 assertThat(entry.getConnectedState()).isEqualTo(CONNECTED_STATE_CONNECTED); in testConnectedEntry_alreadyConnectedOnStart_isConnected()
518 assertThat(entry.getConnectedState()).isEqualTo(CONNECTED_STATE_CONNECTED); in testDisconnectedEntry_connectToNetwork_becomesConnected()
543 assertThat(entry.getConnectedState()).isEqualTo(CONNECTED_STATE_CONNECTED); in testConnectedEntry_disconnectFromNetwork_becomesDisconnected()
572 assertThat(entry.getConnectedState()).isEqualTo(CONNECTED_STATE_CONNECTED); in testGetConnectedEntry_disconnectFromNetworkWhileStopped_becomesDisconnected()
618 .isEqualTo(CONNECTED_STATE_CONNECTED); in testConnectedEntry_mbbFlow_matchesNewPrimary()
637 .isEqualTo(CONNECTED_STATE_CONNECTED); in testConnectedEntry_mbbFlow_matchesNewPrimary()
652 .isEqualTo(CONNECTED_STATE_CONNECTED); in testConnectedEntry_mbbFlow_matchesNewPrimary()
658 .isEqualTo(CONNECTED_STATE_CONNECTED); in testConnectedEntry_mbbFlow_matchesNewPrimary()
718 assertThat(connectedWifiEntry.getConnectedState()).isEqualTo(CONNECTED_STATE_CONNECTED); in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges()
DMergedCarrierEntryTest.java80 assertThat(entry.getConnectedState()).isEqualTo(WifiEntry.CONNECTED_STATE_CONNECTED); in testGetConnectedState_wifiInfoMatches_returnsConnected()
DHotspotNetworkEntryTest.java25 import static com.android.wifitrackerlib.WifiEntry.CONNECTED_STATE_CONNECTED;
202 assertThat(entry.getConnectedState()).isEqualTo(CONNECTED_STATE_CONNECTED); in testOnNetworkCapabilitiesChanged_matchingSsidAndSecurity_becomesConnected()
216 assertThat(entry.getConnectedState()).isEqualTo(CONNECTED_STATE_CONNECTED); in testOnNetworkLost_matchingNetwork_becomesDisconnected()
DWifiPickerTrackerTest.java31 import static com.android.wifitrackerlib.WifiEntry.CONNECTED_STATE_CONNECTED;
1934 assertThat(primaryWifiEntry.getConnectedState()).isEqualTo(CONNECTED_STATE_CONNECTED); in testGetActiveWifiEntries_oemNetworksConnected_returnsPrimaryAndOemNetworks()
1935 assertThat(oemWifiEntry.getConnectedState()).isEqualTo(CONNECTED_STATE_CONNECTED); in testGetActiveWifiEntries_oemNetworksConnected_returnsPrimaryAndOemNetworks()
1951 assertThat(oemWifiEntry.getConnectedState()).isEqualTo(CONNECTED_STATE_CONNECTED); in testGetActiveWifiEntries_oemNetworksConnected_returnsPrimaryAndOemNetworks()
2009 .isEqualTo(CONNECTED_STATE_CONNECTED); in testGetMergedCarrierEntry_wifiInfoHasMatchingSubId_entryIsConnected()
2221 .isEqualTo(CONNECTED_STATE_CONNECTED); in testGetMergedCarrierEntry_wifiIsDefault_entryIsDefaultNetwork()
2266 .isEqualTo(CONNECTED_STATE_CONNECTED); in testGetMergedCarrierEntry_vcnWifiIsDefault_entryIsDefaultNetwork()
DStandardWifiEntryTest.java38 import static com.android.wifitrackerlib.WifiEntry.CONNECTED_STATE_CONNECTED;
402 assertThat(entry.getConnectedState()).isEqualTo(CONNECTED_STATE_CONNECTED); in testOnNetworkCapabilitiesChanged_matchingNetworkId_becomesConnected()
422 assertThat(entry.getConnectedState()).isEqualTo(CONNECTED_STATE_CONNECTED); in testOnNetworkLost_matchingNetwork_becomesDisconnected()
477 assertThat(entry.getConnectedState()).isEqualTo(CONNECTED_STATE_CONNECTED); in testOnNetworkCapabilitiesChanged_nonPrimaryOem_becomesConnected()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
DInternetAdapterTest.java260 mViewHolder.updateEndIcon(WifiEntry.CONNECTED_STATE_CONNECTED, WifiEntry.SECURITY_PSK); in viewHolderUpdateEndIcon_wifiConnected_updateGearIcon()
DInternetDialogDelegateControllerTest.java702 when(mWifiEntry1.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_CONNECTED); in onAccessPointsChanged_wifiIsDefaultButNoInternetAccess_putIntoWifiEntries()
719 when(mWifiEntry1.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_CONNECTED); in onAccessPointsChanged_connectedWifiNoInternetAccess_shouldSetListener()
732 when(mWifiEntry1.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_CONNECTED); in onUpdated_connectedWifiHasInternetAccess_shouldScanWifiAccessPoints()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogController.java24 import static com.android.wifitrackerlib.WifiEntry.CONNECTED_STATE_CONNECTED;
1282 if (entry.getConnectedState() != CONNECTED_STATE_CONNECTED
1305 if (entry.getConnectedState() != CONNECTED_STATE_CONNECTED) {