/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiUtil.java | 162 WifiConfiguration wifiConfig = new WifiConfiguration(); in connectToAccessPoint() local 163 wifiConfig.SSID = String.format("\"%s\"", ssid); in connectToAccessPoint() 164 wifiConfig.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP); in connectToAccessPoint() 165 wifiConfig.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.TKIP); in connectToAccessPoint() 166 wifiConfig.allowedProtocols.set(WifiConfiguration.Protocol.RSN); in connectToAccessPoint() 167 wifiConfig.allowedProtocols.set(WifiConfiguration.Protocol.WPA); in connectToAccessPoint() 168 wifiConfig.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.WEP40); in connectToAccessPoint() 169 wifiConfig.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.WEP104); in connectToAccessPoint() 170 wifiConfig.hiddenSSID = hidden; in connectToAccessPoint() 173 wifiConfig.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in connectToAccessPoint() [all …]
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | WifiTetherPreferenceController.java | 150 WifiConfiguration wifiConfig = mWifiManager.getWifiApConfiguration(); in handleWifiApStateChanged() local 151 updateConfigSummary(wifiConfig); in handleWifiApStateChanged() 168 private void updateConfigSummary(WifiConfiguration wifiConfig) { in updateConfigSummary() argument 174 (wifiConfig == null) ? s : wifiConfig.SSID))); in updateConfigSummary()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/ |
D | WifiTetherPreferenceController.java | 150 WifiConfiguration wifiConfig = mWifiManager.getWifiApConfiguration(); in handleWifiApStateChanged() local 151 updateConfigSummary(wifiConfig); in handleWifiApStateChanged() 168 private void updateConfigSummary(WifiConfiguration wifiConfig) { in updateConfigSummary() argument 174 (wifiConfig == null) ? s : wifiConfig.SSID))); in updateConfigSummary()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/ |
D | WifiNetworkListFragment.java | 217 final WifiConfiguration wifiConfig = selectedAccessPoint.getConfig(); in onPreferenceTreeClick() local 218 if (wifiConfig == null) { in onPreferenceTreeClick() 223 wifiConfig.getPrintableSsid(), wifiConfig.preSharedKey, /* hiddenSsid */ false, in onPreferenceTreeClick() 224 wifiConfig.networkId, /* isHotspot */ false); in onPreferenceTreeClick()
|
D | WifiDppUtils.java | 135 for (WifiConfiguration wifiConfig : wifiConfigs) { in getPresharedKey() 136 if (wifiConfig.networkId == config.networkId) { in getPresharedKey() 137 preSharedKey = wifiConfig.preSharedKey; in getPresharedKey()
|
D | WifiDppQrCodeScannerFragment.java | 555 for (WifiConfiguration wifiConfig : wifiConfigs) { in onEnrolleeSuccess() 556 if (wifiConfig.networkId == newNetworkId) { in onEnrolleeSuccess() 558 mEnrolleeWifiConfiguration = wifiConfig; in onEnrolleeSuccess() 559 wifiManager.connect(wifiConfig, WifiDppQrCodeScannerFragment.this); in onEnrolleeSuccess()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiNetworkListFragment.java | 217 final WifiConfiguration wifiConfig = selectedAccessPoint.getConfig(); in onPreferenceTreeClick() local 218 if (wifiConfig == null) { in onPreferenceTreeClick() 223 wifiConfig.getPrintableSsid(), wifiConfig.preSharedKey, /* hiddenSsid */ false, in onPreferenceTreeClick() 224 wifiConfig.networkId, /* isHotspot */ false); in onPreferenceTreeClick()
|
D | WifiDppQrCodeScannerFragment.java | 562 for (WifiConfiguration wifiConfig : wifiConfigs) { in onEnrolleeSuccess() 563 if (wifiConfig.networkId == newNetworkId) { in onEnrolleeSuccess() 565 mEnrolleeWifiConfiguration = wifiConfig; in onEnrolleeSuccess() 566 wifiManager.connect(wifiConfig, WifiDppQrCodeScannerFragment.this); in onEnrolleeSuccess()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | ConnectState.java | 59 WifiConfiguration wifiConfig = userChoiceInfo.getWifiConfiguration(); in processForward() local 62 wifiConfig.getPrintableSsid()); in processForward() 64 if (!WifiConfigHelper.isNetworkSaved(wifiConfig)) { in processForward() 68 wifiConfig.setIpConfiguration(advFlowInfo.getIpConfiguration()); in processForward()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
D | WifiDetailsFragment.java | 241 WifiConfiguration wifiConfig = mWifiInfoProvider.getNetworkConfiguration(); in canModifyNetwork() local 242 LOG.d("wifiConfig is: " + wifiConfig); in canModifyNetwork() 243 return wifiConfig != null && !WifiUtil.isNetworkLockedDown(getContext(), wifiConfig); in canModifyNetwork()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/ |
D | HotspotConditionController.java | 117 WifiConfiguration wifiConfig = mWifiManager.getWifiApConfiguration(); in getSsid() local 118 if (wifiConfig == null) { in getSsid() 122 return wifiConfig.SSID; in getSsid()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | NetworkRequestDialogFragment.java | 206 WifiConfiguration wifiConfig = selectedAccessPoint.getConfig(); in onClick() local 207 if (wifiConfig == null) { in onClick() 208 wifiConfig = WifiUtils.getWifiConfig(selectedAccessPoint, /* scanResult */ in onClick() 212 if (wifiConfig != null) { in onClick() 213 mUserSelectionCallback.select(wifiConfig); in onClick()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | NetworkRequestDialogFragment.java | 206 WifiConfiguration wifiConfig = selectedAccessPoint.getConfig(); in onClick() local 207 if (wifiConfig == null) { in onClick() 208 wifiConfig = WifiUtils.getWifiConfig(selectedAccessPoint, /* scanResult */ in onClick() 212 if (wifiConfig != null) { in onClick() 213 mUserSelectionCallback.select(wifiConfig); in onClick()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/ |
D | HotspotConditionController.java | 117 WifiConfiguration wifiConfig = mWifiManager.getWifiApConfiguration(); in getSsid() local 118 if (wifiConfig == null) { in getSsid() 122 return wifiConfig.SSID; in getSsid()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiDialogActivityTest.java | 61 WifiConfiguration wifiConfig = new WifiConfiguration(); in setUp() local 62 wifiConfig.SSID = AP1_SSID; in setUp() 63 doReturn(wifiConfig).when(mController).getConfig(); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowWifiManager.java | 48 protected boolean setWifiApConfiguration(WifiConfiguration wifiConfig) { in setWifiApConfiguration() argument 49 mSavedApConfig = wifiConfig; in setWifiApConfiguration()
|