Searched refs:getConnectedState (Results 1 – 12 of 12) sorted by relevance
153 public synchronized int getConnectedState() { in getConnectedState() method in PasspointWifiEntry155 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()
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()
273 public synchronized int getConnectedState() { in getConnectedState() method in WifiEntry333 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()
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()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 …]
102 return getConnectedState() == CONNECTED_STATE_DISCONNECTED && !mIsCellDefaultRoute; in canConnect()123 return getConnectedState() == CONNECTED_STATE_CONNECTED; in canDisconnect()
131 && getConnectedState() == CONNECTED_STATE_DISCONNECTED; in canConnect()153 if (getConnectedState() == CONNECTED_STATE_DISCONNECTED) { in updateScanResultInfo()
180 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()
378 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 …]
86 assertThat(entry.getConnectedState()).isEqualTo(WifiEntry.CONNECTED_STATE_CONNECTED); in testGetConnectedState_wifiInfoMatches_returnsConnected()
1024 assertThat(wifiPickerTracker.getMergedCarrierEntry().getConnectedState()) in testGetMergedCarrierEntry_wifiInfoHasMatchingSubId_entryIsConnected()1235 assertThat(mergedCarrierEntry.getConnectedState()) in testGetMergedCarrierEntry_wifiIsDefault_entryIsDefaultNetwork()
111 && mWifiEntry.getConnectedState() == WifiEntry.CONNECTED_STATE_DISCONNECTED) { in onBindViewHolder()191 && mWifiEntry.getConnectedState() == WifiEntry.CONNECTED_STATE_CONNECTED); in getIconColorAttr()
411 if (ap.getConnectedState() == WifiEntry.CONNECTED_STATE_DISCONNECTED) { in onDetailItemClick()