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.java117 assertThat(WifiUtils.getMeteredLabel(mContext, mWifiConfig)).isEqualTo("Metered"); in testGetMeteredLabel_returnsCorrectValues()
121 assertThat(WifiUtils.getMeteredLabel(mContext, mWifiConfig)).isEqualTo("Metered"); in testGetMeteredLabel_returnsCorrectValues()
125 assertThat(WifiUtils.getMeteredLabel(mContext, mWifiConfig)).isEqualTo("Metered"); in testGetMeteredLabel_returnsCorrectValues()
129 assertThat(WifiUtils.getMeteredLabel(mContext, mWifiConfig)).isEqualTo("Unmetered"); in testGetMeteredLabel_returnsCorrectValues()
133 assertThat(WifiUtils.getMeteredLabel(mContext, mWifiConfig)).isEqualTo("Unmetered"); in testGetMeteredLabel_returnsCorrectValues()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.kt372 fun getMeteredLabel(context: Context, config: WifiConfiguration): String { in <lambda>() method
DAccessPoint.java1237 WifiUtils.getMeteredLabel(mContext, mConfig), in getSettingsSummary()