Searched refs:getMeteredLabel (Results 1 – 3 of 3) sorted by relevance
108 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()
205 public static String getMeteredLabel(Context context, WifiConfiguration config) { in getMeteredLabel() method in WifiUtils
900 WifiUtils.getMeteredLabel(mContext, config), in getSettingsSummary()