Home
last modified time | relevance | path

Searched refs:getConnectedState (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DPasspointWifiEntry.java153 public synchronized int getConnectedState() { in getConnectedState() method in PasspointWifiEntry
155 if (super.getConnectedState() == CONNECTED_STATE_DISCONNECTED in getConnectedState()
157 return mOsuWifiEntry.getConnectedState(); in getConnectedState()
160 return super.getConnectedState(); in getConnectedState()
181 final @ConnectedState int connectedState = getConnectedState(); in getSummary()
236 return getConnectedState() == CONNECTED_STATE_CONNECTED in getSecondSummary()
296 && getConnectedState() == CONNECTED_STATE_DISCONNECTED && mWifiConfig != null; in canConnect()
322 return getConnectedState() == CONNECTED_STATE_CONNECTED; in canDisconnect()
504 if (getConnectedState() == CONNECTED_STATE_DISCONNECTED) { in updateScanResultInfo()
DNetworkDetailsTracker.java127 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.java273 public synchronized int getConnectedState() { in getConnectedState() method in WifiEntry
333 return getConnectedState() != CONNECTED_STATE_DISCONNECTED in shouldShowXLevelIcon()
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()
989 && getConnectedState() == CONNECTED_STATE_DISCONNECTED) { in onSuccess()
1081 .append(getConnectedState() == CONNECTED_STATE_CONNECTED ? "true" : "false") in toString()
DWifiPickerTracker.java294 && mConnectedWifiEntry.getConnectedState() == CONNECTED_STATE_CONNECTED) { in handleLinkPropertiesChanged()
306 && mConnectedWifiEntry.getConnectedState() == CONNECTED_STATE_CONNECTED) { in handleNetworkCapabilitiesChanged()
322 if (mMergedCarrierEntry.getConnectedState() == CONNECTED_STATE_CONNECTED) { in handleDefaultRouteChanged()
356 final @WifiEntry.ConnectedState int connectedState = entry.getConnectedState(); in updateWifiEntries()
362 final @WifiEntry.ConnectedState int connectedState = entry.getConnectedState(); in updateWifiEntries()
369 final @WifiEntry.ConnectedState int connectedState = entry.getConnectedState(); in updateWifiEntries()
375 && mNetworkRequestEntry.getConnectedState() != CONNECTED_STATE_DISCONNECTED) { in updateWifiEntries()
396 entry.getConnectedState() == CONNECTED_STATE_DISCONNECTED in updateWifiEntries()
399 entry.getConnectedState() == CONNECTED_STATE_DISCONNECTED).collect(toList())); in updateWifiEntries()
401 entry.getConnectedState() == CONNECTED_STATE_DISCONNECTED in updateWifiEntries()
[all …]
DMergedCarrierEntry.java102 return getConnectedState() == CONNECTED_STATE_DISCONNECTED && !mIsCellDefaultRoute; in canConnect()
123 return getConnectedState() == CONNECTED_STATE_CONNECTED; in canDisconnect()
DOsuWifiEntry.java131 && getConnectedState() == CONNECTED_STATE_DISCONNECTED; in canConnect()
153 if (getConnectedState() == CONNECTED_STATE_DISCONNECTED) { in updateScanResultInfo()
DStandardWifiEntry.java180 final @ConnectedState int connectedState = getConnectedState(); in getSummary()
234 return getConnectedState() == CONNECTED_STATE_CONNECTED in getSecondSummary()
295 || getConnectedState() != CONNECTED_STATE_DISCONNECTED) { in canConnect()
377 return getConnectedState() == CONNECTED_STATE_CONNECTED; in canDisconnect()
685 if (getConnectedState() == CONNECTED_STATE_DISCONNECTED) { in updateTargetScanResultInfo()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DStandardWifiEntryTest.java378 assertThat(entry.getConnectedState()).isEqualTo(CONNECTED_STATE_CONNECTED); in testUpdateConnectionInfo_matchingNetId_updatesConnectionInfo()
398 assertThat(entry.getConnectedState()).isEqualTo(CONNECTED_STATE_DISCONNECTED); in testUpdateConnectionInfo_nonMatchingNetId_doesNotUpdateConnectionInfo()
1065 when(spyEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in testCanConnect_nonEapMethod_returnTrueIfReachable()
1074 when(spyEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in testCanConnect_nonEapMethod_returnTrueIfReachable()
1083 when(spyEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in testCanConnect_nonEapMethod_returnTrueIfReachable()
1092 when(spyEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in testCanConnect_nonEapMethod_returnTrueIfReachable()
1101 when(spyEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in testCanConnect_nonEapMethod_returnTrueIfReachable()
1120 when(spyEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in testCanConnect_nonSimMethod_returnTrueIfReachable()
1140 when(spyEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in testCanConnect_unknownCarrierId_returnTrueIfActiveSubscriptionAvailable()
1163 when(spyEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in testCanConnect_specifiedCarrierIdMatched_returnTrue()
[all …]
DMergedCarrierEntryTest.java86 assertThat(entry.getConnectedState()).isEqualTo(WifiEntry.CONNECTED_STATE_CONNECTED); in testGetConnectedState_wifiInfoMatches_returnsConnected()
DWifiPickerTrackerTest.java1024 assertThat(wifiPickerTracker.getMergedCarrierEntry().getConnectedState()) in testGetMergedCarrierEntry_wifiInfoHasMatchingSubId_entryIsConnected()
1235 assertThat(mergedCarrierEntry.getConnectedState()) in testGetMergedCarrierEntry_wifiIsDefault_entryIsDefaultNetwork()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiEntryPreference.java111 && mWifiEntry.getConnectedState() == WifiEntry.CONNECTED_STATE_DISCONNECTED) { in onBindViewHolder()
191 && mWifiEntry.getConnectedState() == WifiEntry.CONNECTED_STATE_CONNECTED); in getIconColorAttr()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DWifiTile.java411 if (ap.getConnectedState() == WifiEntry.CONNECTED_STATE_DISCONNECTED) { in onDetailItemClick()