/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProviderTest.java | 723 WifiConfiguration wifiConfig = mProvider.getWifiConfig(); in getWifiConfigWithUserCredential() local 724 WifiEnterpriseConfig wifiEnterpriseConfig = wifiConfig.enterpriseConfig; in getWifiConfigWithUserCredential() 725 assertEquals(fqdn, wifiConfig.FQDN); in getWifiConfigWithUserCredential() 726 assertEquals(friendlyName, wifiConfig.providerFriendlyName); in getWifiConfigWithUserCredential() 727 assertTrue(Arrays.equals(rcOIs, wifiConfig.roamingConsortiumIds)); in getWifiConfigWithUserCredential() 728 assertTrue(wifiConfig.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)); in getWifiConfigWithUserCredential() 729 assertTrue(wifiConfig.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X)); in getWifiConfigWithUserCredential() 730 assertFalse(wifiConfig.shared); in getWifiConfigWithUserCredential() 786 WifiConfiguration wifiConfig = mProvider.getWifiConfig(); in getWifiConfigWithCertCredential() local 787 WifiEnterpriseConfig wifiEnterpriseConfig = wifiConfig.enterpriseConfig; in getWifiConfigWithCertCredential() [all …]
|
D | PasspointManagerTest.java | 1138 WifiConfiguration wifiConfig = new WifiConfiguration(); in addLegacyPasspointConfigWithUserCredential() local 1139 wifiConfig.FQDN = fqdn; in addLegacyPasspointConfigWithUserCredential() 1140 wifiConfig.providerFriendlyName = friendlyName; in addLegacyPasspointConfigWithUserCredential() 1141 wifiConfig.roamingConsortiumIds = rcOIs; in addLegacyPasspointConfigWithUserCredential() 1142 wifiConfig.enterpriseConfig.setIdentity(username); in addLegacyPasspointConfigWithUserCredential() 1143 wifiConfig.enterpriseConfig.setPassword(password); in addLegacyPasspointConfigWithUserCredential() 1144 wifiConfig.enterpriseConfig.setRealm(realm); in addLegacyPasspointConfigWithUserCredential() 1145 wifiConfig.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TTLS); in addLegacyPasspointConfigWithUserCredential() 1146 wifiConfig.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.PAP); in addLegacyPasspointConfigWithUserCredential() 1147 wifiConfig.enterpriseConfig.setCaCertificateAlias(caCertificateAlias); in addLegacyPasspointConfigWithUserCredential() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointProvider.java | 293 WifiConfiguration wifiConfig = new WifiConfiguration(); in getWifiConfig() local 294 wifiConfig.FQDN = mConfig.getHomeSp().getFqdn(); in getWifiConfig() 296 wifiConfig.roamingConsortiumIds = Arrays.copyOf( in getWifiConfig() 300 wifiConfig.providerFriendlyName = mConfig.getHomeSp().getFriendlyName(); in getWifiConfig() 301 wifiConfig.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP); in getWifiConfig() 302 wifiConfig.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X); in getWifiConfig() 318 wifiConfig.enterpriseConfig = enterpriseConfig; in getWifiConfig() 319 wifiConfig.shared = mIsShared; in getWifiConfig() 320 return wifiConfig; in getWifiConfig() 338 public static PasspointConfiguration convertFromWifiConfig(WifiConfiguration wifiConfig) { in convertFromWifiConfig() argument [all …]
|
D | PasspointManager.java | 684 private boolean addWifiConfig(WifiConfiguration wifiConfig) { in addWifiConfig() argument 685 if (wifiConfig == null) { in addWifiConfig() 691 PasspointProvider.convertFromWifiConfig(wifiConfig); in addWifiConfig() 697 WifiEnterpriseConfig enterpriseConfig = wifiConfig.enterpriseConfig; in addWifiConfig() 719 mSimAccessor, mProviderIndex++, wifiConfig.creatorUid, in addWifiConfig()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigStoreLegacy.java | 219 WifiConfiguration wifiConfig = entry.getValue(); in loadFromPasspointConfigStore() local 222 if (wifiConfig.enterpriseConfig == null || wifiConfig.enterpriseConfig.getEapMethod() in loadFromPasspointConfigStore() 227 Map<String, String> extras = networkExtras.get(wifiConfig.networkId); in loadFromPasspointConfigStore() 231 String fqdn = networkExtras.get(wifiConfig.networkId).get( in loadFromPasspointConfigStore() 243 wifiConfig.isLegacyPasspointConfig = true; in loadFromPasspointConfigStore() 244 wifiConfig.FQDN = fqdn; in loadFromPasspointConfigStore() 245 wifiConfig.providerFriendlyName = passpointConfig.mFriendlyName; in loadFromPasspointConfigStore() 247 wifiConfig.roamingConsortiumIds = Arrays.copyOf( in loadFromPasspointConfigStore() 252 wifiConfig.enterpriseConfig.setPlmn(passpointConfig.mImsi); in loadFromPasspointConfigStore() 255 wifiConfig.enterpriseConfig.setRealm(passpointConfig.mRealm); in loadFromPasspointConfigStore()
|
D | WifiServiceImpl.java | 1004 public boolean startSoftAp(WifiConfiguration wifiConfig) { in startSoftAp() argument 1016 return startSoftApInternal(wifiConfig, WifiManager.IFACE_IP_MODE_TETHERED); in startSoftAp() 1024 private boolean startSoftApInternal(WifiConfiguration wifiConfig, int mode) { in startSoftApInternal() argument 1029 if (wifiConfig == null || WifiApConfigStore.validateApWifiConfiguration(wifiConfig)) { in startSoftApInternal() 1030 SoftApModeConfiguration softApConfig = new SoftApModeConfiguration(mode, wifiConfig); in startSoftApInternal() 1560 public boolean setWifiApConfiguration(WifiConfiguration wifiConfig, String packageName) { in setWifiApConfiguration() argument 1572 if (wifiConfig == null) in setWifiApConfiguration() 1574 if (WifiApConfigStore.validateApWifiConfiguration(wifiConfig)) { in setWifiApConfiguration() 1576 mWifiApConfigStore.setApConfiguration(wifiConfig); in setWifiApConfiguration()
|
D | WifiStateMachinePrime.java | 178 public void enterSoftAPMode(@NonNull SoftApModeConfiguration wifiConfig) { in enterSoftAPMode() argument 180 startSoftAp(wifiConfig); in enterSoftAPMode()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | TestAccessPointBuilder.java | 74 WifiConfiguration wifiConfig = new WifiConfiguration(); in build() local 75 wifiConfig.networkId = mNetworkId; in build() 76 wifiConfig.BSSID = mBssid; in build() 79 bundle.putParcelable(AccessPoint.KEY_CONFIG, wifiConfig); in build()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | IWifiManager.aidl | 132 boolean startSoftAp(in WifiConfiguration wifiConfig); in startSoftAp() argument 148 boolean setWifiApConfiguration(in WifiConfiguration wifiConfig, String packageName); in setWifiApConfiguration() argument
|
D | WifiManager.java | 1909 public boolean startSoftAp(@Nullable WifiConfiguration wifiConfig) { 1911 return mService.startSoftAp(wifiConfig); 2164 public boolean setWifiApConfiguration(WifiConfiguration wifiConfig) { 2166 return mService.setWifiApConfiguration(wifiConfig, mContext.getOpPackageName());
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 371 for (WifiConfiguration wifiConfig: wifiConfigList) { in disconnectAP() 372 logv("remove wifi configuration: " + wifiConfig.networkId); in disconnectAP() 373 int netId = wifiConfig.networkId; in disconnectAP()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 626 for (WifiConfiguration wifiConfig: wifiConfigList) { in disconnectAP() 627 Log.v(LOG_TAG, "Remove wifi configuration: " + wifiConfig.networkId); in disconnectAP() 628 int netId = wifiConfig.networkId; in disconnectAP()
|