Home
last modified time | relevance | path

Searched refs:isMeteredOverridden (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DWifiUtilsTest.java131 assertThat(WifiUtils.isMeteredOverridden(mWifiConfig)).isFalse(); in testIsMeteredOverridden_returnsCorrectValues()
135 assertThat(WifiUtils.isMeteredOverridden(mWifiConfig)).isTrue(); in testIsMeteredOverridden_returnsCorrectValues()
139 assertThat(WifiUtils.isMeteredOverridden(mWifiConfig)).isTrue(); in testIsMeteredOverridden_returnsCorrectValues()
143 assertThat(WifiUtils.isMeteredOverridden(mWifiConfig)).isTrue(); in testIsMeteredOverridden_returnsCorrectValues()
147 assertThat(WifiUtils.isMeteredOverridden(mWifiConfig)).isTrue(); in testIsMeteredOverridden_returnsCorrectValues()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.java209 || (config.meteredHint && !isMeteredOverridden(config))) { in getMeteredLabel()
215 public static boolean isMeteredOverridden(WifiConfiguration config) { in isMeteredOverridden() method in WifiUtils
DAccessPoint.java897 if (config != null && (WifiUtils.isMeteredOverridden(config) || config.meteredHint)) { in getSettingsSummary()