/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkSuggestionsManagerTest.java | 188 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testAddNetworkSuggestionsSuccess() 191 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_2, in testAddNetworkSuggestionsSuccess() 233 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testRemoveNetworkSuggestionsSuccess() 236 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_2, in testRemoveNetworkSuggestionsSuccess() 279 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testRemoveAllNetworkSuggestionsSuccess() 282 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_2, in testRemoveAllNetworkSuggestionsSuccess() 352 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testReplaceNetworkSuggestionsSuccess() 385 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testAddNetworkSuggestionsFailureOnInPlaceModification() 415 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testAddNetworkSuggestionsFailureOnExceedsMaxPerApp() 428 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 | 192 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() 201 WifiConfigurationTestUtil.createOpenNetwork(), true, false, TEST_UID_2, in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() 220 WifiConfigurationTestUtil.createOpenNetwork(), false, true, TEST_UID_1, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() 223 WifiConfigurationTestUtil.createOpenNetwork(), true, false, TEST_UID_1, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() 234 WifiConfigurationTestUtil.createOpenNetwork(), true, false, TEST_UID_2, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() 237 WifiConfigurationTestUtil.createOpenNetwork(), false, true, TEST_UID_2, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
|
D | NetworkListStoreDataTest.java | 247 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in getTestNetworksConfig() 415 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithUnknownTag() 432 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithMismatchConfigKey() 448 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkListWithOneNetworkIllegalArgException() 473 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithInvalidCreatorUidResetsToSystem() 500 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithInvalidCreatorNameResetsToPackageNameForCreatorUid() 527 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithNullCreatorNameResetsToPackageNameForCreatorUid() 551 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithValidCreatorUid()
|
D | WifiConfigManagerTest.java | 285 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddNetworkIsRejectedBeforeLoadFromStore() 314 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testRandomizedMacIsGeneratedEvenIfKeyStoreFails() 336 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSingleOpenNetwork() 355 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSingleOpenNetworkWhenCorrespondingEphemeralNetworkExists() 388 WifiConfiguration ephemeralNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddEphemeralNetworkWhenCorrespondingEphemeralNetworkExists() 417 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddingNetworkWithMatchingMacAddressOverridesField() 445 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testRandomizedMacAddressIsPersistedOverForgetNetwork() 476 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testRandomizedMacAddressIsGeneratedForConfigurationReadFromStore() 508 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testUpdateSingleOpenNetwork() 538 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testCannotUpdateMacRandomizationSettingWithoutPermission() [all …]
|
D | MacAddressUtilTest.java | 63 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testCalculatePersistentMacForConfiguration() 81 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testCalculatePersistentMacCatchesException()
|
D | ConnectionFailureNotifierTest.java | 120 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testConnectionFailureSendRandomizationSettingsNotification() 159 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testWifiConfigurationMismatch() 173 .thenReturn(WifiConfigurationTestUtil.createOpenNetwork()); in testWifiConfigurationMismatch()
|
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 | 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 | 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 | WakeupControllerTest.java | 333 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithSavedScanResults() 368 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithNetworkSuggestions() 408 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid1); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions() 450 .createOpenNetwork(ScanResultUtil.createQuotedSSID(ssidDfs)); in startFiltersOutDfsScanResults() 453 .createOpenNetwork(ScanResultUtil.createQuotedSSID(ssid24)); in startFiltersOutDfsScanResults() 483 .createOpenNetwork(ScanResultUtil.createQuotedSSID(SAVED_SSID)); in onResultsUpdatesWakeupLockForSavedNetworks() 511 .createOpenNetwork(ScanResultUtil.createQuotedSSID(SAVED_SSID)); in onResultsUpdatesWakeupLockForNetworkSuggestions()
|
D | WakeupEvaluatorTest.java | 71 WifiConfigurationTestUtil.createOpenNetwork( in getSavedNetworks() 74 WifiConfigurationTestUtil.createOpenNetwork( in getSavedNetworks()
|
D | NetworkRequestStoreDataTest.java | 165 WifiConfigurationTestUtil.createOpenNetwork().SSID, in serializeDeserializeMultipleNetworkRequestFromMultipleApps() 177 WifiConfigurationTestUtil.createOpenNetwork().SSID, in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
|
D | WifiConfigurationTestUtil.java | 256 public static WifiConfiguration createOpenNetwork() { in createOpenNetwork() method in WifiConfigurationTestUtil 257 return createOpenNetwork(createNewSSID()); in createOpenNetwork() 260 public static WifiConfiguration createOpenNetwork(String ssid) { in createOpenNetwork() method in WifiConfigurationTestUtil 266 WifiConfiguration configuration = createOpenNetwork(); in createEphemeralNetwork() 272 WifiConfiguration configuration = createOpenNetwork(); in createOpenHiddenNetwork()
|
D | WifiCandidatesTest.java | 62 mConfig1 = WifiConfigurationTestUtil.createOpenNetwork(); in setUp()
|
D | WifiConfigStoreTest.java | 517 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testReadWifiConfigStoreData() 562 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testWriteWifiConfigStoreData()
|
D | ClientModeImplTest.java | 513 mConnectedNetwork = spy(WifiConfigurationTestUtil.createOpenNetwork()); in setUp() 739 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in canSaveNetworkConfig() 794 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in saveNetworkConfigFailsWithConfigAddFailure() 814 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in saveNetworkConfigFailsWithConfigEnableFailure() 965 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in triggerConnectFromNonSettingsApp() 991 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in triggerConnectWithNoNetworkRequest() 1345 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in triggerConnectWithNoNetworkRequestAndAlreadyConnected() 1372 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in triggerConnectWithNoNetworkRequestAndAlreadyConnectedButNonPrivilegedApp()
|
D | WifiServiceImplTest.java | 3655 WifiConfiguration network = WifiConfigurationTestUtil.createOpenNetwork(); in testFactoryReset() 3732 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsNotAllowedForAppsTargetingQSDK() 3752 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForAppsTargetingBelowQSDK() 3771 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForSettingsApp() 3794 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForSystemApp() 3815 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForAppsWithSystemAlertPermission() 3837 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForDOApp() 3858 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForPOApp()
|
D | WifiNetworkFactoryTest.java | 1016 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithoutActiveRequest() 1040 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithDifferentActiveRequest() 1714 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testHandleNewNetworkRequestWithSpecifierAfterMatch() 2740 WifiConfigurationTestUtil.createOpenNetwork()); in getScanResultCapsForType()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | XmlUtilTest.java | 92 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createOpenNetwork()); in testOpenWifiConfigurationSerializeDeserialize()
|
D | TelephonyUtilTest.java | 268 assertFalse(TelephonyUtil.isSimConfig(WifiConfigurationTestUtil.createOpenNetwork())); in isSimConfig()
|