Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DStandardNetworkDetailsTrackerTest.java26 import static com.android.wifitrackerlib.WifiEntry.WIFI_LEVEL_UNREACHABLE;
168 assertThat(wifiEntry.getLevel()).isEqualTo(WIFI_LEVEL_UNREACHABLE); in testScanResultsAvailableAction_updates_getLevel()
177 assertThat(wifiEntry.getLevel()).isNotEqualTo(WIFI_LEVEL_UNREACHABLE); in testScanResultsAvailableAction_updates_getLevel()
187 assertThat(wifiEntry.getLevel()).isEqualTo(WIFI_LEVEL_UNREACHABLE); in testScanResultsAvailableAction_updates_getLevel()
248 assertThat(wifiEntry.getLevel()).isNotEqualTo(WIFI_LEVEL_UNREACHABLE); in testWifiStateChanged_disabled_clearsLevel()
256 assertThat(wifiEntry.getLevel()).isEqualTo(WIFI_LEVEL_UNREACHABLE); in testWifiStateChanged_disabled_clearsLevel()
280 assertThat(wifiEntry.getLevel()).isEqualTo(WIFI_LEVEL_UNREACHABLE); in testSecurityTargeting_pskScansWithSaeConfig_correspondsToNewNetworkTargeting()
293 assertThat(wifiEntry.getLevel()).isNotEqualTo(WIFI_LEVEL_UNREACHABLE); in testSecurityTargeting_pskScansWithSaeConfig_correspondsToNewNetworkTargeting()
DSavedNetworkTrackerTest.java305 assertThat(entry.getLevel()).isEqualTo(WifiEntry.WIFI_LEVEL_UNREACHABLE); in testGetSavedWifiEntries_scanResultsAvailableAction_changesLevel()
312 assertThat(entry.getLevel()).isNotEqualTo(WifiEntry.WIFI_LEVEL_UNREACHABLE); in testGetSavedWifiEntries_scanResultsAvailableAction_changesLevel()
318 assertThat(entry.getLevel()).isEqualTo(WifiEntry.WIFI_LEVEL_UNREACHABLE); in testGetSavedWifiEntries_scanResultsAvailableAction_changesLevel()
DStandardWifiEntryTest.java39 import static com.android.wifitrackerlib.WifiEntry.WIFI_LEVEL_UNREACHABLE;
397 assertThat(entry.getLevel()).isEqualTo(WIFI_LEVEL_UNREACHABLE); in testUpdateConnectionInfo_nonMatchingNetId_doesNotUpdateConnectionInfo()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DWifiEntry.java114 public static final int WIFI_LEVEL_UNREACHABLE = -1; field in WifiEntry
231 protected int mLevel = WIFI_LEVEL_UNREACHABLE;
1033 if (getLevel() != WIFI_LEVEL_UNREACHABLE && other.getLevel() == WIFI_LEVEL_UNREACHABLE) { in compareTo()
1036 if (getLevel() == WIFI_LEVEL_UNREACHABLE && other.getLevel() != WIFI_LEVEL_UNREACHABLE) { in compareTo()
DPasspointNetworkDetailsTracker.java22 import static com.android.wifitrackerlib.WifiEntry.WIFI_LEVEL_UNREACHABLE;
213 if (mOsuWifiEntry != null && mOsuWifiEntry.getLevel() == WIFI_LEVEL_UNREACHABLE) { in updateOsuWifiEntryScans()
DOsuWifiEntry.java130 return mLevel != WIFI_LEVEL_UNREACHABLE in canConnect()
157 mLevel = WIFI_LEVEL_UNREACHABLE; in updateScanResultInfo()
DPasspointWifiEntry.java295 return mLevel != WIFI_LEVEL_UNREACHABLE in canConnect()
507 : WIFI_LEVEL_UNREACHABLE; in updateScanResultInfo()
512 mLevel = WIFI_LEVEL_UNREACHABLE; in updateScanResultInfo()
DWifiPickerTracker.java28 import static com.android.wifitrackerlib.WifiEntry.WIFI_LEVEL_UNREACHABLE;
489 entry -> entry.getLevel() == WIFI_LEVEL_UNREACHABLE); in updateStandardWifiEntryScans()
538 mSuggestedWifiEntryCache.removeIf(entry -> entry.getLevel() == WIFI_LEVEL_UNREACHABLE); in updateSuggestedWifiEntryScans()
579 .removeIf(entry -> entry.getValue().getLevel() == WIFI_LEVEL_UNREACHABLE in updatePasspointWifiEntryScans()
626 .removeIf(entry -> entry.getValue().getLevel() == WIFI_LEVEL_UNREACHABLE); in updateOsuWifiEntryScans()
DStandardWifiEntry.java294 if (mLevel == WIFI_LEVEL_UNREACHABLE in canConnect()
688 : WIFI_LEVEL_UNREACHABLE; in updateTargetScanResultInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DWifiTile.java472 return ap.getLevel() != WifiEntry.WIFI_LEVEL_UNREACHABLE; in isWifiEntryReachable()