Home
last modified time | relevance | path

Searched refs:friendlyNames (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DOsuProviderInfoTest.java96 List<I18Name> friendlyNames = new ArrayList<>(); in getFriendlyNameMatchingDefaultLocale() local
104 friendlyNames.add( in getFriendlyNameMatchingDefaultLocale()
106 friendlyNames.add(new I18Name(defaultLocale.getLanguage(), defaultLocale, defaultString)); in getFriendlyNameMatchingDefaultLocale()
108 new OsuProviderInfo(friendlyNames, null, null, null, null, null); in getFriendlyNameMatchingDefaultLocale()
120 List<I18Name> friendlyNames = new ArrayList<>(); in getFriendlyNameNotMatchingDefaultLocale() local
127 friendlyNames.add( in getFriendlyNameNotMatchingDefaultLocale()
129 friendlyNames.add( in getFriendlyNameNotMatchingDefaultLocale()
132 new OsuProviderInfo(friendlyNames, null, null, null, null, null); in getFriendlyNameNotMatchingDefaultLocale()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProvisioningTestUtil.java66 Map<String, String> friendlyNames = new HashMap<>(); in generateOsuProvider() local
67 friendlyNames.put("en", TEST_FRIENDLY_NAME); in generateOsuProvider()
68 return generateOsuProviderWithFriendlyName(openOsuAP, friendlyNames); in generateOsuProvider()
79 Map<String, String> friendlyNames) { in generateOsuProviderWithFriendlyName() argument
81 return new OsuProvider(TEST_SSID, friendlyNames, in generateOsuProviderWithFriendlyName()
85 return new OsuProvider(TEST_SSID, friendlyNames, in generateOsuProviderWithFriendlyName()
DOsuServerConnectionTest.java171 Map<String, String> friendlyNames = new HashMap<>(); in verifyValidateProviderWithMultipleProviderLangs() local
172 friendlyNames.put( in verifyValidateProviderWithMultipleProviderLangs()
174 friendlyNames.put(Locale.US.getISO3Language(), PROVIDER_NAME_VALID); in verifyValidateProviderWithMultipleProviderLangs()
176 assertTrue(mOsuServerConnection.validateProvider(friendlyNames)); in verifyValidateProviderWithMultipleProviderLangs()
197 Map<String, String> friendlyNames = new HashMap<>(); in verifyValidateProviderWithMismatchedProviderLang() local
198 friendlyNames.put( in verifyValidateProviderWithMismatchedProviderLang()
201 assertFalse(mOsuServerConnection.validateProvider(friendlyNames)); in verifyValidateProviderWithMismatchedProviderLang()
222 Map<String, String> friendlyNames = new HashMap<>(); in verifyValidateProviderWithSameLangButDifferentRegion() local
223 friendlyNames.put( in verifyValidateProviderWithSameLangButDifferentRegion()
226 assertTrue(mOsuServerConnection.validateProvider(friendlyNames)); in verifyValidateProviderWithSameLangButDifferentRegion()
DPasspointManagerTest.java303 Map<String, String> friendlyNames = new HashMap<>(); in createTestConfigWithUserCredential() local
304 friendlyNames.put("en", friendlyName); in createTestConfigWithUserCredential()
305 friendlyNames.put("kr", friendlyName + 1); in createTestConfigWithUserCredential()
306 friendlyNames.put("jp", friendlyName + 2); in createTestConfigWithUserCredential()
307 config.setServiceFriendlyNames(friendlyNames); in createTestConfigWithUserCredential()
1164 List<I18Name> friendlyNames = Arrays.asList( in getMatchingOsuProvidersWithMatch() local
1170 friendlyNames.forEach(e -> friendlyNameMap.put(e.getLanguage(), e.getText())); in getMatchingOsuProvidersWithMatch()
1178 friendlyNames, serverUri, methodList, null, nai, serviceDescriptions)); in getMatchingOsuProvidersWithMatch()
1183 friendlyNames, serverUri, methodList, null, nai, serviceDescriptions)); in getMatchingOsuProvidersWithMatch()
1232 Map<String, String> friendlyNames = new HashMap<>(); in getMatchingPasspointConfigsForOsuProvidersWithMatch() local
[all …]
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/
DPasspointConfigurationTest.java170 Map<String, String> friendlyNames = new HashMap<>(); in createConfig() local
171 friendlyNames.put("en", "ServiceName1"); in createConfig()
172 friendlyNames.put("kr", "ServiceName2"); in createConfig()
173 config.setServiceFriendlyNames(friendlyNames); in createConfig()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DOsuProviderInfo.java83 public OsuProviderInfo(List<I18Name> friendlyNames, Uri serverUri, List<Integer> methodList, in OsuProviderInfo() argument
86 if (friendlyNames != null) { in OsuProviderInfo()
87 friendlyNames.forEach( in OsuProviderInfo()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/
DOsuProvider.java94 public OsuProvider(WifiSsid osuSsid, Map<String, String> friendlyNames, in OsuProvider() argument
98 mFriendlyNames = friendlyNames; in OsuProvider()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuServerConnection.java197 Map<String, String> friendlyNames) { in validateProvider() argument
199 if (friendlyNames.size() == 0) { in validateProvider()
209 friendlyNames.get(identity.first.getISO3Language()))) { in validateProvider()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java337 Map<String, String> friendlyNames = new HashMap<>(); in buildOsuProvider() local
338 friendlyNames.put("en", friendlyName); in buildOsuProvider()
339 return new OsuProvider(null, friendlyNames, null, null, null, null, null); in buildOsuProvider()
1166 List<String> friendlyNames = Arrays.asList( in updateOsuAccessPoints_doesNotReturnAlreadyProvisionedOsuAccessPoints() local
1168 assertThat(friendlyNames) in updateOsuAccessPoints_doesNotReturnAlreadyProvisionedOsuAccessPoints()
DAccessPointTest.java122 Map<String, String> friendlyNames = new HashMap<>(); in createOsuProvider() local
123 friendlyNames.put("en", OSU_FRIENDLY_NAME); in createOsuProvider()
124 return new OsuProvider(null, friendlyNames, null, null, null, null, null); in createOsuProvider()