Home
last modified time | relevance | path

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

12

/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
DWifiUtilsTest.java74 assertThat(WifiUtils.isSSIDTooLong("123")).isFalse(); in testSSID()
75 assertThat(WifiUtils.isSSIDTooLong("☎☎☎☎☎☎☎☎☎☎☎☎☎☎☎☎☎")).isTrue(); in testSSID()
77 assertThat(WifiUtils.isSSIDTooShort("123")).isFalse(); in testSSID()
78 assertThat(WifiUtils.isSSIDTooShort("")).isTrue(); in testSSID()
85 assertThat(WifiUtils.isHotspotPasswordValid("123", in testPassword()
87 assertThat(WifiUtils.isHotspotPasswordValid("12345678", in testPassword()
89 assertThat(WifiUtils.isHotspotPasswordValid("1234567890", in testPassword()
91 assertThat(WifiUtils.isHotspotPasswordValid(longPassword, in testPassword()
93 assertThat(WifiUtils.isHotspotPasswordValid("", in testPassword()
95 assertThat(WifiUtils.isHotspotPasswordValid("€¥£", in testPassword()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiDeviceNameTextValidator.java20 import com.android.settings.wifi.WifiUtils;
28 return !WifiUtils.isSSIDTooLong(value) && !WifiUtils.isSSIDTooShort(value); in isTextValid()
DWifiTetherPasswordPreferenceController.java31 import com.android.settings.wifi.WifiUtils;
110 } else if (!WifiUtils.isHotspotPasswordValid(mPassword, securityType)) { in getPasswordValidated()
130 return WifiUtils.isHotspotPasswordValid(value, mSecurityType); in isTextValid()
DWifiTetherPreferenceController.java22 import static com.android.settings.wifi.WifiUtils.canShowWifiHotspot;
47 import com.android.settingslib.wifi.WifiUtils;
175 WifiUtils.getWifiTetherSummaryForConnectedDevices(mContext, in initWifiTetherSoftApManager()
DWifiTetherSettings.java23 import static com.android.settings.wifi.WifiUtils.canShowWifiHotspot;
45 import com.android.settings.wifi.WifiUtils;
396 return WifiUtils.canShowWifiHotspot(context); in isPageSearchEnabled()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiEntryPreference.java18 import static com.android.settingslib.wifi.WifiUtils.getHotspotIconResource;
40 import com.android.settingslib.wifi.WifiUtils;
70 private final WifiUtils.InternetIconInjector mIconInjector;
78 this(context, wifiEntry, new WifiUtils.InternetIconInjector(context)); in WifiEntryPreference()
83 @NonNull WifiUtils.InternetIconInjector iconInjector) { in WifiEntryPreference()
DWifiUtils.java45 public class WifiUtils extends com.android.settingslib.wifi.WifiUtils { class
DWifiDialog2.kt130 if (WifiUtils.isNetworkLockedDown(context, wifiEntry!!.wifiConfiguration)) { in onClick()
DWifiDialog.java162 if (WifiUtils.isNetworkLockedDown(getContext(), mAccessPoint.getConfig())) { in onClick()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiUtils.java29 class WifiUtils { class
45 private WifiUtils() {} in WifiUtils() method in WifiUtils
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiTetherUtil.java27 import com.android.settingslib.wifi.WifiUtils;
65 return WifiUtils.getWifiTetherSummaryForConnectedDevices(context, connectedDevices); in getHotspotSubtitle()
/packages/apps/Settings/src/com/android/settings/network/
DSatelliteWarningDialogActivity.kt30 import com.android.settingslib.wifi.WifiUtils
46 WifiUtils.DIALOG_WINDOW_TYPE, in getDialogWindowType()
DWepNetworkDialogActivity.kt34 import com.android.settingslib.wifi.WifiUtils.Companion.DIALOG_WINDOW_TYPE
35 import com.android.settingslib.wifi.WifiUtils.Companion.SSID
DNetworkProviderSettings.java78 import com.android.settings.wifi.WifiUtils;
644 if (WifiUtils.isNetworkLockedDown(getActivity(), config)) { in onCreateContextMenu()
677 return mSelectedWifiEntry.canForget() && !WifiUtils.isNetworkLockedDown(getActivity(), in canForgetNetwork()
766 if (WifiUtils.isNetworkLockedDown(getActivity(), wifiEntry.getWifiConfiguration()) in showDialog()
1263 WifiUtils.checkWepAllowed( in connect()
DProviderModelSlice.java56 import com.android.settings.wifi.WifiUtils;
402 WifiUtils.getInternetIconResource( in getWifiSliceItemLevelIcon()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
DHotspotRowTest.java43 import com.android.settingslib.wifi.WifiUtils;
114 WifiUtils.getWifiTetherSummaryForConnectedDevices(mContext, connectedDevices)); in getQCItem_hotspotEnabled_hasDevices_returnsRow()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/
DWifiSliceTest.java24 import static com.android.settingslib.wifi.WifiUtils.getHotspotIconResource;
54 import com.android.settings.wifi.WifiUtils;
360 .isEqualTo(WifiUtils.getInternetIconResource(WifiEntry.WIFI_LEVEL_MAX, false)); in getWifiIconResId_notInstantHotspotNetwork_returnInternetIcon()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DWifiTetherPreferenceControllerTest.java46 import com.android.settingslib.wifi.WifiUtils;
281 WifiUtils.getWifiTetherSummaryForConnectedDevices(mContext, connectedClients)); in onDeviceConnected_showsDeviceConnectedSubtitle()
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DWifiSlice.java23 import static com.android.settingslib.wifi.WifiUtils.getHotspotIconResource;
62 import com.android.settings.wifi.WifiUtils;
286 : WifiUtils.getInternetIconResource(wifiSliceItem.getLevel(), in getWifiIconResId()
/packages/apps/Settings/src/com/android/settings/wifi/details2/
DWifiDetailPreferenceController2.java24 import static com.android.settingslib.wifi.WifiUtils.getHotspotIconResource;
74 import com.android.settings.wifi.WifiUtils;
887 && !WifiUtils.isNetworkLockedDown(mContext, mWifiEntry.getWifiConfiguration()); in canModifyNetwork()
895 && !WifiUtils.isNetworkLockedDown(mContext, mWifiEntry.getWifiConfiguration()); in canForgetNetwork()
1020 return mContext.getDrawable(WifiUtils.getInternetIconResource(level, showX)).mutate(); in getIcon()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DWifiUtils.java29 public class WifiUtils { class
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiEntryPreferenceTest.java39 import com.android.settingslib.wifi.WifiUtils;
64 private WifiUtils.InternetIconInjector mMockIconInjector;
/packages/apps/Settings/src/com/android/settings/shortcut/
DCreateShortcutPreferenceController.java57 import com.android.settings.wifi.WifiUtils;
230 return WifiUtils.canShowWifiHotspot(mContext); in canShowWifiHotspot()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
DWifiNetworkDetailsFragmentTest.java58 import com.android.settings.wifi.WifiUtils;
252 .getDrawable(WifiUtils.getInternetIconResource(WIFI_LEVEL_MAX, false)); in updateInternetSource_networkTypeWifi_setWifiResource()
/packages/apps/Settings/src/com/android/settings/wifi/details/
DWifiNetworkDetailsFragment.java56 import com.android.settings.wifi.WifiUtils;
431 WifiUtils.getInternetIconResource(upstreamConnectionStrength, false)); in updateInternetSource()

12