Home
last modified time | relevance | path

Searched refs:WIFI_LEVEL_MIN (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DWifiRepositoryImpl.kt54 import com.android.wifitrackerlib.WifiEntry.WIFI_LEVEL_MIN 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.java15 import static com.android.wifitrackerlib.WifiEntry.WIFI_LEVEL_MIN;
994 assertThat(mInternetDialogController.getCarrierNetworkLevel()).isEqualTo(WIFI_LEVEL_MIN); in getCarrierNetworkLevel_mergedCarrierEntryIsNull_returnMinLevel()
1001 assertThat(mInternetDialogController.getCarrierNetworkLevel()).isEqualTo(WIFI_LEVEL_MIN); in getCarrierNetworkLevel_getUnreachableLevel_returnMinLevel()
1006 for (int level = WIFI_LEVEL_MIN; level <= WIFI_LEVEL_MAX; level++) { in getCarrierNetworkLevel_getAvailableLevel_returnSameLevel()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DWifiRepositoryImplTest.kt49 import com.android.wifitrackerlib.WifiEntry.WIFI_LEVEL_MIN
352 whenever(this.level).thenReturn(WIFI_LEVEL_MIN - 1) in wifiNetwork_levelTooLow_inactiveNetwork()
385 whenever(this.level).thenReturn(WIFI_LEVEL_MIN) in wifiNetwork_levelIsMin_activeNetworkWithMinLevel()
391 assertThat((latest as WifiNetworkModel.Active).level).isEqualTo(WIFI_LEVEL_MIN) in wifiNetwork_levelIsMin_activeNetworkWithMinLevel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogController.java865 if (mergedCarrierEntry == null) return WifiEntry.WIFI_LEVEL_MIN;
869 if (level < WifiEntry.WIFI_LEVEL_MIN) level = WifiEntry.WIFI_LEVEL_MIN;
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DWifiEntry.java115 public static final int WIFI_LEVEL_MIN = 0; field in WifiEntry