/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkSuggestionsManagerTest.java | 184 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testAddNetworkSuggestionsSuccess() 187 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_2, in testAddNetworkSuggestionsSuccess() 229 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testRemoveNetworkSuggestionsSuccess() 232 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_2, in testRemoveNetworkSuggestionsSuccess() 273 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testRemoveAllNetworkSuggestionsSuccess() 276 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_2, in testRemoveAllNetworkSuggestionsSuccess() 310 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testReplaceNetworkSuggestionsSuccess() 342 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testAddNetworkSuggestionsFailureOnInPlaceModification() 372 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testAddNetworkSuggestionsFailureOnExceedsMaxPerApp() 385 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testAddNetworkSuggestionsFailureOnExceedsMaxPerApp() [all …]
|
D | WifiConfigurationUtilTest.java | 208 WifiConfigurationTestUtil.createOpenNetwork(), in testValidatePositiveCases_Ascii() 274 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_BadAsciiSsidLength() 288 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_BadUtf8SsidLength() 303 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_MalformedAsciiSsidString() 315 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_BadHexSsidLength() 330 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_MalformedHexSsidString() 450 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_BadKeyMgmtOpenPsk() 491 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_InvalidKeyMgmt() 503 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_InvalidProtocol() 516 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_InvalidAuthAlgorithm() [all …]
|
D | NetworkSuggestionStoreDataTest.java | 189 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() 198 WifiConfigurationTestUtil.createOpenNetwork(), true, false, TEST_UID_2, in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() 217 WifiConfigurationTestUtil.createOpenNetwork(), false, true, TEST_UID_1, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() 220 WifiConfigurationTestUtil.createOpenNetwork(), true, false, TEST_UID_1, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() 231 WifiConfigurationTestUtil.createOpenNetwork(), true, false, TEST_UID_2, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() 234 WifiConfigurationTestUtil.createOpenNetwork(), false, true, TEST_UID_2, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
|
D | NetworkListStoreDataTest.java | 244 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in getTestNetworksConfig() 412 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithUnknownTag() 429 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithMismatchConfigKey() 445 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkListWithOneNetworkIllegalArgException() 470 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithInvalidCreatorUidResetsToSystem() 497 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithInvalidCreatorNameResetsToPackageNameForCreatorUid() 524 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithNullCreatorNameResetsToPackageNameForCreatorUid() 548 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithValidCreatorUid()
|
D | WifiConfigManagerTest.java | 263 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddNetworkIsRejectedBeforeLoadFromStore() 290 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSingleOpenNetwork() 309 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSingleOpenNetworkWhenCorrespondingEphemeralNetworkExists() 342 WifiConfiguration ephemeralNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddEphemeralNetworkWhenCorrespondingEphemeralNetworkExists() 370 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddingNetworkWithMatchingMacAddressOverridesField() 394 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testRandomizedMacAddressIsPersistedOverForgetNetwork() 423 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testRandomizedMacAddressIsGeneratedForConfigurationReadFromStore() 455 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testUpdateSingleOpenNetwork() 485 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testCannotUpdateMacRandomizationSettingWithoutPermission() 510 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testCanUpdateMacRandomizationSettingWithNetworkSettingPermission() [all …]
|
D | ConfigurationMapTest.java | 275 verifyScanResultMatchWithNetwork(WifiConfigurationTestUtil.createOpenNetwork()); in testScanResultDoesMatchCorrespondingNetworks() 287 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testScanResultDoesNotMatchWithOtherNetworks() 302 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testScanResultDoesNotMatchAfterNetworkRemove() 320 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testScanResultDoesNotMatchAfterClear()
|
D | ScanResultMatchInfoTest.java | 46 conf = WifiConfigurationTestUtil.createOpenNetwork("\"WIFIght the inevitable\""); in testScanResultMatchesWifiConfiguration() 76 WifiConfigurationTestUtil.createOpenNetwork("\"Series Of Tubes\""); in testDifferentNetworkScanResultsDontMatch() 78 WifiConfigurationTestUtil.createOpenNetwork("\"Mom, Click Here For Internet\""); in testDifferentNetworkScanResultsDontMatch()
|
D | WifiBackupRestoreTest.java | 242 configurations.add(WifiConfigurationTestUtil.createOpenNetwork()); in testSingleOpenNetworkBackupRestore() 532 configurations.add(WifiConfigurationTestUtil.createOpenNetwork()); in testMultipleNetworksAllBackupRestore() 563 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksNonEnterpriseBackupRestore() 600 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksWithDifferentIpConfigurationsAllBackupRestore() 648 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksSystemAppBackupRestore() 666 configurations.add(WifiConfigurationTestUtil.createOpenNetwork()); in testSingleOpenNetworkSupplicantBackupRestore() 801 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksWithDifferentIpConfigurationsAllSupplicantBackupRestore() 822 configurations.add(WifiConfigurationTestUtil.createOpenNetwork()); in testSingleOpenNetworkSupplicantBackupRestoreWithNoIpConfigData() 846 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksAllSupplicantBackupRestoreWithNoIpConfigData() 884 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksSystemAppSupplicantBackupRestore()
|
D | WakeupControllerTest.java | 329 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithSavedScanResults() 364 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithNetworkSuggestions() 404 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid1); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions() 446 .createOpenNetwork(ScanResultUtil.createQuotedSSID(ssidDfs)); in startFiltersOutDfsScanResults() 449 .createOpenNetwork(ScanResultUtil.createQuotedSSID(ssid24)); in startFiltersOutDfsScanResults() 479 .createOpenNetwork(ScanResultUtil.createQuotedSSID(SAVED_SSID)); in onResultsUpdatesWakeupLockForSavedNetworks() 507 .createOpenNetwork(ScanResultUtil.createQuotedSSID(SAVED_SSID)); in onResultsUpdatesWakeupLockForNetworkSuggestions()
|
D | WakeupEvaluatorTest.java | 71 WifiConfigurationTestUtil.createOpenNetwork( in getSavedNetworks() 74 WifiConfigurationTestUtil.createOpenNetwork( in getSavedNetworks()
|
D | NetworkRequestStoreDataTest.java | 162 WifiConfigurationTestUtil.createOpenNetwork().SSID, in serializeDeserializeMultipleNetworkRequestFromMultipleApps() 174 WifiConfigurationTestUtil.createOpenNetwork().SSID, in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
|
D | WifiConfigurationTestUtil.java | 255 public static WifiConfiguration createOpenNetwork() { in createOpenNetwork() method in WifiConfigurationTestUtil 256 return createOpenNetwork(createNewSSID()); in createOpenNetwork() 259 public static WifiConfiguration createOpenNetwork(String ssid) { in createOpenNetwork() method in WifiConfigurationTestUtil 265 WifiConfiguration configuration = createOpenNetwork(); in createEphemeralNetwork() 271 WifiConfiguration configuration = createOpenNetwork(); in createOpenHiddenNetwork()
|
D | WifiCandidatesTest.java | 61 mConfig1 = WifiConfigurationTestUtil.createOpenNetwork(); in setUp()
|
D | WifiConfigStoreTest.java | 497 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testReadWifiConfigStoreData() 542 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testWriteWifiConfigStoreData()
|
D | WifiServiceImplTest.java | 3501 WifiConfiguration network = WifiConfigurationTestUtil.createOpenNetwork(); in testFactoryReset() 3576 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsNotAllowedForAppsTargetingQSDK() 3596 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForAppsTargetingBelowQSDK() 3615 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForSettingsApp() 3638 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForSystemApp() 3659 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForAppsWithSystemAlertPermission() 3681 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForDOApp() 3702 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForPOApp()
|
D | ClientModeImplTest.java | 502 mConnectedNetwork = spy(WifiConfigurationTestUtil.createOpenNetwork()); in setUp() 728 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in canSaveNetworkConfig() 783 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in saveNetworkConfigFailsWithConfigAddFailure() 803 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in saveNetworkConfigFailsWithConfigEnableFailure() 954 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in triggerConnectFromNonSettingsApp() 980 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in triggerConnectWithNoNetworkRequest() 1225 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in triggerConnectWithNoNetworkRequestAndAlreadyConnected() 1252 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in triggerConnectWithNoNetworkRequestAndAlreadyConnectedButNonPrivilegedApp()
|
D | WifiNetworkFactoryTest.java | 1015 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithoutActiveRequest() 1039 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithDifferentActiveRequest() 1637 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testHandleNewNetworkRequestWithSpecifierAfterMatch() 2474 WifiConfigurationTestUtil.createOpenNetwork()); in getScanResultCapsForType()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | XmlUtilTest.java | 82 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createOpenNetwork()); in testOpenWifiConfigurationSerializeDeserialize()
|
D | TelephonyUtilTest.java | 268 assertFalse(TelephonyUtil.isSimConfig(WifiConfigurationTestUtil.createOpenNetwork())); in isSimConfig()
|