Searched refs:WifiUtils (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | WifiUtilsTest.java | 91 String summary = WifiUtils.verboseScanResultSummary(ap, scanResults.get(0), null, 0); in testVerboseSummaryString_showsScanResultSpeedLabel() 102 WifiUtils.getVisibilityStatus(mAccessPoint); in testGetVisibilityStatus_nullResultDoesNotCrash() 109 assertThat(WifiUtils.getMeteredLabel(mContext, mWifiConfig)).isEqualTo("Metered"); in testGetMeteredLabel_returnsCorrectValues() 113 assertThat(WifiUtils.getMeteredLabel(mContext, mWifiConfig)).isEqualTo("Metered"); in testGetMeteredLabel_returnsCorrectValues() 117 assertThat(WifiUtils.getMeteredLabel(mContext, mWifiConfig)).isEqualTo("Metered"); in testGetMeteredLabel_returnsCorrectValues() 121 assertThat(WifiUtils.getMeteredLabel(mContext, mWifiConfig)).isEqualTo("Unmetered"); in testGetMeteredLabel_returnsCorrectValues() 125 assertThat(WifiUtils.getMeteredLabel(mContext, mWifiConfig)).isEqualTo("Unmetered"); in testGetMeteredLabel_returnsCorrectValues() 132 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() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiUtils.java | 31 public class WifiUtils { class
|
D | AccessPoint.java | 1103 summary.append(WifiUtils.buildLoggingSummary(this, mConfig)); in getSettingsSummary() 1106 if (mConfig != null && (WifiUtils.isMeteredOverridden(mConfig) || mConfig.meteredHint)) { in getSettingsSummary() 1109 WifiUtils.getMeteredLabel(mContext, mConfig), in getSettingsSummary()
|