Home
last modified time | relevance | path

Searched refs:wifiConfiguration (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/dpp/
DWifiDppIntentHelper.java60 WifiConfiguration wifiConfiguration) { in setConfiguratorIntentExtra() argument
61 String ssid = removeFirstAndLastDoubleQuotes(wifiConfiguration.SSID); in setConfiguratorIntentExtra()
62 String security = getSecurityString(wifiConfiguration); in setConfiguratorIntentExtra()
67 wifiConfiguration)); in setConfiguratorIntentExtra()
78 intent.putExtra(EXTRA_WIFI_HIDDEN_SSID, wifiConfiguration.hiddenSSID); in setConfiguratorIntentExtra()
112 WifiConfiguration wifiConfiguration) { in getPresharedKey() argument
117 if (privilegedWifiConfiguration.networkId == wifiConfiguration.networkId) { in getPresharedKey()
120 if (wifiConfiguration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE) in getPresharedKey()
121 && wifiConfiguration.allowedAuthAlgorithms.get( in getPresharedKey()
130 return wifiConfiguration.preSharedKey; in getPresharedKey()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/dpp/
DWifiDppIntentHelperTest.java55 WifiConfiguration wifiConfiguration = new WifiConfiguration(); in setConfiguratorIntentExtra_returnsCorrectValues() local
56 wifiConfiguration.SSID = EXTRA_WIFI_SSID; in setConfiguratorIntentExtra_returnsCorrectValues()
57 wifiConfiguration.preSharedKey = EXTRA_WIFI_PRE_SHARED_KEY; in setConfiguratorIntentExtra_returnsCorrectValues()
58 wifiConfiguration.hiddenSSID = true; in setConfiguratorIntentExtra_returnsCorrectValues()
61 WifiDppIntentHelper.setConfiguratorIntentExtra(expected, mWifiManager, wifiConfiguration); in setConfiguratorIntentExtra_returnsCorrectValues()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DUtils.java253 @Nullable WifiConfiguration wifiConfiguration, in getConnectedDescription() argument
267 boolean isNoInternetExpected = wifiConfiguration != null in getConnectedDescription()
268 && wifiConfiguration.isNoInternetAccessExpected(); in getConnectedDescription()
274 if (wifiConfiguration != null in getConnectedDescription()
275 && (wifiConfiguration.fromWifiNetworkSuggestion in getConnectedDescription()
276 || wifiConfiguration.fromWifiNetworkSpecifier)) { in getConnectedDescription()
277 suggestionOrSpecifierLabel = getSuggestionOrSpecifierLabel(context, wifiConfiguration); in getConnectedDescription()
357 WifiConfiguration wifiConfiguration, in getDisconnectedDescription() argument
360 if (context == null || wifiConfiguration == null) { in getDisconnectedDescription()
369 } else if (forSavedNetworksPage && !wifiConfiguration.isPasspoint()) { in getDisconnectedDescription()
[all …]
DStandardWifiEntry.java1248 ScanResultKey(@NonNull WifiConfiguration wifiConfiguration) { in ScanResultKey() argument
1249 this(sanitizeSsid(wifiConfiguration.SSID), in ScanResultKey()
1250 getSecurityTypesFromWifiConfiguration(wifiConfiguration)); in ScanResultKey()