Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DStandardNetworkDetailsTrackerTest.java29 import static com.android.wifitrackerlib.WifiEntry.WIFI_LEVEL_UNREACHABLE;
193 assertThat(wifiEntry.getLevel()).isEqualTo(WIFI_LEVEL_UNREACHABLE); in testScanResultsAvailableAction_updates_getLevel()
202 assertThat(wifiEntry.getLevel()).isNotEqualTo(WIFI_LEVEL_UNREACHABLE); in testScanResultsAvailableAction_updates_getLevel()
212 assertThat(wifiEntry.getLevel()).isEqualTo(WIFI_LEVEL_UNREACHABLE); in testScanResultsAvailableAction_updates_getLevel()
273 assertThat(wifiEntry.getLevel()).isNotEqualTo(WIFI_LEVEL_UNREACHABLE); in testWifiStateChanged_disabled_clearsLevel()
281 assertThat(wifiEntry.getLevel()).isEqualTo(WIFI_LEVEL_UNREACHABLE); in testWifiStateChanged_disabled_clearsLevel()
304 assertThat(wifiEntry.getLevel()).isEqualTo(WIFI_LEVEL_UNREACHABLE); in testSecurityTargeting_pskScansWithSaeConfig_correspondsToNewNetworkTargeting()
316 assertThat(wifiEntry.getLevel()).isNotEqualTo(WIFI_LEVEL_UNREACHABLE); in testSecurityTargeting_pskScansWithSaeConfig_correspondsToNewNetworkTargeting()
DSavedNetworkTrackerTest.java329 assertThat(entry.getLevel()).isEqualTo(WifiEntry.WIFI_LEVEL_UNREACHABLE); in testGetSavedWifiEntries_scanResultsAvailableAction_changesLevel()
336 assertThat(entry.getLevel()).isNotEqualTo(WifiEntry.WIFI_LEVEL_UNREACHABLE); in testGetSavedWifiEntries_scanResultsAvailableAction_changesLevel()
342 assertThat(entry.getLevel()).isEqualTo(WifiEntry.WIFI_LEVEL_UNREACHABLE); in testGetSavedWifiEntries_scanResultsAvailableAction_changesLevel()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DPasspointNetworkDetailsTracker.java22 import static com.android.wifitrackerlib.WifiEntry.WIFI_LEVEL_UNREACHABLE;
240 if (mOsuWifiEntry != null && mOsuWifiEntry.getLevel() == WIFI_LEVEL_UNREACHABLE) { in updateOsuWifiEntryScans()
DOsuWifiEntry.java144 return mLevel != WIFI_LEVEL_UNREACHABLE in canConnect()
171 mLevel = WIFI_LEVEL_UNREACHABLE; in updateScanResultInfo()
DPasspointWifiEntry.java303 return mLevel != WIFI_LEVEL_UNREACHABLE in canConnect()
543 : WIFI_LEVEL_UNREACHABLE; in updateScanResultInfo()
546 mLevel = WIFI_LEVEL_UNREACHABLE; in updateScanResultInfo()
DWifiPickerTracker.java28 import static com.android.wifitrackerlib.WifiEntry.WIFI_LEVEL_UNREACHABLE;
782 entry -> entry.getLevel() == WIFI_LEVEL_UNREACHABLE); in updateStandardWifiEntryScans()
834 mSuggestedWifiEntryCache.removeIf(entry -> entry.getLevel() == WIFI_LEVEL_UNREACHABLE); in updateSuggestedWifiEntryScans()
875 .removeIf(entry -> entry.getValue().getLevel() == WIFI_LEVEL_UNREACHABLE in updatePasspointWifiEntryScans()
922 .removeIf(entry -> entry.getValue().getLevel() == WIFI_LEVEL_UNREACHABLE); in updateOsuWifiEntryScans()
997 entry -> entry.getLevel() == WIFI_LEVEL_UNREACHABLE); in updateKnownNetworkEntryScans()
DWifiEntry.java117 public static final int WIFI_LEVEL_UNREACHABLE = -1; field in WifiEntry
242 protected int mLevel = WIFI_LEVEL_UNREACHABLE;
DStandardWifiEntry.java309 if (mLevel == WIFI_LEVEL_UNREACHABLE in canConnect()
701 : WIFI_LEVEL_UNREACHABLE; in updateTargetScanResultInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DWifiRepositoryImpl.kt55 import com.android.wifitrackerlib.WifiEntry.WIFI_LEVEL_UNREACHABLE in <lambda>()
273 if (this.level == WIFI_LEVEL_UNREACHABLE || this.level !in WIFI_LEVEL_MIN..WIFI_LEVEL_MAX) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogDelegateControllerTest.java16 import static com.android.wifitrackerlib.WifiEntry.WIFI_LEVEL_UNREACHABLE;
537 when(mConnectedEntry.getLevel()).thenReturn(WIFI_LEVEL_UNREACHABLE); in getWifiDrawable_withWifiLevelUnreachable_returnNull()
999 when(mMergedCarrierEntry.getLevel()).thenReturn(WIFI_LEVEL_UNREACHABLE); in getCarrierNetworkLevel_getUnreachableLevel_returnMinLevel()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DWifiRepositoryImplTest.kt50 import com.android.wifitrackerlib.WifiEntry.WIFI_LEVEL_UNREACHABLE
320 whenever(this.level).thenReturn(WIFI_LEVEL_UNREACHABLE) in wifiNetwork_unreachableLevel_inactiveNetwork()
875 mock<WifiEntry>().apply { whenever(this.level).thenReturn(WIFI_LEVEL_UNREACHABLE) } in secondaryNetworks_mapsToInactive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogController.java484 if (wifiEntry.getLevel() == WifiEntry.WIFI_LEVEL_UNREACHABLE) { in getWifiDrawable()