Home
last modified time | relevance | path

Searched refs:friendlyNames (Results 1 – 8 of 8) 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()
DPasspointManagerTest.java301 Map<String, String> friendlyNames = new HashMap<>(); in createTestConfigWithUserCredential() local
302 friendlyNames.put("en", friendlyName); in createTestConfigWithUserCredential()
303 friendlyNames.put("kr", friendlyName + 1); in createTestConfigWithUserCredential()
304 friendlyNames.put("jp", friendlyName + 2); in createTestConfigWithUserCredential()
305 config.setServiceFriendlyNames(friendlyNames); in createTestConfigWithUserCredential()
1162 List<I18Name> friendlyNames = Arrays.asList( in getMatchingOsuProvidersWithMatch() local
1168 friendlyNames.forEach(e -> friendlyNameMap.put(e.getLanguage(), e.getText())); in getMatchingOsuProvidersWithMatch()
1176 friendlyNames, serverUri, methodList, null, nai, serviceDescriptions)); in getMatchingOsuProvidersWithMatch()
1181 friendlyNames, serverUri, methodList, null, nai, serviceDescriptions)); in getMatchingOsuProvidersWithMatch()
1230 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.java93 public OsuProvider(WifiSsid osuSsid, Map<String, String> friendlyNames, in OsuProvider() argument
97 mFriendlyNames = friendlyNames; in OsuProvider()
/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.java121 Map<String, String> friendlyNames = new HashMap<>(); in createOsuProvider() local
122 friendlyNames.put("en", OSU_FRIENDLY_NAME); in createOsuProvider()
123 return new OsuProvider(null, friendlyNames, null, null, null, null, null); in createOsuProvider()