Home
last modified time | relevance | path

Searched refs:CONNECTED_STATE_DISCONNECTED (Results 1 – 14 of 14) sorted by relevance

/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DStandardWifiEntryTest.java39 import static com.android.wifitrackerlib.WifiEntry.CONNECTED_STATE_DISCONNECTED;
397 assertThat(entry.getConnectedState()).isEqualTo(CONNECTED_STATE_DISCONNECTED); in testOnNetworkCapabilitiesChanged_matchingNetworkId_becomesConnected()
426 assertThat(entry.getConnectedState()).isEqualTo(CONNECTED_STATE_DISCONNECTED); in testOnNetworkLost_matchingNetwork_becomesDisconnected()
452 assertThat(entry.getConnectedState()).isEqualTo(CONNECTED_STATE_DISCONNECTED); in testOnNetworkCapabilitiesChanged_notPrimaryAnymore_becomesDisconnected()
483 assertThat(entry.getConnectedState()).isEqualTo(CONNECTED_STATE_DISCONNECTED); in testOnNetworkCapabilitiesChanged_nonPrimaryOem_becomesConnected()
1192 when(spyEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in testCanConnect_nonEapMethod_returnTrueIfReachable()
1202 when(spyEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in testCanConnect_nonEapMethod_returnTrueIfReachable()
1212 when(spyEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in testCanConnect_nonEapMethod_returnTrueIfReachable()
1222 when(spyEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in testCanConnect_nonEapMethod_returnTrueIfReachable()
1232 when(spyEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in testCanConnect_nonEapMethod_returnTrueIfReachable()
[all …]
DSavedNetworkTrackerTest.java511 assertThat(entry.getConnectedState()).isEqualTo(WifiEntry.CONNECTED_STATE_DISCONNECTED); in testDisconnectedEntry_connectToNetwork_becomesConnected()
547 assertThat(entry.getConnectedState()).isEqualTo(WifiEntry.CONNECTED_STATE_DISCONNECTED); in testConnectedEntry_disconnectFromNetwork_becomesDisconnected()
581 assertThat(entry.getConnectedState()).isEqualTo(WifiEntry.CONNECTED_STATE_DISCONNECTED); in testGetConnectedEntry_disconnectFromNetworkWhileStopped_becomesDisconnected()
621 .isEqualTo(WifiEntry.CONNECTED_STATE_DISCONNECTED); in testConnectedEntry_mbbFlow_matchesNewPrimary()
639 .isEqualTo(WifiEntry.CONNECTED_STATE_DISCONNECTED); in testConnectedEntry_mbbFlow_matchesNewPrimary()
650 .isEqualTo(WifiEntry.CONNECTED_STATE_DISCONNECTED); in testConnectedEntry_mbbFlow_matchesNewPrimary()
656 .isEqualTo(WifiEntry.CONNECTED_STATE_DISCONNECTED); in testConnectedEntry_mbbFlow_matchesNewPrimary()
DHotspotNetworkEntryTest.java26 import static com.android.wifitrackerlib.WifiEntry.CONNECTED_STATE_DISCONNECTED;
194 assertThat(entry.getConnectedState()).isEqualTo(CONNECTED_STATE_DISCONNECTED); in testOnNetworkCapabilitiesChanged_matchingSsidAndSecurity_becomesConnected()
222 assertThat(entry.getConnectedState()).isEqualTo(CONNECTED_STATE_DISCONNECTED); in testOnNetworkLost_matchingNetwork_becomesDisconnected()
DWifiPickerTrackerTest.java32 import static com.android.wifitrackerlib.WifiEntry.CONNECTED_STATE_DISCONNECTED;
1234 .isEqualTo(WifiEntry.CONNECTED_STATE_DISCONNECTED); in testGetConnectedEntry_mbbFlow_matchesNewPrimary()
1949 .isEqualTo(CONNECTED_STATE_DISCONNECTED); in testGetActiveWifiEntries_oemNetworksConnected_returnsPrimaryAndOemNetworks()
1964 .isEqualTo(CONNECTED_STATE_DISCONNECTED); in testGetActiveWifiEntries_oemNetworksConnected_returnsPrimaryAndOemNetworks()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DWifiEntry.java103 CONNECTED_STATE_DISCONNECTED,
110 public static final int CONNECTED_STATE_DISCONNECTED = 0; field in WifiEntry
303 return CONNECTED_STATE_DISCONNECTED; in getConnectedState()
307 return CONNECTED_STATE_DISCONNECTED; in getConnectedState()
350 return getConnectedState() != CONNECTED_STATE_DISCONNECTED in shouldShowXLevelIcon()
395 if (getConnectedState() == CONNECTED_STATE_DISCONNECTED) { in isPrimaryNetwork()
DWifiPickerTracker.java27 import static com.android.wifitrackerlib.WifiEntry.CONNECTED_STATE_DISCONNECTED;
411 && mNetworkRequestEntry.getConnectedState() == CONNECTED_STATE_DISCONNECTED) { in handleNetworkLost()
558 entry.getConnectedState() == CONNECTED_STATE_DISCONNECTED); in updateWifiEntries()
630 entry.getConnectedState() == CONNECTED_STATE_DISCONNECTED in updateWifiEntries()
633 entry.getConnectedState() == CONNECTED_STATE_DISCONNECTED).collect(toList())); in updateWifiEntries()
635 entry.getConnectedState() == CONNECTED_STATE_DISCONNECTED in updateWifiEntries()
638 entry.getConnectedState() == CONNECTED_STATE_DISCONNECTED).collect(toList())); in updateWifiEntries()
641 (entry.getConnectedState() == CONNECTED_STATE_DISCONNECTED) in updateWifiEntries()
646 entry.getConnectedState() == CONNECTED_STATE_DISCONNECTED).collect( in updateWifiEntries()
877 && entry.getValue().getConnectedState() == CONNECTED_STATE_DISCONNECTED); in updatePasspointWifiEntryScans()
DPasspointWifiEntry.java151 if (super.getConnectedState() == CONNECTED_STATE_DISCONNECTED in getConnectedState()
179 case CONNECTED_STATE_DISCONNECTED: in getSummary()
304 && getConnectedState() == CONNECTED_STATE_DISCONNECTED && mWifiConfig != null; in canConnect()
540 if (getConnectedState() == CONNECTED_STATE_DISCONNECTED) { in updateScanResultInfo()
DHotspotNetworkEntry.java201 if (getConnectedState() == CONNECTED_STATE_DISCONNECTED) { in getLevel()
406 return getConnectedState() == CONNECTED_STATE_DISCONNECTED; in canConnect()
424 return getConnectedState() != CONNECTED_STATE_DISCONNECTED; in canDisconnect()
DOsuWifiEntry.java145 && getConnectedState() == CONNECTED_STATE_DISCONNECTED; in canConnect()
167 if (getConnectedState() == CONNECTED_STATE_DISCONNECTED) { in updateScanResultInfo()
DMergedCarrierEntry.java98 return getConnectedState() == CONNECTED_STATE_DISCONNECTED && !mIsCellDefaultRoute; in canConnect()
DStandardWifiEntry.java191 case CONNECTED_STATE_DISCONNECTED: in getSummary()
310 || getConnectedState() != CONNECTED_STATE_DISCONNECTED) { in canConnect()
698 if (getConnectedState() == CONNECTED_STATE_DISCONNECTED) { in updateTargetScanResultInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetAdapter.java170 if (connectedState != WifiEntry.CONNECTED_STATE_DISCONNECTED) { in onBind()
255 if (connectedState != WifiEntry.CONNECTED_STATE_DISCONNECTED) { in updateEndIcon()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
DInternetAdapterTest.java269 mViewHolder.updateEndIcon(WifiEntry.CONNECTED_STATE_DISCONNECTED, WifiEntry.SECURITY_PSK); in viewHolderUpdateEndIcon_wifiDisconnectedAndSecurityPsk_updateLockIcon()
276 mViewHolder.updateEndIcon(WifiEntry.CONNECTED_STATE_DISCONNECTED, WifiEntry.SECURITY_NONE); in viewHolderUpdateEndIcon_wifiDisconnectedAndSecurityNone_hideIcon()
DInternetDialogDelegateControllerTest.java212 when(mWifiEntry1.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_DISCONNECTED); in setUp()
213 when(mWifiEntry2.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_DISCONNECTED); in setUp()
214 when(mWifiEntry3.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_DISCONNECTED); in setUp()
215 when(mWifiEntry4.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_DISCONNECTED); in setUp()