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.java132 assertThat(WifiUtils.isMeteredOverridden(mWifiConfig)).isFalse(); in testIsMeteredOverridden_returnsCorrectValues()
136 assertThat(WifiUtils.isMeteredOverridden(mWifiConfig)).isTrue(); in testIsMeteredOverridden_returnsCorrectValues()
140 assertThat(WifiUtils.isMeteredOverridden(mWifiConfig)).isTrue(); in testIsMeteredOverridden_returnsCorrectValues()
144 assertThat(WifiUtils.isMeteredOverridden(mWifiConfig)).isTrue(); in testIsMeteredOverridden_returnsCorrectValues()
148 assertThat(WifiUtils.isMeteredOverridden(mWifiConfig)).isTrue(); in testIsMeteredOverridden_returnsCorrectValues()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.java210 || (config.meteredHint && !isMeteredOverridden(config))) { in getMeteredLabel()
216 public static boolean isMeteredOverridden(WifiConfiguration config) { in isMeteredOverridden() method in WifiUtils
DAccessPoint.java1214 if (mConfig != null && (WifiUtils.isMeteredOverridden(mConfig) || mConfig.meteredHint)) { in getSettingsSummary()