Home
last modified time | relevance | path

Searched refs:TEST_FQDN (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DMissingCounterTimerLockListTest.java41 private static final String TEST_FQDN = "testFQDN"; field in MissingCounterTimerLockListTest
57 mMissingCounterTimerLockList.add(TEST_FQDN, BLOCKING_DURATION, MAX_DISABLE_DURATION); in testAddRemove()
61 assertTrue(mMissingCounterTimerLockList.isLocked(TEST_FQDN)); in testAddRemove()
65 assertTrue(mMissingCounterTimerLockList.isLocked(TEST_FQDN)); in testAddRemove()
73 mMissingCounterTimerLockList.add(TEST_FQDN, BLOCKING_DURATION, MAX_DISABLE_DURATION); in testUpdateAndTimer()
77 updateSet.add(TEST_FQDN); in testUpdateAndTimer()
85 assertTrue(mMissingCounterTimerLockList.isLocked(TEST_FQDN)); in testUpdateAndTimer()
93 mMissingCounterTimerLockList.add(TEST_FQDN, BLOCKING_DURATION, MAX_DISABLE_DURATION); in testMaxDisableDurationTimer()
99 assertTrue(mMissingCounterTimerLockList.isLocked(TEST_FQDN)); in testMaxDisableDurationTimer()
104 assertFalse(mMissingCounterTimerLockList.isLocked(TEST_FQDN)); in testMaxDisableDurationTimer()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java148 private static final String TEST_FQDN = "test1.test.com"; field in PasspointManagerTest
597 PasspointConfiguration config = createTestConfigWithUserCredential(TEST_FQDN, in addProviderWithInvalidCredential()
617 PasspointConfiguration config = createTestConfigWithUserCredential(TEST_FQDN, in addProviderWithBackgroundUser()
638 PasspointConfiguration config = createTestConfigWithUserCredential(TEST_FQDN, in addRemoveSavedProviderWithValidUserCredential()
670 assertTrue(mManager.removeProvider(TEST_CREATOR_UID, false, null, TEST_FQDN)); in addRemoveSavedProviderWithValidUserCredential()
796 PasspointConfiguration config = createTestConfigWithSimCredential(TEST_FQDN, TEST_IMSI, in addRemoveSavedProviderWithValidSimCredential()
819 assertTrue(mManager.removeProvider(TEST_UID, true, null, TEST_FQDN)); in addRemoveSavedProviderWithValidSimCredential()
843 createTestConfigWithSimCredential(TEST_FQDN, FULL_IMSI, TEST_REALM); in addProviderWithValidFullImsiOfSimCredential()
883 PasspointConfiguration origConfig = createTestConfigWithSimCredential(TEST_FQDN, TEST_IMSI, in addSavedProviderWithExistingConfig()
923 argThat((c) -> c.FQDN.equals(TEST_FQDN)), eq(TEST_CREATOR_UID), eq(TEST_PACKAGE), in addSavedProviderWithExistingConfig()
[all …]
DPasspointProviderTest.java102 private static final String TEST_FQDN = "test.com"; field in PasspointProviderTest
279 homeSp.setFqdn(TEST_FQDN); in generateTestPasspointConfiguration()
676 createDomainNameElement(new String[]{TEST_FQDN})); in matchFQDNWithoutNAIRealm()
698 createDomainNameElement(new String[]{TEST_FQDN})); in matchFQDNWithNAIRealmMatch()
725 createDomainNameElement(new String[]{TEST_FQDN})); in matchFQDNWithNAIRealmMismatch()
776 createDomainNameElement(new String[]{TEST_FQDN})); in matchFQDNOverRoamingProvider()
1391 wifiConfig.FQDN = TEST_FQDN; in convertFromWifiConfigWithUserCredential()
1420 wifiConfig.FQDN = TEST_FQDN; in convertFromWifiConfigWithSimCredential()
1444 wifiConfig.FQDN = TEST_FQDN; in convertFromWifiConfigWithCertCredential()
1743 createDomainNameElement(new String[]{TEST_FQDN})); in noMatchWithBlockedBss()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSuggestionsManagerTest.java145 private static final String TEST_FQDN = "FQDN"; field in WifiNetworkSuggestionsManagerTest
348 createTestConfigWithUserCredential(TEST_FQDN, TEST_FRIENDLY_NAME); in testAddNetworkSuggestionsSuccess()
349 WifiConfiguration placeholderConfig = createPlaceholderConfigForPasspoint(TEST_FQDN, in testAddNetworkSuggestionsSuccess()
405 createTestConfigWithUserCredential(TEST_FQDN, TEST_FRIENDLY_NAME); in testRemoveNetworkSuggestionsSuccess()
406 WifiConfiguration placeholderConfig = createPlaceholderConfigForPasspoint(TEST_FQDN, in testRemoveNetworkSuggestionsSuccess()
653 createTestConfigWithUserCredential(TEST_FQDN, TEST_FRIENDLY_NAME); in testRemoveAllNetworkSuggestionsSuccess()
654 WifiConfiguration placeholderConfig = createPlaceholderConfigForPasspoint(TEST_FQDN, in testRemoveAllNetworkSuggestionsSuccess()
744 createTestConfigWithUserCredential(TEST_FQDN, TEST_FRIENDLY_NAME); in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenNotInWcm()
745 WifiConfiguration placeholderConfig = createPlaceholderConfigForPasspoint(TEST_FQDN, in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenNotInWcm()
808 mWifiNetworkSuggestionsManager.getNetworkSuggestionsForFqdn(TEST_FQDN); in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenNotInWcm()
[all …]
DNetworkSuggestionStoreDataTest.java64 private static final String TEST_FQDN = "FQDN"; field in NetworkSuggestionStoreDataTest
481 createTestConfigWithUserCredential(TEST_FQDN, TEST_FRIENDLY_NAME)); in serializeDeserializeSinglePasspointSuggestionFromSingleApp()
DNetworkSuggestionNominatorTest.java81 private static final String TEST_FQDN = "fqdn"; field in NetworkSuggestionNominatorTest
829 suggestions[0].wns.wifiConfiguration.FQDN = TEST_FQDN; in testSuggestionPasspointNetworkCandidatesMatches()
834 when(mWifiNetworkSuggestionsManager.getNetworkSuggestionsForFqdn(TEST_FQDN)) in testSuggestionPasspointNetworkCandidatesMatches()
880 suggestions[0].wns.wifiConfiguration.FQDN = TEST_FQDN; in testSuggestionPasspointNetworkCandidatesNoApprovedMatches()
886 when(mWifiNetworkSuggestionsManager.getNetworkSuggestionsForFqdn(TEST_FQDN)) in testSuggestionPasspointNetworkCandidatesNoApprovedMatches()
DWifiConfigurationTestUtil.java85 public static final String TEST_FQDN = "WifiConfigurationTestUtilFQDN"; field in WifiConfigurationTestUtil
517 TEST_FQDN, TEST_PROVIDER_FRIENDLY_NAME, SECURITY_EAP); in createPasspointNetwork()
DWifiServiceImplTest.java323 private static final String TEST_FQDN = "testfqdn"; field in WifiServiceImplTest
2999 wifiInfo.setFQDN(TEST_FQDN); in setupForGetConnectionInfo()
3085 assertEquals(TEST_FQDN, connectionInfo.getPasspointFqdn()); in testConnectedIdsAreVisibleFromPermittedApp()
3116 assertEquals(TEST_FQDN, connectionInfo.getPasspointFqdn()); in testConnectedIdsFromSecondaryCmmAreVisibleFromAppRequestingSecondaryCmm()
3154 assertEquals(TEST_FQDN, connectionInfo.getPasspointFqdn()); in testConnectedIdsAreVisibleFromAppRequestingSecondaryCmmWIthPromotesSettingsWs()
3189 assertEquals(TEST_FQDN, connectionInfo.getPasspointFqdn()); in testConnectedIdsFromPrimaryCmmAreVisibleFromAppNotRequestingSecondaryCmm()
5064 mWifiServiceImpl.removePasspointConfiguration(TEST_FQDN, TEST_PACKAGE_NAME); in testRemovePasspointConfigurationWithOutPrivilegedPermissions()
5067 TEST_FQDN); in testRemovePasspointConfigurationWithOutPrivilegedPermissions() local
5080 mWifiServiceImpl.removePasspointConfiguration(TEST_FQDN, TEST_PACKAGE_NAME); in testRemovePasspointConfigurationWithPrivilegedPermissions()
5083 TEST_FQDN); in testRemovePasspointConfigurationWithPrivilegedPermissions() local
DWifiConnectivityManagerTest.java393 private static final String TEST_FQDN = "FQDN"; field in WifiConnectivityManagerTest
4538 updateNetworks.add(TEST_FQDN); in verifyUserDisabledListUpdated()
4541 passpointNetworks.put(TEST_FQDN, new HashMap<>()); in verifyUserDisabledListUpdated()
DClientModeImplTest.java2066 mConnectedNetwork.FQDN = WifiConfigurationTestUtil.TEST_FQDN; in testSetAnonymousIdentityWhenConnectionIsEstablishedWithPseudonymForPasspoint()
2069 mConnectedNetwork.setPasspointUniqueId(WifiConfigurationTestUtil.TEST_FQDN + "_" in testSetAnonymousIdentityWhenConnectionIsEstablishedWithPseudonymForPasspoint()
2070 + WifiConfigurationTestUtil.TEST_FQDN.hashCode()); in testSetAnonymousIdentityWhenConnectionIsEstablishedWithPseudonymForPasspoint()
2141 assertEquals(WifiConfigurationTestUtil.TEST_FQDN, wifiInfo.getPasspointFqdn()); in connectPasspointAp()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiInfoTest.java58 private static final String TEST_FQDN = "test.com"; field in WifiInfoTest
156 info.setFQDN(TEST_FQDN); in makeWifiInfoForRedactionTest()
190 assertEquals(TEST_FQDN, info.getPasspointFqdn()); in assertNoRedaction()
331 assertEquals(TEST_FQDN, info.getPasspointFqdn()); in assertLocalMacAddressInfoRedaction()
522 writeWifiInfo.setFQDN(TEST_FQDN); in testWifiInfoCopyConstructor()
546 assertEquals(TEST_FQDN, readWifiInfo.getPasspointFqdn()); in testWifiInfoCopyConstructor()
DWifiNetworkSuggestionTest.java53 private static final String TEST_FQDN = "fqdn"; field in WifiNetworkSuggestionTest
704 assertEquals(TEST_FQDN, suggestion.wifiConfiguration.FQDN); in testWifiNetworkSuggestionBuilderForPasspointNetworkWithReqAppInteractionMetered()
1240 passpointConfiguration1.getHomeSp().setFqdn(TEST_FQDN + 1); in testPasspointNetworkSuggestionNotEqualsSameWithDifferentFQDN()