Home
last modified time | relevance | path

Searched refs:getLanguage (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsCbHeader.java43 Locale.GERMAN.getLanguage(), // German
44 Locale.ENGLISH.getLanguage(), // English
45 Locale.ITALIAN.getLanguage(), // Italian
46 Locale.FRENCH.getLanguage(), // French
47 new Locale("es").getLanguage(), // Spanish
48 new Locale("nl").getLanguage(), // Dutch
49 new Locale("sv").getLanguage(), // Swedish
50 new Locale("da").getLanguage(), // Danish
51 new Locale("pt").getLanguage(), // Portuguese
52 new Locale("fi").getLanguage(), // Finnish
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DOsuProviderInfoTest.java107 new I18Name(nonDefaultLocale.getLanguage(), nonDefaultLocale, nonDefaultString)); in getFriendlyNameMatchingDefaultLocale()
108 friendlyNames.add(new I18Name(defaultLocale.getLanguage(), defaultLocale, defaultString)); in getFriendlyNameMatchingDefaultLocale()
130 new I18Name(nonDefaultLocale.getLanguage(), nonDefaultLocale, firstString)); in getFriendlyNameNotMatchingDefaultLocale()
132 new I18Name(nonDefaultLocale.getLanguage(), nonDefaultLocale, secondString)); in getFriendlyNameNotMatchingDefaultLocale()
167 new I18Name(nonDefaultLocale.getLanguage(), nonDefaultLocale, nonDefaultString)); in getServiceDescriptionMatchingDefaultLocale()
169 new I18Name(defaultLocale.getLanguage(), defaultLocale, defaultString)); in getServiceDescriptionMatchingDefaultLocale()
191 new I18Name(nonDefaultLocale.getLanguage(), nonDefaultLocale, firstString)); in getServiceDescriptionNotMatchingDefaultLocale()
193 new I18Name(nonDefaultLocale.getLanguage(), nonDefaultLocale, secondString)); in getServiceDescriptionNotMatchingDefaultLocale()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DLocaleUtils.java99 if (l == null || "und".equals(l.getLanguage()) in getLocaleForLanguageCountry()
100 || l.getLanguage().isEmpty() || l.getCountry().isEmpty()) { in getLocaleForLanguageCountry()
103 if (l.getLanguage().equals(target.getLanguage())) { in getLocaleForLanguageCountry()
173 String likelyLanguage = likelyLocale.getLanguage(); in defaultLanguageForMcc()
181 String language = fullTargetLocale.getLanguage(); in isTranslated()
186 if (language.equals(fullLocale.getLanguage()) in isTranslated()
/frameworks/base/core/java/com/android/internal/app/
DLocalePicker.java112 if (l == null || "und".equals(l.getLanguage()) in getAllAssetLocales()
113 || l.getLanguage().isEmpty() || l.getCountry().isEmpty()) { in getAllAssetLocales()
132 if (previous.locale.getLanguage().equals(l.getLanguage()) && in getAllAssetLocales()
133 !previous.locale.getLanguage().equals("zz")) { in getAllAssetLocales()
DLocaleHelper.java100 final String lang = locale.getLanguage(); in shouldUseDialectName()
247 if ("ar".equals(locale.getLanguage()) && str.startsWith(PREFIX_ARABIC)) { in removePrefixForCompare()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DLocaleUtils.java172 if (!TextUtils.equals(locale.getLanguage(), preferredLocale.getLanguage())) { in filterByLanguage()
191 final String lang = locale.getLanguage(); in filterByLanguage()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DSystemInfo.java61 public String getLanguage() { in getLanguage() method in SystemInfo
62 return Locale.getDefault().getLanguage(); in getLanguage()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DOsuProviderInfo.java88 e -> mFriendlyNames.put(e.getLocale().getLanguage(), e.getText())); in OsuProviderInfo()
195 String lang = Locale.getDefault().getLanguage(); in getFriendlyName()
316 if (name.getLanguage().equals(Locale.getDefault().getLanguage())) { in getI18String()
DI18Name.java90 public String getLanguage() { in getLanguage() method in I18Name
125 return mText + ':' + mLocale.getLanguage(); in toString()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodSubtypePreference.java66 || TextUtils.equals(subtypeLocale.getLanguage(), systemLocale.getLanguage()); in InputMethodSubtypePreference()
/frameworks/opt/localepicker/src/com/android/localepicker/
DLocaleHelper.java99 final String lang = locale.getLanguage(); in shouldUseDialectName()
204 if ("ar".equals(locale.getLanguage()) && str.startsWith(PREFIX_ARABIC)) { in removePrefixForCompare()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSmsBroadcastConfigInfo.java70 public int getLanguage() { in getLanguage() method in CdmaSmsBroadcastConfigInfo
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DInputMethodSubtypeTest.java67 assertEquals("en", localeObject.getLanguage()); in testLocaleObj_locale()
79 assertEquals("en", localeObject.getLanguage()); in testLocaleObj_languageTag()
/frameworks/base/core/java/android/view/textservice/
DTextServicesManager.java183 if (subtypeLanguage.length() < 2 || !locale.getLanguage().equals(subtypeLanguage)) { in newSpellCheckerSession()
197 locale.getLanguage().equals(tempSubtypeLanguage)) { in newSpellCheckerSession()
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTextToSpeechTests.java115 assertEquals("eng", req.getValue().getLanguage()); in testSetLanguage_availableLanguage()
139 assertEquals("eng", req2.getValue().getLanguage()); in testSetLanguage_unavailableLanguage()
182 assertEquals(defaultLocale.getISO3Language(), req.getValue().getLanguage()); in testDefaultLanguage_setsVoiceName()
/frameworks/base/telephony/java/android/telephony/cdma/
DCdmaSmsCbProgramResults.java104 public int getLanguage() { in getLanguage() method in CdmaSmsCbProgramResults
/frameworks/base/core/java/android/speech/tts/
DEventLogger.java67 StringBuilder sb = new StringBuilder(mRequest.getLanguage()); in getLocaleString()
DSynthesisRequest.java88 public String getLanguage() { in getLanguage() method in SynthesisRequest
DITextToSpeechService.aidl107 String[] getLanguage(); in getLanguage() method
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/
DDevInfoMoTest.java49 when(systemInfo.getLanguage()).thenReturn(TEST_LANGUAGE); in serializeDevInfo()
/frameworks/base/location/java/android/location/
DGeocoderParams.java92 parcel.writeString(mLocale.getLanguage()); in writeToParcel()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
DDevInfoMo.java81 moSerializer.createNodeForValue(doc, TAG_LANGUAGE, systemInfo.getLanguage())); in serializeToXml()
/frameworks/base/core/java/android/text/method/
DTimeKeyListener.java79 if (locale != null && "en".equals(locale.getLanguage())) { in TimeKeyListener()
DDateTimeKeyListener.java79 if (locale != null && "en".equals(locale.getLanguage())) { in DateTimeKeyListener()
/frameworks/base/media/java/android/media/
DSubtitleController.java238 locale.getLanguage().equals("") || in getDefaultTrack()
240 locale.getLanguage().equals(language)); in getDefaultTrack()

123