Home
last modified time | relevance | path

Searched refs:homeSp (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/pps/
DHomeSpTest.java58 HomeSp homeSp = new HomeSp(); in createHomeSp() local
59 homeSp.setFqdn("fqdn"); in createHomeSp()
60 homeSp.setFriendlyName("friendly name"); in createHomeSp()
61 homeSp.setIconUrl("icon.url"); in createHomeSp()
62 homeSp.setHomeNetworkIds(homeNetworkIds); in createHomeSp()
63 homeSp.setMatchAllOis(new long[] {0x11L, 0x22L}); in createHomeSp()
64 homeSp.setMatchAnyOis(new long[] {0x33L, 0x44L}); in createHomeSp()
65 homeSp.setOtherHomePartners(new String[] {"partner1", "partner2"}); in createHomeSp()
66 homeSp.setRoamingConsortiumOis(new long[] {0x55, 0x66}); in createHomeSp()
67 return homeSp; in createHomeSp()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointXmlUtilsTest.java100 HomeSp homeSp = new HomeSp(); in createFullPasspointConfiguration() local
101 homeSp.setFriendlyName("Century House"); in createFullPasspointConfiguration()
102 homeSp.setFqdn("mi6.co.uk"); in createFullPasspointConfiguration()
103 homeSp.setRoamingConsortiumOis(new long[] {0x112233L, 0x445566L}); in createFullPasspointConfiguration()
104 homeSp.setIconUrl("icon.test.com"); in createFullPasspointConfiguration()
108 homeSp.setHomeNetworkIds(homeNetworkIds); in createFullPasspointConfiguration()
109 homeSp.setMatchAllOis(new long[] {0x11223344}); in createFullPasspointConfiguration()
110 homeSp.setMatchAnyOis(new long[] {0x55667788}); in createFullPasspointConfiguration()
111 homeSp.setOtherHomePartners(new String[] {"other.fqdn.com"}); in createFullPasspointConfiguration()
112 config.setHomeSp(homeSp); in createFullPasspointConfiguration()
DPasspointConfigUserStoreDataTest.java136 HomeSp homeSp = new HomeSp(); in createFullPasspointConfiguration() local
137 homeSp.setFriendlyName("Century House"); in createFullPasspointConfiguration()
138 homeSp.setFqdn("mi6.co.uk"); in createFullPasspointConfiguration()
139 homeSp.setRoamingConsortiumOis(new long[] {0x112233L, 0x445566L}); in createFullPasspointConfiguration()
140 homeSp.setIconUrl("icon.test.com"); in createFullPasspointConfiguration()
144 homeSp.setHomeNetworkIds(homeNetworkIds); in createFullPasspointConfiguration()
145 homeSp.setMatchAllOis(new long[] {0x11223344}); in createFullPasspointConfiguration()
146 homeSp.setMatchAnyOis(new long[] {0x55667788}); in createFullPasspointConfiguration()
147 homeSp.setOtherHomePartners(new String[] {"other.fqdn.com"}); in createFullPasspointConfiguration()
148 config.setHomeSp(homeSp); in createFullPasspointConfiguration()
DPasspointProviderTest.java246 HomeSp homeSp = new HomeSp(); in generateTestPasspointConfiguration() local
247 homeSp.setFqdn(TEST_FQDN); in generateTestPasspointConfiguration()
248 homeSp.setFriendlyName(TEST_FRIENDLY_NAME); in generateTestPasspointConfiguration()
249 homeSp.setRoamingConsortiumOis(TEST_RC_OIS); in generateTestPasspointConfiguration()
250 config.setHomeSp(homeSp); in generateTestPasspointConfiguration()
305 HomeSp homeSp = passpointConfig.getHomeSp(); in verifyWifiConfigWithTestData() local
311 assertEquals(homeSp.getFqdn(), wifiConfig.FQDN); in verifyWifiConfigWithTestData()
312 assertEquals(homeSp.getFriendlyName(), wifiConfig.providerFriendlyName); in verifyWifiConfigWithTestData()
313 assertTrue(Arrays.equals(homeSp.getRoamingConsortiumOis(), in verifyWifiConfigWithTestData()
369 assertEquals(homeSp.getFqdn(), wifiEnterpriseConfig.getDomainSuffixMatch()); in verifyWifiConfigWithTestData()
[all …]
DPasspointManagerTest.java303 HomeSp homeSp = new HomeSp(); in createTestConfigWithUserCredentialAndRealm() local
304 homeSp.setFqdn(fqdn); in createTestConfigWithUserCredentialAndRealm()
305 homeSp.setFriendlyName(friendlyName); in createTestConfigWithUserCredentialAndRealm()
306 config.setHomeSp(homeSp); in createTestConfigWithUserCredentialAndRealm()
333 HomeSp homeSp = new HomeSp(); in createTestConfigWithSimCredential() local
334 homeSp.setFqdn(fqdn); in createTestConfigWithSimCredential()
335 homeSp.setFriendlyName(TEST_FRIENDLY_NAME); in createTestConfigWithSimCredential()
336 config.setHomeSp(homeSp); in createTestConfigWithSimCredential()
1554 HomeSp homeSp = new HomeSp(); in addLegacyPasspointConfigWithUserCredential() local
1555 homeSp.setFqdn(fqdn); in addLegacyPasspointConfigWithUserCredential()
[all …]
DPasspointNetworkNominateHelperTest.java119 HomeSp homeSp = new HomeSp(); in generateProvider() local
120 homeSp.setFqdn(config.FQDN); in generateProvider()
121 passpointConfig.setHomeSp(homeSp); in generateProvider()
DPasspointProvisionerTest.java271 HomeSp homeSp = new HomeSp(); in setUp() local
272 homeSp.setFqdn("test.com"); in setUp()
273 when(mPasspointConfiguration.getHomeSp()).thenReturn(homeSp); in setUp()
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/omadm/
DPpsMoParserTest.java124 HomeSp homeSp = new HomeSp(); in generateConfigurationFromPPSMOTree() local
125 homeSp.setFriendlyName("Century House"); in generateConfigurationFromPPSMOTree()
126 homeSp.setFqdn("mi6.co.uk"); in generateConfigurationFromPPSMOTree()
127 homeSp.setRoamingConsortiumOis(new long[] {0x112233L, 0x445566L}); in generateConfigurationFromPPSMOTree()
128 homeSp.setIconUrl("icon.test.com"); in generateConfigurationFromPPSMOTree()
132 homeSp.setHomeNetworkIds(homeNetworkIds); in generateConfigurationFromPPSMOTree()
133 homeSp.setMatchAllOis(new long[] {0x11223344}); in generateConfigurationFromPPSMOTree()
134 homeSp.setMatchAnyOis(new long[] {0x55667788}); in generateConfigurationFromPPSMOTree()
135 homeSp.setOtherHomePartners(new String[] {"other.fqdn.com"}); in generateConfigurationFromPPSMOTree()
136 config.setHomeSp(homeSp); in generateConfigurationFromPPSMOTree()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/
DHomeSp.java368 HomeSp homeSp = new HomeSp();
369 homeSp.setFqdn(in.readString());
370 homeSp.setFriendlyName(in.readString());
371 homeSp.setIconUrl(in.readString());
372 homeSp.setHomeNetworkIds(readHomeNetworkIds(in));
373 homeSp.setMatchAllOis(in.createLongArray());
374 homeSp.setMatchAnyOis(in.createLongArray());
375 homeSp.setOtherHomePartners(in.createStringArray());
376 homeSp.setRoamingConsortiumOis(in.createLongArray());
377 return homeSp;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointXmlUtils.java259 private static void serializeHomeSp(XmlSerializer out, HomeSp homeSp) in serializeHomeSp() argument
261 if (homeSp == null) { in serializeHomeSp()
265 XmlUtil.writeNextValue(out, XML_TAG_FQDN, homeSp.getFqdn()); in serializeHomeSp()
266 XmlUtil.writeNextValue(out, XML_TAG_FRIENDLY_NAME, homeSp.getFriendlyName()); in serializeHomeSp()
267 XmlUtil.writeNextValue(out, XML_TAG_ICON_URL, homeSp.getIconUrl()); in serializeHomeSp()
268 XmlUtil.writeNextValue(out, XML_TAG_HOME_NETWORK_IDS, homeSp.getHomeNetworkIds()); in serializeHomeSp()
269 XmlUtil.writeNextValue(out, XML_TAG_MATCH_ALL_OIS, homeSp.getMatchAllOis()); in serializeHomeSp()
270 XmlUtil.writeNextValue(out, XML_TAG_MATCH_ANY_OIS, homeSp.getMatchAnyOis()); in serializeHomeSp()
271 XmlUtil.writeNextValue(out, XML_TAG_OTHER_HOME_PARTNERS, homeSp.getOtherHomePartners()); in serializeHomeSp()
273 homeSp.getRoamingConsortiumOis()); in serializeHomeSp()
[all …]
DPasspointProvider.java552 HomeSp homeSp = new HomeSp(); in convertFromWifiConfig() local
557 homeSp.setFqdn(wifiConfig.FQDN); in convertFromWifiConfig()
558 homeSp.setFriendlyName(wifiConfig.providerFriendlyName); in convertFromWifiConfig()
560 homeSp.setRoamingConsortiumOis(Arrays.copyOf( in convertFromWifiConfig()
563 passpointConfig.setHomeSp(homeSp); in convertFromWifiConfig()
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/
DPasspointTestUtils.java40 HomeSp homeSp = new HomeSp(); in createHomeSp() local
41 homeSp.setFqdn("fqdn"); in createHomeSp()
42 homeSp.setFriendlyName("friendly name"); in createHomeSp()
43 homeSp.setRoamingConsortiumOis(new long[] {0x55, 0x66}); in createHomeSp()
44 return homeSp; in createHomeSp()
DConfigParserTest.java89 HomeSp homeSp = new HomeSp(); in generateConfigurationFromProfile() local
90 homeSp.setFriendlyName("Example Network"); in generateConfigurationFromProfile()
91 homeSp.setFqdn("hotspot.example.net"); in generateConfigurationFromProfile()
92 homeSp.setRoamingConsortiumOis(new long[] {0x112233L, 0x445566L}); in generateConfigurationFromProfile()
93 config.setHomeSp(homeSp); in generateConfigurationFromProfile()
DPasspointConfigurationTest.java397 HomeSp homeSp = config2.getHomeSp(); in validateUniqueIdDifferentHomeSp() local
398 homeSp.setRoamingConsortiumOis(new long[] {0xaa, 0xbb}); in validateUniqueIdDifferentHomeSp()
399 config2.setHomeSp(homeSp); in validateUniqueIdDifferentHomeSp()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DWifiPickerTrackerTest.java513 final HomeSp homeSp = new HomeSp(); in testGetWifiEntries_passpointInRange_returnsPasspointWifiEntry() local
514 homeSp.setFqdn("fqdn"); in testGetWifiEntries_passpointInRange_returnsPasspointWifiEntry()
515 homeSp.setFriendlyName("friendlyName"); in testGetWifiEntries_passpointInRange_returnsPasspointWifiEntry()
516 passpointConfig.setHomeSp(homeSp); in testGetWifiEntries_passpointInRange_returnsPasspointWifiEntry()
548 final HomeSp homeSp = new HomeSp(); in testGetWifiEntries_passpointOutOfRange_returnsNull() local
549 homeSp.setFqdn("fqdn"); in testGetWifiEntries_passpointOutOfRange_returnsNull()
550 homeSp.setFriendlyName("friendlyName"); in testGetWifiEntries_passpointOutOfRange_returnsNull()
551 passpointConfig.setHomeSp(homeSp); in testGetWifiEntries_passpointOutOfRange_returnsNull()
586 final HomeSp homeSp = new HomeSp(); in testGetConnectedEntry_alreadyConnectedToPasspoint_returnsPasspointEntry() local
587 homeSp.setFqdn(fqdn); in testGetConnectedEntry_alreadyConnectedToPasspoint_returnsPasspointEntry()
[all …]
DSavedNetworkTrackerTest.java321 final HomeSp homeSp = new HomeSp(); in testGetSubscriptionWifiEntries_returnsPasspointEntries() local
322 homeSp.setFqdn("fqdn"); in testGetSubscriptionWifiEntries_returnsPasspointEntries()
323 homeSp.setFriendlyName("friendlyName"); in testGetSubscriptionWifiEntries_returnsPasspointEntries()
324 passpointConfig.setHomeSp(homeSp); in testGetSubscriptionWifiEntries_returnsPasspointEntries()
DPasspointWifiEntryTest.java119 HomeSp homeSp = new HomeSp(); in getPasspointConfiguration() local
120 homeSp.setFqdn(FQDN); in getPasspointConfiguration()
121 passpointConfiguration.setHomeSp(homeSp); in getPasspointConfiguration()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionStoreDataTest.java495 HomeSp homeSp = new HomeSp(); in createTestConfigWithUserCredential() local
496 homeSp.setFqdn(fqdn); in createTestConfigWithUserCredential()
497 homeSp.setFriendlyName(friendlyName); in createTestConfigWithUserCredential()
498 config.setHomeSp(homeSp); in createTestConfigWithUserCredential()
DWifiServiceImplTest.java3406 HomeSp homeSp = new HomeSp(); in testGetPasspointConfigurations() local
3407 homeSp.setFqdn("test.com"); in testGetPasspointConfigurations()
3408 config.setHomeSp(homeSp); in testGetPasspointConfigurations()
4194 HomeSp homeSp = new HomeSp(); in testFactoryReset() local
4195 homeSp.setFqdn(fqdn); in testFactoryReset()
4196 config.setHomeSp(homeSp); in testFactoryReset()
4939 HomeSp homeSp = new HomeSp(); in addOrUpdatePasspointConfigIsAllowedForAppsTargetingBelowRSdk() local
4940 homeSp.setFqdn("test.com"); in addOrUpdatePasspointConfigIsAllowedForAppsTargetingBelowRSdk()
4941 config.setHomeSp(homeSp); in addOrUpdatePasspointConfigIsAllowedForAppsTargetingBelowRSdk()
4967 HomeSp homeSp = new HomeSp(); in addOrUpdatePasspointConfigIsNotAllowedForAppsTargetingRSdk() local
[all …]
DWifiNetworkSuggestionsManagerTest.java3648 HomeSp homeSp = new HomeSp(); in testAddInvalidPasspointNetworkSuggestions() local
3649 homeSp.setFqdn(TEST_FQDN); in testAddInvalidPasspointNetworkSuggestions()
3650 passpointConfiguration.setHomeSp(homeSp); in testAddInvalidPasspointNetworkSuggestions()
4094 HomeSp homeSp = new HomeSp(); in createTestConfigWithUserCredential() local
4095 homeSp.setFqdn(fqdn); in createTestConfigWithUserCredential()
4096 homeSp.setFriendlyName(friendlyName); in createTestConfigWithUserCredential()
4097 config.setHomeSp(homeSp); in createTestConfigWithUserCredential()
4124 HomeSp homeSp = new HomeSp(); in createTestConfigWithSimCredential() local
4125 homeSp.setFqdn(fqdn); in createTestConfigWithSimCredential()
4126 homeSp.setFriendlyName(TEST_FRIENDLY_NAME); in createTestConfigWithSimCredential()
[all …]
/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/
DPpsMoParser.java698 HomeSp homeSp = new HomeSp(); in parseHomeSP() local
702 homeSp.setFqdn(getPpsNodeValue(child)); in parseHomeSP()
705 homeSp.setFriendlyName(getPpsNodeValue(child)); in parseHomeSP()
708 homeSp.setRoamingConsortiumOis( in parseHomeSP()
712 homeSp.setIconUrl(getPpsNodeValue(child)); in parseHomeSP()
715 homeSp.setHomeNetworkIds(parseNetworkIds(child)); in parseHomeSP()
719 homeSp.setMatchAllOis(convertFromLongList(homeOIs.first)); in parseHomeSP()
720 homeSp.setMatchAnyOis(convertFromLongList(homeOIs.second)); in parseHomeSP()
723 homeSp.setOtherHomePartners(parseOtherHomePartners(child)); in parseHomeSP()
729 return homeSp; in parseHomeSP()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java293 HomeSp homeSp = new HomeSp();
294 homeSp.setFqdn("test.com");
295 homeSp.setFriendlyName("Test Provider");
296 config.setHomeSp(homeSp);
1221 HomeSp homeSp = new HomeSp(); in testGetKey_matchesKeysCorrectly() local
1222 homeSp.setFqdn("fqdn"); in testGetKey_matchesKeysCorrectly()
1223 homeSp.setFriendlyName("Test Provider"); in testGetKey_matchesKeysCorrectly()
1224 passpointConfig.setHomeSp(homeSp); in testGetKey_matchesKeysCorrectly()
1451 HomeSp homeSp = new HomeSp(); in testOsuAccessPoint_connectsAfterProvisioning() local
1452 homeSp.setFqdn("fqdn"); in testOsuAccessPoint_connectsAfterProvisioning()
[all …]
/frameworks/base/wifi/java/android/net/wifi/hotspot2/
DPasspointConfiguration.java81 public void setHomeSp(HomeSp homeSp) { mHomeSp = homeSp; } in setHomeSp() argument
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...