/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProviderTest.java | 1003 WifiConfiguration wifiConfig = mProvider.getWifiConfig(); in getWifiConfigWithUserCredential() local 1004 WifiEnterpriseConfig wifiEnterpriseConfig = wifiConfig.enterpriseConfig; in getWifiConfigWithUserCredential() 1005 assertEquals(fqdn, wifiConfig.FQDN); in getWifiConfigWithUserCredential() 1006 assertEquals(friendlyName, wifiConfig.providerFriendlyName); in getWifiConfigWithUserCredential() 1007 assertTrue(Arrays.equals(rcOIs, wifiConfig.roamingConsortiumIds)); in getWifiConfigWithUserCredential() 1008 assertTrue(wifiConfig.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)); in getWifiConfigWithUserCredential() 1009 assertTrue(wifiConfig.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X)); in getWifiConfigWithUserCredential() 1010 assertEquals(wifiConfig.updateIdentifier, Integer.toString(config.getUpdateIdentifier())); in getWifiConfigWithUserCredential() 1011 assertEquals(allowedProtocols, wifiConfig.allowedProtocols); in getWifiConfigWithUserCredential() 1012 assertEquals("1234", wifiConfig.updateIdentifier); in getWifiConfigWithUserCredential() [all …]
|
D | PasspointManagerTest.java | 1342 WifiConfiguration wifiConfig = new WifiConfiguration(); in addLegacyPasspointConfigWithUserCredential() local 1343 wifiConfig.FQDN = fqdn; in addLegacyPasspointConfigWithUserCredential() 1344 wifiConfig.providerFriendlyName = friendlyName; in addLegacyPasspointConfigWithUserCredential() 1345 wifiConfig.roamingConsortiumIds = rcOIs; in addLegacyPasspointConfigWithUserCredential() 1346 wifiConfig.enterpriseConfig.setIdentity(username); in addLegacyPasspointConfigWithUserCredential() 1347 wifiConfig.enterpriseConfig.setPassword(password); in addLegacyPasspointConfigWithUserCredential() 1348 wifiConfig.enterpriseConfig.setRealm(realm); in addLegacyPasspointConfigWithUserCredential() 1349 wifiConfig.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TTLS); in addLegacyPasspointConfigWithUserCredential() 1350 wifiConfig.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.PAP); in addLegacyPasspointConfigWithUserCredential() 1351 wifiConfig.enterpriseConfig.setCaCertificateAlias(caCertificateAlias); in addLegacyPasspointConfigWithUserCredential() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointProvider.java | 389 WifiConfiguration wifiConfig = new WifiConfiguration(); in getWifiConfig() local 390 wifiConfig.FQDN = mConfig.getHomeSp().getFqdn(); in getWifiConfig() 392 wifiConfig.roamingConsortiumIds = Arrays.copyOf( in getWifiConfig() 399 wifiConfig.updateIdentifier = Integer.toString(mConfig.getUpdateIdentifier()); in getWifiConfig() 401 wifiConfig.meteredOverride = WifiConfiguration.METERED_OVERRIDE_METERED; in getWifiConfig() 404 wifiConfig.providerFriendlyName = mConfig.getHomeSp().getFriendlyName(); in getWifiConfig() 405 wifiConfig.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP); in getWifiConfig() 406 wifiConfig.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X); in getWifiConfig() 409 wifiConfig.allowedProtocols.set(WifiConfiguration.Protocol.RSN); in getWifiConfig() 425 wifiConfig.enterpriseConfig = enterpriseConfig; in getWifiConfig() [all …]
|
D | PasspointManager.java | 1134 private boolean addWifiConfig(WifiConfiguration wifiConfig) { in addWifiConfig() argument 1135 if (wifiConfig == null) { in addWifiConfig() 1141 PasspointProvider.convertFromWifiConfig(wifiConfig); in addWifiConfig() 1147 WifiEnterpriseConfig enterpriseConfig = wifiConfig.enterpriseConfig; in addWifiConfig() 1169 mSimAccessor, mProviderIndex++, wifiConfig.creatorUid, null, in addWifiConfig()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | TestAccessPointBuilder.java | 75 WifiConfiguration wifiConfig = null; in build() local 78 wifiConfig = new WifiConfiguration(); in build() 79 wifiConfig.networkId = mNetworkId; in build() 80 wifiConfig.BSSID = mBssid; in build() 84 bundle.putParcelable(AccessPoint.KEY_CONFIG, wifiConfig); in build()
|
/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/wifi/java/android/net/wifi/ |
D | IWifiManager.aidl | 138 boolean startSoftAp(in WifiConfiguration wifiConfig); in startSoftAp() argument 156 boolean setWifiApConfiguration(in WifiConfiguration wifiConfig, String packageName); in setWifiApConfiguration() argument
|
D | WifiManager.java | 2604 public boolean startSoftAp(@Nullable WifiConfiguration wifiConfig) { 2606 return mService.startSoftAp(wifiConfig); 2865 public boolean setWifiApConfiguration(WifiConfiguration wifiConfig) { 2867 return mService.setWifiApConfiguration(wifiConfig, mContext.getOpPackageName());
|
/frameworks/base/wifi/java/com/android/server/wifi/ |
D | BaseWifiService.java | 277 public boolean startSoftAp(WifiConfiguration wifiConfig) { in startSoftAp() argument 317 public boolean setWifiApConfiguration(WifiConfiguration wifiConfig, String packageName) { in setWifiApConfiguration() argument
|
/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()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ActiveModeWarden.java | 177 public void enterSoftAPMode(@NonNull SoftApModeConfiguration wifiConfig) { in enterSoftAPMode() argument 179 startSoftAp(wifiConfig); in enterSoftAPMode()
|
D | WifiServiceImpl.java | 1079 public boolean startSoftAp(WifiConfiguration wifiConfig) { in startSoftAp() argument 1101 return startSoftApInternal(wifiConfig, WifiManager.IFACE_IP_MODE_TETHERED); in startSoftAp() 1109 private boolean startSoftApInternal(WifiConfiguration wifiConfig, int mode) { in startSoftApInternal() argument 1114 if (wifiConfig == null || WifiApConfigStore.validateApWifiConfiguration(wifiConfig)) { in startSoftApInternal() 1115 SoftApModeConfiguration softApConfig = new SoftApModeConfiguration(mode, wifiConfig); in startSoftApInternal() 1645 public boolean setWifiApConfiguration(WifiConfiguration wifiConfig, String packageName) { in setWifiApConfiguration() argument 1657 if (wifiConfig == null) in setWifiApConfiguration() 1659 if (WifiApConfigStore.validateApWifiConfiguration(wifiConfig)) { in setWifiApConfiguration() 1661 mWifiApConfigStore.setApConfiguration(wifiConfig); in setWifiApConfiguration()
|
D | ClientModeImpl.java | 2990 WifiConfiguration wifiConfig = getCurrentWifiConfiguration(); in handleNetworkDisconnect() local 2991 if (wifiConfig != null) { in handleNetworkDisconnect() 2992 ScanResultMatchInfo matchInfo = ScanResultMatchInfo.fromWifiConfiguration(wifiConfig); in handleNetworkDisconnect() 2994 mWifiNetworkSuggestionsManager.handleDisconnect(wifiConfig, getCurrentBSSID()); in handleNetworkDisconnect()
|