Home
last modified time | relevance | path

Searched refs:WifiUtils (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DWifiUtilsTest.java99 String summary = WifiUtils.verboseScanResultSummary(ap, scanResults.get(0), null, 0); in testVerboseSummaryString_showsScanResultSpeedLabel()
110 WifiUtils.getVisibilityStatus(mAccessPoint); in testGetVisibilityStatus_nullResultDoesNotCrash()
117 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()
140 assertThat(WifiUtils.isMeteredOverridden(mWifiConfig)).isFalse(); in testIsMeteredOverridden_returnsCorrectValues()
144 assertThat(WifiUtils.isMeteredOverridden(mWifiConfig)).isTrue(); in testIsMeteredOverridden_returnsCorrectValues()
148 assertThat(WifiUtils.isMeteredOverridden(mWifiConfig)).isTrue(); in testIsMeteredOverridden_returnsCorrectValues()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/satellite/
DSatelliteDialogUtils.kt28 import com.android.settingslib.wifi.WifiUtils in <lambda>()
96 putExtra(WifiUtils.DIALOG_WINDOW_TYPE, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetAdapter.java39 import com.android.settingslib.wifi.WifiUtils;
194 mJob = WifiUtils.checkWepAllowed(mContext, mCoroutineScope, wifiEntry.getSsid(), in onWifiClick()
210 final Intent intent = WifiUtils.getWifiDialogIntent(wifiEntry.getKey(), in wifiConnect()
DInternetDialogController.java23 import static com.android.settingslib.wifi.WifiUtils.getHotspotIconResource;
78 import com.android.settingslib.wifi.WifiUtils;
208 protected WifiUtils.InternetIconInjector mWifiIconInjector;
279 mWifiIconInjector = new WifiUtils.InternetIconInjector(mContext); in InternetDialogController()
376 return WifiUtils.getWifiDetailsSettingsIntent(key); in getWifiDetailsSettingsIntent()
1103 final Intent intent = WifiUtils.getWifiDialogIntent(mWifiEntry.getKey(),
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogDelegateControllerTest.java11 import static com.android.settingslib.wifi.WifiUtils.getHotspotIconResource;
66 import com.android.settingslib.wifi.WifiUtils;
159 private WifiUtils.InternetIconInjector mWifiIconInjector;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.kt47 open class WifiUtils { in <lambda>() class
DAccessPoint.java1231 summary.append(WifiUtils.buildLoggingSummary(this, mConfig)); in getSettingsSummary()
1234 if (mConfig != null && (WifiUtils.isMeteredOverridden(mConfig) || mConfig.meteredHint)) { in getSettingsSummary()
1237 WifiUtils.getMeteredLabel(mContext, mConfig), in getSettingsSummary()