Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DWifiUtilsTest.java108 assertThat(WifiUtils.getMeteredLabel(mContext, mWifiConfig)).isEqualTo("Metered"); in testGetMeteredLabel_returnsCorrectValues()
112 assertThat(WifiUtils.getMeteredLabel(mContext, mWifiConfig)).isEqualTo("Metered"); in testGetMeteredLabel_returnsCorrectValues()
116 assertThat(WifiUtils.getMeteredLabel(mContext, mWifiConfig)).isEqualTo("Metered"); in testGetMeteredLabel_returnsCorrectValues()
120 assertThat(WifiUtils.getMeteredLabel(mContext, mWifiConfig)).isEqualTo("Unmetered"); in testGetMeteredLabel_returnsCorrectValues()
124 assertThat(WifiUtils.getMeteredLabel(mContext, mWifiConfig)).isEqualTo("Unmetered"); in testGetMeteredLabel_returnsCorrectValues()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.java205 public static String getMeteredLabel(Context context, WifiConfiguration config) { in getMeteredLabel() method in WifiUtils
DAccessPoint.java900 WifiUtils.getMeteredLabel(mContext, config), in getSettingsSummary()