Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/contacts/displaypreference/
DContactDisplayPreferences.java136 default String getDisplayName(@Nullable String primaryName, @Nullable String alternativeName) { in getDisplayName() argument
137 if (TextUtils.isEmpty(alternativeName)) { in getDisplayName()
144 return alternativeName; in getDisplayName()
150 default String getSortName(@Nullable String primaryName, @Nullable String alternativeName) { in getSortName() argument
151 if (TextUtils.isEmpty(alternativeName)) { in getSortName()
158 return alternativeName; in getSortName()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DServiceProviderVerifier.java219 private static Pair<Locale, String> getFriendlyName(String alternativeName) { in getFriendlyName() argument
222 if (TextUtils.isEmpty(alternativeName) || alternativeName.length() < LANGUAGE_CODE_LENGTH) { in getFriendlyName()
227 String language = alternativeName.substring(0, LANGUAGE_CODE_LENGTH); in getFriendlyName()
237 String friendlyName = alternativeName.substring(LANGUAGE_CODE_LENGTH); in getFriendlyName()