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.java128 HomeSp homeSp = new HomeSp(); in createFullPasspointConfiguration() local
129 homeSp.setFriendlyName("Century House"); in createFullPasspointConfiguration()
130 homeSp.setFqdn("mi6.co.uk"); in createFullPasspointConfiguration()
131 homeSp.setRoamingConsortiumOis(new long[] {0x112233L, 0x445566L}); in createFullPasspointConfiguration()
132 homeSp.setIconUrl("icon.test.com"); in createFullPasspointConfiguration()
136 homeSp.setHomeNetworkIds(homeNetworkIds); in createFullPasspointConfiguration()
137 homeSp.setMatchAllOis(new long[] {0x11223344}); in createFullPasspointConfiguration()
138 homeSp.setMatchAnyOis(new long[] {0x55667788}); in createFullPasspointConfiguration()
139 homeSp.setOtherHomePartners(new String[] {"other.fqdn.com"}); in createFullPasspointConfiguration()
140 config.setHomeSp(homeSp); in createFullPasspointConfiguration()
DPasspointManagerTest.java261 HomeSp homeSp = new HomeSp(); in createTestConfigWithUserCredential() local
262 homeSp.setFqdn(fqdn); in createTestConfigWithUserCredential()
263 homeSp.setFriendlyName(friendlyName); in createTestConfigWithUserCredential()
264 config.setHomeSp(homeSp); in createTestConfigWithUserCredential()
291 HomeSp homeSp = new HomeSp(); in createTestConfigWithSimCredential() local
292 homeSp.setFqdn(fqdn); in createTestConfigWithSimCredential()
293 homeSp.setFriendlyName(TEST_FRIENDLY_NAME); in createTestConfigWithSimCredential()
294 config.setHomeSp(homeSp); in createTestConfigWithSimCredential()
1239 HomeSp homeSp = new HomeSp(); in addLegacyPasspointConfigWithUserCredential() local
1240 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.java275 HomeSp homeSp = new HomeSp(); in setUp() local
276 homeSp.setFqdn("test.com"); in setUp()
277 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.java434 HomeSp homeSp = new HomeSp(); in convertFromWifiConfig() local
439 homeSp.setFqdn(wifiConfig.FQDN); in convertFromWifiConfig()
440 homeSp.setFriendlyName(wifiConfig.providerFriendlyName); in convertFromWifiConfig()
442 homeSp.setRoamingConsortiumOis(Arrays.copyOf( in convertFromWifiConfig()
445 passpointConfig.setHomeSp(homeSp); in convertFromWifiConfig()
DPasspointManager.java505 HomeSp homeSp = new HomeSp(); in createEphemeralPasspointConfigForCarrier() local
506 homeSp.setFqdn(domain); in createEphemeralPasspointConfigForCarrier()
510 homeSp.setFriendlyName(friendlyName); in createEphemeralPasspointConfigForCarrier()
511 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.java291 HomeSp homeSp = new HomeSp();
292 homeSp.setFqdn("test.com");
293 homeSp.setFriendlyName("Test Provider");
294 config.setHomeSp(homeSp);
1284 HomeSp homeSp = new HomeSp(); in testGetKey_matchesKeysCorrectly() local
1285 homeSp.setFqdn("fqdn"); in testGetKey_matchesKeysCorrectly()
1286 homeSp.setFriendlyName("Test Provider"); in testGetKey_matchesKeysCorrectly()
1287 passpointConfig.setHomeSp(homeSp); in testGetKey_matchesKeysCorrectly()
1469 HomeSp homeSp = new HomeSp(); in testOsuAccessPoint_connectsAfterProvisioning() local
1470 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.java1777 HomeSp homeSp = new HomeSp(); in syncAddOrUpdatePasspointConfig() local
1778 homeSp.setFqdn("test.com"); in syncAddOrUpdatePasspointConfig()
1779 config.setHomeSp(homeSp); in syncAddOrUpdatePasspointConfig()
1845 HomeSp homeSp = new HomeSp(); in syncGetPasspointConfigs() local
1846 homeSp.setFqdn("test.com"); in syncGetPasspointConfigs()
1847 config.setHomeSp(homeSp); in syncGetPasspointConfigs()
DWifiServiceImplTest.java3503 HomeSp homeSp = new HomeSp(); in testFactoryReset() local
3504 homeSp.setFqdn(fqdn); in testFactoryReset()
3505 config.setHomeSp(homeSp); in testFactoryReset()