Searched refs:legacyConfig (Results 1 – 2 of 2) sorted by relevance
1174 WifiConfiguration legacyConfig = new WifiConfiguration(config); in convertMultiTypeConfigsToLegacyConfigs() local1175 legacyConfig.setSecurityParams(params); in convertMultiTypeConfigsToLegacyConfigs()1177 legacyConfig.getNetworkSelectionStatus().setNetworkSelectionStatus( in convertMultiTypeConfigsToLegacyConfigs()1180 legacyConfig.getNetworkSelectionStatus().setNetworkSelectionDisableReason( in convertMultiTypeConfigsToLegacyConfigs()1183 legacyConfig.getNetworkSelectionStatus().setDisableReasonCounter( in convertMultiTypeConfigsToLegacyConfigs()1187 legacyConfigs.add(legacyConfig); in convertMultiTypeConfigsToLegacyConfigs()
1108 WifiConfiguration legacyConfig = new WifiConfiguration(); in testGetNetworkSuggestionsForScanDetailSuccessWithOneMatchForLegacyConfig() local1109 legacyConfig.SSID = "\"test\""; in testGetNetworkSuggestionsForScanDetailSuccessWithOneMatchForLegacyConfig()1110 legacyConfig.allowedProtocols.set(WifiConfiguration.Protocol.RSN); in testGetNetworkSuggestionsForScanDetailSuccessWithOneMatchForLegacyConfig()1111 legacyConfig.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testGetNetworkSuggestionsForScanDetailSuccessWithOneMatchForLegacyConfig()1112 legacyConfig.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP); in testGetNetworkSuggestionsForScanDetailSuccessWithOneMatchForLegacyConfig()1113 legacyConfig.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.CCMP); in testGetNetworkSuggestionsForScanDetailSuccessWithOneMatchForLegacyConfig()1114 legacyConfig.preSharedKey = "\"PassW0rd\""; in testGetNetworkSuggestionsForScanDetailSuccessWithOneMatchForLegacyConfig()1117 legacyConfig, null, false, false, true, true, in testGetNetworkSuggestionsForScanDetailSuccessWithOneMatchForLegacyConfig()