/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | SmsCbHeader.java | 43 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/ |
D | OsuProviderInfoTest.java | 107 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/ |
D | LocaleUtils.java | 99 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/ |
D | LocalePicker.java | 112 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()
|
D | LocaleHelper.java | 100 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/ |
D | LocaleUtils.java | 172 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/ |
D | SystemInfo.java | 61 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/ |
D | OsuProviderInfo.java | 88 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()
|
D | I18Name.java | 90 public String getLanguage() { in getLanguage() method in I18Name 125 return mText + ':' + mLocale.getLanguage(); in toString()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/ |
D | InputMethodSubtypePreference.java | 66 || TextUtils.equals(subtypeLocale.getLanguage(), systemLocale.getLanguage()); in InputMethodSubtypePreference()
|
/frameworks/opt/localepicker/src/com/android/localepicker/ |
D | LocaleHelper.java | 99 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/ |
D | CdmaSmsBroadcastConfigInfo.java | 70 public int getLanguage() { in getLanguage() method in CdmaSmsBroadcastConfigInfo
|
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
D | InputMethodSubtypeTest.java | 67 assertEquals("en", localeObject.getLanguage()); in testLocaleObj_locale() 79 assertEquals("en", localeObject.getLanguage()); in testLocaleObj_languageTag()
|
/frameworks/base/core/java/android/view/textservice/ |
D | TextServicesManager.java | 183 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/ |
D | TextToSpeechTests.java | 115 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/ |
D | CdmaSmsCbProgramResults.java | 104 public int getLanguage() { in getLanguage() method in CdmaSmsCbProgramResults
|
/frameworks/base/core/java/android/speech/tts/ |
D | EventLogger.java | 67 StringBuilder sb = new StringBuilder(mRequest.getLanguage()); in getLocaleString()
|
D | SynthesisRequest.java | 88 public String getLanguage() { in getLanguage() method in SynthesisRequest
|
D | ITextToSpeechService.aidl | 107 String[] getLanguage(); in getLanguage() method
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/ |
D | DevInfoMoTest.java | 49 when(systemInfo.getLanguage()).thenReturn(TEST_LANGUAGE); in serializeDevInfo()
|
/frameworks/base/location/java/android/location/ |
D | GeocoderParams.java | 92 parcel.writeString(mLocale.getLanguage()); in writeToParcel()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
D | DevInfoMo.java | 81 moSerializer.createNodeForValue(doc, TAG_LANGUAGE, systemInfo.getLanguage())); in serializeToXml()
|
/frameworks/base/core/java/android/text/method/ |
D | TimeKeyListener.java | 79 if (locale != null && "en".equals(locale.getLanguage())) { in TimeKeyListener()
|
D | DateTimeKeyListener.java | 79 if (locale != null && "en".equals(locale.getLanguage())) { in DateTimeKeyListener()
|
/frameworks/base/media/java/android/media/ |
D | SubtitleController.java | 238 locale.getLanguage().equals("") || in getDefaultTrack() 240 locale.getLanguage().equals(language)); in getDefaultTrack()
|