Home
last modified time | relevance | path

Searched refs:homeSp (Results 1 – 19 of 19) 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/
DPasspointProviderTest.java211 HomeSp homeSp = new HomeSp(); in verifyModifyOriginalConfig() local
212 homeSp.setFqdn("test1"); in verifyModifyOriginalConfig()
213 config.setHomeSp(homeSp); in verifyModifyOriginalConfig()
236 HomeSp homeSp = new HomeSp(); in verifyModifyRetrievedConfig() local
237 homeSp.setFqdn("test1"); in verifyModifyRetrievedConfig()
238 config.setHomeSp(homeSp); in verifyModifyRetrievedConfig()
425 HomeSp homeSp = new HomeSp(); in matchFQDNWithoutNAIRealm() local
426 homeSp.setFqdn(testDomain); in matchFQDNWithoutNAIRealm()
427 config.setHomeSp(homeSp); in matchFQDNWithoutNAIRealm()
457 HomeSp homeSp = new HomeSp(); in matchFQDNWithNAIRealmMatch() local
[all …]
DPasspointXmlUtilsTest.java99 HomeSp homeSp = new HomeSp(); in createFullPasspointConfiguration() local
100 homeSp.setFriendlyName("Century House"); in createFullPasspointConfiguration()
101 homeSp.setFqdn("mi6.co.uk"); in createFullPasspointConfiguration()
102 homeSp.setRoamingConsortiumOis(new long[] {0x112233L, 0x445566L}); in createFullPasspointConfiguration()
103 homeSp.setIconUrl("icon.test.com"); in createFullPasspointConfiguration()
107 homeSp.setHomeNetworkIds(homeNetworkIds); in createFullPasspointConfiguration()
108 homeSp.setMatchAllOis(new long[] {0x11223344}); in createFullPasspointConfiguration()
109 homeSp.setMatchAnyOis(new long[] {0x55667788}); in createFullPasspointConfiguration()
110 homeSp.setOtherHomePartners(new String[] {"other.fqdn.com"}); in createFullPasspointConfiguration()
111 config.setHomeSp(homeSp); in createFullPasspointConfiguration()
DPasspointConfigUserStoreDataTest.java129 HomeSp homeSp = new HomeSp(); in createFullPasspointConfiguration() local
130 homeSp.setFriendlyName("Century House"); in createFullPasspointConfiguration()
131 homeSp.setFqdn("mi6.co.uk"); in createFullPasspointConfiguration()
132 homeSp.setRoamingConsortiumOis(new long[] {0x112233L, 0x445566L}); in createFullPasspointConfiguration()
133 homeSp.setIconUrl("icon.test.com"); in createFullPasspointConfiguration()
137 homeSp.setHomeNetworkIds(homeNetworkIds); in createFullPasspointConfiguration()
138 homeSp.setMatchAllOis(new long[] {0x11223344}); in createFullPasspointConfiguration()
139 homeSp.setMatchAnyOis(new long[] {0x55667788}); in createFullPasspointConfiguration()
140 homeSp.setOtherHomePartners(new String[] {"other.fqdn.com"}); in createFullPasspointConfiguration()
141 config.setHomeSp(homeSp); in createFullPasspointConfiguration()
DPasspointManagerTest.java299 HomeSp homeSp = new HomeSp(); in createTestConfigWithUserCredential() local
300 homeSp.setFqdn(fqdn); in createTestConfigWithUserCredential()
301 homeSp.setFriendlyName(friendlyName); in createTestConfigWithUserCredential()
302 config.setHomeSp(homeSp); in createTestConfigWithUserCredential()
329 HomeSp homeSp = new HomeSp(); in createTestConfigWithSimCredential() local
330 homeSp.setFqdn(fqdn); in createTestConfigWithSimCredential()
331 homeSp.setFriendlyName(TEST_FRIENDLY_NAME); in createTestConfigWithSimCredential()
332 config.setHomeSp(homeSp); in createTestConfigWithSimCredential()
1355 HomeSp homeSp = new HomeSp(); in addLegacyPasspointConfigWithUserCredential() local
1356 homeSp.setFqdn(fqdn); in addLegacyPasspointConfigWithUserCredential()
[all …]
DPasspointNetworkEvaluatorTest.java116 HomeSp homeSp = new HomeSp(); in generateProvider() local
117 homeSp.setFqdn(config.FQDN); in generateProvider()
118 passpointConfig.setHomeSp(homeSp); in generateProvider()
DPasspointProvisionerTest.java274 HomeSp homeSp = new HomeSp(); in setUp() local
275 homeSp.setFqdn("test.com"); in setUp()
276 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.java352 HomeSp homeSp = new HomeSp();
353 homeSp.setFqdn(in.readString());
354 homeSp.setFriendlyName(in.readString());
355 homeSp.setIconUrl(in.readString());
356 homeSp.setHomeNetworkIds(readHomeNetworkIds(in));
357 homeSp.setMatchAllOis(in.createLongArray());
358 homeSp.setMatchAnyOis(in.createLongArray());
359 homeSp.setOtherHomePartners(in.createStringArray());
360 homeSp.setRoamingConsortiumOis(in.createLongArray());
361 return homeSp;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointXmlUtils.java239 private static void serializeHomeSp(XmlSerializer out, HomeSp homeSp) in serializeHomeSp() argument
241 if (homeSp == null) { in serializeHomeSp()
245 XmlUtil.writeNextValue(out, XML_TAG_FQDN, homeSp.getFqdn()); in serializeHomeSp()
246 XmlUtil.writeNextValue(out, XML_TAG_FRIENDLY_NAME, homeSp.getFriendlyName()); in serializeHomeSp()
247 XmlUtil.writeNextValue(out, XML_TAG_ICON_URL, homeSp.getIconUrl()); in serializeHomeSp()
248 XmlUtil.writeNextValue(out, XML_TAG_HOME_NETWORK_IDS, homeSp.getHomeNetworkIds()); in serializeHomeSp()
249 XmlUtil.writeNextValue(out, XML_TAG_MATCH_ALL_OIS, homeSp.getMatchAllOis()); in serializeHomeSp()
250 XmlUtil.writeNextValue(out, XML_TAG_MATCH_ANY_OIS, homeSp.getMatchAnyOis()); in serializeHomeSp()
251 XmlUtil.writeNextValue(out, XML_TAG_OTHER_HOME_PARTNERS, homeSp.getOtherHomePartners()); in serializeHomeSp()
253 homeSp.getRoamingConsortiumOis()); in serializeHomeSp()
[all …]
DPasspointProvider.java449 HomeSp homeSp = new HomeSp(); in convertFromWifiConfig() local
454 homeSp.setFqdn(wifiConfig.FQDN); in convertFromWifiConfig()
455 homeSp.setFriendlyName(wifiConfig.providerFriendlyName); in convertFromWifiConfig()
457 homeSp.setRoamingConsortiumOis(Arrays.copyOf( in convertFromWifiConfig()
460 passpointConfig.setHomeSp(homeSp); in convertFromWifiConfig()
DPasspointManager.java549 HomeSp homeSp = new HomeSp(); in createEphemeralPasspointConfigForCarrier() local
550 homeSp.setFqdn(domain); in createEphemeralPasspointConfigForCarrier()
554 homeSp.setFriendlyName(friendlyName); in createEphemeralPasspointConfigForCarrier()
555 config.setHomeSp(homeSp); in createEphemeralPasspointConfigForCarrier()
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/
DConfigParserTest.java87 HomeSp homeSp = new HomeSp(); in generateConfigurationFromProfile() local
88 homeSp.setFriendlyName("Century House"); in generateConfigurationFromProfile()
89 homeSp.setFqdn("mi6.co.uk"); in generateConfigurationFromProfile()
90 homeSp.setRoamingConsortiumOis(new long[] {0x112233L, 0x445566L}); in generateConfigurationFromProfile()
91 config.setHomeSp(homeSp); in generateConfigurationFromProfile()
DPasspointConfigurationTest.java55 HomeSp homeSp = new HomeSp(); in createHomeSp() local
56 homeSp.setFqdn("fqdn"); in createHomeSp()
57 homeSp.setFriendlyName("friendly name"); in createHomeSp()
58 homeSp.setRoamingConsortiumOis(new long[] {0x55, 0x66}); in createHomeSp()
59 return homeSp; in createHomeSp()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/
DPpsMoParser.java657 HomeSp homeSp = new HomeSp(); in parseHomeSP() local
661 homeSp.setFqdn(getPpsNodeValue(child)); in parseHomeSP()
664 homeSp.setFriendlyName(getPpsNodeValue(child)); in parseHomeSP()
667 homeSp.setRoamingConsortiumOis( in parseHomeSP()
671 homeSp.setIconUrl(getPpsNodeValue(child)); in parseHomeSP()
674 homeSp.setHomeNetworkIds(parseNetworkIds(child)); in parseHomeSP()
678 homeSp.setMatchAllOis(convertFromLongList(homeOIs.first)); in parseHomeSP()
679 homeSp.setMatchAnyOis(convertFromLongList(homeOIs.second)); in parseHomeSP()
682 homeSp.setOtherHomePartners(parseOtherHomePartners(child)); in parseHomeSP()
688 return homeSp; in parseHomeSP()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java292 HomeSp homeSp = new HomeSp();
293 homeSp.setFqdn("test.com");
294 homeSp.setFriendlyName("Test Provider");
295 config.setHomeSp(homeSp);
1285 HomeSp homeSp = new HomeSp(); in testGetKey_matchesKeysCorrectly() local
1286 homeSp.setFqdn("fqdn"); in testGetKey_matchesKeysCorrectly()
1287 homeSp.setFriendlyName("Test Provider"); in testGetKey_matchesKeysCorrectly()
1288 passpointConfig.setHomeSp(homeSp); in testGetKey_matchesKeysCorrectly()
1508 HomeSp homeSp = new HomeSp(); in testOsuAccessPoint_connectsAfterProvisioning() local
1509 homeSp.setFqdn("fqdn"); in testOsuAccessPoint_connectsAfterProvisioning()
[all …]
/frameworks/base/wifi/java/android/net/wifi/hotspot2/
DPasspointConfiguration.java72 public void setHomeSp(HomeSp homeSp) { mHomeSp = homeSp; } in setHomeSp() argument
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java1897 HomeSp homeSp = new HomeSp(); in syncAddOrUpdatePasspointConfig() local
1898 homeSp.setFqdn("test.com"); in syncAddOrUpdatePasspointConfig()
1899 config.setHomeSp(homeSp); in syncAddOrUpdatePasspointConfig()
1965 HomeSp homeSp = new HomeSp(); in syncGetPasspointConfigs() local
1966 homeSp.setFqdn("test.com"); in syncGetPasspointConfigs()
1967 config.setHomeSp(homeSp); in syncGetPasspointConfigs()
DWifiServiceImplTest.java3657 HomeSp homeSp = new HomeSp(); in testFactoryReset() local
3658 homeSp.setFqdn(fqdn); in testFactoryReset()
3659 config.setHomeSp(homeSp); in testFactoryReset()