Home
last modified time | relevance | path

Searched refs:mFriendlyNames (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/hotspot2/
DOsuProvider.java66 private final Map<String, String> mFriendlyNames; field in OsuProvider
98 mFriendlyNames = friendlyNames; in OsuProvider()
119 mFriendlyNames = null; in OsuProvider()
129 mFriendlyNames = source.mFriendlyNames; in OsuProvider()
162 if (mFriendlyNames == null || mFriendlyNames.isEmpty()) return null; in getFriendlyName()
164 String friendlyName = mFriendlyNames.get(lang); in getFriendlyName()
168 friendlyName = mFriendlyNames.get("en"); in getFriendlyName()
172 return mFriendlyNames.get(mFriendlyNames.keySet().stream().findFirst().get()); in getFriendlyName()
177 return mFriendlyNames; in getFriendlyNameList()
218 bundle.putSerializable("friendlyNameMap", (HashMap<String, String>) mFriendlyNames); in writeToParcel()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DOsuProviderInfo.java75 private final Map<String, String> mFriendlyNames; field in OsuProviderInfo
85 mFriendlyNames = new HashMap<>(); in OsuProviderInfo()
88 e -> mFriendlyNames.put(e.getLocale().getLanguage(), e.getText())); in OsuProviderInfo()
160 return mFriendlyNames; in getFriendlyNames()
194 if (mFriendlyNames == null || mFriendlyNames.isEmpty()) return null; in getFriendlyName()
196 String friendlyName = mFriendlyNames.get(lang); in getFriendlyName()
200 friendlyName = mFriendlyNames.get("en"); in getFriendlyName()
204 return mFriendlyNames.get(mFriendlyNames.keySet().stream().findFirst().get()); in getFriendlyName()
227 return (mFriendlyNames == null ? that.mFriendlyNames == null in equals()
228 : mFriendlyNames.equals(that.mFriendlyNames)) in equals()
[all …]