/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigurationUtilTest.java | 235 WifiConfigurationTestUtil.createPskNetwork(), SUPPORTED_FEATURES_ALL, in testValidatePositiveCases_AsciiSsidString() 260 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidatePositiveCases_HexSsidString() 272 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidatePositiveCases_AnyBssidString() 286 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidatePositiveCases_MaskedPskString() 379 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidateNegativeCases_BadAsciiPskLength() 431 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidateNegativeCases_MalformedAsciiPskString() 471 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidateNegativeCases_BadHexPskLength() 504 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidateNegativeCases_MalformedHexPskString() 599 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidateNegativeCases_BadKeyMgmtPskEap() 627 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidateNegativeCases_BadKeyMgmt() [all …]
|
D | WifiBackupRestoreTest.java | 420 configurations.add(WifiConfigurationTestUtil.createPskNetwork()); in testSinglePskNetworkBackupRestore() 619 WifiConfiguration pskNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testSinglePskNetworkWithStaticIpAndStaticProxyBackupRestore() 638 WifiConfiguration pskNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testSinglePskNetworkWithStaticIpAndPACProxyBackupRestore() 657 WifiConfiguration pskNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testSinglePskNetworkWithDHCPIpAndPACProxyBackupRestore() 676 WifiConfiguration pskNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testSinglePskNetworkWithPartialStaticIpBackupRestore() 696 configurations.add(WifiConfigurationTestUtil.createPskNetwork()); in testMultipleNetworksAllBackupRestore() 724 WifiConfiguration pskNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testMultipleNetworksNonEnterpriseBackupRestore() 760 WifiConfiguration pskNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testMultipleNetworksWithDifferentIpConfigurationsAllBackupRestore() 803 WifiConfiguration pskNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testMultipleNetworksSystemAppBackupRestore() 809 WifiConfiguration nonSystemAppPskNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testMultipleNetworksSystemAppBackupRestore() [all …]
|
D | ScanResultMatchInfoTest.java | 99 WifiConfigurationTestUtil.createPskNetwork("\"PrettyFlyForAWifi\""); in testScanResultMatchesWifiConfiguration() 104 conf = WifiConfigurationTestUtil.createPskNetwork("0123456789"); in testScanResultMatchesWifiConfiguration() 135 WifiConfigurationTestUtil.createPskNetwork("\"PrettyFlyForAWifi-5G\""); in testDifferentBssidScanResultsMatch() 150 WifiConfigurationTestUtil.createPskNetwork("\"Series Of Tubes\""); in testDifferentNetworkScanResultsDontMatch() 171 WifiConfigurationTestUtil.createPskNetwork("\"Transition is Hard\""); in testEqualityRulesForTransitionMode() 204 WifiConfigurationTestUtil.createPskNetwork("\"Psk Tsk\""); in testEqualityRulesForPsk() 271 WifiConfigurationTestUtil.createPskNetwork("\"Transition is Hard\""); in testHashForTransitionMode() 376 WifiConfigurationTestUtil.createPskNetwork("\"Downgrade\""); in testSaeToPskDoesNotDowngrade()
|
D | NetworkRequestStoreDataTest.java | 117 WifiConfigurationTestUtil.createPskNetwork().SSID, in serializeDeserializeSingleNetworkRequestFromSingleApp() 134 WifiConfigurationTestUtil.createPskNetwork().SSID, in serializeDeserializeSingleNetworkRequestFromMultipleApps() 141 WifiConfigurationTestUtil.createPskNetwork().SSID, in serializeDeserializeSingleNetworkRequestFromMultipleApps() 158 WifiConfigurationTestUtil.createPskNetwork().SSID, in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
|
D | WifiBlocklistMonitorTest.java | 265 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID_1); in verifyAddTestBssidToBlocklist() 280 WifiConfiguration config1 = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID_1); in verifyAddMultipleBssidsToBlocklist() 281 WifiConfiguration config2 = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID_2); in verifyAddMultipleBssidsToBlocklist() 307 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(ssid); in handleBssidConnectionFailureMultipleTimes() 527 WifiConfiguration config1 = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID_1); in testSsidsDoNotBlocklist_NotAddedToBssidBlocklist() 530 WifiConfiguration config2 = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID_2); in testSsidsDoNotBlocklist_NotAddedToBssidBlocklist() 599 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID_1); in testAbnormalDisconnectRecencyCheck() 628 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID_1); in testBlocklistStreakExpeditesAddingToBlocklist() 910 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID_1); in testMostRecentBlocklistEntriesAreSentToFirmware() 1023 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID_1); in testBlockAffiliatedBssidsForDurationMs() [all …]
|
D | WifiConfigManagerTest.java | 1352 WifiConfiguration pskNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testAddSinglePskNetwork() 1540 WifiConfiguration pskNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testAddUpdateRemoveMultipleNetworks() 2200 WifiConfigurationTestUtil.createPskNetwork()); in testMatchScanDetailToNetworksAndCache() 2221 WifiConfiguration pskNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testNoMatchScanDetailToNetwork() 2414 WifiConfiguration pskNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testUpdatePreSharedKeyClearsHasEverConnected() 2462 WifiConfiguration pskNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testUpdateSecurityTypeClearsHasEverConnected() 2476 WifiConfiguration pskNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testUpdateHiddenSSIDClearsHasEverConnected() 2508 WifiConfigurationTestUtil.createPskNetwork(); in testUpdateIgnoresMaskedPasswords() 2954 WifiConfiguration networkWithPasswords = WifiConfigurationTestUtil.createPskNetwork(); in testGetConfiguredNetworksMasksPasswords() 2989 WifiConfiguration network1 = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkLinkUsingGwMacAddress() [all …]
|
D | SupplicantStaNetworkHalAidlImplTest.java | 169 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskPassphraseNetworkWifiConfigurationSaveLoad() 192 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskNetworkWifiConfigurationSaveLoad() 210 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskNetworkWifiConfigurationSaveLoadWpaDeprecated() 226 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskNetworkWifiConfigurationSaveRemovesPskQuotes() 615 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testAddFtPskFlags() 660 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testAddPskSha256Flags() 704 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testAddPskSaeAkmWhenAutoUpgradeOffloadIsSupported() 765 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testAddPskSaeAkmWhenAutoUpgradeOffloadIsNotSupported() 890 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testSaveFailureDueToCallbackReg() 902 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkEapGsmAuthCallback() [all …]
|
D | ConfigurationMapTest.java | 328 verifyScanResultMatchWithNetwork(WifiConfigurationTestUtil.createPskNetwork()); in testScanResultDoesMatchCorrespondingNetworks() 358 mConfigs.put(WifiConfigurationTestUtil.createPskNetwork()); in testScanResultDoesNotMatchAfterNetworkRemove() 376 mConfigs.put(WifiConfigurationTestUtil.createPskNetwork()); in testScanResultDoesNotMatchAfterClear()
|
D | SupplicantStaNetworkHalHidlImplTest.java | 246 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskPassphraseNetworkWifiConfigurationSaveLoad() 271 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskNetworkWifiConfigurationSaveLoad() 290 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskNetworkWifiConfigurationSaveLoadWpaDeprecated() 308 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskNetworkWifiConfigurationSaveRemovesPskQuotes() 803 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testAddFtPskFlags() 850 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testAddPskSha256Flags() 902 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testAddPskSha256FlagsHal1_1OrLower() 960 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testAddPskSaeAkmWhenAutoUpgradeOffloadIsSupported() 987 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testAddPskSaeAkmWhenAutoUpgradeOffloadIsNotSupported() 1203 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testSaveFailureDueToCallbackReg() [all …]
|
D | WifiNetworkFactoryTest.java | 889 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testPeriodicScanCancelOnUserSelectNetwork() 1326 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetwork() 1365 WifiConfiguration wifiConfiguration = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkExceedApprovedListCapacity() 1384 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkExceedApprovedListCapacity() 1394 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkExceedApprovedListCapacity() 1422 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToExistingSavedNetwork() 2427 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testHandleNewNetworkRequestWithSpecifierWhenAwaitingCmRetrieval() 2947 WifiConfigurationTestUtil.createPskNetwork(), TEST_UID_1, TEST_PACKAGE_NAME_1, in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchApprovedNForgot() 2990 ssidPatternMatch, bssidPatternMatch, WifiConfigurationTestUtil.createPskNetwork(), in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchNotApprovedForOpenNetwork() 3078 ssidPatternMatch, bssidPatternMatch, WifiConfigurationTestUtil.createPskNetwork(), in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchApproved() [all …]
|
D | NetworkListStoreDataTest.java | 1051 WifiConfiguration pskNetwork = WifiConfigurationTestUtil.createPskNetwork(); in parseNetworkWithInvalidConfigKeyAndKeyMmt() 1100 WifiConfiguration pskConfig = WifiConfigurationTestUtil.createPskNetwork(); in testSerializeDeserializeWithSecurityUpdate() 1167 verifySerializeDeserializeWithEncryption(WifiConfigurationTestUtil.createPskNetwork()); in testSerializeDeserializePskNetworkWithEncryption() 1190 verifySerializeSharedConfigurationsEncrypted(WifiConfigurationTestUtil.createPskNetwork(), in serializeSharedConfigurationsPskEncrypted()
|
D | WifiConfigurationTestUtil.java | 341 public static WifiConfiguration createPskNetwork() { in createPskNetwork() method in WifiConfigurationTestUtil 342 return createPskNetwork(createNewSSID()); in createPskNetwork() 345 public static WifiConfiguration createPskNetwork(String ssid) { in createPskNetwork() method in WifiConfigurationTestUtil 382 WifiConfiguration configuration = createPskNetwork(); in createPskHiddenNetwork() 388 WifiConfiguration configuration = createPskNetwork(); in createCaptivePortalNetwork()
|
D | WifiConnectivityManagerTest.java | 1189 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(CANDIDATE_SSID); in secondaryLongLived_secondaryStaRequestSucceedsWithOemPaidConnectionAllowed() 1561 WifiConfigurationTestUtil.createPskNetwork(CANDIDATE_SSID)); in testMultiInternetSecondaryConnectionRequest() 2304 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(CANDIDATE_SSID); in testRetryConnectionOnFailure() 2401 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(CANDIDATE_SSID); in testRetryConnectionIgnoreNetworkWithAutojoinDisabled() 2440 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(CANDIDATE_SSID); in testRetryConnectionIgnoreNetworkWithAdminRestriction() 2496 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(CANDIDATE_SSID); in testRetryConnectionOnFailureCacheTimeout() 2539 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(CANDIDATE_SSID); in testNoRetryConnectionOnUserDisconnectedNetwork() 2582 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(CANDIDATE_SSID); in testNoRetryConnectionOnFailureAfterCacheCleared() 2631 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(CANDIDATE_SSID); in testRetryConnectionIgnoresDisabledNetworks() 2770 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(CANDIDATE_SSID); in wifiConnected_openNetworkNotifierHandlesConnection() [all …]
|
D | WifiNetworkSuggestionsManagerTest.java | 1419 WifiConfigurationTestUtil.createPskNetwork()); in testGetNetworkSuggestionsForScanDetailFailureOnWrongNetwork() 1478 WifiConfigurationTestUtil.createPskNetwork(), null, true, false, true, true, in testOnNetworkConnectionSuccessWithOneMatchFromCarrierPrivilegedApp() 2920 WifiConfigurationTestUtil.createPskNetwork(), null, false, false, true, true, in testGetNetworkSuggestions() 3546 WifiConfigurationTestUtil.createPskNetwork(), null, false, false, false, true, in testGetWifiConfigForMatchedNetworkSuggestionsSharedWithUser() 3549 WifiConfigurationTestUtil.createPskNetwork(), null, false, false, true, true, in testGetWifiConfigForMatchedNetworkSuggestionsSharedWithUser() 3609 WifiConfigurationTestUtil.createPskNetwork(), null, false, false, true, true, in testGetWifiConfigForMatchedCarrierNetworkSuggestionsSharedWithUser() 3612 WifiConfigurationTestUtil.createPskNetwork(), null, false, false, true, true, in testGetWifiConfigForMatchedCarrierNetworkSuggestionsSharedWithUser() 4503 WifiConfiguration network2 = WifiConfigurationTestUtil.createPskNetwork(); in testShouldNotBeIgnoredBySecureSuggestionFromSameCarrierWithoutSameOpenSuggestion() 4531 WifiConfiguration network2 = WifiConfigurationTestUtil.createPskNetwork(); in testShouldNotBeIgnoredBySecureSuggestionFromSameCarrierWithoutSecureSuggestion() 4559 WifiConfiguration network2 = WifiConfigurationTestUtil.createPskNetwork(); in testShouldNotBeIgnoredWithoutCarrierProvisioningPermission() [all …]
|
D | WifiMetricsTest.java | 725 testSavedNetworks.add(WifiConfigurationTestUtil.createPskNetwork()); in buildSavedNetworkList() 2074 WifiConfiguration config1 = WifiConfigurationTestUtil.createPskNetwork(); in testStart2ConnectionEventsOnDifferentIfaces_endOneAndDump_endOtherAndDump() 2130 WifiConfiguration config1 = WifiConfigurationTestUtil.createPskNetwork(); in testStart2ConnectionEventsOnDifferentIfaces_end2AndDump() 2184 WifiConfiguration config1 = WifiConfigurationTestUtil.createPskNetwork(); in testStartAndEnd2ConnectionEventsOnDifferentIfacesAndDump() 5824 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testMeteredNetworkMetrics() 5825 WifiConfiguration config1 = WifiConfigurationTestUtil.createPskNetwork(); in testMeteredNetworkMetrics() 5841 config = WifiConfigurationTestUtil.createPskNetwork(); in testMeteredNetworkMetrics() 5842 config1 = WifiConfigurationTestUtil.createPskNetwork(); in testMeteredNetworkMetrics()
|
D | ClientModeImplTest.java | 7617 mConnectedNetwork = spy(WifiConfigurationTestUtil.createPskNetwork()); in testIpReachabilityFailureConfirm_disableHandleRssiOrganicKernelFailuresFlag() 9184 WifiConfiguration connectedConfig = WifiConfigurationTestUtil.createPskNetwork("\"ssid1\""); in testNetworkRemovedUpdatesLinkedNetworks() 9186 WifiConfiguration removeConfig = WifiConfigurationTestUtil.createPskNetwork("\"ssid2\""); in testNetworkRemovedUpdatesLinkedNetworks() 9235 WifiConfiguration connectedConfig = WifiConfigurationTestUtil.createPskNetwork("\"ssid1\""); in testNetworkUpdatedUpdatesLinkedNetworks() 9237 WifiConfiguration updatedConfig = WifiConfigurationTestUtil.createPskNetwork("\"ssid2\""); in testNetworkUpdatedUpdatesLinkedNetworks() 9268 WifiConfiguration connectedConfig = WifiConfigurationTestUtil.createPskNetwork("\"ssid1\""); in testNetworkValidationUpdatesLinkedNetworks() 9312 WifiConfiguration linkedConfig = WifiConfigurationTestUtil.createPskNetwork("\"ssid2\""); in testNetworkValidationUpdatesLinkedNetworks() 9341 WifiConfiguration connectedConfig = WifiConfigurationTestUtil.createPskNetwork("\"ssid1\""); in testNonPskNetworkDoesNotUpdateLinkedNetworks() 9394 WifiConfiguration connectedConfig = WifiConfigurationTestUtil.createPskNetwork("\"ssid1\""); in testInvalidScanResultDoesNotUpdateLinkedNetworks() 9470 WifiConfiguration connectedConfig = WifiConfigurationTestUtil.createPskNetwork("\"ssid1\""); in testLinkedNetworksFiltersOutAutojoinDisabledNetworks() [all …]
|
D | InsecureEapNetworkHandlerTest.java | 1049 WifiConfiguration pskConfig = WifiConfigurationTestUtil.createPskNetwork(); in verifyUserApprovalIsNotNeededWithDifferentTargetConfig()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | XmlUtilTest.java | 127 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createPskNetwork()); in testPskWifiConfigurationSerializeDeserialize() 137 WifiConfiguration pskNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testPskWifiConfigurationSerializeDeserializeWithEncryption() 913 WifiConfiguration configuration = WifiConfigurationTestUtil.createPskNetwork(); in testConfigStoreWithEncryptedPreSharedKey()
|