Home
last modified time | relevance | path

Searched refs:generateWifiConfig (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java120 private static WifiConfiguration generateWifiConfig(int networkId, int uid, String ssid, in generateWifiConfig() method in WifiConfigurationTestUtil
151 public static WifiConfiguration generateWifiConfig(int networkId, int uid, String ssid, in generateWifiConfig() method in WifiConfigurationTestUtil
154 WifiConfiguration config = generateWifiConfig(networkId, uid, ssid, shared, enabled, fqdn, in generateWifiConfig()
294 return generateWifiConfig(TEST_NETWORK_ID, TEST_UID, ssid, true, true, null, in createOweNetwork()
303 WifiConfiguration config = generateWifiConfig( in createOpenNetwork()
314 WifiConfiguration config = generateWifiConfig( in createOpenOweNetwork()
347 generateWifiConfig(TEST_NETWORK_ID, TEST_UID, ssid, true, true, null, in createPskNetwork()
359 generateWifiConfig(TEST_NETWORK_ID, TEST_UID, ssid, true, true, null, in createPskSaeNetwork()
372 generateWifiConfig(TEST_NETWORK_ID, TEST_UID, ssid, true, true, null, in createSaeNetwork()
398 generateWifiConfig(TEST_NETWORK_ID, TEST_UID, createNewSSID(), true, true, null, in createWepNetwork()
[all …]
DConfigurationMapTest.java62 WifiConfigurationTestUtil.generateWifiConfig(
65 WifiConfigurationTestUtil.generateWifiConfig(
68 WifiConfigurationTestUtil.generateWifiConfig(
71 WifiConfigurationTestUtil.generateWifiConfig(
74 WifiConfigurationTestUtil.generateWifiConfig(
77 WifiConfigurationTestUtil.generateWifiConfig(
DWifiNetworkSelectorTestUtil.java22 import static com.android.server.wifi.WifiConfigurationTestUtil.generateWifiConfig;
289 configs[index] = generateWifiConfig(id, 0, ssids[index], false, true, null, in generateWifiConfigurations()
DWifiConnectivityManagerTest.java24 import static com.android.server.wifi.WifiConfigurationTestUtil.generateWifiConfig;
555 WifiConfiguration candidate = generateWifiConfig( in mockWifiNetworkSelector()
1335 WifiConfiguration config = generateWifiConfig( in getTestWifiConfig()
4665 WifiConfiguration currentNetwork = generateWifiConfig( in clearBssidBlocklistWhenPreparingForForcedConnection()
4776 WifiConfiguration candidate = generateWifiConfig( in useConfigSpecifiedBssidToConnectWhenFirmwareRoamingOn()
4833 WifiConfiguration candidate = generateWifiConfig( in useConfigSpecifiedBssidToConnectionWhenFirmwareRoamingOff()
4911 WifiConfiguration candidate = generateWifiConfig( in dropConnectAttemptIfConfigSpecifiedBssidDifferentFromScanResultBssid()
4945 WifiConfiguration currentNetwork = generateWifiConfig( in dropRoamingAttemptIfConfigSpecifiedBssidDifferentFromScanResultBssid()
4951 WifiConfiguration candidate = generateWifiConfig( in dropRoamingAttemptIfConfigSpecifiedBssidDifferentFromScanResultBssid()
DNetworkSuggestionNominatorTest.java23 import static com.android.server.wifi.WifiConfigurationTestUtil.generateWifiConfig;
1942 configs[index] = generateWifiConfig(-1, 0, ssids[index], false, true, null, in buildWifiConfigurations()
DWifiServiceImplTest.java326 WifiConfigurationTestUtil.generateWifiConfig(
329 WifiConfigurationTestUtil.generateWifiConfig(
332 WifiConfigurationTestUtil.generateWifiConfig(
335 WifiConfigurationTestUtil.generateWifiConfig(
338 WifiConfigurationTestUtil.generateWifiConfig(
341 WifiConfigurationTestUtil.generateWifiConfig(
3266 WifiConfiguration callerNetwork0 = WifiConfigurationTestUtil.generateWifiConfig( in testGetCallerConfiguredNetworks_ReturnsCallerNetworks()
3268 WifiConfiguration callerNetwork1 = WifiConfigurationTestUtil.generateWifiConfig( in testGetCallerConfiguredNetworks_ReturnsCallerNetworks()
3270 WifiConfiguration nonCallerNetwork0 = WifiConfigurationTestUtil.generateWifiConfig( in testGetCallerConfiguredNetworks_ReturnsCallerNetworks()
3272 WifiConfiguration nonCallerNetwork1 = WifiConfigurationTestUtil.generateWifiConfig( in testGetCallerConfiguredNetworks_ReturnsCallerNetworks()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkNominateHelperTest.java93 private static final WifiConfiguration TEST_CONFIG1 = generateWifiConfig(TEST_FQDN1);
94 private static final WifiConfiguration TEST_CONFIG2 = generateWifiConfig(TEST_FQDN2);
114 private static WifiConfiguration generateWifiConfig(String fqdn) { in generateWifiConfig() method in PasspointNetworkNominateHelperTest
115 WifiConfiguration wifiConfiguration = WifiConfigurationTestUtil.generateWifiConfig(-1, in generateWifiConfig()
724 WifiConfiguration suggestionConfig = generateWifiConfig(TEST_FQDN2); in evaluateScansWithNetworkMatchingProviderBothFromSavedAndSuggestion()
DPasspointManagerTest.java339 WifiConfiguration wifiConfig = WifiConfigurationTestUtil.generateWifiConfig(-1, in createMockProvider()
424 WifiConfiguration wifiConfig = WifiConfigurationTestUtil.generateWifiConfig(-1, TEST_UID, in addTestProvider()
1234 WifiConfiguration wifiConfiguration = WifiConfigurationTestUtil.generateWifiConfig(-1, in getAllMatchingFqdnsForScanResults()
2364 WifiConfiguration wifiConfiguration = WifiConfigurationTestUtil.generateWifiConfig(-1, in matchHomeProviderWhenHomeProviderNotExpired()
2414 WifiConfiguration wifiConfiguration = WifiConfigurationTestUtil.generateWifiConfig(-1, in matchRoamingProviderUnsetWhenHomeProviderExpired()
2466 WifiConfiguration wifiConfiguration = WifiConfigurationTestUtil.generateWifiConfig(-1, in matchRoamingProviderNonExpiredWhenHomeProviderExpired()
2795 WifiConfiguration wifiConfig = WifiConfigurationTestUtil.generateWifiConfig(10, TEST_UID, in testBlockingProvider()
2816 WifiConfiguration wifiConfig = WifiConfigurationTestUtil.generateWifiConfig(10, TEST_UID, in testSetAnonymousIdentity()
2839 WifiConfiguration wifiConfig = WifiConfigurationTestUtil.generateWifiConfig(10, TEST_UID, in testSetUserConnectChoice()
2847 WifiConfiguration wifiConfig2 = WifiConfigurationTestUtil.generateWifiConfig(11, TEST_UID, in testSetUserConnectChoice()