Home
last modified time | relevance | path

Searched refs:wifiConfig (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DAddWifiFragment.java161 WifiConfiguration wifiConfig = new WifiConfiguration(); in connectToAccessPoint() local
162 wifiConfig.SSID = String.format("\"%s\"", getSsId()); in connectToAccessPoint()
163 wifiConfig.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP); in connectToAccessPoint()
164 wifiConfig.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.TKIP); in connectToAccessPoint()
165 wifiConfig.allowedProtocols.set(WifiConfiguration.Protocol.RSN); in connectToAccessPoint()
166 wifiConfig.allowedProtocols.set(WifiConfiguration.Protocol.WPA); in connectToAccessPoint()
167 wifiConfig.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.WEP40); in connectToAccessPoint()
168 wifiConfig.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.WEP104); in connectToAccessPoint()
172 wifiConfig.hiddenSSID = true; in connectToAccessPoint()
178 wifiConfig.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in connectToAccessPoint()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiApDialog.java70 WifiConfiguration wifiConfig) { in WifiApDialog() argument
73 mWifiConfig = wifiConfig; in WifiApDialog()
74 if (wifiConfig != null) { in WifiApDialog()
75 mSecurityTypeIndex = getSecurityTypeIndex(wifiConfig); in WifiApDialog()
81 public static int getSecurityTypeIndex(WifiConfiguration wifiConfig) { in getSecurityTypeIndex() argument
82 if (wifiConfig.allowedKeyManagement.get(KeyMgmt.WPA2_PSK)) { in getSecurityTypeIndex()
DWifiApEnabler.java117 private void updateConfigSummary(WifiConfiguration wifiConfig) { in updateConfigSummary() argument
123 (wifiConfig == null) ? s : wifiConfig.SSID))); in updateConfigSummary()
144 WifiConfiguration wifiConfig = mWifiManager.getWifiApConfiguration(); in updateTetherState() local
145 updateConfigSummary(wifiConfig); in updateTetherState()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherPreferenceController.java173 WifiConfiguration wifiConfig = mWifiManager.getWifiApConfiguration(); in updateTetherState() local
174 updateConfigSummary(wifiConfig); in updateTetherState()
194 private void updateConfigSummary(WifiConfiguration wifiConfig) { in updateConfigSummary() argument
200 (wifiConfig == null) ? s : wifiConfig.SSID))); in updateConfigSummary()
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/
DHotspotCondition.java72 WifiConfiguration wifiConfig = mWifiManager.getWifiApConfiguration(); in getSsid() local
73 if (wifiConfig == null) { in getSsid()
77 return wifiConfig.SSID; in getSsid()